Function phf_shared::get_index
[−]
[src]
pub fn get_index(hash: u64, disps: &[(u32, u32)], len: usize) -> u32
Return an index into phf_generator::HashState::map.
hashis fromhash()in this crate.dispsis fromphf_generator::HashState::disps.lenis the length ofphf_generator::HashState::map.