/external/rust/crates/hashlink/tests/ |
D | linked_hash_set.rs | 1 use hashbrown::hash_map::DefaultHashBuilder; 23 v: linked_hash_set::Difference<'a, &'static str, DefaultHashBuilder>, in assert_covariance() argument 24 ) -> linked_hash_set::Difference<'a, &'new str, DefaultHashBuilder> { in assert_covariance() 29 v: linked_hash_set::SymmetricDifference<'a, &'static str, DefaultHashBuilder>, in assert_covariance() argument 30 ) -> linked_hash_set::SymmetricDifference<'a, &'new str, DefaultHashBuilder> { in assert_covariance() 35 v: linked_hash_set::Intersection<'a, &'static str, DefaultHashBuilder>, in assert_covariance() argument 36 ) -> linked_hash_set::Intersection<'a, &'new str, DefaultHashBuilder> { in assert_covariance() 41 v: linked_hash_set::Union<'a, &'static str, DefaultHashBuilder>, in assert_covariance() argument 42 ) -> linked_hash_set::Union<'a, &'new str, DefaultHashBuilder> { in assert_covariance() 63 let s = HS::with_hasher(DefaultHashBuilder::default()); in test_zero_capacities() [all …]
|
/external/rust/crates/hashbrown/src/ |
D | set.rs | 10 use super::map::{self, ConsumeAllOnDrop, DefaultHashBuilder, DrainFilterInner, HashMap, Keys}; 115 pub struct HashSet<T, S = DefaultHashBuilder, A: Allocator + Clone = Global> { 132 impl<T> HashSet<T, DefaultHashBuilder> { 172 impl<T: Hash + Eq, A: Allocator + Clone> HashSet<T, DefaultHashBuilder, A> { 1813 v: Difference<'a, &'static str, DefaultHashBuilder, A>, in assert_covariance() argument 1814 ) -> Difference<'a, &'new str, DefaultHashBuilder, A> { in assert_covariance() 1818 v: SymmetricDifference<'a, &'static str, DefaultHashBuilder, A>, in assert_covariance() argument 1819 ) -> SymmetricDifference<'a, &'new str, DefaultHashBuilder, A> { in assert_covariance() 1823 v: Intersection<'a, &'static str, DefaultHashBuilder, A>, in assert_covariance() argument 1824 ) -> Intersection<'a, &'new str, DefaultHashBuilder, A> { in assert_covariance() [all …]
|
D | map.rs | 17 pub type DefaultHashBuilder = ahash::RandomState; typedef 21 pub enum DefaultHashBuilder {} enum 192 pub struct HashMap<K, V, S = DefaultHashBuilder, A: Allocator + Clone = Global> { 273 impl<K, V> HashMap<K, V, DefaultHashBuilder> { 303 Self::with_capacity_and_hasher(capacity, DefaultHashBuilder::default()) in with_capacity() 308 impl<K, V, A: Allocator + Clone> HashMap<K, V, DefaultHashBuilder, A> { 315 Self::with_hasher_in(DefaultHashBuilder::default(), alloc) in new_in() 324 Self::with_capacity_and_hasher_in(capacity, DefaultHashBuilder::default(), alloc) in with_capacity_in() 3501 use super::DefaultHashBuilder; 3521 let m = HM::with_hasher(DefaultHashBuilder::default()); in test_zero_capacities() [all …]
|
/external/rust/crates/hashbrown/tests/ |
D | hasher.rs | 26 check::<hashbrown::hash_map::DefaultHashBuilder>(); in default()
|
/external/rust/crates/hashlink/src/ |
D | linked_hash_set.rs | 9 use hashbrown::hash_map::DefaultHashBuilder; 13 pub struct LinkedHashSet<T, S = DefaultHashBuilder> { 17 impl<T: Hash + Eq> LinkedHashSet<T, DefaultHashBuilder> { 19 pub fn new() -> LinkedHashSet<T, DefaultHashBuilder> { in new() 26 pub fn with_capacity(capacity: usize) -> LinkedHashSet<T, DefaultHashBuilder> { in with_capacity() argument
|
D | lru_cache.rs | 17 pub struct LruCache<K, V, S = hash_map::DefaultHashBuilder> {
|
D | linked_hash_map.rs | 32 pub struct LinkedHashMap<K, V, S = hash_map::DefaultHashBuilder> { 50 hash_builder: hash_map::DefaultHashBuilder::default(), in new() 60 hash_builder: hash_map::DefaultHashBuilder::default(), in with_capacity()
|
/external/rust/crates/hashbrown/benches/ |
D | bench.rs | 11 use hashbrown::hash_map::DefaultHashBuilder; 21 type AHashMap<K, V> = HashMap<K, V, DefaultHashBuilder>;
|