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

Method max

cranelift/bitset/src/scalar.rs:456–463  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

454 /// ```
455 #[inline]
456 pub fn max(&self) -> Option<u8> {
457 if self.0 == T::from(0) {
458 None
459 } else {
460 let leading_zeroes = self.0.leading_zeros();
461 Some(Self::capacity() - leading_zeroes - 1)
462 }
463 }
464
465 /// Iterate over the items in this set.
466 ///

Callers 14

emitMethod · 0.45
respect_priorityFunction · 0.45
best_control_flowMethod · 0.45
define_function_bytesMethod · 0.45
define_dataMethod · 0.45
pop_maxMethod · 0.45
finish_constantsMethod · 0.45
newMethod · 0.45
exampleMethod · 0.45
process_elab_stackMethod · 0.45

Calls 2

fromFunction · 0.85
leading_zerosMethod · 0.80

Tested by

no test coverage detected