Home
last modified time | relevance | path

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

/external/rust/crates/hashbrown/src/raw/
Dmod.rs174 fn move_next(&mut self, bucket_mask: usize) { in move_next()
177 self.stride <= bucket_mask, in move_next()
183 self.pos &= bucket_mask; in move_next()
221 fn bucket_mask_to_capacity(bucket_mask: usize) -> usize { in bucket_mask_to_capacity()
222 if bucket_mask < 8 { in bucket_mask_to_capacity()
225 bucket_mask in bucket_mask_to_capacity()
228 ((bucket_mask + 1) / 8) * 7 in bucket_mask_to_capacity()
380 bucket_mask: usize, field
523 debug_assert_ne!(self.table.bucket_mask, 0); in bucket()
684 let full_capacity = bucket_mask_to_capacity(self.table.bucket_mask); in reserve_rehash()
[all …]