#include "types.hpp"
#include <stdlib.h>
Functions | |
size_t | hashFunction (size_t maxval, const t_uid &uid) |
Main hash function used in double hashing. | |
size_t | hashFunction2 (size_t maxval, const t_uid &uid) |
Second hash function used in double hashing. |
size_t hashFunction | ( | size_t | maxval, | |
const t_uid & | uid | |||
) |
Main hash function used in double hashing.
source: http://www.partow.net/programming/hashfunctions/
maxval | Maximum value of the hash | |
uid |
size_t hashFunction2 | ( | size_t | maxval, | |
const t_uid & | uid | |||
) |
Second hash function used in double hashing.
source: http://www.partow.net/programming/hashfunctions/
maxval | Maximum value of the hash | |
uid |