Hashing functions, mostly from Bob Jenkins. More...
Go to the source code of this file.
Macros | |
#define | bitRotateLeft(x, nBits) (((x) << (nBits)) | ((x) >> (32 - (nBits)))) |
#define | bitMixer(a, b, c) |
#define | bitMixerFinal(a, b, c) |
Functions | |
static unsigned | jenkins_hashlittle (const void *key, size_t length, unsigned initval) |
static unsigned | jenkins_hashbig (const void *key, size_t length, unsigned initval) |
Hashing functions, mostly from Bob Jenkins.
Original source file Hasher.C
Definition in file Hasher.C.
#define bitMixer | ( | a, | |
b, | |||
c | |||
) |
#define bitMixerFinal | ( | a, | |
b, | |||
c | |||
) |
|
static |
Definition at line 192 of file Hasher.C.
References b, bitMixer, bitMixerFinal, Foam::constant::universal::c, and k.
Referenced by Foam::Hasher().
|
static |
Definition at line 370 of file Hasher.C.
References b, bitMixer, bitMixerFinal, Foam::constant::universal::c, and k.
Referenced by Foam::Hasher().