Home
last modified time | relevance | path

Searched refs:fxhash (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/ahash/tests/
Dbench.rs3 use fxhash::FxHasher;
39 fn fxhash<H: Hash>(b: &H) -> u64 { in fxhash() function
130 ParameterizedBenchmark::new("u8", |b, &s| b.iter(|| black_box(fxhash(s))), &U8_VALUES), in bench_fx()
134 ParameterizedBenchmark::new("u16", |b, &s| b.iter(|| black_box(fxhash(s))), &U16_VALUES), in bench_fx()
138 ParameterizedBenchmark::new("u32", |b, &s| b.iter(|| black_box(fxhash(s))), &U32_VALUES), in bench_fx()
142 ParameterizedBenchmark::new("u64", |b, &s| b.iter(|| black_box(fxhash(s))), &U64_VALUES), in bench_fx()
146 ParameterizedBenchmark::new("u128", |b, &s| b.iter(|| black_box(fxhash(s))), &U128_VALUES), in bench_fx()
150 … ParameterizedBenchmark::new("string", |b, s| b.iter(|| black_box(fxhash(s))), gen_strings()), in bench_fx()
Dmap_tests.rs4 use fxhash::FxHasher;
/external/rust/crates/rustc-hash/
DCargo.toml.orig8 keywords = ["hash", "fxhash", "rustc"]
DCargo.toml19 keywords = ["hash", "fxhash", "rustc"]
/external/rust/crates/ahash/
DCargo.toml.orig81 fxhash = "0.2.1"
DCargo.toml71 [dev-dependencies.fxhash]