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 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...
|
|
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...
|
|
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).
Definition at line 26 of file addHash.h.
◆ add_hash() [1/4]
size_t AddHash::add_hash |
( |
size_t |
start, |
|
|
const PN_float32 * |
floats, |
|
|
size_t |
num_floats |
|
) |
| |
|
inlinestatic |
Adds a linear sequence of float32 words to the hash.
Definition at line 25 of file addHash.I.
◆ add_hash() [2/4]
size_t AddHash::add_hash |
( |
size_t |
start, |
|
|
const PN_float64 * |
floats, |
|
|
size_t |
num_floats |
|
) |
| |
|
inlinestatic |
Adds a linear sequence of float64 words to the hash.
Definition at line 33 of file addHash.I.
◆ add_hash() [3/4]
size_t AddHash::add_hash |
( |
size_t |
start, |
|
|
const uint32_t * |
words, |
|
|
size_t |
num_words |
|
) |
| |
|
inlinestatic |
Adds a linear sequence of uint32 words to the hash.
Definition at line 17 of file addHash.I.
◆ add_hash() [4/4]
size_t AddHash::add_hash |
( |
size_t |
start, |
|
|
const uint8_t * |
bytes, |
|
|
size_t |
num_bytes |
|
) |
| |
|
static |
Adds a linear sequence of bytes to the hash.
Definition at line 19 of file addHash.cxx.
The documentation for this class was generated from the following files: