Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDrainOverflow (0.06 sec)

  1. guava-tests/test/com/google/common/collect/QueuesTest.java

          producer.doneProducing.await();
          if (drained == 0) {
            q.poll(); // not necessarily there if producer was interrupted
          }
        }
      }
    
      public void testDrainOverflow() throws InterruptedException {
        Queues.drain(new SynchronousQueue<>(), new ArrayList<>(), /* numElements= */ 0, MAX_DURATION);
      }
    
      public void testDrainUninterruptiblyOverflow() {
    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