Searched refs:wrapping_shl (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/num-traits/src/ops/ |
D | wrapping.rs | 167 fn wrapping_shl(&self, rhs: u32) -> Self; in wrapping_shl() method 170 wrapping_shift_impl!(WrappingShl, wrapping_shl, u8); 171 wrapping_shift_impl!(WrappingShl, wrapping_shl, u16); 172 wrapping_shift_impl!(WrappingShl, wrapping_shl, u32); 173 wrapping_shift_impl!(WrappingShl, wrapping_shl, u64); 174 wrapping_shift_impl!(WrappingShl, wrapping_shl, usize); 176 wrapping_shift_impl!(WrappingShl, wrapping_shl, u128); 178 wrapping_shift_impl!(WrappingShl, wrapping_shl, i8); 179 wrapping_shift_impl!(WrappingShl, wrapping_shl, i16); 180 wrapping_shift_impl!(WrappingShl, wrapping_shl, i32); [all …]
|
/external/rust/crates/aho-corasick/src/packed/ |
D | rabinkarp.rs | 76 hash_2pow = hash_2pow.wrapping_shl(1); in new() 172 hash = hash.wrapping_shl(1).wrapping_add(b as usize); in hash() 182 .wrapping_shl(1) in update_hash()
|
/external/rust/crates/tokio/src/util/ |
D | bit.rs | 70 let shift = 1usize.wrapping_shl(n - 1); in mask_for()
|
/external/rust/crates/oorandom/src/ |
D | lib.rs | 62 inc: increment.wrapping_shl(1) | 1, in new_inc() 187 inc: increment.wrapping_shl(1) | 1, in new_inc()
|