Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isOccupied (0.05 sec)

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

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        assertEquals(expectedIsOccupied, monitor.isOccupied());
        assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread());
        assertEquals(expectedOccupiedDepth, monitor.getOccupiedDepth());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        assertEquals(expectedIsOccupied, monitor.isOccupied());
        assertEquals(expectedIsOccupiedByCurrentThread, monitor.isOccupiedByCurrentThread());
        assertEquals(expectedOccupiedDepth, monitor.getOccupiedDepth());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        thread1.callAndAssertReturns(enterCount != 0, "isOccupied");
        thread1.callAndAssertReturns(enterCount != 0, "isOccupiedByCurrentThread");
        thread1.callAndAssertReturns(enterCount, "getOccupiedDepth");
    
        thread2.callAndAssertReturns(enterCount != 0, "isOccupied");
        thread2.callAndAssertReturns(false, "isOccupiedByCurrentThread");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top