MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / is_empty

Method is_empty

crates/tinywasm/src/store/memory/mod.rs:32–34  ·  view source on GitHub ↗

Returns true if the memory is empty.

(&self)

Source from the content-addressed store, hash-verified

30
31 /// Returns true if the memory is empty.
32 fn is_empty(&self) -> bool {
33 self.len() == 0
34 }
35
36 /// Grows the memory to `new_len` bytes.
37 ///

Callers 4

eval_constMethod · 0.45
readMethod · 0.45
writeMethod · 0.45
proxy_moduleFunction · 0.45

Implementers 3

vec.rscrates/tinywasm/src/store/memory/vec.r
paged.rscrates/tinywasm/src/store/memory/paged
lazy.rscrates/tinywasm/src/store/memory/lazy.

Calls 1

lenMethod · 0.45

Tested by 1

proxy_moduleFunction · 0.36