11 static plUInt32 CRC32Hash(
const void* pKey,
size_t uiSizeInBytes);
14 static plUInt32 MurmurHash32(
const void* pKey,
size_t uiSizeInByte, plUInt32 uiSeed = 0);
17 static plUInt64 MurmurHash64(
const void* pKey,
size_t uiSizeInByte, plUInt64 uiSeed = 0);
26 static plUInt32 MurmurHash32String(
plStringView sStr, plUInt32 uiSeed = 0);
29 static plUInt32 xxHash32(
const void* pKey,
size_t uiSizeInByte, plUInt32 uiSeed = 0);
32 static plUInt64 xxHash64(
const void* pKey,
size_t uiSizeInByte, plUInt64 uiSeed = 0);
36 constexpr static plUInt32
xxHash32String(
const char (&str)[N], plUInt32 uiSeed = 0);
40 constexpr static plUInt64
xxHash64String(
const char (&str)[N], plUInt64 uiSeed = 0);
45 static plUInt32 xxHash32String(
plStringView sStr, plUInt32 uiSeed = 0);
50 static plUInt64 xxHash64String(
plStringView sStr, plUInt64 uiSeed = 0);
54 constexpr static plUInt64
StringHash(
const char (&str)[N], plUInt64 uiSeed = 0);
59 static plUInt64 StringHash(
plStringView sStr, plUInt64 uiSeed = 0);
64 constexpr static plUInt32 StringHashTo32(plUInt64 uiHash);
67 constexpr static plUInt32 CombineHashValues32(plUInt32 ui0, plUInt32 ui1);
static constexpr plUInt32 MurmurHash32String(const char(&str)[N], plUInt32 uiSeed=0)
Calculates the 32bit murmur hash of a string constant at compile time. Encoding does not matter here.
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34