MCPcopy Create free account
hub / github.com/ezrosent/allocators-rs / push

Method push

slab-alloc/src/util.rs:97–100  ·  view source on GitHub ↗

Pushes a new element onto the stack. The new size of the stack must not exceed the size for which the underlying memory (`data`) was allocated.

(&mut self, data: NonNull<T>, val: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

allocMethod · 0.45
allocMethod · 0.45
newMethod · 0.45
dump_by_bucketMethod · 0.45
dumpMethod · 0.45
alloc_slabMethod · 0.45
deallocMethod · 0.45
permsFunction · 0.45

Calls

no outgoing calls

Tested by 2

permsFunction · 0.36