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

Method pop_max

cranelift/bitset/src/scalar.rs:400–404  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

398 /// ```
399 #[inline]
400 pub fn pop_max(&mut self) -> Option<u8> {
401 let max = self.max()?;
402 self.remove(max);
403 Some(max)
404 }
405
406 /// Return the smallest number contained in this bitset or `None` if this
407 /// bitset is empty.

Callers 1

next_backMethod · 0.80

Calls 2

maxMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected