System.Generics.Defaults.BobJenkinsHash

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BobJenkinsHash(const Data; Len, InitData: Integer): Integer;

C++

extern DELPHI_PACKAGE int __fastcall BobJenkinsHash _DEPRECATED_ATTRIBUTE1("Use System.Hash.THashBobJenkins.GetHashValue") (const void *Data, int Len, int InitData);

Properties

Type Visibility Source Unit Parent
function public
System.Generics.Defaults.pas
System.Generics.Defaults.hpp
System.Generics.Defaults System.Generics.Defaults

Description

Warning: BobJenkinsHash is deprecated. Please use Hash.THashBobJenkins.GetHashValue.

BobJenkinsHash is used to generate the hash code of a memory block.

Use BobJenkinsHash to generate the hash code of a memory block. Data points to the memory block for which the hash is generated. Len specifies the length of the memory block. InitData is a value used in the calculation of the hash code (usually zero).

BobJenkinsHash can be used by applications that need to calculate hash codes for custom data types.

See Also