Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/explodingcamera/tinywasm
/ len
Method
len
crates/tinywasm/src/store/memory/vec.rs:38–40 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
36
impl LinearMemory for VecMemory {
37
#[inline(always)]
38
fn len(&self) -> usize {
39
self.data.len()
40
}
41
42
#[inline(always)]
43
fn grow_to(&mut self, new_len: usize) -> Result<(), crate::Trap> {
Callers
15
next_module_instance_idx
Method · 0.45
init_funcs
Method · 0.45
init_tables
Method · 0.45
init_memories
Method · 0.45
init_lazy_memories
Method · 0.45
init_globals
Method · 0.45
init_elements
Method · 0.45
init_data
Method · 0.45
add_func
Method · 0.45
eval_const
Method · 0.45
trap_oob
Method · 0.45
fill
Method · 0.45
Calls
no outgoing calls
Tested by
2
memory_copy_from_slice_out_of_bounds_fails
Function · 0.36
memory_fill_out_of_bounds_fails
Function · 0.36