lab_hash
Hellish Hash Tables
|
Definition of a namespace containing a templatized hash function. More...
Namespaces | |
hashes | |
hashes namespace: a collection of templated hash functions. | |
Functions | |
template<class K > | |
unsigned int | hashes::hash (const K &key, int size) |
Computes the hash code of a given key (templated), and returns it modulo size for use in HashTable applications. More... | |
template<class K > | |
unsigned int | hashes::secondary_hash (const K &key, int size) |
Computes the secondary hash code of a given key (templated), and returns it modulo size for use in HashTable applications. More... | |
Definition of a namespace containing a templatized hash function.