MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / capacity

Method capacity

crates/core/src/slab.rs:307–309  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

305 /// contain within its current underlying storage?
306 #[inline]
307 pub fn capacity(&self) -> usize {
308 self.entries.capacity()
309 }
310
311 /// How many values are currently allocated within this slab?
312 #[inline]

Callers 14

lenMethod · 0.45
mainFunction · 0.45
reserveMethod · 0.45
double_capacityMethod · 0.45
try_alloc_indexMethod · 0.45
newMethod · 0.45
get_memoryMethod · 0.45
callMethod · 0.45
open_scratch_directoryFunction · 0.45
path_open_preopenFunction · 0.45

Calls

no outgoing calls

Tested by 4

get_memoryMethod · 0.36
test_fd_readdir_past_endFunction · 0.36