Home
last modified time | relevance | path

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

/external/rust/crates/ahash/tests/
Dbench.rs18 fn fallbackhash<H: Hash>(b: &H) -> u64 { in fallbackhash() function
23 fn fallbackhash<H: Hash>(_b: &H) -> u64 { in fallbackhash() function
103 … ParameterizedBenchmark::new("u8", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U8_VALUES), in bench_fallback()
107 … ParameterizedBenchmark::new("u16", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U16_VALUES), in bench_fallback()
111 … ParameterizedBenchmark::new("u32", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U32_VALUES), in bench_fallback()
115 … ParameterizedBenchmark::new("u64", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U64_VALUES), in bench_fallback()
119 … ParameterizedBenchmark::new("u128", |b, &s| b.iter(|| black_box(fallbackhash(s))), &U128_VALUES), in bench_fallback()
123 …ParameterizedBenchmark::new("string", |b, s| b.iter(|| black_box(fallbackhash(s))), gen_strings()), in bench_fallback()