Searched refs:count_ones (Results 1 – 8 of 8) sorted by relevance
66 fn count_ones(self) -> u32; in count_ones() method398 fn count_ones(self) -> u32 {399 <$T>::count_ones(self)
41 .fold(0, |acc, i| acc + i.count_ones()) in CPU_COUNT_S()
196 assert_eq!(max.count_ones(), $f::MANTISSA_DIGITS);
776 let dark = self.modules.iter().map(|x| x.count_ones()).sum::<u32>() as i32; in get_penalty_score()
3041 s += i.count_ones();
3652 s += i.count_ones();
3897 s += i.count_ones();
40803 debug_assert!(self.cap().count_ones() == 1);41196 debug_assert!(self.cap().count_ones() == 1);