Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for Run (0.12 sec)

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

                });
        assertFalse(task.isDone());
        Thread thread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      task.run();
                    } finally {
                      exitLatch.countDown();
                    }
                  }
                });
        thread.start();
        enterLatch.await();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
           * important for other reasons: run() can still be invoked concurrently in different threads,
           * even with the above null checks.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        enum ExecutionMode {
            /**
             * Run at the beginning of each build. Kill potentially leaked processes in previous builds.
             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
             */
            KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
            /**
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * individually submitted tasks and to collections of tasks submitted via {@code invokeAll} or
       * {@code invokeAny}. In the latter case, tasks will run serially on the calling thread. Tasks are
       * run to completion before a {@code Future} is returned to the caller (unless the executor has
       * been shutdown).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, TimeUnit.MILLISECONDS);
              notifyStarted();
            }
          }.start();
        }
    
        @Override
        protected void doStop() {
          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, TimeUnit.MILLISECONDS);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              @Override
              public void run() {}
            };
        final Runnable finishSuccess =
            new Runnable() {
              @Override
              public void run() {
                delayedSuccess.set("b");
              }
            };
        final Runnable finishFailure =
            new Runnable() {
              @Override
              public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      public final void init(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                });
        assertFalse(task.isDone());
        Thread thread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      task.run();
                    } finally {
                      exitLatch.countDown();
                    }
                  }
                });
        thread.start();
        enterLatch.await();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top