Searched refs:aeshash (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/ahash/tests/ |
D | bench.rs | 8 fn aeshash<H: Hash>(b: &H) -> u64 { in aeshash() function 13 fn aeshash<H: Hash>(_b: &H) -> u64 { in aeshash() function 76 ParameterizedBenchmark::new("u8", |b, &s| b.iter(|| black_box(aeshash(s))), &U8_VALUES), in bench_ahash() 80 ParameterizedBenchmark::new("u16", |b, &s| b.iter(|| black_box(aeshash(s))), &U16_VALUES), in bench_ahash() 84 ParameterizedBenchmark::new("u32", |b, &s| b.iter(|| black_box(aeshash(s))), &U32_VALUES), in bench_ahash() 88 ParameterizedBenchmark::new("u64", |b, &s| b.iter(|| black_box(aeshash(s))), &U64_VALUES), in bench_ahash() 92 ParameterizedBenchmark::new("u128", |b, &s| b.iter(|| black_box(aeshash(s))), &U128_VALUES), in bench_ahash() 96 … ParameterizedBenchmark::new("string", |b, s| b.iter(|| black_box(aeshash(s))), gen_strings()), in bench_ahash()
|