MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / is_empty

Method is_empty

src/entity/set.rs:148–150  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

146 #[inline]
147 #[must_use]
148 pub fn is_empty(&self) -> bool {
149 self.storage.iter().all(|&word| word == 0)
150 }
151
152 /// Returns the number of elements in the set.
153 #[inline]

Callers 15

emitMethod · 0.45
value_locationsMethod · 0.45
nextMethod · 0.45
check_blockMethod · 0.45
meetMethod · 0.45
fmtMethod · 0.45
check_classMethod · 0.45
gen_bankMethod · 0.45
gen_allocation_orderMethod · 0.45
newMethod · 0.45
gen_cfg_skeletonMethod · 0.45
new_valueMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected