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

Method clear

cranelift/bforest/src/set.rs:55–57  ·  view source on GitHub ↗

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

(&mut self)

Source from the content-addressed store, hash-verified

53 ///
54 /// All `Set` instances belong to this forest are invalidated and should no longer be used.
55 pub fn clear(&mut self) {
56 self.nodes.clear();
57 }
58}
59
60/// B-tree representing an ordered set of `K`s using `C` for comparing elements.

Callers 3

emptyFunction · 0.45
dense4lFunction · 0.45
four_level_clearFunction · 0.45

Calls 2

free_treeMethod · 0.80
takeMethod · 0.45

Tested by 2

emptyFunction · 0.36
four_level_clearFunction · 0.36