Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkConsistentHashCorrectness (0.12 sec)

  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++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top