Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TimedSemaphore (0.53 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      public void testTryAcquireTimeoutNoInterruptNotExpired() {
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20);
        semaphore.tryAcquireSuccessfully(LONG_DELAY_MS);
        assertNotInterrupted();
      }
    
      public void testTryAcquireTimeoutNoInterruptExpired() {
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS);
        semaphore.tryAcquireUnsuccessfully(30);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      public void testTryAcquireTimeoutNoInterruptNotExpired() {
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20);
        semaphore.tryAcquireSuccessfully(LONG_DELAY_MS);
        assertNotInterrupted();
      }
    
      public void testTryAcquireTimeoutNoInterruptExpired() {
        TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS);
        semaphore.tryAcquireUnsuccessfully(30);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top