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

Method len

cranelift/bitset/src/compound.rs:135–137  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

133 /// ```
134 #[inline]
135 pub fn len(&self) -> usize {
136 self.elems.iter().map(|sub| usize::from(sub.len())).sum()
137 }
138
139 /// Get `n + 1` where `n` is the largest value that can be stored inside
140 /// this set without growing the backing storage.

Callers 5

capacityMethod · 0.45
is_emptyMethod · 0.45
containsMethod · 0.45
try_ensure_capacityMethod · 0.45
removeMethod · 0.45

Calls 4

fromFunction · 0.85
sumMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected