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

Method len

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

Source from the content-addressed store, hash-verified

311 /// How many values are currently allocated within this slab?
312 #[inline]
313 pub fn len(&self) -> usize {
314 usize::try_from(self.len).unwrap()
315 }
316
317 /// Are there zero allocated values within this slab?
318 #[inline]

Callers 15

newMethod · 0.45
make_linkerFunction · 0.45
disas_pulleyFunction · 0.45
executeMethod · 0.45
breakpointsMethod · 0.45
format_hot_blocksMethod · 0.45
build_basic_blocksFunction · 0.45
test_ditto_marksFunction · 0.45
poll_writeMethod · 0.45
parse_preloadsFunction · 0.45
invoke_componentMethod · 0.45

Calls 1

unwrapMethod · 0.45

Tested by 15

test_ditto_marksFunction · 0.36
test_trap_stack_overflowFunction · 0.36
preview2_stdinFunction · 0.36
raw_string_encodingsFunction · 0.36
strategies_fromMethod · 0.36
test_async_short_readsFunction · 0.36
poll_produceMethod · 0.36
poll_consumeMethod · 0.36