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

  /external/guava/guava-tests/test/com/google/common/math/
MathBenchmarking.java 49 * Generates values in a distribution equivalent to randomNonNegativeBigInteger
55 result = randomNonNegativeBigInteger(numBits);
66 static BigInteger randomNonNegativeBigInteger(int numBits) {
92 return randomNonNegativeBigInteger(numBits);
94 BigInteger neg = randomNonNegativeBigInteger(numBits).negate();
  /external/guava/guava-tests/benchmark/com/google/common/math/
IntMathBenchmark.java 23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
50 nonnegative[i] = randomNonNegativeBigInteger(Integer.SIZE - 1).intValue();
LongMathBenchmark.java 23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
48 nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 1).longValue();
ApacheBenchmark.java 23 import static com.google.common.math.MathBenchmarking.randomNonNegativeBigInteger;
137 nonnegInt[i][j] = randomNonNegativeBigInteger(Integer.SIZE - 2).intValue();
138 nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue();

Completed in 141 milliseconds