- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for toNanosSaturated (0.22 seconds)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
@IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from @CanIgnoreReturnValue public CacheBuilder<K, V> expireAfterWrite(Duration duration) { return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS); } /** * Specifies that each entry should be automatically removed from the cache once a fixed duration
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.util.concurrent.Internal.toNanosSaturated; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly; import static java.util.Objects.requireNonNull;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheBuilder.java
@J2ktIncompatible @SuppressWarnings("GoodTime") // Duration decomposition @CanIgnoreReturnValue public CacheBuilder<K, V> expireAfterWrite(Duration duration) { return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS); } /** * Specifies that each entry should be automatically removed from the cache once a fixed 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)