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

  /external/guava/guava-tests/benchmark/com/google/common/cache/
LoadingCacheSingleThreadBenchmark.java 40 @Param("2.5") double concentration; field in class:LoadingCacheSingleThreadBenchmark
53 // power of (1/concentration) and floor()ed
54 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
89 * For example, if concentration=2.0, the following takes the square root of
94 return (int) Math.pow(a, 1.0 / concentration);
  /external/guava/guava-tests/benchmark/com/google/common/collect/
MapMakerSingleThreadBenchmark.java 43 @Param("2.5") double concentration; field in class:MapMakerSingleThreadBenchmark
56 // power of (1/concentration) and floor()ed
57 max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
92 * For example, if concentration=2.0, the following takes the square root of
97 return (int) Math.pow(a, 1.0 / concentration);

Completed in 67 milliseconds