Calcuates a 64-bit murmur hash for the specified value.
More...
#include <ehash.h>
|
| static size_t | combine (size_t h1, size_t h2) |
| | Combines 2 64-bit hash values. More...
|
| |
|
| static size_t | getHash (cChar val, size_t seed=0xc70f6907UL) |
| | Calculates a 64-bit murmur hash for the value. More...
|
| |
| static size_t | getHash (cUChar val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cShort val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cUShort val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cLong val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cULong val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cLongLong val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cULongLong val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cFloat val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (cDouble val, size_t seed=0xc70f6907UL) |
| |
| static size_t | getHash (const EString &val, size_t seed=0xc70f6907UL) |
| |
|
| static size_t | getHash (cpChar val, size_t len, size_t seed=0xc70f6907UL) |
| | Calculates a 64-bit murmur hash for the value. More...
|
| |
| static size_t | getHash (cpUChar val, size_t len, size_t seed=0xc70f6907UL) |
| |
Calcuates a 64-bit murmur hash for the specified value.
| static size_t EMurmurHash64::combine |
( |
size_t |
h1, |
|
|
size_t |
h2 |
|
) |
| |
|
inlinestatic |
Combines 2 64-bit hash values.
- Parameters
-
| h1 | The first 64-bit hash value. |
| h2 | The second 64-bit hash value. |
- Returns
- The rsulting 64-bit combined hash value.
| static size_t EMurmurHash64::getHash |
( |
cChar |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
Calculates a 64-bit murmur hash for the value.
- Parameters
-
| val | The value to calculate the hash for. |
| seed | The seed to be used for the hash calculation. |
- Returns
- The 64-but murmur hash value.
| static size_t EMurmurHash64::getHash |
( |
cUChar |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cShort |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cUShort |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cLong |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cULong |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cLongLong |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cULongLong |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cFloat |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cDouble |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
const EString & |
val, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
| static size_t EMurmurHash64::getHash |
( |
cpChar |
val, |
|
|
size_t |
len, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
Calculates a 64-bit murmur hash for the value.
- Parameters
-
| val | The value to calculate the hash for. |
| len | The length of the value in bytes. |
| seed | The seed to be used for the hash calculation. |
- Returns
- The 64-bit murmur hash value.
| static size_t EMurmurHash64::getHash |
( |
cpUChar |
val, |
|
|
size_t |
len, |
|
|
size_t |
seed = 0xc70f6907UL |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/ehash.h