Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Thomsen (0.17 sec)

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

      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
        for (int shards = 2; shards <= MAX_SHARDS; shards++) {
          int chosen = Hashing.consistentHash(h, shards);
          if (chosen != last) {
            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

      private void countRemaps(long h, AtomicLongMap<Integer> map) {
        int last = 0;
        for (int shards = 2; shards <= MAX_SHARDS; shards++) {
          int chosen = Hashing.consistentHash(h, shards);
          if (chosen != last) {
            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
Back to top