This class is used just as a namespace scope to collect together a handful of static functions, which are used to wrap calls to Bob Jenkins' public- domain hash generation function (defined in lookup3.c). More...
#include "addHash.h"
Static Public Member Functions | |
static size_t | add_hash (size_t start, const uint32_t *words, size_t num_words) |
Adds a linear sequence of uint32 words to the hash. More... | |
static size_t | add_hash (size_t start, const uint8_t *bytes, size_t num_bytes) |
Adds a linear sequence of bytes to the hash. More... | |
static size_t | add_hash (size_t start, const PN_float32 *floats, size_t num_floats) |
Adds a linear sequence of float32 words to the hash. More... | |
static size_t | add_hash (size_t start, const PN_float64 *floats, size_t num_floats) |
Adds a linear sequence of float64 words to the hash. More... | |
This class is used just as a namespace scope to collect together a handful of static functions, which are used to wrap calls to Bob Jenkins' public- domain hash generation function (defined in lookup3.c).
|
inlinestatic |
Adds a linear sequence of uint32 words to the hash.
Definition at line 18 of file addHash.I.
Referenced by add_hash(), integer_hash< Key, Compare >::add_hash(), pointer_hash::add_hash(), floating_point_hash< Key >::add_hash(), and sequence_hash< Key, Compare >::add_hash().
|
static |
Adds a linear sequence of bytes to the hash.
Definition at line 20 of file addHash.cxx.
|
inlinestatic |
Adds a linear sequence of float32 words to the hash.
Definition at line 26 of file addHash.I.
References add_hash().
|
inlinestatic |
Adds a linear sequence of float64 words to the hash.
Definition at line 34 of file addHash.I.
References add_hash().