OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:checknooverflow
(Results
1 - 4
of
4
) sorted by null
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
IntMath.java
19
import static com.google.common.math.MathPreconditions.
checkNoOverflow
;
133
checkNoOverflow
(result == (int) result);
144
checkNoOverflow
(result == (int) result);
155
checkNoOverflow
(result == (int) result);
/external/guava/guava/src/com/google/common/math/
IntMath.java
21
import static com.google.common.math.MathPreconditions.
checkNoOverflow
;
357
checkNoOverflow
(result == (int) result);
368
checkNoOverflow
(result == (int) result);
379
checkNoOverflow
(result == (int) result);
402
checkNoOverflow
(k < Integer.SIZE - 1);
405
checkNoOverflow
(k < Integer.SIZE);
421
checkNoOverflow
(-FLOOR_SQRT_MAX_INT <= b & b <= FLOOR_SQRT_MAX_INT);
LongMath.java
21
import static com.google.common.math.MathPreconditions.
checkNoOverflow
;
438
checkNoOverflow
((a ^ b) < 0 | (a ^ result) >= 0);
449
checkNoOverflow
((a ^ b) >= 0 | (a ^ result) >= 0);
475
checkNoOverflow
(leadingZeros >= Long.SIZE);
476
checkNoOverflow
(a >= 0 | b != Long.MIN_VALUE);
478
checkNoOverflow
(a == 0 || result / a == b);
499
checkNoOverflow
(k < Long.SIZE - 1);
502
checkNoOverflow
(k < Long.SIZE);
519
checkNoOverflow
(b <= FLOOR_SQRT_MAX_LONG);
MathPreconditions.java
86
static void
checkNoOverflow
(boolean condition) {
Completed in 116 milliseconds