Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ezrosent/allocators-rs
/ types & classes
Types & classes
149 in github.com/ezrosent/allocators-rs
⨍
Functions
600
◇
Types & classes
149
↓ 3 callers
Class
OwnedElfMalloc
elfmalloc/src/rust_alloc.rs:217
↓ 2 callers
Class
ArcLike
bagpipe/src/bag.rs:123
↓ 2 callers
Class
Color
slab-alloc/src/util.rs:185
↓ 2 callers
Class
DefaultInit
elfmalloc/src/utils.rs:239
↓ 2 callers
Class
DefaultMalloc
elfmalloc/src/bin/bench.rs:138
↓ 2 callers
Class
ElfClone
elfmalloc/src/bin/bench.rs:93
↓ 2 callers
Class
ElfGlobal
elfmalloc/src/bin/bench.rs:64
↓ 1 callers
Class
CallOnDrop
alloc-tls/src/lib.rs:319
↓ 1 callers
Class
Coalescer
A set data-structure used to batch remote free operations.
elfmalloc/src/frontends.rs:250
↓ 1 callers
Class
DummyCleanup
bagpipe/src/lib.rs:100
↓ 1 callers
Class
DynamicAllocator
elfmalloc/src/general.rs:616
↓ 1 callers
Class
FnInitializer
slab-alloc/src/init.rs:174
↓ 1 callers
Class
Foo
alloc-tls/src/lib.rs:395
↓ 1 callers
Class
MapAddr
elfmalloc/src/sources.rs:72
↓ 1 callers
Class
OwnedArray
A variant of `TypedArray` that unmaps its memory during `drop`.
elfmalloc/src/utils.rs:195
↓ 1 callers
Class
PageCleanup
elfmalloc/src/slag.rs:78
↓ 1 callers
Class
PageIterator
slab-alloc/src/large.rs:111
↓ 1 callers
Class
PowerOfTwoIterator
slab-alloc/src/aligned.rs:56
↓ 1 callers
Class
Ptr
object-alloc-test/src/leaky_alloc.rs:22
↓ 1 callers
Class
RefCount
elfmalloc/src/slag.rs:454
↓ 1 callers
Class
Slag
elfmalloc/src/slag.rs:541
↓ 1 callers
Class
TestGenerator
object-alloc-test/src/corruption.rs:682
↓ 1 callers
Class
UnsafeFnInitializer
slab-alloc/src/init.rs:188
Class
AVec
A `Vec`-like structure parametric on an `Alloc`. The overall structure here borrows heavily from the smallvec crate, though our goals here are of cour
elfmalloc/src/vec_alloc.rs:31
Class
AllocBuilder
A builder-pattern-style builder for `MagazineAllocator`s and `LocalAllocator`s. ```rust,ignore // A usize-specific allocator using the `LocalCache` f
elfmalloc/src/frontends.rs:728
Class
AllocInfo
elfmalloc/src/general.rs:939
Class
AllocIter
An iterator over a claimed `Slag`'s bitset.
elfmalloc/src/slag.rs:583
Interface
AllocLike
elfmalloc/src/bin/bench.rs:33
Interface
AllocMap
A trait encapsulating the notion of an array of size classes for an allocator.
elfmalloc/src/general.rs:315
Class
AllocObjectAlloc
slab-alloc/src/backing.rs:46
Enum
AllocOp
object-alloc-test/src/corruption.rs:701
Class
AllocStats
Counters for various useful events. Primarily used for debugging and performance.
elfmalloc/src/stats.rs:30
Enum
AllocType
elfmalloc/src/alloc_type.rs:14
Interface
AllocUnwrap
Types that can be unwrapped in an allocation-safe manner. [`AllocUnwrap`] provides the [`alloc_unwrap`] and [`alloc_expect`] methods, which are alloc
alloc-fmt/src/lib.rs:304
Class
BackgroundDirty
elfmalloc/src/general.rs:121
Interface
BackingAlloc
A pair of `UntypedObjectAlloc`s to provide memory for a slab allocator. A `BackingAlloc` encapsulates a pair of allocator types that are used to prov
slab-alloc/src/backing.rs:20
Interface
BagCleanup
bagpipe/src/lib.rs:86
Class
BagPipe
A concurrent bag data-structure built from sharding requests over other bags. `BagPipe` implements both `SharedWeakBag` and `WeakBag`. Using this as
bagpipe/src/lib.rs:128
Class
BagPipeState
bagpipe/src/lib.rs:380
Class
Block
mmap-alloc/src/tests.rs:623
Class
BsAlloc
bsalloc/src/bsalloc.rs:19
Class
Bucket
slab-alloc/src/ptr_map.rs:301
Interface
CoarseAllocator
An allocator that allocates objects at the granularity of the page size of the underlying `MemorySource`.
elfmalloc/src/slag.rs:98
Class
ColorSettings
slab-alloc/src/util.rs:152
Class
ConfigData
slab-alloc/src/aligned.rs:33
Class
ConfigData
slab-alloc/src/large.rs:36
Interface
ConfigData
Configuration to customize a stack-based slab implementation. `ConfigData` completes the stack-based slab implementation by providing post-alloc and
slab-alloc/src/stack.rs:71
Class
CorruptionTester
A type to test for memory corruption issues. The `CorruptionTester` is designed to be able to detect when an allocated value has been corrupted, whic
object-alloc-test/src/corruption.rs:138
Class
CorruptionTesterDefault
An object for use in corruption tests that implements `Default`. `CorruptionTesterDefault` objects are objects that are allocated by an `ObjectAlloc`
object-alloc-test/src/corruption.rs:149
Class
CorruptionTesterUnsafe
An object for use in corruption tests constructed by `unsafe_default`. `CorruptionTesterUnsafe` objects are objects that are allocated by an `ObjectA
object-alloc-test/src/corruption.rs:156
Interface
CorruptionTesterWrapper
A trait that abstracts over `CorruptionTesterDefault` and `CorruptionTesterUnsafe`.
object-alloc-test/src/corruption.rs:175
Class
Creek
elfmalloc/src/sources.rs:95
Class
DefaultInitializer
slab-alloc/src/init.rs:156
Class
Depot
elfmalloc/src/frontends.rs:504
Class
DepotCache
elfmalloc/src/frontends.rs:625
Interface
DirtyFn
A `DirtyFn` is a callback that is called upon allocating a clean page from a `PageAlloc`. It generally does nothing, but its presence in `PageAlloc` a
elfmalloc/src/slag.rs:873
Class
ElfCloner
A global handle that can hand out thread-local handles to the allocator.
elfmalloc/src/rust_alloc.rs:499
Class
ElfMalloc
A Dynamic memory allocator, parmetrized on a particular `ObjectAlloc`, `CourseAllocator` and `AllocMap`. `ElfMalloc` encapsulates the logic of constr
elfmalloc/src/general.rs:665
Class
ElfMalloc
elfmalloc/src/rust_alloc.rs:206
Class
ElfMallocBuilder
elfmalloc/src/rust_alloc.rs:344
Class
ElfMallocGlobal
A zero-sized type used for implementing `Alloc` and `LayoutFinder` for the global instance of elfmalloc.
elfmalloc/src/alloc_impl.rs:34
Class
ElfMallocTLS
A newtype wrapper around `ElfMalloc<Source>` that sends its contents to the background thread in its destructor.
elfmalloc/src/rust_alloc.rs:537
Class
FAANode
bagpipe/src/queue.rs:693
Class
FAAQueueLowLevel
Another fetch-add based concurrent queue. This queue is based on the `FAAArrayQueue` of Pedro Ramalhete over at [Concurrency Freaks][1]. The impleme
bagpipe/src/queue.rs:481
Class
FDWriter
alloc-fmt/src/lib.rs:73
Interface
Frontend
elfmalloc/src/frontends.rs:24
Class
GlobalAllocProvider
The type of the global instance of the allocator. This is used to create handles for TLS-stored `GlobalAllocator`s.
elfmalloc/src/general.rs:150
Class
GlobalAllocator
A wrapper like `DynamicAllocator` in the parent module. The reason we have a wrapper is for this module's custom `Drop` implementation, mentioned in
elfmalloc/src/general.rs:133
Class
GlobalAllocator
bsalloc/src/bsalloc.rs:25
Class
Header
object-alloc-test/src/corruption.rs:194
Class
HeapBackingAlloc
slab-alloc/src/backing.rs:84
Enum
Husk
The type for messages sent to the background thread. These can either be arrays of size classes to be cleaned up (in the case of thread destruction) o
elfmalloc/src/general.rs:168
Class
InitInitSystem
slab-alloc/src/init.rs:94
Interface
InitSystem
A system to perform initialization of objects. Since slab allocators can either initialize their objects or not, we need a way of abstracting over th
slab-alloc/src/init.rs:18
Enum
Initializer
object-alloc-test/src/corruption.rs:200
Interface
Initializer
slab-alloc/src/init.rs:151
Interface
IntoPtrU8
To make testing easier with APIs that deal with both `NonNull<u8>` and `*mut u8`.
mmap-alloc/src/tests.rs:27
Class
Layout
slab-alloc/src/stack.rs:219
Interface
LayoutFinder
A mechanism for mapping allocated objects to their `Layout`s. A `LayoutFinder` is an object that can store and look up the `Layout` associated with a
malloc-bind/src/lib.rs:70
Class
Lazy
A `Lazy` instance of a type `T` keeps `T::Params` strict but only initializes the value with `T::init` when it is first accessed. `Lazy` implements `
elfmalloc/src/utils.rs:86
Interface
LazyInitializable
A `LazyInitializable` type can be constructed from `Params`. Types that implement this trate can be wrapped in the `Lazy` construct.
elfmalloc/src/utils.rs:74
Class
LeakyAlloc
object-alloc-test/src/leaky_alloc.rs:18
Class
LeakyBackingAlloc
slab-alloc/src/tests.rs:26
Class
LeakyObjectAlloc
object-alloc-test/src/leaky_alloc.rs:54
Interface
Linkable
slab-alloc/src/util.rs:294
Class
LinkedList
slab-alloc/src/util.rs:301
Class
LocalCache
A `LocalCache` provides thread-local data on top of a `SlagAllocator`. Like a `MagazineCache`, it includes a stack of pointers to cache allocations.
elfmalloc/src/frontends.rs:37
Class
Magazine
A fixed-size stack backed by `mmap`. A `Magazine` is a lot like a `PtrStack`. The primary difference is that a `Magazine` stores its data inline, whe
elfmalloc/src/frontends.rs:431
Class
MagazineCache
A different approach to caching to `LocalCache` inspired by Bonwick-style magazines. The advantage `MagazineCache` has over `LocalCache` is that it w
elfmalloc/src/frontends.rs:108
Class
MagazineCleanup
elfmalloc/src/frontends.rs:416
Interface
Malloc
An implementation of the C allocation API. The `Malloc` trait extends a type which implements `Alloc` for a reference to itself<sup>1</sup> by provid
malloc-bind/src/lib.rs:170
Class
Map
slab-alloc/src/util.rs:235
Class
MapAlloc
mmap-alloc/src/lib.rs:283
Class
MapAllocBuilder
mmap-alloc/src/lib.rs:135
Interface
MemoryBlock
A `MemorySource` that can tell which pointers lie in a region returned by `carve`.
elfmalloc/src/sources.rs:34
Interface
MemorySource
A generator of chunks of memory providing an `sbrk`-like interface.
elfmalloc/src/sources.rs:18
Class
Metadata
elfmalloc/src/slag.rs:131
Class
MmapBackingAlloc
slab-alloc/src/backing.rs:119
Class
MmapSource
elfmalloc/src/sources.rs:43
Class
Multiples
An array of size classes where sizes are multiples of 16.
elfmalloc/src/general.rs:463
next →
1–100 of 149, ranked by callers