Calcuates a 32-bit hash value for the specified string or array of characters.
More...
#include <ehash.h>
|
static ULong | getHash (EString &str) |
| Returns the 32-bit hash value for the specified string. More...
|
|
static ULong | getHash (cpChar val, ULong len) |
| Returns the 32-bit has value for the array of characters. More...
|
|
static ULong | getHash (cpUChar val, ULong len) |
| Returns the 32-bit has value for the array of unsigned characters. More...
|
|
Calcuates a 32-bit hash value for the specified string or array of characters.
◆ getHash() [1/3]
ULong EHash::getHash |
( |
cpChar |
val, |
|
|
ULong |
len |
|
) |
| |
|
static |
Returns the 32-bit has value for the array of characters.
- Parameters
-
val | The array of characters to calculate the hash for. |
len | The length of the array of characters. |
- Returns
- 32-bit hash value
◆ getHash() [2/3]
ULong EHash::getHash |
( |
cpUChar |
val, |
|
|
ULong |
len |
|
) |
| |
|
static |
Returns the 32-bit has value for the array of unsigned characters.
- Parameters
-
val | The array of unsigned characters to calculate the hash for. |
len | The length of the array of unsigned characters. |
- Returns
- 32-bit hash value
◆ getHash() [3/3]
ULong EHash::getHash |
( |
EString & |
str | ) |
|
|
static |
Returns the 32-bit hash value for the specified string.
- Parameters
-
str | The string to calculate the hash for. |
- Returns
- 32-bit hash value
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools/include/epc/ehash.h
- /home/vagrant/share/code/epctools/src/ehash.cpp