Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for peeking (0.22 sec)

  1. guava/src/com/google/common/collect/Iterators.java

          // covariantly (and cannot be subclassed to add non-covariant uses).
          @SuppressWarnings("unchecked")
          PeekingImpl<T> peeking = (PeekingImpl<T>) iterator;
          return peeking;
        }
        return new PeekingImpl<>(iterator);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

          // covariantly (and cannot be subclassed to add non-covariant uses).
          @SuppressWarnings("unchecked")
          PeekingImpl<T> peeking = (PeekingImpl<T>) iterator;
          return peeking;
        }
        return new PeekingImpl<>(iterator);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  // timed out?
                  remainingNanos = endNanos - System.nanoTime();
                  if (remainingNanos < SPIN_THRESHOLD_NANOS) {
                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final AtomicInteger callCount = new AtomicInteger();
        // tells the computing thread when to start computing
        final CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        final CountDownLatch thirdSignal = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

          InCompletionOrderState<T> localState = state;
          if (super.cancel(interruptIfRunning)) {
            /*
             * requireNonNull is generally safe: If cancel succeeded, then this Future was still
             * pending, so its `state` field hasn't been nulled out yet.
             *
             * OK, it's technically possible for this to fail in the presence of unsafe publishing, as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/CacheLoader.html">{@code
     * CacheLoader}</a>, etc.), so you can use Caffeine without needing to use any Guava types.
     * Caffeine's types are better than Guava's, especially for <a
    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)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

      /** Returns an instance of type token that wraps {@code type}. */
      public static TypeToken<?> of(Type type) {
        return new SimpleTypeToken<>(type);
      }
    
      /**
       * Returns the raw type of {@code T}. Formally speaking, if {@code T} is returned by {@link
       * java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by {@link
       * java.lang.reflect.Method#getReturnType} of the same method object. Specifically:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top