Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxRunBeforeFallback (0.42 sec)

  1. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

              if (endOfStartRun + (hashTable.length - 1 - startOfEndRun) > maxRunBeforeFallback) {
                return true;
              }
            }
    
            // If this part returns true, there is definitely a run of size maxRunBeforeFallback/2.
            // If this part returns false, there are definitely no runs of size >= maxRunBeforeFallback.
            int testBlockSize = maxRunBeforeFallback / 2;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 03 20:16:35 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

              if (hashTable[(knownRunStart + maxRunBeforeFallback - 1) & mask] == null) {
                // There are only maxRunBeforeFallback - 1 elements between here and there,
                // so even if they were all nonnull, we wouldn't detect a hash flood.  Therefore,
                // we can skip them all.
                knownRunStart += maxRunBeforeFallback;
              } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top