System.Hash.THashBobJenkins.GetHashValue
Delphi
class function GetHashValue(const AData: string): Integer; overload; static; inline;
class function GetHashValue(const AData; ALength: Integer; AInitialValue: Integer = 0): Integer; overload; static; inline;
C++
static int __fastcall GetHashValue(const System::UnicodeString AData)/* overload */;
static int __fastcall GetHashValue(const void *AData, int ALength, int AInitialValue = 0x0)/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 | 
|---|---|---|---|---|
| function | public | System.Hash.pas System.Hash.hpp | System.Hash | THashBobJenkins | 
説明
渡されたデータからハッシュ ダイジェストを作成し、作成したダイジェストの値を整数として返します。
AData パラメータは以下のように指定することができます。
- 文字列として。
- その他の型として。ただし、渡すデータの長さも指定する必要があります。この場合、任意パラメータ AInitialValueを指定することができます。AInitialValueのデフォルト値は 0 です。