Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 237 for Runnables (0.07 seconds)

  1. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            .addEqualityGroup(newDelegatingList(LIST2))
            .addEqualityGroup(
                newProxyWithEqualsForInterfaces(List.class, Runnable.class),
                newProxyWithEqualsForInterfaces(List.class, Runnable.class))
            .addEqualityGroup(newProxyWithEqualsForInterfaces(Runnable.class, List.class))
            .addEqualityGroup(
                newDelegatingListWithEquals(LIST1),
                newDelegatingListWithEquals(LIST1),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

    import java.util.concurrent.ExecutionException;
    import junit.framework.Assert;
    
    /**
     * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures.
     *
     * @author Nishant Thakkar
     * @since 10.0
     */
    @GwtIncompatible
    public class MockFutureListener implements Runnable {
      private final CountDownLatch countDownLatch;
      private final ListenableFuture<?> future;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

    import java.util.concurrent.ExecutionException;
    import junit.framework.Assert;
    
    /**
     * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures.
     *
     * @author Nishant Thakkar
     * @since 10.0
     */
    @GwtIncompatible
    public class MockFutureListener implements Runnable {
      private final CountDownLatch countDownLatch;
      private final ListenableFuture<?> future;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

      private val dispatcherTest: DispatcherTest,
    ) : AbstractExecutorService() {
      private var shutdown: Boolean = false
      private val calls = mutableListOf<RealCall.AsyncCall>()
    
      override fun execute(command: Runnable) {
        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 18:34:01 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. cycle_suppress_list.txt

    FIELD com.google.common.util.concurrent.AbstractFuture.Listener.executor com.google.common.util.concurrent.ExecutionSequencer.TaskNonReentrantExecutor
    
    # ***** FALSE POSITIVES *****
    
    # The Runnable type is so generic that it produces too many false positives.
    TYPE java.lang.Runnable
    
    FIELD com.google.common.base.Converter.reverse
    FIELD com.google.common.collect.AbstractBiMap.EntrySet.iterator.$.entry com.google.common.collect.AbstractBiMap.EntrySet.iterator.$.next.$
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 24 01:59:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

                0,
                Integer.MAX_VALUE,
                60L,
                SECONDS,
                new SynchronousQueue<Runnable>(),
                new ThreadFactoryBuilder().setDaemon(true).build()) {
              @Override
              protected void beforeExecute(Thread t, Runnable r) {
                submitSuccessful.countDown();
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

        return delegate().submit(task);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
        return delegate().submit(task, result);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            List<String> results = new ArrayList<>();
            Runnable process = () -> results.add("executed");
    
            ComponentUtil.processAfterContainerInit(process);
    
            assertEquals(0, results.size());
        }
    
        @Test
        public void test_processAfterContainerInit_notAvailable() {
            List<String> results = new ArrayList<>();
            Runnable process = () -> results.add("executed");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheLoaderTest extends TestCase {
    
      private static class QueuingExecutor implements Executor {
        private final Deque<Runnable> tasks = new ArrayDeque<>();
    
        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    @GwtIncompatible
    @J2ktIncompatible
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final Thread interruptee;
        private volatile boolean shouldStop = false;
    
        Interruptenator(Thread interruptee) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top