MCPcopy 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

36impl 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

init_funcsMethod · 0.45
init_tablesMethod · 0.45
init_memoriesMethod · 0.45
init_lazy_memoriesMethod · 0.45
init_globalsMethod · 0.45
init_elementsMethod · 0.45
init_dataMethod · 0.45
add_funcMethod · 0.45
eval_constMethod · 0.45
trap_oobMethod · 0.45
fillMethod · 0.45

Calls

no outgoing calls