- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testConsistentHash_outOfRange (0.14 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
map.incrementAndGet(shards); last = chosen; } } } private static final int ITERS = 10000; private static final int MAX_SHARDS = 500; public void testConsistentHash_outOfRange() { assertThrows(IllegalArgumentException.class, () -> Hashing.consistentHash(5L, 0)); } public void testConsistentHash_ofHashCode() { checkSameResult(HashCode.fromLong(1), 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0)