HomeSort by relevance Sort by last modified time
    Searched refs:consistentHash (Results 1 - 8 of 8) sorted by null

  /external/guava/guava-tests/test/com/google/common/hash/
HashingTest.java 167 int b = Hashing.consistentHash(hashCode, shards);
190 int chosen = Hashing.consistentHash(h, shards);
203 Hashing.consistentHash(5L, 0);
216 assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
228 assertEquals(golden100[i], Hashing.consistentHash(i, 100));
230 assertEquals(6, Hashing.consistentHash(10863919174838991L, 11));
231 assertEquals(3, Hashing.consistentHash(2016238256797177309L, 11));
232 assertEquals(5, Hashing.consistentHash(1673758223894951030L, 11));
233 assertEquals(80343, Hashing.consistentHash(2, 100001))
    [all...]
  /external/guava/guava/src/com/google/common/hash/
Hashing.java 309 * {@code consistentHash(h, n)} equals:
313 * <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
319 public static int consistentHash(HashCode hashCode, int buckets) {
320 return consistentHash(hashCode.padToLong(), buckets);
326 * {@code consistentHash(h, n)} equals:
330 * <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
336 public static int consistentHash(long input, int buckets) {
  /external/cldr/tools/java/libs/
guava.jar 
  /external/conscrypt/benchmark-android/
vogar.jar 
  /external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar 
  /external/guice/lib/
guava-19.0.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 

Completed in 55 milliseconds