@Deprecated public static class MurmurHash3.IncrementalHash32 extends MurmurHash3.IncrementalHash32x86
This is an implementation of the 32-bit hash function MurmurHash3_x86_32
from from Austin Applyby's original MurmurHash3 c++ code in SMHasher.
This implementation contains a sign-extension bug in the finalization step of any bytes left over from dividing the length by 4. This manifests if any of these bytes are negative.
| Constructor and Description |
|---|
IncrementalHash32()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
finalise(int hash,
int unprocessedLength,
byte[] unprocessed,
int totalLen)
Deprecated.
Use IncrementalHash32x86. This corrects the processing of trailing bytes.
|
add, end, start@Deprecated
int finalise(int hash,
int unprocessedLength,
byte[] unprocessed,
int totalLen)
This implementation contains a sign-extension bug in the finalization step of any bytes left over from dividing the length by 4. This manifests if any of these bytes are negative.
finalise in class MurmurHash3.IncrementalHash32x86hash - The running hashunprocessedLength - The number of unprocessed bytes in the tail data.unprocessed - Up to 3 unprocessed bytes from input data.totalLen - The total number of input bytes added since the start.