Home
last modified time | relevance | path

Searched refs:checkNonNegative (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java110 MathPreconditions.checkNonNegative("int", 0); in testCheckNonNegative_zeroInt()
114 MathPreconditions.checkNonNegative("int", Integer.MAX_VALUE); in testCheckNonNegative_maxInt()
119 MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE); in testCheckNonNegative_minInt()
125 MathPreconditions.checkNonNegative("int", 1); in testCheckNonNegative_positiveInt()
130 MathPreconditions.checkNonNegative("int", -1); in testCheckNonNegative_negativeInt()
136 MathPreconditions.checkNonNegative("long", 0L); in testCheckNonNegative_zeroLong()
140 MathPreconditions.checkNonNegative("long", Long.MAX_VALUE); in testCheckNonNegative_maxLong()
145 MathPreconditions.checkNonNegative("long", Long.MIN_VALUE); in testCheckNonNegative_minLong()
151 MathPreconditions.checkNonNegative("long", 1L); in testCheckNonNegative_positiveLong()
156 MathPreconditions.checkNonNegative("int", -1L); in testCheckNonNegative_negativeLong()
[all …]
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DPatchReader.java59 long deltaFriendlyOldFileSize = checkNonNegative( in readPatchApplyPlan()
63 int numOldFileUncompressionInstructions = (int) checkNonNegative( in readPatchApplyPlan()
69 long offset = checkNonNegative(dataIn.readLong(), "old file uncompression range offset"); in readPatchApplyPlan()
70 long length = checkNonNegative(dataIn.readLong(), "old file uncompression range length"); in readPatchApplyPlan()
81 checkNonNegative( in readPatchApplyPlan()
89 long offset = checkNonNegative( in readPatchApplyPlan()
91 long length = checkNonNegative( in readPatchApplyPlan()
129 long deltaFriendlyOldFileWorkRangeOffset = checkNonNegative( in readPatchApplyPlan()
131 long deltaFriendlyOldFileWorkRangeLength = checkNonNegative( in readPatchApplyPlan()
133 long deltaFriendlyNewFileWorkRangeOffset = checkNonNegative( in readPatchApplyPlan()
[all …]
/external/guava/guava/src/com/google/common/math/
DIntMath.java22 import static com.google.common.math.MathPreconditions.checkNonNegative;
190 checkNonNegative("exponent", k); in pow()
232 checkNonNegative("x", x); in sqrt()
370 checkNonNegative("a", a); in gcd()
371 checkNonNegative("b", b); in gcd()
451 checkNonNegative("exponent", k); in checkedPow()
498 checkNonNegative("n", n);
525 checkNonNegative("n", n);
526 checkNonNegative("k", k);
DMathPreconditions.java51 static int checkNonNegative(@Nullable String role, int x) { in checkNonNegative() method in MathPreconditions
58 static long checkNonNegative(@Nullable String role, long x) { in checkNonNegative() method in MathPreconditions
65 static BigInteger checkNonNegative(@Nullable String role, BigInteger x) { in checkNonNegative() method in MathPreconditions
72 static double checkNonNegative(@Nullable String role, double x) { in checkNonNegative() method in MathPreconditions
DLongMath.java22 import static com.google.common.math.MathPreconditions.checkNonNegative;
232 checkNonNegative("exponent", k); in pow()
276 checkNonNegative("x", x); in sqrt()
463 checkNonNegative("a", a); in gcd()
464 checkNonNegative("b", b); in gcd()
564 checkNonNegative("exponent", k); in checkedPow()
614 checkNonNegative("n", n);
649 checkNonNegative("n", n);
650 checkNonNegative("k", k);
DBigIntegerMath.java21 import static com.google.common.math.MathPreconditions.checkNonNegative;
208 checkNonNegative("x", x); in sqrt()
317 checkNonNegative("n", n); in factorial()
401 checkNonNegative("n", n); in binomial()
402 checkNonNegative("k", k); in binomial()
DDoubleMath.java27 import static com.google.common.math.MathPreconditions.checkNonNegative;
295 checkNonNegative("n", n); in factorial()
352 MathPreconditions.checkNonNegative("tolerance", tolerance); in fuzzyEquals()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DLongMath.java20 import static com.google.common.math.MathPreconditions.checkNonNegative;
132 checkNonNegative("a", a); in gcd()
133 checkNonNegative("b", b); in gcd()
204 checkNonNegative("n", n); in binomial()
205 checkNonNegative("k", k); in binomial()
DIntMath.java21 import static com.google.common.math.MathPreconditions.checkNonNegative;
249 checkNonNegative("a", a); in gcd()
250 checkNonNegative("b", b); in gcd()
330 checkNonNegative("exponent", k); in checkedPow()
377 checkNonNegative("n", n);
DDoubleMath.java19 import static com.google.common.math.MathPreconditions.checkNonNegative;
80 checkNonNegative("n", n); in factorial()
137 MathPreconditions.checkNonNegative("tolerance", tolerance); in fuzzyEquals()
DBigIntegerMath.java21 import static com.google.common.math.MathPreconditions.checkNonNegative;
134 checkNonNegative("n", n); in factorial()
218 checkNonNegative("n", n); in binomial()
219 checkNonNegative("k", k); in binomial()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DChiSquareTestImpl.java77 checkNonNegative(observed); in chiSquare()
236 checkNonNegative(observed1); in chiSquareDataSetsComparison()
237 checkNonNegative(observed2); in chiSquareDataSetsComparison()
341 checkNonNegative(in); in checkArray()
386 private void checkNonNegative(long[] in) throws IllegalArgumentException { in checkNonNegative() method in ChiSquareTestImpl
402 private void checkNonNegative(long[][] in) throws IllegalArgumentException { in checkNonNegative() method in ChiSquareTestImpl
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...