MCPcopy Index your code
hub / github.com/ezrosent/allocators-rs

github.com/ezrosent/allocators-rs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
749 symbols 1,898 edges 42 files 155 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

LazyInitializable (Interface)
A `LazyInitializable` type can be constructed from `Params`. Types that implement this trate can be wrapped in the `Laz [6 …
elfmalloc/src/utils.rs
UntypedObjectAlloc (Interface)
An allocator for objects whose type or size is not known at compile time. `UntypedObjectAlloc` is like `ObjectAlloc`, e [6 …
object-alloc/src/lib.rs
SharedWeakBag (Interface)
A best-effort Bag data-structure. As embodied in the `PopResult` definition, `try_pop` is permitted to fail even if the [5 …
bagpipe/src/bag.rs
BackingAlloc (Interface)
A pair of `UntypedObjectAlloc`s to provide memory for a slab allocator. A `BackingAlloc` encapsulates a pair of allocat [3 …
slab-alloc/src/backing.rs
AllocUnwrap (Interface)
Types that can be unwrapped in an allocation-safe manner. [`AllocUnwrap`] provides the [`alloc_unwrap`] and [`alloc_exp [2 …
alloc-fmt/src/lib.rs
CorruptionTesterWrapper (Interface)
A trait that abstracts over `CorruptionTesterDefault` and `CorruptionTesterUnsafe`. [2 implementers]
object-alloc-test/src/corruption.rs
IntoPtrU8 (Interface)
To make testing easier with APIs that deal with both `NonNull ` and `*mut u8`. [2 implementers]
mmap-alloc/src/tests.rs
LayoutFinder (Interface)
A mechanism for mapping allocated objects to their `Layout`s. A `LayoutFinder` is an object that can store and look up [1 …
malloc-bind/src/lib.rs

Core symbols most depended-on inside this repo

size
called by 84
slab-alloc/src/util.rs
clone
called by 57
bagpipe/src/lib.rs
load
called by 31
elfmalloc/src/slag.rs
init
called by 29
elfc/src/lib.rs
push
called by 28
elfmalloc/src/vec_alloc.rs
unmap
called by 21
mmap-alloc/src/lib.rs
iter
called by 20
elfmalloc/src/utils.rs
len
called by 20
elfmalloc/src/utils.rs

Shape

Method 384
Function 216
Class 110
Interface 28
Enum 11

Languages

Rust100%

Modules by API surface

elfmalloc/src/general.rs54 symbols
elfmalloc/src/frontends.rs53 symbols
elfmalloc/src/slag.rs52 symbols
bagpipe/src/queue.rs50 symbols
object-alloc-test/src/corruption.rs46 symbols
elfmalloc/src/vec_alloc.rs40 symbols
slab-alloc/src/util.rs34 symbols
elfmalloc/src/rust_alloc.rs34 symbols
mmap-alloc/src/lib.rs31 symbols
elfmalloc/src/utils.rs27 symbols
slab-alloc/src/lib.rs26 symbols
mmap-alloc/src/tests.rs24 symbols

For agents

$ claude mcp add allocators-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact