Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 232 for Executor (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(MockResponse(body = "A"))
        server.enqueue(MockResponse(body = "A"))
        val executor = Executors.newCachedThreadPool(threadFactory("HttpOverHttp2Test"))
        val countDownLatch = CountDownLatch(2)
        executor.execute(AsyncRequest("/r1", countDownLatch))
        executor.execute(AsyncRequest("/r2", countDownLatch))
        countDownLatch.await()
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /** For use as RejectedExecutionHandler in constructors */
      public static class NoOpREHandler implements RejectedExecutionHandler {
        @Override
        public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {}
      }
    
      /**
       * A CyclicBarrier that uses timed await and fails with AssertionFailedErrors instead of throwing
       * checked exceptions.
       */
      public class CheckedBarrier extends CyclicBarrier {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      /** For use as RejectedExecutionHandler in constructors */
      public static class NoOpREHandler implements RejectedExecutionHandler {
        @Override
        public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {}
      }
    
      /**
       * A CyclicBarrier that uses timed await and fails with AssertionFailedErrors instead of throwing
       * checked exceptions.
       */
      public class CheckedBarrier extends CyclicBarrier {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Result */
        public static final String LABELS_SCRIPT_RESULT = "{labels.scriptResult}";
    
        /** The key of the message: Executor */
        public static final String LABELS_SCRIPT_TYPE = "{labels.scriptType}";
    
        /** The key of the message: Segmentation */
        public static final String LABELS_SEGMENTATION = "{labels.segmentation}";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 146.4K bytes
    - Viewed (0)
  6. tensorflow/BUILD

        visibility = ["//visibility:public"],
        win_def_file = ":tensorflow_filtered_def_file",
    )
    
    # To avoid duplication, check that the C++ or python library does not depend on
    # the stream executor cuda plugins. Targets that want to use cuda APIs should
    # instead depend on the dummy plugins in @local_tsl//tsl/platform/default/build_config
    # and use header only targets.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  7. src/main/resources/fess_config.properties

    job.template.title.data=Data Crawler - {0}
    job.template.script=return container.getComponent("crawlJob").logLevel("info").webConfigIds([{0}] as String[]).fileConfigIds([{1}] as String[]).dataConfigIds([{2}] as String[]).jobExecutor(executor).execute();
    job.max.crawler.processes=0
    job.default.script=groovy
    job.system.property.filter.pattern=
    
    processors=0
    java.command.path=java
    python.command.path=python
    path.encoding=UTF-8
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. .bazelrc

    # Make Bazel not try to probe the host system for a C++ toolchain.
    build:rbe_base --config=resultstore
    build:rbe_base --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
    build:rbe_base --define=EXECUTOR=remote
    build:rbe_base --jobs=800
    build:rbe_base --remote_executor=grpcs://remotebuildexecution.googleapis.com
    build:rbe_base --remote_timeout=3600
    build:rbe_base --spawn_strategy=remote,worker,standalone,local
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

     * href="https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/latest/com.github.benmanes.caffeine/com/github/benmanes/caffeine/cache/AsyncCacheLoader.html#asyncLoad(K,java.util.concurrent.Executor)">{@code
     * AsyncCacheLoader.asyncLoad}</a> must return a {@code CompletableFuture}. Users of Guava's {@link
     * com.google.common.util.concurrent.ListenableFuture} can adapt between the two {@code Future}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
     * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
     * also cause future calls to the client to be rejected.
     *
     * ```java
     * client.dispatcher().executorService().shutdown();
     * ```
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top