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

Method clear

cranelift/bforest/src/map.rs:62–64  ·  view source on GitHub ↗

Clear all maps in the forest. All `Map` instances belong to this forest are invalidated and should no longer be used.

(&mut self)

Source from the content-addressed store, hash-verified

60 ///
61 /// All `Map` instances belong to this forest are invalidated and should no longer be used.
62 pub fn clear(&mut self) {
63 self.nodes.clear();
64 }
65}
66
67/// B-tree mapping from `K` to `V`.

Callers 5

emptyFunction · 0.45
split_level0_leafFunction · 0.45
split_level1_leafFunction · 0.45
two_leafFunction · 0.45
level3_sparseFunction · 0.45

Calls 2

free_treeMethod · 0.80
takeMethod · 0.45

Tested by 3

emptyFunction · 0.36
split_level0_leafFunction · 0.36
split_level1_leafFunction · 0.36