Searched refs:FnvHasher (Results 1 – 3 of 3) sorted by relevance
89 pub struct FnvHasher(u64); struct91 impl Default for FnvHasher { implementation94 fn default() -> FnvHasher { in default()95 FnvHasher(0xcbf29ce484222325) in default()99 impl FnvHasher { impl103 pub fn with_key(key: u64) -> FnvHasher { in with_key() argument104 FnvHasher(key) in with_key()108 impl Hasher for FnvHasher { implementation116 let FnvHasher(mut hash) = *self; in write() localVariable123 *self = FnvHasher(hash); in write()[all …]
4 use fnv::FnvHasher;9 type FnvHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FnvHasher>>;10 type FnvHashSet<T> = HashSet<T, BuildHasherDefault<FnvHasher>>;
28 let mut hasher = fnv::FnvHasher::default(); in fnvhash()