Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for Executor (0.55 sec)

  1. maven-core/lifecycle-executor.txt

    Marc Wrobel <******@****.***> 1658160419 +0200
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tfe_executor_internal.h

      explicit TFE_Executor(tensorflow::EagerExecutor* executor)
          : owned_executor(nullptr), unowned_executor(executor) {}
    
      tensorflow::EagerExecutor* executor() {
        return owned_executor == nullptr ? unowned_executor : owned_executor.get();
      }
    
      std::unique_ptr<tensorflow::EagerExecutor> owned_executor;
      tensorflow::EagerExecutor* unowned_executor;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 22 20:30:59 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

        super(identifier, executor, Dispatcher.legacyAsync(), LoggingHandler.INSTANCE);
      }
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events.
       *
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       *
       * @param listener the listener to run when the computation is complete
       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

                      + runnable
                      + " with executor "
                      + executor,
                  e);
        }
      }
    
      private static final class RunnableExecutorPair {
        final Runnable runnable;
        final Executor executor;
        @CheckForNull RunnableExecutorPair next;
    
        RunnableExecutorPair(
            Runnable runnable, Executor executor, @CheckForNull RunnableExecutorPair next) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       */
      public static <V extends @Nullable Object> ListenableFuture<V> listenInPoolThread(
          Future<V> future, Executor executor) {
        checkNotNull(executor);
        if (future instanceof ListenableFuture) {
          return (ListenableFuture<V>) future;
        }
        return new ListenableFutureAdapter<>(future, executor);
      }
    
      /**
       * An adapter to turn a {@link Future} into a {@link ListenableFuture}. This will wait on the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

    import java.util.Map;
    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link CacheLoader}.
     *
     * @author Charles Fry
     */
    public class CacheLoaderTest extends TestCase {
    
      private static class QueuingExecutor implements Executor {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

          }
        },
        EXECUTOR {
          @Override
          Executor executor() {
            return directExecutor();
          }
        };
    
        abstract Executor executor();
      }
    
      @Param Impl impl;
      Executor executor;
    
      static final class CountingRunnable implements Runnable {
        AtomicInteger integer = new AtomicInteger();
    
        @Override
        public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java

          }
        },
        EXECUTOR {
          @Override
          Executor executor() {
            return directExecutor();
          }
        };
    
        abstract Executor executor();
      }
    
      @Param Impl impl;
      Executor executor;
    
      static final class CountingRunnable implements Runnable {
        AtomicInteger integer = new AtomicInteger();
    
        @Override
        public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

    public final class SimpleTimeLimiter implements TimeLimiter {
    
      private final ExecutorService executor;
    
      private SimpleTimeLimiter(ExecutorService executor) {
        this.executor = checkNotNull(executor);
      }
    
      /**
       * Creates a TimeLimiter instance using the given executor service to execute method calls.
       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
Back to top