- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bears (0.18 sec)
-
guava/src/com/google/common/base/Internal.java
}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; } } private Internal() {}
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; } } private Internal() {}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0)