Hashcode generation utilities. More...
Static Public Member Functions | |
static int | CombineHashCodes (int a, int b) |
Create a hashcode from two integers. More... | |
static int | CombineHashCodes (int a, int b, int c) |
Create a hashcode from three integers. More... | |
static int | GetArrayHashCode< T > (in FixedArray< T > arr, int initialHash=0) |
Create a hashcode from a fixed array. More... | |
static int | GetArrayHashCode< T > (T *ptr, int length, int initialHash=0) |
Create a hashcode from an array. More... | |
static int | Int64HashCode (long value) |
Create a hashcode from a long. More... | |
static int | UInt64HashCode (ulong value) |
Create a hashcode from an unsigned long. More... | |
Hashcode generation utilities.
|
inlinestatic |
Create a hashcode from two integers.
a | Integer One |
b | Integer Two |
|
inlinestatic |
Create a hashcode from three integers.
a | Integer One |
b | Integer Two |
c | Integer Three |
|
inlinestatic |
Create a hashcode from a long.
value | Input value |
|
inlinestatic |
Create a hashcode from an unsigned long.
value | Input value |
|
inlinestatic |
Create a hashcode from an array.
T | Type of array |
ptr | Pointer to array |
length | Length of the array |
initialHash | Initial hashcode value |
T | : | unmanaged |
|
inlinestatic |
Create a hashcode from a fixed array.
T | Array type |
arr | Input array |
initialHash | Initial hash value |
T | : | unmanaged |