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

Method size

crates/c-api/include/wasm.hh:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 auto size() const -> size_t {
88 return size_;
89 }
90
91 auto get() const -> const T* {
92 return data_.get();

Callers 15

table_lenMethod · 0.45
try_allocFunction · 0.45
shrink_to_fitMethod · 0.45
new_uninit_boxFunction · 0.45
new_uninit_boxed_sliceFunction · 0.45
shrink_to_fitMethod · 0.45
try_allocFunction · 0.45
try_new_uninit_boxFunction · 0.45
wasm_memory_sizeFunction · 0.45
wasmtime_memory_sizeFunction · 0.45
wasm_table_sizeFunction · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
get_memoryMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36