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



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

THashFunction

Hash calculation function.

Declaration

Source position: contnrs.pp line 332

type THashFunction = function(

  const S: String;

  const TableSize: LongWord

):LongWord;

Arguments

S

  

String to calculate hash value from.

TableSize

  

Hash table size.

Function result

Hash value

Description

THashFunction is the prototype for a hash calculation function. It should calculate a hash of string S, where the hash table size is TableSize. The return value should be the hash value.

Notes

 No notes exist for this page yet. 





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