Searched refs:checkPositive (Results 1 – 9 of 9) sorted by relevance
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathPreconditionsTest.java | 35 MathPreconditions.checkPositive("int", 0); in testCheckPositive_zeroInt() 41 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); in testCheckPositive_maxInt() 46 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt() 52 MathPreconditions.checkPositive("int", 1); in testCheckPositive_positiveInt() 57 MathPreconditions.checkPositive("int", -1); in testCheckPositive_negativeInt() 64 MathPreconditions.checkPositive("long", 0L); in testCheckPositive_zeroLong() 70 MathPreconditions.checkPositive("long", Long.MAX_VALUE); in testCheckPositive_maxLong() 75 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong() 81 MathPreconditions.checkPositive("long", 1); in testCheckPositive_positiveLong() 86 MathPreconditions.checkPositive("long", -1L); in testCheckPositive_negativeLong() [all …]
|
/external/guava/guava/src/com/google/common/math/ |
D | MathPreconditions.java | 30 static int checkPositive(@Nullable String role, int x) { in checkPositive() method in MathPreconditions 37 static long checkPositive(@Nullable String role, long x) { in checkPositive() method in MathPreconditions 44 static BigInteger checkPositive(@Nullable String role, BigInteger x) { in checkPositive() method in MathPreconditions
|
D | IntMath.java | 23 import static com.google.common.math.MathPreconditions.checkPositive; 88 checkPositive("x", x); in log2() 129 checkPositive("x", x); in log10()
|
D | LongMath.java | 23 import static com.google.common.math.MathPreconditions.checkPositive; 86 checkPositive("x", x); in log2() 128 checkPositive("x", x); in log10()
|
D | BigIntegerMath.java | 22 import static com.google.common.math.MathPreconditions.checkPositive; 70 checkPositive("x", checkNotNull(x)); in log2() 130 checkPositive("x", x); in log10()
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
D | LongMath.java | 21 import static com.google.common.math.MathPreconditions.checkPositive; 81 checkPositive("x", x); in log2()
|
D | IntMath.java | 22 import static com.google.common.math.MathPreconditions.checkPositive; 85 checkPositive("x", x); in log2()
|
D | BigIntegerMath.java | 22 import static com.google.common.math.MathPreconditions.checkPositive; 68 checkPositive("x", checkNotNull(x)); in log2()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
D | ChiSquareTestImpl.java | 76 checkPositive(expected); in chiSquare() 370 private void checkPositive(double[] in) throws IllegalArgumentException { in checkPositive() method in ChiSquareTestImpl
|