Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ezrosent/allocators-rs
/ functions
Functions
600 in github.com/ezrosent/allocators-rs
⨍
Functions
600
◇
Types & classes
149
↓ 1 callers
Method
alloc
(&self, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:168
↓ 1 callers
Method
alloc_excess
(&mut self, layout: Layout)
mmap-alloc/src/lib.rs:679
↓ 1 callers
Method
alloc_slab
Allocate a new slab. Allocates a new slab and inserts it onto the back of the freelist. Returns `true` upon success and `false` upon failure.
slab-alloc/src/lib.rs:550
↓ 1 callers
Method
alloc_zeroed
(&mut self, layout: Layout)
mmap-alloc/src/lib.rs:473
↓ 1 callers
Method
array_begin
(&self, slab: NonNull<SlabHeader>, color: Color)
slab-alloc/src/stack.rs:286
↓ 1 callers
Function
assert_nonoverlapping
(r1: (usize, usize), r2: (usize, usize))
bsalloc/src/lib.rs:27
↓ 1 callers
Function
bench_push
(b: &mut Bencher)
elfmalloc/src/vec_alloc.rs:308
↓ 1 callers
Method
bucket_num
(&self, word: usize)
elfmalloc/src/frontends.rs:285
↓ 1 callers
Method
build
(&self)
elfmalloc/src/rust_alloc.rs:400
↓ 1 callers
Method
build_magazine
Build a `MagazineAllocator<T>` from the current configuration.
elfmalloc/src/frontends.rs:784
↓ 1 callers
Method
bulk_add
(&mut self, iter: I)
bagpipe/src/lib.rs:337
↓ 1 callers
Method
c_memalign
(&self, alignment: size_t, size: size_t)
malloc-bind/src/lib.rs:487
↓ 1 callers
Method
cleanup
(&self, _item: Self::Item)
bagpipe/src/lib.rs:118
↓ 1 callers
Method
cleanup_all
( &self, _it: I, )
bagpipe/src/lib.rs:112
↓ 1 callers
Method
contains
Test if `it` is an element of the current `Slag`.
elfmalloc/src/slag.rs:1253
↓ 1 callers
Method
dealloc
(&self, obj: NonNull<u8>, init_status: I::Status)
slab-alloc/src/stack.rs:176
↓ 1 callers
Method
dealloc
(&mut self, ptr: NonNull<u8>, layout: Layout)
mmap-alloc/src/lib.rs:431
↓ 1 callers
Method
deallocate
(&mut self, item: *mut T)
elfmalloc/src/bin/bench.rs:85
↓ 1 callers
Method
delete
(&mut self, ptr: *mut K)
slab-alloc/src/ptr_map.rs:167
↓ 1 callers
Method
destroy
(&mut self)
elfmalloc/src/rust_alloc.rs:237
↓ 1 callers
Method
dump
(&self)
slab-alloc/src/ptr_map.rs:326
↓ 1 callers
Method
dump_by_bucket
(&self)
slab-alloc/src/ptr_map.rs:103
↓ 1 callers
Function
dyld_init
()
alloc-tls/src/lib.rs:376
↓ 1 callers
Function
dyld_loaded
()
alloc-tls/src/lib.rs:352
↓ 1 callers
Function
elfmalloc_get_layout
(m_block: &M, item: *mut u8)
elfmalloc/src/general.rs:743
↓ 1 callers
Method
empty
(&self)
elfmalloc/src/frontends.rs:370
↓ 1 callers
Function
eq
()
bagpipe/src/bin/bench_bag.rs:371
↓ 1 callers
Function
eq_prefill
()
bagpipe/src/bin/bench_bag.rs:393
↓ 1 callers
Function
eq_strong
()
bagpipe/src/bin/bench_bag.rs:349
↓ 1 callers
Function
extend_noinline
(vec: &mut V)
elfmalloc/src/vec_alloc.rs:391
↓ 1 callers
Method
find_cell
( &'b self, ix: usize, guard: &'a Guard, )
bagpipe/src/queue.rs:406
↓ 1 callers
Method
free
(&self, item: *mut u8, size: usize)
bsalloc/src/bsalloc.rs:58
↓ 1 callers
Method
free_full
Return a full `Magazine` to the `Depot`. If the `Depot` is at capacity, the `Magazine` is not added to the `Depot` and this method returns `false`.
elfmalloc/src/frontends.rs:561
↓ 1 callers
Method
garbage_collect_slabs
(&mut self)
slab-alloc/src/lib.rs:598
↓ 1 callers
Method
get
(&self, ptr: *mut K)
slab-alloc/src/ptr_map.rs:138
↓ 1 callers
Method
get_bucket
(&self, ptr: *mut K)
slab-alloc/src/ptr_map.rs:124
↓ 1 callers
Method
get_bucket_mut
(&mut self, ptr: *mut K)
slab-alloc/src/ptr_map.rs:129
↓ 1 callers
Method
get_page_size
(&self, item: *mut u8)
elfmalloc/src/general.rs:829
↓ 1 callers
Function
get_size
(item: *mut u8)
elfmalloc/src/general.rs:1012
↓ 1 callers
Method
grow
(&mut self)
slab-alloc/src/ptr_map.rs:179
↓ 1 callers
Method
hash_with_len
(&self, ptr: *mut K, len: usize)
slab-alloc/src/ptr_map.rs:118
↓ 1 callers
Method
init
(&self, _obj: NonNull<u8>, _init_status: ())
slab-alloc/src/init.rs:90
↓ 1 callers
Method
insert_front
(&mut self, t: NonNull<T>)
slab-alloc/src/util.rs:316
↓ 1 callers
Method
is_empty
(&self, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:164
↓ 1 callers
Function
is_mapped_range
(ptr: NonNull<u8>, len: usize)
object-alloc-test/src/corruption.rs:468
↓ 1 callers
Method
is_tail
(&self, ptr: Shared<'a, FAANode<T>>, guard: &'a Guard)
bagpipe/src/queue.rs:687
↓ 1 callers
Method
layout
(&self)
mmap-alloc/src/lib.rs:641
↓ 1 callers
Function
leq
(a: f64, b: Option<f64>)
slab-alloc/src/util.rs:17
↓ 1 callers
Function
meta_inner
Perform an exhaustive search for the lowest-fragmentation layout of objects of a particular size, and "shadow size" (i.e. `1 << round_up_to_shift`).
elfmalloc/src/slag.rs:232
↓ 1 callers
Method
move_to_back
(&mut self, t: NonNull<T>)
slab-alloc/src/util.rs:394
↓ 1 callers
Function
new_handle
()
elfmalloc/src/general.rs:236
↓ 1 callers
Method
new_handle
(&self)
elfmalloc/src/rust_alloc.rs:502
↓ 1 callers
Function
new_owned_handle
Construct a new `DynamicAlloc`.
elfmalloc/src/rust_alloc.rs:509
↓ 1 callers
Method
next_color
(&mut self, align: usize)
slab-alloc/src/util.rs:165
↓ 1 callers
Method
peek_front
(&self)
slab-alloc/src/util.rs:421
↓ 1 callers
Method
pop
(&mut self)
elfmalloc/src/vec_alloc.rs:131
↓ 1 callers
Method
post_alloc
(&mut self, layout: &Layout, slab_size: usize, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:80
↓ 1 callers
Method
pre_dealloc
(&mut self, layout: &Layout, slab_size: usize, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:87
↓ 1 callers
Function
print_backtrace_and_abort
()
alloc-fmt/src/lib.rs:373
↓ 1 callers
Function
prod_consume
()
bagpipe/src/bin/bench_bag.rs:421
↓ 1 callers
Method
ptr_to_slab
(&self, _slab_size: usize, ptr: NonNull<u8>)
slab-alloc/src/large.rs:72
↓ 1 callers
Method
push_mut
(&mut self, it: Self::Item)
bagpipe/src/bag.rs:94
↓ 1 callers
Method
quickcheck_tests
Configure the number of quickcheck tests to perform. The test run by the `quickcheck` method works by constructing a sequence of allocations and deal
object-alloc-test/src/corruption.rs:608
↓ 1 callers
Method
refresh
Refreshes the working set. If at least `secs` seconds have elapsed since the beginning of the period, the period is reset and the current value is re
slab-alloc/src/util.rs:458
↓ 1 callers
Method
refresh_now
Refreshes the working set given the current time. `refresh_now` is like `refresh`, but it takes the current time as an argument instead of looking it
slab-alloc/src/util.rs:466
↓ 1 callers
Method
refresh_pages
Get more clean pages from the backing memory. One of these pages is returned to the caller for allocation. The rest are added to the clean `BagPipe`.
elfmalloc/src/slag.rs:961
↓ 1 callers
Method
refresh_word
Acquire a new word from the bit-set. Pre-condition: remaining_words > 0. The key step here is to perform an atomic fetch-and for the value 0. This wi
elfmalloc/src/slag.rs:633
↓ 1 callers
Method
remove_back
(&mut self)
slab-alloc/src/util.rs:371
↓ 1 callers
Method
remove_last
Starting at the idx index into this bucket, find the last slot in this bucket chain that is non-empty. Zero it out and return it. Also return a boolea
slab-alloc/src/ptr_map.rs:376
↓ 1 callers
Method
resize
(&mut self, new_cap: usize)
elfmalloc/src/vec_alloc.rs:144
↓ 1 callers
Method
resume
(&mut self)
elfmalloc/src/bin/bench_vec.rs:53
↓ 1 callers
Method
return_memory
Perform the bulk-level frees for the `Coalescer`.
elfmalloc/src/frontends.rs:201
↓ 1 callers
Function
run_alloc_sequence
( mut tester: Tester<C, O>, seq: &[AllocOp], )
object-alloc-test/src/corruption.rs:716
↓ 1 callers
Method
set
(&mut self, new: T)
slab-alloc/src/util.rs:448
↓ 1 callers
Method
set_metadata
(&self, m: *mut Metadata)
elfmalloc/src/slag.rs:694
↓ 1 callers
Method
shrink
(&mut self)
slab-alloc/src/ptr_map.rs:267
↓ 1 callers
Method
slag_alloc
Allocate memory from the current owned `Slag`. This amounts to getting memory from the current alloc iterator. If the iterator is exhausted, a new `S
elfmalloc/src/frontends.rs:186
↓ 1 callers
Function
split_index
(item_index: usize)
elfmalloc/src/slag.rs:568
↓ 1 callers
Method
state
(&self)
alloc-tls/src/lib.rs:101
↓ 1 callers
Method
stop
(&mut self)
elfmalloc/src/bin/bench_vec.rs:49
↓ 1 callers
Method
swap_empty
Swap out an empty `Magazine` for a full one. If a full `Magazine` is unavailable, `None` is returned and `m` is not freed.
elfmalloc/src/frontends.rs:600
↓ 1 callers
Method
swap_full
Swap out a full `Magazine` for an empty one. If the `Depot` is at capacity, `None` is returned and `m` is not freed.
elfmalloc/src/frontends.rs:612
↓ 1 callers
Method
test_iters
Configure the number of iterations to perform. The test run by the `test` method works by repeatedly allocating and deallocating objects. Each alloca
object-alloc-test/src/corruption.rs:596
↓ 1 callers
Method
try_cleanup
Attempt to reclaim unused segments. `try_cleanup` is called when increment_and_get_usize notices that it traversed an additional pointer when looking
bagpipe/src/queue.rs:250
↓ 1 callers
Method
try_pop_internal
( &self, offset: usize, stride: usize, max_failures: usize, )
bagpipe/src/lib.rs:451
↓ 1 callers
Method
try_pop_mut
(&mut self)
bagpipe/src/bag.rs:140
↓ 1 callers
Method
try_push_mut
(&mut self, it: Self::Item)
bagpipe/src/bag.rs:137
↓ 1 callers
Method
uncommit
(&self, ptr: NonNull<u8>, layout: Layout)
mmap-alloc/src/lib.rs:336
↓ 1 callers
Function
unsafe_default
Initialize a `CorruptionTesterUnsafe`. `unsafe_default` is like `Default`'s `default` method, but it takes a pointer to a block of uninitialized memo
object-alloc-test/src/corruption.rs:224
↓ 1 callers
Method
update_min
Updates the running minimum. `update_min` updates the running minimum value if `new` is less than the current minimum.
slab-alloc/src/util.rs:481
↓ 1 callers
Method
with_slow
(&self, f: F)
alloc-tls/src/lib.rs:250
Function
all_sizes_one_thread
()
elfmalloc/src/general.rs:1233
Method
alloc
(&mut self, l: Layout)
elfmalloc/src/alloc_impl.rs:37
Method
alloc
(&mut self, layout: Layout)
object-alloc-test/src/leaky_alloc.rs:36
Method
alloc
(&mut self)
object-alloc/src/lib.rs:163
Method
alloc
(&mut self)
slab-alloc/src/backing.rs:62
Method
alloc_slab
(&mut self)
slab-alloc/src/stack.rs:114
Method
arbitrary
(g: &mut G)
object-alloc-test/src/corruption.rs:707
Function
assert_node
(_t: &T)
bagpipe/src/queue.rs:168
Function
backing_size_for
(layout: &alloc::Layout)
slab-alloc/src/aligned.rs:55
← previous
next →
201–300 of 600, ranked by callers