Home
last modified time | relevance | path

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

/external/rust/crates/fnv/
Dlib.rs89 pub struct FnvHasher(u64); struct
91 impl Default for FnvHasher { implementation
94 fn default() -> FnvHasher { in default()
95 FnvHasher(0xcbf29ce484222325) in default()
99 impl FnvHasher { implementation
103 pub fn with_key(key: u64) -> FnvHasher { in with_key() argument
104 FnvHasher(key) in with_key()
108 impl Hasher for FnvHasher { implementation
116 let FnvHasher(mut hash) = *self; in write() localVariable
123 *self = FnvHasher(hash); in write()
[all …]
/external/rust/crates/hashbrown/tests/
Dserde.rs4 use fnv::FnvHasher;
9 type FnvHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FnvHasher>>;
10 type FnvHashSet<T> = HashSet<T, BuildHasherDefault<FnvHasher>>;
/external/rust/crates/ahash/tests/
Dbench.rs28 let mut hasher = fnv::FnvHasher::default(); in fnvhash()