Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Craig-Macomber/lol_alloc
/ types & classes
Types & classes
14 in github.com/Craig-Macomber/lol_alloc
⨍
Functions
30
◇
Types & classes
14
↓ 6 callers
Class
PageCount
lol_alloc/src/lib.rs:11
Class
Allocation
lol_alloc/src/free_list_allocator.rs:217
Class
AssumeSingleThreaded
A non-thread safe allocator created by wrapping an allocator in a `Sync` implementation that assumes all use is from the same thread. Using this (and
lol_alloc/src/single_threaded_allocator.rs:6
Class
DefaultGrower
Stateless heap grower. On wasm32, provides a default implementation of [MemoryGrower].
lol_alloc/src/lib.rs:35
Class
FailAllocator
Allocator that fails all allocations.
lol_alloc/src/trivial_allocators.rs:9
Class
FreeListAllocator
A non-thread safe allocator that uses a free list. Allocations and frees have runtime O(length of free list). The free list is kept sorted by address
lol_alloc/src/free_list_allocator.rs:12
Class
FreeListContent
lol_alloc/src/free_list_allocator.rs:255
Class
FreeListNode
Stored at the beginning of each free segment. Note: It would be possible to fit this in 1 word (use the low bit to flag that case, then only use a sec
lol_alloc/src/free_list_allocator.rs:33
Class
LeakingAllocator
A non-thread safe bump-pointer allocator. Does not free or reuse memory. Efficient for small allocations. Does tolerate concurrent callers of wasm::me
lol_alloc/src/trivial_allocators.rs:50
Class
LeakingPageAllocator
lol_alloc/src/trivial_allocators.rs:23
Class
LockedAllocator
A thread safe allocator created by wrapping a (possible not thread-safe) allocator in a spin-lock.
lol_alloc/src/locked_allocator.rs:4
Interface
MemoryGrower
Wrapper for core::arch::wasm::memory_grow. Adding this level of indirection allows for improved testing, especially on non wasm platforms.
lol_alloc/src/lib.rs:28
Class
Page
align does not appear to work with the PAGE_SIZE constant
lol_alloc/src/free_list_allocator.rs:224
Class
Slabby
lol_alloc/src/free_list_allocator.rs:226