From e91852735aae750523ab6e425c3b31e9653d6934 Mon Sep 17 00:00:00 2001
From: Claude Warren
Note: The sign extension bug in {@link #hash64(byte[], int, int, int)} does not effect + * this result as the default seed is positive.
+ * *
This is a helper method that will produce the same result as:
* *@@ -471,6 +474,9 @@ public static long hash64(final long data) { * {@linkplain #hash128x64(byte[])} with the same byte data from the {@code int}. * This method will be removed in a future release. * + *Note: The sign extension bug in {@link #hash64(byte[], int, int, int)} does not effect + * this result as the default seed is positive.
+ * *
This is a helper method that will produce the same result as:
* *@@ -512,6 +518,9 @@ public static long hash64(final int data) { * {@linkplain #hash128x64(byte[])} with the same byte data from the {@code short}. * This method will be removed in a future release. * + *Note: The sign extension bug in {@link #hash64(byte[], int, int, int)} does not effect + * this result as the default seed is positive.
+ * *
This is a helper method that will produce the same result as:
* *@@ -555,6 +564,9 @@ public static long hash64(final short data) { * {@linkplain #hash128x64(byte[])} with the same byte data. * This method will be removed in a future release. * + *Note: The sign extension bug in {@link #hash64(byte[], int, int, int)} does not effect + * this result as the default seed is positive.
+ * *
This is a helper method that will produce the same result as:
* *@@ -584,6 +596,9 @@ public static long hash64(final byte[] data) { * {@linkplain #hash128x64(byte[])} with the same byte data. * This method will be removed in a future release. * + *Note: The sign extension bug in {@link #hash64(byte[], int, int, int)} does not effect + * this result as the default seed is positive.
+ * *
This is a helper method that will produce the same result as:
* *@@ -612,6 +627,9 @@ public static long hash64(final byte[] data, final int offset, final int length) *This is a Murmur3-like 64-bit variant. * This method will be removed in a future release.
* + *This implementation contains a sign-extension bug in the seed initialization. + * This manifests if the seed is negative.
+ * *
This algorithm processes 8 bytes chunks of data in a manner similar to the 16 byte chunks * of data processed in the MurmurHash3 {@code MurmurHash3_x64_128} method. However the hash * is not mixed with a hash chunk from the next 8 bytes of data. The method will not return