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

Method clear

cranelift/entity/src/map.rs:151–153  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

149 /// Remove all entries from this map.
150 #[inline(always)]
151 pub fn clear(&mut self) {
152 self.elems.clear()
153 }
154
155 /// Iterate over all the keys and values in this map.
156 pub fn iter(&self) -> Iter<'_, K, V> {

Callers 7

best_control_flowMethod · 0.45
runFunction · 0.45
try_remove_srclocsFunction · 0.45
check_for_crashMethod · 0.45
free_memoryMethod · 0.45
free_memoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected