0 branches
Tree
Top files
Clone with HTTPS:
README.md
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
2 years ago
245 bytes
free_memory_impl_darwin.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
1.92 KB
free_memory_impl_default.c.v
runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651)
1 year ago
95 bytes
free_memory_impl_freebsd.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
1.02 KB
free_memory_impl_linux.c.v
runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651)
1 year ago
655 bytes
free_memory_impl_openbsd.c.v
runtime: fix -cstrict compilation (use usize() cast in free_memory) on OpenBSD (#24696)
1 year ago
646 bytes
runtime.v
builtin: fix runtime.nr_jobs assert without VJOBS env variable (fixes #26798)
last Apr 21
1.64 KB
runtime_test.v
builtin: fix runtime.nr_jobs assert without VJOBS env variable (fixes #26798)
last Apr 21
2.01 KB
runtime_windows.c.v
os,runtime: move some C struct and fn def to `builtin` (#24942)
last Jul 22
828 bytes
used_memory_darwin.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
443 bytes
used_memory_default.c.v
runtime: add used_memory implementation for OpenBSD (#24918)
last Jul 17
307 bytes
used_memory_freebsd.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
1.25 KB
used_memory_linux.c.v
runtime: reduce allocations done in runtime.used_memory/0 on linux (#24901)
last Jul 14
1.57 KB
used_memory_openbsd.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
644 bytes
used_memory_test.v
runtime: add used_memory() implementation for FreeBSD (#24909)
last Jul 17
579 bytes
Description
runtime provides access to functions describing the current platform:
- whether it is 32bit or 64bit
- how many CPUs/cores are available
- total/free physical memory
- whether the platform is little endian or big endian
- etc.