Combines the specified hash codes.
public static int CombineHashCodes(int hashCode1)
parameter | description |
---|---|
hashCode1 | The first hash code. |
The combined hash code.
This is a specialization of CombineHashCodes
for efficiency.
Combines the specified hash codes.
public static int CombineHashCodes(params int[]? hashCodes)
parameter | description |
---|---|
hashCodes | An array of hash codes. |
The combined hash code.
This method is based on the “hashword” function at http://burtleburtle.net/bob/c/lookup3.c. It attempts to thoroughly mix all the bits in the input hash codes.
Combines the specified hash codes.
public static int CombineHashCodes(int hashCode1, int hashCode2)
parameter | description |
---|---|
hashCode1 | The first hash code. |
hashCode2 | The second hash code. |
The combined hash code.
This is a specialization of CombineHashCodes
for efficiency.
Combines the specified hash codes.
public static int CombineHashCodes(int hashCode1, int hashCode2, int hashCode3)
parameter | description |
---|---|
hashCode1 | The first hash code. |
hashCode2 | The second hash code. |
hashCode3 | The third hash code. |
The combined hash code.
This is a specialization of CombineHashCodes
for efficiency.
Combines the specified hash codes.
public static int CombineHashCodes(int hashCode1, int hashCode2, int hashCode3, int hashCode4)
parameter | description |
---|---|
hashCode1 | The first hash code. |
hashCode2 | The second hash code. |
hashCode3 | The third hash code. |
hashCode4 | The fourth hash code. |
The combined hash code.
This is a specialization of CombineHashCodes
for efficiency.