Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NumElements (0.04 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
       * numElements} elements are not available, it will wait for them up to the specified timeout.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
       * numElements} elements are not available, it will wait for them up to the specified timeout.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/QueuesTest.java

          BlockingQueue<T> q,
          Collection<? super T> buffer,
          int numElements,
          long timeout,
          TimeUnit unit,
          boolean interruptibly)
          throws InterruptedException {
        return interruptibly
            ? Queues.drain(q, buffer, numElements, timeout, unit)
            : Queues.drainUninterruptibly(q, buffer, numElements, timeout, unit);
      }
    
      public void testMultipleProducers() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top