ska::power_of_two_hash_policy Struct Reference

Public Member Functions

size_t index_for_hash (size_t hash, size_t num_slots_minus_one) const
 
size_t keep_in_range (size_t index, size_t num_slots_minus_one) const
 
int8_t next_size_over (size_t &size) const
 
void commit (int8_t)
 
void reset ()
 

Member Function Documentation

◆ commit()

void ska::power_of_two_hash_policy::commit ( int8_t  )
inline

◆ index_for_hash()

size_t ska::power_of_two_hash_policy::index_for_hash ( size_t  hash,
size_t  num_slots_minus_one 
) const
inline

◆ keep_in_range()

size_t ska::power_of_two_hash_policy::keep_in_range ( size_t  index,
size_t  num_slots_minus_one 
) const
inline

◆ next_size_over()

int8_t ska::power_of_two_hash_policy::next_size_over ( size_t &  size) const
inline

◆ reset()

void ska::power_of_two_hash_policy::reset ( )
inline

The documentation for this struct was generated from the following file: