- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for Years (0.02 seconds)
-
guava/src/com/google/common/collect/Internal.java
*/ 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() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/en/docs/history-design-future.md
Here's a little bit of that history. ## Alternatives { #alternatives } I have been creating APIs with complex requirements for several years (Machine Learning, distributed systems, asynchronous jobs, NoSQL databases, etc), leading several teams of developers. As part of that, I needed to investigate, test and use many alternatives.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java
private OverflowAvoidingLockSupport() {} static void parkNanos(@Nullable Object blocker, long nanos) { // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years, // this is indistinguishable from a spurious wakeup, which LockSupport allows. LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Internal.java
*/ 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() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
String template = "${greeting} ${name}, you are ${age} years old"; Map<String, Object> paramMap = new HashMap<>(); paramMap.put("greeting", "Hello"); paramMap.put("name", "Alice"); paramMap.put("age", 25); Object result = scriptEngine.evaluate(template, paramMap); assertEquals("Hello Alice, you are 25 years old", result); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
long timeoutNanos = unit.toNanos(timeout); if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) { return super.get(timeout, unit); } // Waiting 68 years should be enough for any program. return super.get( min(timeoutNanos, OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD), NANOSECONDS); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
year = matcher.group(1).toInt() } } pos = dateCharacterOffset(s, end + 1, limit, false) } // Convert two-digit years into four-digit years. 99 becomes 1999, 15 becomes 2015. if (year in 70..99) year += 1900 if (year in 0..69) year += 2000 // If any partial is omitted or out of range, return -1. The date is impossible. Note that leap
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* @throws IllegalArgumentException if {@code duration} is negative * @throws IllegalStateException if {@link #expireAfterWrite} was already set * @throws ArithmeticException for durations greater than +/- approximately 292 years * @since 33.3.0 (but since 25.0 in the JRE <a * href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>) */ @J2ObjCIncompatible @GwtIncompatible // DurationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
src/main/resources/fess_label_en.properties
labels.facet_timestamp_1year=Within a year labels.facet_timestamp_3month=Within 3 months labels.facet_timestamp_6month=Within 6 months labels.facet_timestamp_2year=Within 2 years labels.facet_timestamp_3year=Within 3 years labels.facet_contentLength_title=Size labels.facet_contentLength_10k= - 10KB labels.facet_contentLength_10kto100k=10KB - 100KB labels.facet_contentLength_100kto500k=100KB - 500KB
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 48.9K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* @throws IllegalArgumentException if {@code duration} is negative * @throws IllegalStateException if {@link #expireAfterWrite} was already set * @throws ArithmeticException for durations greater than +/- approximately 292 years * @since 25.0 (but only since 33.3.0 in the Android <a * href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>) */ @J2ObjCIncompatible @GwtIncompatible // DurationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 51.7K bytes - Click Count (0)