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

Method is_empty

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

Source from the content-addressed store, hash-verified

317 /// Are there zero allocated values within this slab?
318 #[inline]
319 pub fn is_empty(&self) -> bool {
320 self.len() == 0
321 }
322
323 /// Try to allocate a `T` value within this slab.
324 ///

Callers 15

decodeFunction · 0.45
decode_oneFunction · 0.45
decode_allMethod · 0.45
mainFunction · 0.45
zero_mem_rangeMethod · 0.45
assert_or_bless_outputFunction · 0.45
run_testFunction · 0.45
p2_cli_splice_stdinFunction · 0.45
dropMethod · 0.45
parseMethod · 0.45
spawnMethod · 0.45
wait_for_stderrMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by 7

p2_cli_splice_stdinFunction · 0.36
dropMethod · 0.36
process_expandedFunction · 0.36
cwasm_nameFunction · 0.36
test_stdout_stderr_writeFunction · 0.36
every_op_generatedFunction · 0.36