- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for h1 (0.15 sec)
-
guava-tests/test/com/google/common/base/ObjectsTest.java
assertFalse(Objects.equal("1", 1)); } public void testHashCode() throws Exception { int h1 = Objects.hashCode(1, "two", 3.0); int h2 = Objects.hashCode(Integer.valueOf(1), new String("two"), Double.valueOf(3.0)); // repeatable assertEquals(h1, h2); // These don't strictly need to be true, but they're nice properties.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} private static int mixH1(int h1, int k1) { h1 ^= k1; h1 = Integer.rotateLeft(h1, 13); h1 = h1 * 5 + 0xe6546b64; return h1; } // Finalization mix - force all bits of a hash block to avalanche private static HashCode fmix(int h1, int length) { h1 ^= length; h1 ^= h1 >>> 16; h1 *= 0x85ebca6b; h1 ^= h1 >>> 13; h1 *= 0xc2b2ae35; h1 ^= h1 >>> 16;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
assertFalse(Objects.equal("1", 1)); } public void testHashCode() throws Exception { int h1 = Objects.hashCode(1, "two", 3.0); int h2 = Objects.hashCode(Integer.valueOf(1), new String("two"), Double.valueOf(3.0)); // repeatable assertEquals(h1, h2); // These don't strictly need to be true, but they're nice properties.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 2.3K bytes - Viewed (0)