/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/time-0.1.42/src/ |
H A D | lib.rs | 1158 let mut hasher = ::std::hash::SipHasher::new(); in test_timespec_hash() localVariable 1161 d.hash(&mut hasher); in test_timespec_hash() 1162 hasher.finish() in test_timespec_hash() 1165 hasher = ::std::hash::SipHasher::new(); in test_timespec_hash() 1168 e.hash(&mut hasher); in test_timespec_hash() 1169 hasher.finish() in test_timespec_hash() 1172 hasher = ::std::hash::SipHasher::new(); in test_timespec_hash() 1175 c.hash(&mut hasher); in test_timespec_hash() 1176 hasher.finish() in test_timespec_hash()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/clap-3.0.14/src/util/ |
H A D | fnv.rs | 18 let mut hasher = FnvHasher::new(); in key() localVariable 19 self.hash(&mut hasher); in key() 20 hasher.finish() in key()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/derivative-2.2.0/tests/ |
H A D | rustc-deriving-via-extension-hash-struct.rs | 32 let mut hasher = DefaultHasher::new(); in main() localVariable 33 Foo { x: 0, y: 0, z: 0 }.hash(&mut hasher); in main()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/fastrand-1.7.0/src/ |
H A D | lib.rs | 198 let mut hasher = DefaultHasher::new(); localVariable 199 Instant::now().hash(&mut hasher); 200 thread::current().id().hash(&mut hasher); 201 let hash = hasher.finish();
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/futures-channel-0.3.21/src/mpsc/ |
H A D | mod.rs | 764 pub fn hash_receiver<H>(&self, hasher: &mut H) in hash_receiver() 771 ptr.hash(hasher); in hash_receiver() 845 pub fn hash_receiver<H>(&self, hasher: &mut H) in hash_receiver() 852 ptr.hash(hasher); in hash_receiver()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/futures-util-0.3.21/src/async_await/ |
H A D | random.rs | 38 let mut hasher = DefaultHasher::new(); in random() localVariable 39 hasher.write_usize(COUNTER.fetch_add(1, Ordering::Relaxed)); in random() 40 seed = hasher.finish(); in random()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/hashbrown-0.11.2/ |
H A D | CHANGELOG.md | 39 - Removed hasher specialization support from `aHash`, which was resulting in inconsistent hashes be… 190 - Changed the default hasher from FxHash to AHash. (#97)
|
H A D | Cargo.toml.orig-cargo | 15 # For the default hasher
|
H A D | README.md | 29 - Uses [AHash](https://github.com/tkaitchuck/aHash) as the default hasher, which is much faster tha… 30 …e* as SipHash, so if that is important to you, you might want to consider using a different hasher. 41 With the hashbrown default AHash hasher: 62 With the libstd default SipHash hasher: 109 - `ahash`: Compiles with ahash as default hasher. (enabled by default)
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/hashbrown-0.11.2/src/ |
H A D | map.rs | 470 pub fn hasher(&self) -> &S { in hasher() method 2270 hasher: H, in insert_with_hasher() 2277 .insert_entry(hash, (key, value), |x| hasher(&x.0)); in insert_with_hasher() 4662 super::make_insert_hash::<i32, _>(map.hasher(), &k) in test_raw_entry() 4815 let hasher = m.hasher().clone(); in test_into_iter_refresh() localVariable 4826 let mut hsh = hasher.build_hasher(); in test_into_iter_refresh() 4842 super::make_hasher::<usize, _, usize, _>(&hasher), in test_into_iter_refresh()
|
H A D | set.rs | 413 pub const fn with_hasher(hasher: S) -> Self { in with_hasher() 415 map: HashMap::with_hasher(hasher), in with_hasher() 446 pub fn with_capacity_and_hasher(capacity: usize, hasher: S) -> Self { in with_capacity_and_hasher() 448 map: HashMap::with_capacity_and_hasher(capacity, hasher), in with_capacity_and_hasher() 478 pub fn with_hasher_in(hasher: S, alloc: A) -> Self { in with_hasher_in() 480 map: HashMap::with_hasher_in(hasher, alloc), in with_hasher_in() 506 pub fn with_capacity_and_hasher_in(capacity: usize, hasher: S, alloc: A) -> Self { in with_capacity_and_hasher_in() 508 map: HashMap::with_capacity_and_hasher_in(capacity, hasher, alloc), in with_capacity_and_hasher_in() 527 pub fn hasher(&self) -> &S { in hasher() function 528 self.map.hasher() in hasher()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/hashbrown-0.11.2/src/raw/ |
H A D | mod.rs | 661 hasher: impl Fn(&T) -> u64, in try_reserve() 676 hasher: impl Fn(&T) -> u64, in reserve_rehash() 688 self.rehash_in_place(hasher); in reserve_rehash() 695 hasher, in reserve_rehash() 783 hasher: impl Fn(&T) -> u64, in resize() 794 let hash = hasher(item.as_ref()); in resize() 827 self.reserve(1, hasher); in insert() 1630 let hash = hasher(&item); in clone_from_with_hasher() 2241 let hasher = |i: &u64| *i; in rehash() localVariable 2243 table.insert(i, i, hasher); in rehash() [all …]
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/indexmap-1.8.0/ |
H A D | RELEASES.rst | 214 hasher) are compiled without depending on ``S``, which reduces generics bloat. 271 - Add methods ``.with_hasher()``, ``.hasher()``. 316 hasher. However, there's a lingering compat issue since libstd ``HashMap`` 317 does not parameterize its entries by the hasher (``S`` typarm).
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/indexmap-1.8.0/src/ |
H A D | map.rs | 195 pub fn hasher(&self) -> &S { in hasher() method
|
H A D | set.rs | 174 pub fn hasher(&self) -> &S { in hasher() method 175 self.map.hasher() in hasher()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/indexmap-1.8.0/src/map/ |
H A D | core.rs | 71 let hasher = get_hash(&other.entries); in clone_from() localVariable 72 self.indices.clone_from_with_hasher(&other.indices, hasher); in clone_from()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/proc-macro2-1.0.36/src/ |
H A D | lib.rs | 1010 fn hash<H: Hasher>(&self, hasher: &mut H) { in hash() 1011 self.to_string().hash(hasher); in hash()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/smallvec-1.8.0/src/ |
H A D | tests.rs | 533 let mut hasher = DefaultHasher::new(); in test_hash() localVariable 534 assert_eq!(a.hash(&mut hasher), b.hash(&mut hasher)); in test_hash() 540 let mut hasher = DefaultHasher::new(); in test_hash() localVariable 541 assert_eq!(a.hash(&mut hasher), b.hash(&mut hasher)); in test_hash()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/tokio-1.16.1/src/loom/std/ |
H A D | mod.rs | 39 let mut hasher = rand_state.build_hasher(); in seed() localVariable 42 COUNTER.fetch_add(1, Relaxed).hash(&mut hasher); in seed() 45 hasher.finish() in seed()
|
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Archive/ |
H A D | DllExports2.cpp | 90 STDAPI CreateHasher(const GUID *clsid, IHasher **hasher);
|
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Common/ |
H A D | CreateCoder.cpp | 511 CMyComPtr<IHasher> &hasher) in CreateHasher() argument 521 hasher = codec.CreateHasher(); in CreateHasher() 531 if (!hasher && __externalCodecs) in CreateHasher() 538 return __externalCodecs->GetHashers->CreateHasher((UInt32)i, &hasher); in CreateHasher()
|
H A D | CreateCoder.h | 191 CMyComPtr<IHasher> &hasher);
|
H A D | RegisterCodec.h | 95 void RegisterHasher(const CHasherInfo *hasher) throw();
|
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Compress/ |
H A D | CodecExports.cpp | 281 static HRESULT CreateHasher2(UInt32 index, IHasher **hasher) in CreateHasher2() argument 284 *hasher = g_Hashers[index]->CreateHasher(); in CreateHasher2() local 285 if (*hasher) in CreateHasher2() 286 (*hasher)->AddRef(); in CreateHasher2() 338 STDMETHOD(CreateHasher)(UInt32 index, IHasher **hasher); 362 STDMETHODIMP CHashers::CreateHasher(UInt32 index, IHasher **hasher) in CreateHasher() argument 364 return ::CreateHasher2(index, hasher); in CreateHasher()
|
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/ |
H A D | ICoder.h | 418 STDMETHOD(CreateHasher)(UInt32 index, IHasher **hasher) PURE;
|