/external/rust/crates/ahash/src/ |
D | specialize.rs | 21 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64; in get_hash() 30 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash() 31 let mut hasher = build_hasher.build_hasher(); in get_hash() 43 default fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash() 44 let mut hasher = build_hasher.build_hasher(); in get_hash() 55 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { 56 build_hasher.hash_as_u64(value) 73 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash() 74 build_hasher.hash_as_fixed_length(value) in get_hash() 81 fn get_hash<H: Hash + ?Sized, B: BuildHasher>(value: &H, build_hasher: &B) -> u64 { in get_hash() [all …]
|
D | lib.rs | 247 RandomState::with_fixed_keys().build_hasher() in default() 267 let mut hasher = self.build_hasher(); in hash_as_u64() 274 let mut hasher = self.build_hasher(); in hash_as_u64() 281 let mut hasher = self.build_hasher(); in hash_as_fixed_length() 288 let mut hasher = self.build_hasher(); in hash_as_fixed_length() 295 let mut hasher = self.build_hasher(); in hash_as_str() 302 let mut hasher = self.build_hasher(); in hash_as_str()
|
D | random_state.rs | 429 fn build_hasher(&self) -> AHasher { in build_hasher() method 494 let mut hasher = AHasherFixed(self.build_hasher()); in hash_as_fixed_length() 501 let mut hasher = AHasherStr(self.build_hasher()); in hash_as_str() 515 assert_ne!(a.build_hasher().finish(), b.build_hasher().finish()); in test_unique()
|
D | aes_hash.rs | 371 let mut hasher = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in test_sanity()
|
/external/rust/crates/ahash/tests/ |
D | map_tests.rs | 123 fn test_hash_common_words<B: BuildHasher>(build_hasher: &B) { in test_hash_common_words() 125 check_for_collisions(build_hasher, &word_pairs, 32); in test_hash_common_words() 129 fn check_for_collisions<H: Hash, B: BuildHasher>(build_hasher: &B, items: &[H], bucket_count: usize… in check_for_collisions() 132 let value = hash(item, build_hasher) as usize; in check_for_collisions() 156 fn hash<H: Hash, B: BuildHasher>(b: &H, build_hasher: &B) -> u64 { in hash() 157 build_hasher.hash_one(b) in hash() 162 fn hash<H: Hash, B: BuildHasher>(b: &H, build_hasher: &B) -> u64 { in hash() 163 let mut hasher = build_hasher.build_hasher(); in hash() 170 let build_hasher = RandomState::with_seeds(1, 2, 3, 4); in test_bucket_distribution() localVariable 171 test_hash_common_words(&build_hasher); in test_bucket_distribution() [all …]
|
D | nopanic.rs | 11 let mut hasher1 = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in hash_test_final() 12 let mut hasher2 = RandomState::with_seeds(3, 4, 5, 6).build_hasher(); in hash_test_final() 32 let mut hasher = self.build_hasher(); in hash_one() 41 fn build_hasher(&self) -> Self::Hasher { in build_hasher() method 49 let hasher1 = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in hash_test_specialize() 50 let hasher2 = RandomState::with_seeds(1, 2, 3, 4).build_hasher(); in hash_test_specialize()
|
D | bench.rs | 30 let build_hasher = RandomState::with_seeds(1, 2, 3, 4); in ahash() localVariable 31 build_hasher.hash_one(b) in ahash()
|
/external/rust/crates/tokio/src/loom/std/ |
D | mod.rs | 41 let mut hasher = rand_state.build_hasher(); in seed()
|
/external/rust/crates/tokio-stream/src/ |
D | stream_map.rs | 613 let mut hasher = rand_state.build_hasher(); in seed()
|
/external/rust/crates/tokio-util/src/task/ |
D | join_map.rs | 726 let mut hasher = self.tasks_by_key.hasher().build_hasher(); in hash()
|
/external/rust/crates/weak-table/src/ |
D | weak_value_hash_map.rs | 501 let mut hasher = self.hash_builder.build_hasher(); in hash()
|
D | weak_weak_hash_map.rs | 521 let hasher = &mut self.hash_builder.build_hasher(); in hash()
|
D | weak_key_hash_map.rs | 584 let hasher = &mut self.hash_builder.build_hasher(); in hash()
|
/external/rust/crates/hashlink/src/ |
D | linked_hash_map.rs | 1923 fn build_hasher(&self) -> Self { in build_hasher() method 2140 let mut hasher = s.build_hasher(); in hash_key()
|
/external/rust/crates/hashbrown/src/ |
D | map.rs | 252 let mut state = hash_builder.build_hasher(); in make_hash() 276 let mut state = hash_builder.build_hasher(); in make_insert_hash() 8322 fn build_hasher(&self) -> DefaultHasher { in test_const_with_hasher() method
|
D | set.rs | 2759 fn build_hasher(&self) -> DefaultHasher { in test_const_with_hasher() method
|
/external/rust/crates/indexmap/src/ |
D | map.rs | 346 let mut h = self.hash_builder.build_hasher(); in hash()
|