Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testOccupiedMethods (0.13 sec)

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

      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top