[][src]Function phf_shared::get_index

pub fn get_index(hashes: &Hashes, disps: &[(u32, u32)], len: usize) -> u32

Return an index into phf_generator::HashState::map.

  • hash is from hash() in this crate.
  • disps is from phf_generator::HashState::disps.
  • len is the length of phf_generator::HashState::map.