MCPcopy Create free account

hub / github.com/Craig-Macomber/lol_alloc / types & classes

Types & classes14 in github.com/Craig-Macomber/lol_alloc

↓ 6 callersClassPageCount
lol_alloc/src/lib.rs:11
ClassAllocation
lol_alloc/src/free_list_allocator.rs:217
ClassAssumeSingleThreaded
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
ClassDefaultGrower
Stateless heap grower. On wasm32, provides a default implementation of [MemoryGrower].
lol_alloc/src/lib.rs:35
ClassFailAllocator
Allocator that fails all allocations.
lol_alloc/src/trivial_allocators.rs:9
ClassFreeListAllocator
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
ClassFreeListContent
lol_alloc/src/free_list_allocator.rs:255
ClassFreeListNode
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
ClassLeakingAllocator
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
ClassLeakingPageAllocator
lol_alloc/src/trivial_allocators.rs:23
ClassLockedAllocator
A thread safe allocator created by wrapping a (possible not thread-safe) allocator in a spin-lock.
lol_alloc/src/locked_allocator.rs:4
InterfaceMemoryGrower
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
ClassPage
align does not appear to work with the PAGE_SIZE constant
lol_alloc/src/free_list_allocator.rs:224
ClassSlabby
lol_alloc/src/free_list_allocator.rs:226