Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Craig-Macomber/lol_alloc
/ functions
Functions
30 in github.com/Craig-Macomber/lol_alloc
⨍
Functions
30
◇
Types & classes
14
↓ 4 callers
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/free_list_allocator.rs:113
↓ 3 callers
Function
offset_bytes
(ptr: *mut FreeListNode, offset: usize)
lol_alloc/src/free_list_allocator.rs:199
↓ 3 callers
Method
size_in_bytes
(self)
lol_alloc/src/lib.rs:14
↓ 2 callers
Method
alloc
(&self, layout: Layout)
lol_alloc/src/free_list_allocator.rs:45
↓ 2 callers
Function
full_size
(layout: Layout)
lol_alloc/src/free_list_allocator.rs:168
↓ 2 callers
Method
memory_grow
(&self, delta: PageCount)
lol_alloc/src/lib.rs:39
↓ 2 callers
Function
multiple_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 callers
Function
round_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 callers
Function
free_list_content
Enumerate and validate free list content
lol_alloc/src/free_list_allocator.rs:262
↓ 1 callers
Method
memory_grow
(&self, delta: PageCount)
lol_alloc/src/free_list_allocator.rs:242
Method
alloc
(&self, layout: Layout)
lol_alloc/src/locked_allocator.rs:17
Method
alloc
(&self, layout: Layout)
lol_alloc/src/single_threaded_allocator.rs:26
Method
alloc
(&self, _layout: Layout)
lol_alloc/src/trivial_allocators.rs:12
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/locked_allocator.rs:21
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
lol_alloc/src/single_threaded_allocator.rs:30
Method
dealloc
(&self, _ptr: *mut u8, _layout: Layout)
lol_alloc/src/trivial_allocators.rs:16
Function
fuzz
()
lol_alloc/src/free_list_allocator.rs:538
Function
goodbye
(ptr: *mut u8)
example/src/lib.rs:22
Function
hello
()
example/src/lib.rs:14
Function
it_works
()
lol_alloc/src/free_list_allocator.rs:437
Function
many_allocations
()
lol_alloc/tests/wasm.rs:26
Function
minimal
()
lol_alloc/tests/wasm.rs:13
Function
multiple_below_works
()
lol_alloc/src/free_list_allocator.rs:309
Method
new
(t: T)
lol_alloc/src/locked_allocator.rs:9
Method
new
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
Method
new
()
lol_alloc/src/free_list_allocator.rs:19
Method
new
()
lol_alloc/src/trivial_allocators.rs:58
Function
populates_free_list
()
lol_alloc/src/free_list_allocator.rs:323
Function
round_up_works
()
lol_alloc/src/free_list_allocator.rs:296
Function
small_allocations
()
lol_alloc/tests/wasm.rs:18