Function phf_shared::get_index
source · pub fn get_index(hashes: &Hashes, disps: &[(u32, u32)], len: usize) -> u32
Expand description
Return an index into phf_generator::HashState::map
.
hash
is fromhash()
in this crate.disps
is fromphf_generator::HashState::disps
.len
is the length ofphf_generator::HashState::map
.