Standard hash value calculating function.
Source position: contnrs.pp line 515
function RSHash( |
const S: AnsiString; |
const TableSize: LongWord |
):LongWord; |
S |
|
String to calculate hash value from. |
TableSize |
|
Hash table size. |
Hash value.
RSHash is the standard hash calculating function used in the TFPCustomHashTable hash class. It's Robert Sedgwick's "Algorithms in C" hash function.
None.
|
Hash class. |