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

Method remove

cranelift/bitset/src/scalar.rs:324–328  ·  view source on GitHub ↗
(&mut self, i: u8)

Source from the content-addressed store, hash-verified

322 /// ```
323 #[inline]
324 pub fn remove(&mut self, i: u8) -> bool {
325 let was_present = self.contains(i);
326 self.0 = self.0 & !(T::from(1) << i);
327 was_present
328 }
329
330 /// Remove all entries from this bitset.
331 ///

Callers 2

pop_minMethod · 0.45
pop_maxMethod · 0.45

Calls 2

fromFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected