Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rimmed (0.17 sec)

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

       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          final Method method, final boolean fair1, final boolean fair2) {
        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
          protected void runTest() throws Throwable {
            Monitor monitor1 = new Monitor(fair1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      private Outcome doCall() {
        boolean guarded = isGuarded(method);
        boolean timed = isTimed(method);
        Object[] arguments = new Object[(guarded ? 1 : 0) + (timed ? 2 : 0)];
        if (guarded) {
          arguments[0] = guard;
        }
        if (timed) {
          arguments[arguments.length - 2] = timeout.millis;
          arguments[arguments.length - 1] = TimeUnit.MILLISECONDS;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
Back to top