- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for consistentHash (0.12 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals(golden100[i], Hashing.consistentHash(i, 100)); } assertEquals(6, Hashing.consistentHash(10863919174838991L, 11)); assertEquals(3, Hashing.consistentHash(2016238256797177309L, 11)); assertEquals(5, Hashing.consistentHash(1673758223894951030L, 11)); assertEquals(80343, Hashing.consistentHash(2, 100001)); assertEquals(22152, Hashing.consistentHash(2201, 100001));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ public static int consistentHash(HashCode hashCode, int buckets) { return consistentHash(hashCode.padToLong(), buckets); } /** * Assigns to {@code input} a "bucket" in the range {@code [0, buckets)}, in a uniform manner that * minimizes the need for remapping as {@code buckets} grows. That is, {@code consistentHash(h, * n)} equals: * * <ul>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
manifests/charts/base/files/crd-all.gen.yaml
- required: - consistentHash - required: - simple - required: - consistentHash properties: consistentHash: allOf: - oneOf:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Nov 01 16:23:52 UTC 2024 - 805K bytes - Viewed (0)