MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / map

Method map

crates/tinywasm/src/store/table.rs:179–184  ·  view source on GitHub ↗
(self, f: impl FnOnce(Addr) -> Addr)

Source from the content-addressed store, hash-verified

177 }
178
179 pub(crate) fn map(self, f: impl FnOnce(Addr) -> Addr) -> Self {
180 match self {
181 Self::Uninitialized => Self::Uninitialized,
182 Self::Initialized(addr) => Self::Initialized(f(addr)),
183 }
184 }
185}
186
187#[cfg(test)]

Callers 15

mainFunction · 0.80
imported_func_typeMethod · 0.80
visit_elseMethod · 0.80
process_payloadMethod · 0.80
into_moduleMethod · 0.80
read_moreMethod · 0.80
worker_countFunction · 0.80
process_pendingFunction · 0.80
convert_module_elementFunction · 0.80
convert_module_memoryFunction · 0.80
convert_module_tableFunction · 0.80

Calls

no outgoing calls

Tested by 7

mainFunction · 0.64
mainFunction · 0.64
module_casesFunction · 0.64
test_return_invalid_typeFunction · 0.64
proxy_moduleFunction · 0.64
run_pathsMethod · 0.64
run_filesMethod · 0.64