Home
last modified time | relevance | path

Searched refs:count_ones (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/num-traits/src/
Dint.rs66 fn count_ones(self) -> u32; in count_ones() method
398 fn count_ones(self) -> u32 {
399 <$T>::count_ones(self)
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dcpu_set.rs41 .fold(0, |acc, i| acc + i.count_ones()) in CPU_COUNT_S()
/third_party/rust/crates/num-traits/tests/
Dcast.rs196 assert_eq!(max.count_ones(), $f::MANTISSA_DIGITS);
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs776 let dark = self.modules.iter().map(|x| x.count_ones()).sum::<u32>() as i32; in get_penalty_score()
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs3041 s += i.count_ones();
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3652 s += i.count_ones();
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs3897 s += i.count_ones();
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs40803 debug_assert!(self.cap().count_ones() == 1);
41196 debug_assert!(self.cap().count_ones() == 1);