/external/rust/crates/ahash/src/ |
D | hash_set.rs | 34 AHashSet(HashSet::with_hasher(RandomState::default())) in new() 44 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() function 45 AHashSet(HashSet::with_hasher(hash_builder)) in with_hasher()
|
D | hash_map.rs | 36 AHashMap(HashMap::with_hasher(RandomState::default())) in new() 46 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() function 47 AHashMap(HashMap::with_hasher(hash_builder)) in with_hasher()
|
/external/rust/crates/weak-table/src/ |
D | ptr_weak_hash_set.rs | 33 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() function 34 PtrWeakHashSet(base::PtrWeakKeyHashMap::with_hasher(hash_builder)) in with_hasher()
|
D | weak_hash_set.rs | 28 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 29 WeakHashSet(base::WeakKeyHashMap::with_hasher(hash_builder)) in with_hasher()
|
D | ptr_weak_weak_hash_map.rs | 35 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() function 36 PtrWeakWeakHashMap(base::WeakWeakHashMap::with_hasher(hash_builder)) in with_hasher()
|
D | ptr_weak_key_hash_map.rs | 34 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() function 35 PtrWeakKeyHashMap(base::WeakKeyHashMap::with_hasher(hash_builder)) in with_hasher()
|
D | weak_value_hash_map.rs | 180 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 485 WeakValueHashMap::with_hasher(Default::default()) in default() 495 let mut result = WeakValueHashMap::with_hasher(Default::default()); in from_iter()
|
D | weak_weak_hash_map.rs | 180 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 500 WeakWeakHashMap::with_hasher(Default::default()) in default() 510 let mut result = WeakWeakHashMap::with_hasher(Default::default()); in from_iter()
|
D | weak_key_hash_map.rs | 219 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 555 WeakKeyHashMap::with_hasher(Default::default()) in default() 588 let mut result = WeakKeyHashMap::with_hasher(Default::default()); in from_iter()
|
/external/rust/crates/hashlink/src/ |
D | lru_cache.rs | 42 pub fn with_hasher(capacity: usize, hash_builder: S) -> Self { in with_hasher() method 44 map: LinkedHashMap::with_hasher(hash_builder), in with_hasher()
|
D | linked_hash_set.rs | 83 pub fn with_hasher(hasher: S) -> LinkedHashSet<T, S> { in with_hasher() function 85 map: LinkedHashMap::with_hasher(hasher), in with_hasher() 353 let mut set = LinkedHashSet::with_hasher(Default::default()); in from_iter()
|
D | linked_hash_map.rs | 51 map: HashMap::with_hasher(NullHasher), in new() 70 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 73 map: HashMap::with_hasher(NullHasher), in with_hasher() 475 Self::with_hasher(S::default()) in default() 599 let mut map = Self::with_hasher(self.hash_builder.clone()); in clone()
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 80 pub fn with_hasher(capacity: usize, hash_builder: S) -> Self { in with_hasher() method 81 LruCache { map: LinkedHashMap::with_hasher(hash_builder), max_size: capacity } in with_hasher()
|
/external/rust/crates/hashlink/ |
D | CHANGELOG.md | 11 - Adjust trait bounds for `LruCache::with_hasher`, `LruCache::capacity`,
|
/external/rust/crates/hashbrown/ |
D | CHANGELOG.md | 82 - `HashMap::with_hasher` and `HashSet::with_hasher` are now `const fn`. (#195) 84 `with_capacity`, `with_hasher`, and `with_capacity_and_hasher`. (#185)
|
/external/rust/crates/linked-hash-map/src/ |
D | lib.rs | 198 pub fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 199 Self::with_map(HashMap::with_hasher(hash_builder)) in with_hasher() 721 let mut map = Self::with_hasher(self.map.hasher().clone()); in clone() 728 fn default() -> Self { Self::with_hasher(S::default()) } in default()
|
/external/rust/crates/hashbrown/src/ |
D | set.rs | 413 pub const fn with_hasher(hasher: S) -> Self { in with_hasher() method 415 map: HashMap::with_hasher(hasher), in with_hasher() 1855 let s = HS::with_hasher(DefaultHashBuilder::default()); in test_zero_capacities() 2273 const EMPTY_SET: HashSet<u32, MyHasher> = HashSet::with_hasher(MyHasher); in test_const_with_hasher()
|
D | map.rs | 355 pub const fn with_hasher(hash_builder: S) -> Self { in with_hasher() method 3521 let m = HM::with_hasher(DefaultHashBuilder::default()); in test_zero_capacities() 4887 HashMap::with_hasher(MyHasher); in test_const_with_hasher()
|
/external/rust/crates/hashlink/tests/ |
D | linked_hash_set.rs | 63 let s = HS::with_hasher(DefaultHashBuilder::default()); in test_zero_capacities()
|