Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for executors (0.1 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/Futures.java

        executor.execute(task);
        return task;
      }
    
      /**
       * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that
       * will complete after execution.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

        executor.execute(task);
        return task;
      }
    
      /**
       * Executes {@code runnable} on the specified {@code executor}, returning a {@code Future} that
       * will complete after execution.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static ListenableFuture<@Nullable Void> submit(Runnable runnable, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

        if (state.iterations() >= state.max_iterations && async) {
          TFE_Executor* executor = TFE_ContextGetExecutorForThread(ctx);
          TFE_ExecutorWaitForAllPendingNodes(executor, status);
          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
          TFE_DeleteExecutor(executor);
        }
      }
      TFE_DeleteOp(matmul);
      TFE_DeleteTensorHandle(m);
      TFE_DeleteContext(ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. pom.xml

    				<artifactId>maven-compiler-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<artifactId>maven-source-plugin</artifactId>
    				<executions>
    					<execution>
    						<id>source-jar</id>
    						<phase>package</phase>
    						<goals>
    							<goal>jar</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    				<artifactId>maven-war-plugin</artifactId>
    				<configuration>
    					<webResources>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	t                 *testing.T
    	objAPITest        objAPITestType
    	endpoints         []string
    	init              func()
    	makeBucketOptions MakeBucketOptions
    }
    
    // ExecObjectLayerAPITest - executes object layer API tests.
    // Creates single node and Erasure ObjectLayer instance, registers the specified API end points and runs test for both the layers.
    func ExecObjectLayerAPITest(args ExecObjectLayerAPITestArgs) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. 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)
  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