Sign in Join
FPDoc Onlineexperiment

TFPHashList.FindWithHash function

Member of TFPHashListpublicIn unit Contnrs

Find first element with given name and hash value.

Declaration

pascal
function FindWithHash(const AName: RawByteString; AHash: LongWord)
: Pointer

Arguments

AName

Key value to search for.

AHash

Hash value of the key AName.

Function result

Data pointer associated with key AName.

Description

FindWithHash searches for the item with key AName. It uses the provided hash value AHash to perform the search. If the item exists, the data pointer is returned, if not, the result is Nil.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.