| 78 |
* <p>Use for hash table lookup, or anything where one collision in 2^^32 is |
* <p>Use for hash table lookup, or anything where one collision in 2^^32 is |
| 79 |
* acceptable. Do NOT use for cryptographic purposes. |
* acceptable. Do NOT use for cryptographic purposes. |
| 80 |
*/ |
*/ |
| 81 |
|
@Override |
| 82 |
@SuppressWarnings("fallthrough") |
@SuppressWarnings("fallthrough") |
| 83 |
public int hash(byte[] key, int nbytes, int initval) { |
public int hash(byte[] key, int nbytes, int initval) { |
| 84 |
int length = nbytes; |
int length = nbytes; |