Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
new
Method · 0.45
make_linker
Function · 0.45
disas_pulley
Function · 0.45
execute
Method · 0.45
breakpoints
Method · 0.45
format_hot_blocks
Method · 0.45
build_basic_blocks
Function · 0.45
test_ditto_marks
Function · 0.45
poll_write
Method · 0.45
print_settings_human_readable
Method · 0.45
parse_preloads
Function · 0.45
invoke_component
Method · 0.45
Calls
1
unwrap
Method · 0.45
Tested by
15
test_ditto_marks
Function · 0.36
test_trap_stack_overflow
Function · 0.36
preview2_stdin
Function · 0.36
read_write_memory_via_api
Function · 0.36
raw_string_encodings
Function · 0.36
test_on_update_cleanup_limits_trash_locks
Function · 0.36
test_on_update_cleanup_lru_policy
Function · 0.36
test_on_update_cleanup_future_files
Function · 0.36
strategies_from
Method · 0.36
test_async_short_reads
Function · 0.36
poll_produce
Method · 0.36
poll_consume
Method · 0.36