- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for GoodTime (0.16 sec)
-
android/guava/src/com/google/common/base/Ticker.java
* @since 10.0 */ public static Ticker systemTicker() { return SYSTEM_TICKER; } private static final Ticker SYSTEM_TICKER = new Ticker() { @Override @SuppressWarnings("GoodTime") // reading system time without TimeSource public long read() { return System.nanoTime(); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue May 23 23:27:53 GMT 2023 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
/** * Imposes a time limit on method calls. * * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @DoNotMock("Use FakeTimeLimiter") @J2ktIncompatible @GwtIncompatible @SuppressWarnings("GoodTime") // should have java.time.Duration overloads @ElementTypesAreNonnullByDefault public interface TimeLimiter { /** * Returns an instance of {@code interfaceType} that delegates all method calls to the {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
public void recordMisses(int count) { missCount.add(count); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadSuccess(long loadTime) { loadSuccessCount.increment(); totalLoadTime.add(loadTime); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadException(long loadTime) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* } * }); * }</pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible(emulated = true) @SuppressWarnings("GoodTime") // lots of violations @ElementTypesAreNonnullByDefault public final class Stopwatch { private final Ticker ticker; private boolean isRunning; private long elapsedNanos; private long startTick;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}. * * @author Adam Winer * @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible @ElementTypesAreNonnullByDefault public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
} } private static final class JavaIoCreator extends TempFileCreator { @Override File createTempDir() { File baseDir = new File(JAVA_IO_TMPDIR.value()); @SuppressWarnings("GoodTime") // reading system time without TimeSource String baseName = System.currentTimeMillis() + "-"; for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* @throws InterruptedException if interrupted while waiting */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // BlockingQueue @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 16K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* } * }); * }</pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible(emulated = true) @SuppressWarnings("GoodTime") // lots of violations @ElementTypesAreNonnullByDefault public final class Stopwatch { private final Ticker ticker; private boolean isRunning; private long elapsedNanos; private long startTick; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* @param scheduledExecutor The executor service to enforce the timeout. */ @J2ktIncompatible @GwtIncompatible // ScheduledExecutorService @SuppressWarnings("GoodTime") // should accept a java.time.Duration public final FluentFuture<V> withTimeout( long timeout, TimeUnit unit, ScheduledExecutorService scheduledExecutor) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 11 19:08:44 GMT 2023 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* @param delay the delay between the termination of one execution and the commencement of the * next * @param unit the time unit of the initialDelay and delay parameters */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static Scheduler newFixedDelaySchedule( final long initialDelay, final long delay, final TimeUnit unit) { checkNotNull(unit);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 25.8K bytes - Viewed (0)