help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

RSHash

Standard hash value calculating function.

Declaration

Source position: contnrs.pp line 479

function RSHash(

  const S: String;

  const TableSize: LongWord

):LongWord;

Arguments

S

  

String to calculate hash value from

TableSize

  

Hash table size

Function result

Hash value

Description

RSHash is the standard hash calculating function used in the TFPCustomHashTable hash class. It's Robert Sedgwick's "Algorithms in C" hash function.

Errors

None.

See also

TFPCustomHashTable

  

Hash class

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505