Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,153 for executors (0.23 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import java.time.Duration
    import java.time.Instant
    import java.util.Date
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import javax.net.ServerSocketFactory
    import javax.net.SocketFactory
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compiler.h

    DeviceCompiler<ExecutableType, ClientType>::~DeviceCompiler() {
      // Since programs are owned by the cache, ensure any use of our programs have
      // completed by waiting for all stream executors to complete.
      compiler_client_->WaitForProgramsToFinish();
      // Wait for all outstanding compilations to finish.
      // Resetting the pointer explicitly in the top level destructor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            // Use max-workers=1 to force non-parallel execution and the tasks to run in the specified order
            // (--no-parallel doesn't have an effect with CC, but max-workers should affect both CC and parallel executors)
            args("--max-workers=1")
            return super.withBuildCache()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    tasks.create("foo") {
        tasks.create("bar")
    }
    ----
    =====
    ====
    
    When converting this to use the new API, something surprising happens: `bar` doesn't exist.
    The new API only executes configuration actions when necessary,
    so the `register()` for task `bar` only executes when `foo` is configured.
    
    ====
    [.multi-language-sample]
    =====
    .build.gradle
    [source, groovy]
    ----
    tasks.register("foo") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        }
        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
      // is closed using the direct executor.
      public void testCloseThrowsRejectedExecutionException() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top