EvEmu
0.8.4
11 September 2021
|
a class to keep track of all the utility hash functions More...
#include "Util.h"
Static Public Member Functions | |
static uint32 | djb2_hash (const char *str) |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | djb2_hash (const wchar_t *str) |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | djb2_hash (const std::string &oStr) |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | djb2_hash (const std::wstring &oStr) |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | djb2_hash (const char *str, int len) |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | sdbm_hash (std::string &oStr) |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | sdbm_hash (const char *str) |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | sdbm_hash (const wchar_t *str) |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
static uint32 | sdbm_hash (const char *str, int len) |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified More... | |
a class to keep track of all the utility hash functions
|
inlinestatic |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 260 of file Util.h.
|
inlinestatic |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 279 of file Util.h.
|
inlinestatic |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 298 of file Util.h.
|
inlinestatic |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 319 of file Util.h.
|
inlinestatic |
djb2 algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | str | string that needs to be hashed. |
[in] | len | the size of the string. |
Definition at line 341 of file Util.h.
|
inlinestatic |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 363 of file Util.h.
|
inlinestatic |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 383 of file Util.h.
|
inlinestatic |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
Definition at line 402 of file Util.h.
|
inlinestatic |
sdbm algorithm taken from http://www.cse.yorku.ca/~oz/hash.html slightly modified
[in] | oStr | string that needs to be hashed. |
[in] | len | length of the string that needs to be hashed. |
Definition at line 422 of file Util.h.