- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Klinger (0.22 sec)
-
guava/src/com/google/common/cache/CacheBuilder.java
private static long toNanosSaturated(java.time.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; } }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0)