MCPcopy Create free account

hub / github.com/ezrosent/allocators-rs / functions

Functions600 in github.com/ezrosent/allocators-rs

↓ 3 callersMethodalloc_empty
Allocate a full `Magazine` from the `Depot`, constructing a new one if none are present.
elfmalloc/src/frontends.rs:585
↓ 3 callersMethodallocate
(&mut self)
elfmalloc/src/bin/bench.rs:80
↓ 3 callersMethodbulk_free
( &mut self, mask: usize, word: *mut Word, slag: *mut Slag, meta: &Met
elfmalloc/src/slag.rs:1207
↓ 3 callersMethodc_free
The C `free` function. `free` frees a previous allocation. If `ptr` is `NULL`, `free` does nothing. The behavior of `free` is undefined if `ptr` does
malloc-bind/src/lib.rs:207
↓ 3 callersMethodcarve
(&self, npages: usize)
elfmalloc/src/sources.rs:57
↓ 3 callersMethoddealloc
(&mut self, p: *mut u8, _l: Layout)
elfmalloc/src/alloc_impl.rs:48
↓ 3 callersMethoddealloc
(&self, item: *mut u8, l: Layout)
bsalloc/src/lib.rs:42
↓ 3 callersMethoddealloc
(&mut self, idx: usize)
object-alloc-test/src/corruption.rs:799
↓ 3 callersMethoddelete_layout
Delete an existing object to `Layout` mapping. `delete_layout` is passed a pointer to an object whose mapping has previously been inserted, and it de
malloc-bind/src/lib.rs:112
↓ 3 callersMethoddestroy
(&self)
elfmalloc/src/utils.rs:189
↓ 3 callersMethoddrop_and_check
(mut self)
object-alloc-test/src/corruption.rs:811
↓ 3 callersMethodforeach
(&self, f: F)
elfmalloc/src/general.rs:445
↓ 3 callersFunctionget_aligned
(layout: Layout)
slab-alloc/src/backing.rs:91
↓ 3 callersMethodget_layout
(&self, p: *mut u8)
elfmalloc/src/alloc_impl.rs:91
↓ 3 callersMethodget_metadata
(&self)
elfmalloc/src/slag.rs:698
↓ 3 callersMethodhash
(&self, ptr: *mut K)
slab-alloc/src/ptr_map.rs:112
↓ 3 callersMethodinsert
(&mut self, ptr: *mut K, v: V)
slab-alloc/src/ptr_map.rs:147
↓ 3 callersFunctionmake_default_boxed
()
object-alloc-test/src/corruption.rs:846
↓ 3 callersFunctionmake_unsafe_default_boxed
()
object-alloc-test/src/corruption.rs:850
↓ 3 callersFunctionmulti_threaded_alloc_test
(layouts: Vec<Layout>)
elfmalloc/src/rust_alloc.rs:624
↓ 3 callersMethodnext
(&self)
slab-alloc/src/stack.rs:198
↓ 3 callersMethodnth_obj
(&self, slab: NonNull<SlabHeader>, color: Color, n: usize)
slab-alloc/src/stack.rs:303
↓ 3 callersFunctionprotect
(ptr: *mut u8, size: usize, perm: perms::Perm)
mmap-alloc/src/lib.rs:894
↓ 3 callersFunctionpush_noinline
(vec: &mut V, t: T)
elfmalloc/src/vec_alloc.rs:310
↓ 3 callersMethodreserve
(&mut self, extra_bytes: usize)
elfmalloc/src/vec_alloc.rs:140
↓ 3 callersFunctionround_up
(n: usize)
elfmalloc/src/general.rs:479
↓ 3 callersFunctionsatisfy_min_align
(layout: Layout, min_align: usize)
slab-alloc/src/util.rs:493
↓ 3 callersMethodshrink_in_place
( &mut self, ptr: NonNull<u8>, layout: Layout, new_size: usize, )
mmap-alloc/src/lib.rs:596
↓ 3 callersMethodtransition_available
(&mut self, slag: *mut Slag)
elfmalloc/src/slag.rs:1186
↓ 3 callersMethodtry_pop
(&self)
bagpipe/src/bag.rs:207
↓ 3 callersFunctionuncommit
(p: *mut u8, size: usize)
elfmalloc/src/utils.rs:43
↓ 3 callersFunctionuncommit
(ptr: *mut u8, size: usize)
mmap-alloc/src/lib.rs:938
↓ 3 callersFunctionwith_local_or_clone
(f: F)
elfmalloc/src/general.rs:278
↓ 3 callersMethodwrite
Configures write permission for allocated memory. `write` configures whether or not allocated memory will be writable. The default is writable. See
mmap-alloc/src/lib.rs:206
↓ 2 callersFunctionalign_padding
Calculate the padding (in bytes) required to ensure the `Slag` objects are aligned to `alignment` bytes, given `n_objects` objects and `gran` bits per
elfmalloc/src/slag.rs:203
↓ 2 callersFunctionaligned_realloc
(item: *mut u8, new_size: usize, new_alignment: usize)
elfmalloc/src/general.rs:296
↓ 2 callersMethodalloc
(&mut self)
elfmalloc/src/rust_alloc.rs:137
↓ 2 callersMethodalloc
(&mut self)
object-alloc-test/src/corruption.rs:758
↓ 2 callersMethodalloc_full
Allocate a full `Magazine` from the `Depot` if one is present.
elfmalloc/src/frontends.rs:574
↓ 2 callersMethodbuild_local
Build a `LocalAllocator<T>` from the current configuration.
elfmalloc/src/frontends.rs:773
↓ 2 callersMethodbuild_untyped_backing
Builds a new `UntypedSlabAlloc` with a custom memory provider. `build_untyped_backing` is like `build_backing`, except that it builds an `UntypedSlab
slab-alloc/src/lib.rs:237
↓ 2 callersMethodc_malloc
The C `malloc` function. `malloc` allocates storage sufficient to hold `size` bytes, and returns a pointer to it. The allocated memory is aligned to
malloc-bind/src/lib.rs:184
↓ 2 callersFunctionchoose_size
( sizes: I, unused: F, max_objects_per_slab: usize, )
slab-alloc/src/util.rs:9
↓ 2 callersMethodclaim
Attempt to claim a `RefCount`.
elfmalloc/src/slag.rs:469
↓ 2 callersMethoddealloc
(&mut self, item: *mut u8, l: Layout)
elfmalloc/src/rust_alloc.rs:296
↓ 2 callersMethoddealloc_slab
(&mut self, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:145
↓ 2 callersMethoddebug_verify_ptr
(&self, ptr: *mut u8, layout: &Layout)
mmap-alloc/src/lib.rs:372
↓ 2 callersMethoddec_n
Decrease the `RefCount` by `n`. This method assumes the reference count is at least `n`. This is only enforced in debug builds. Returns a tuple whos
elfmalloc/src/slag.rs:501
↓ 2 callersMethoddelete
(&mut self, k: *mut K)
slab-alloc/src/util.rs:254
↓ 2 callersMethodexec
Configures execute permission for allocated memory. `exec` configures whether or not allocated memory will be executable. The default is non-executab
mmap-alloc/src/lib.rs:218
↓ 2 callersFunctionfallible_map
(size: usize)
elfmalloc/src/utils.rs:31
↓ 2 callersMethodfind
Given a pointer to an object within a `Slag` with matching `Metadata` find a pointer to the `Slag`.
elfmalloc/src/slag.rs:792
↓ 2 callersMethodfree_empty
Return an empty `Magazine` to the `Depot`. If the `Depot` is at capacity, the `Magazine`'s memory is unmapped.
elfmalloc/src/frontends.rs:548
↓ 2 callersMethodget
(&self, k: *mut K)
slab-alloc/src/util.rs:246
↓ 2 callersMethodget
(&self, ix: usize)
bagpipe/src/queue.rs:717
↓ 2 callersMethodget_color
(&self)
slab-alloc/src/stack.rs:213
↓ 2 callersFunctionget_commitment
(item: *mut u8)
elfmalloc/src/general.rs:1017
↓ 2 callersFunctionget_commitment_mut
(item: *mut u8)
elfmalloc/src/general.rs:1024
↓ 2 callersMethodget_mut
(&mut self, k: Self::Key)
elfmalloc/src/general.rs:347
↓ 2 callersMethodget_raw
(&self, ix: usize)
elfmalloc/src/vec_alloc.rs:163
↓ 2 callersMethodget_raw
(&self, n: usize)
elfmalloc/src/general.rs:414
↓ 2 callersMethodgrow_in_place
( &mut self, ptr: NonNull<u8>, layout: Layout, new_size: usize, )
mmap-alloc/src/lib.rs:576
↓ 2 callersMethodhandle
(&self)
bagpipe/src/bag.rs:173
↓ 2 callersMethodinc_n
Increment the `RefCount`. Returns a tuple whose first element indicates the `RefCount` was previously claimed, and the second element is the current
elfmalloc/src/slag.rs:488
↓ 2 callersMethodincrement_and_get_usize
Helper method to increment `ind` and find the corresponding index and cell starting in `seg`, advancing `seg` if need be.
bagpipe/src/queue.rs:280
↓ 2 callersMethodinsert_back
(&mut self, t: NonNull<T>)
slab-alloc/src/util.rs:332
↓ 2 callersMethodis_full
(&self, slab: NonNull<SlabHeader>)
slab-alloc/src/stack.rs:160
↓ 2 callersFunctionnew_buckets
()
slab-alloc/src/ptr_map.rs:297
↓ 2 callersFunctionperms
()
mmap-alloc/src/tests.rs:637
↓ 2 callersMethodpop
Pops an element from the stack. The stack must not be empty.
slab-alloc/src/util.rs:105
↓ 2 callersMethodpop
A pop operation that will not fail. Same caveats apply to those of `push`.
bagpipe/src/bag.rs:67
↓ 2 callersMethodprev
(&self)
slab-alloc/src/stack.rs:201
↓ 2 callersMethodpriv_test
(self)
object-alloc-test/src/corruption.rs:647
↓ 2 callersMethodpush_diff
(&mut self)
bagpipe/src/lib.rs:194
↓ 2 callersFunctionpush_noinline
(v: &mut V, t: T)
elfmalloc/src/bin/bench_vec.rs:200
↓ 2 callersMethodquickcheck
(self)
object-alloc-test/src/corruption.rs:621
↓ 2 callersMethodread
Configures read permission for allocated memory. `read` configures whether or not allocated memory will be readable. The default is readable. See th
mmap-alloc/src/lib.rs:194
↓ 2 callersFunctionrealloc
(item: *mut u8, new_size: usize)
elfmalloc/src/general.rs:292
↓ 2 callersMethodrealloc
(&mut self, item: *mut u8, new_size: usize)
elfmalloc/src/general.rs:631
↓ 2 callersFunctionremap
( ptr: *mut u8, old_size: usize, new_size: usize, in_place: bool, )
mmap-alloc/src/lib.rs:840
↓ 2 callersMethodremove_front
(&mut self)
slab-alloc/src/util.rs:348
↓ 2 callersMethodresize_in_place
( &self, ptr: NonNull<u8>, layout: &Layout, new_size: usize, )
mmap-alloc/src/lib.rs:351
↓ 2 callersFunctionresult_unwrap_failed
(msg: &str, err: E)
alloc-fmt/src/lib.rs:363
↓ 2 callersFunctionround_to_page
(item: *mut T)
elfmalloc/src/general.rs:710
↓ 2 callersFunctiontest
(new: F, tests: Option<usize>)
object-alloc-test/src/corruption.rs:669
↓ 2 callersMethodtest
(self)
object-alloc-test/src/corruption.rs:625
↓ 2 callersFunctiontest_corruption_tester_corruption_helper
( mut a: Box<C>, mut b: Box<C>, )
object-alloc-test/src/corruption.rs:891
↓ 2 callersFunctiontest_corruption_tester_helper
(mut obj: Box<C>)
object-alloc-test/src/corruption.rs:860
↓ 2 callersMethodto_header_and_slice
Split into a header and byte slice.
object-alloc-test/src/corruption.rs:393
↓ 2 callersMethodto_header_and_slice_mut
(&mut self)
object-alloc-test/src/corruption.rs:410
↓ 2 callersMethodto_slice
(&self)
elfmalloc/src/vec_alloc.rs:167
↓ 2 callersFunctiontotal_bytes
Compute the total bytes used for `n_objects` objects each of size `size` bytes represented by `gran` bits in the bit-set. This function includes the h
elfmalloc/src/slag.rs:214
↓ 2 callersMethodtransition_full
(&mut self, slag: *mut Slag, meta: &Metadata)
elfmalloc/src/slag.rs:1193
↓ 2 callersMethodtry_push
(&self, t: T)
bagpipe/src/queue.rs:337
↓ 2 callersMethodtry_push_internal
Attempts to push `it` down a pipe, following a schedule specified by offset, allowing for at most `max_failures` failures.
bagpipe/src/lib.rs:418
↓ 2 callersMethodunclaim
Unclaim the `RefCount`. Returns a tuple whose first element indicates the `RefCount` was previously claimed, and the second element is the current va
elfmalloc/src/slag.rs:478
↓ 2 callersMethodupdate_state
Update the tester's state. `update_state` updates the tester's state by updating the `state_nonce` field and recomputing the `hash`. `new_state` must
object-alloc-test/src/corruption.rs:353
↓ 1 callersMethodaligned_realloc
( &mut self, item: *mut u8, new_size: usize, new_alignment: usize, )
elfmalloc/src/general.rs:635
↓ 1 callersMethodalloc
(&self, l: Layout)
bsalloc/src/lib.rs:38
↓ 1 callersMethodalloc
(&self, size: usize)
bsalloc/src/bsalloc.rs:45
← previousnext →101–200 of 600, ranked by callers