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

Method len

crates/environ/src/compile/module_artifacts.rs:287–289  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

285
286 impl WritableBuffer for ObjectVec {
287 fn len(&self) -> usize {
288 self.0.len()
289 }
290
291 fn reserve(&mut self, additional: usize) -> Result<(), ()> {
292 assert_eq!(self.0.len(), 0, "cannot reserve twice");

Callers 15

translate_payloadMethod · 0.45
name_sectionMethod · 0.45
finalize_memory_initMethod · 0.45
try_static_initMethod · 0.45
try_func_table_initMethod · 0.45
pushMethod · 0.45
append_toMethod · 0.45
pushMethod · 0.45
append_toMethod · 0.45
start_rec_groupMethod · 0.45
push_stackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected