MCPcopy Create free account

hub / github.com/Craig-Macomber/lol_alloc / functions

Functions30 in github.com/Craig-Macomber/lol_alloc

↓ 4 callersMethoddealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/free_list_allocator.rs:113
↓ 3 callersFunctionoffset_bytes
(ptr: *mut FreeListNode, offset: usize)
lol_alloc/src/free_list_allocator.rs:199
↓ 3 callersMethodsize_in_bytes
(self)
lol_alloc/src/lib.rs:14
↓ 2 callersMethodalloc
(&self, layout: Layout)
lol_alloc/src/free_list_allocator.rs:45
↓ 2 callersFunctionfull_size
(layout: Layout)
lol_alloc/src/free_list_allocator.rs:168
↓ 2 callersMethodmemory_grow
(&self, delta: PageCount)
lol_alloc/src/lib.rs:39
↓ 2 callersFunctionmultiple_below
Round down value to the nearest multiple of increment, which must be a power of 2. If `value` is a multiple of `increment`, it is returned unchanged.
lol_alloc/src/free_list_allocator.rs:189
↓ 2 callersFunctionround_up
Round up value to the nearest multiple of increment, which must be a power of 2. If `value` is a multiple of increment, it is returned unchanged.
lol_alloc/src/free_list_allocator.rs:176
↓ 1 callersFunctionfree_list_content
Enumerate and validate free list content
lol_alloc/src/free_list_allocator.rs:262
↓ 1 callersMethodmemory_grow
(&self, delta: PageCount)
lol_alloc/src/free_list_allocator.rs:242
Methodalloc
(&self, layout: Layout)
lol_alloc/src/locked_allocator.rs:17
Methodalloc
(&self, layout: Layout)
lol_alloc/src/single_threaded_allocator.rs:26
Methodalloc
(&self, _layout: Layout)
lol_alloc/src/trivial_allocators.rs:12
Methoddealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/locked_allocator.rs:21
Methoddealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/single_threaded_allocator.rs:30
Methoddealloc
(&self, _ptr: *mut u8, _layout: Layout)
lol_alloc/src/trivial_allocators.rs:16
Functionfuzz
()
lol_alloc/src/free_list_allocator.rs:538
Functiongoodbye
(ptr: *mut u8)
example/src/lib.rs:22
Functionhello
()
example/src/lib.rs:14
Functionit_works
()
lol_alloc/src/free_list_allocator.rs:437
Functionmany_allocations
()
lol_alloc/tests/wasm.rs:26
Functionminimal
()
lol_alloc/tests/wasm.rs:13
Functionmultiple_below_works
()
lol_alloc/src/free_list_allocator.rs:309
Methodnew
(t: T)
lol_alloc/src/locked_allocator.rs:9
Methodnew
Converts a potentially non-`Sync` allocator into a `Sync` one by assuming it will only be used by one thread. # Safety The caller must ensure that t
lol_alloc/src/single_threaded_allocator.rs:16
Methodnew
()
lol_alloc/src/free_list_allocator.rs:19
Methodnew
()
lol_alloc/src/trivial_allocators.rs:58
Functionpopulates_free_list
()
lol_alloc/src/free_list_allocator.rs:323
Functionround_up_works
()
lol_alloc/src/free_list_allocator.rs:296
Functionsmall_allocations
()
lol_alloc/tests/wasm.rs:18