Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for GoodTime (0.18 sec)

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      }
    
      /**
       * Invokes {@code latch.}{@link CountDownLatch#await(long, TimeUnit) await(timeout, unit)}
       * uninterruptibly.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FakeTicker.java

      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 14:40:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheStats.java

    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CheckForNull Strength keyStrength;
      @CheckForNull Strength valueStrength;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterWriteNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterAccessNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long refreshNanos = UNSET_INT;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Internal.java

       */
      @SuppressWarnings({
        // We use this method only for cases in which we need to decompose to primitives.
        "GoodTime-ApiWithNumericTimeUnit",
        "GoodTime-DecomposeToPrimitive",
        // We use this method only from within APIs that require a Duration.
        "Java7ApiChecker",
      })
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 11 14:30:06 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top