- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testConsistentHash_correctness (0.15 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256)); HashTestUtils.assertInvariants(Hashing.goodFastHash(256)); } public void testConsistentHash_correctness() { long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE}; for (long h : interestingValues) { checkConsistentHashCorrectness(h); } Random r = new Random(7);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0)