Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkConsistentHashCorrectness (0.46 seconds)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

        for (long h : interestingValues) {
          checkConsistentHashCorrectness(h);
        }
        Random r = new Random(7);
        for (int i = 0; i < 20; i++) {
          checkConsistentHashCorrectness(r.nextLong());
        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
        for (int shards = 1; shards <= 100000; shards++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
Back to Top