Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,100 for executors (0.24 sec)

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

        dispatcher.maxRequestsPerHost = 4
        executor.assertJobs("http://a/1", "http://a/2", "http://a/3", "http://a/4")
      }
    
      @Test
      fun oldJobFinishesNewJobCanRunDifferentHost() {
        dispatcher.maxRequests = 1
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://b/1")).enqueue(callback)
        executor.finishJob("http://a/1")
        executor.assertJobs("http://b/1")
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       */
      public <T extends @Nullable Object> ListenableFuture<T> submitAsync(
          AsyncCallable<T> callable, Executor executor) {
        checkNotNull(callable);
        checkNotNull(executor);
        TaskNonReentrantExecutor taskExecutor = new TaskNonReentrantExecutor(executor, this);
        AsyncCallable<T> task =
            new AsyncCallable<T>() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc

      stream_executor::StreamExecutor* executor =
          platform->ExecutorForDevice(0).value();
      TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream());
    
      se::DeviceMemoryBase gpu_dst{device_tensor.data(), 4 * sizeof(float)};
      xla::Shape shape;
      TF_ASSERT_OK(TensorShapeToXLAShape(DT_FLOAT, TensorShape({2, 2}), &shape));
    
      TF_ASSERT_OK_AND_ASSIGN(auto se_event, executor->CreateEvent());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        }
      }
    
      private static final class Listener {
        final Runnable command;
        final Executor executor;
    
        Listener(Runnable command, Executor executor) {
          this.command = checkNotNull(command);
          this.executor = checkNotNull(executor);
        }
    
        void execute() {
          try {
            executor.execute(command);
          } catch (RuntimeException e) {
            log.log(
                Level.SEVERE,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ParameterizedActionRunner.java

        private final InternalParameterAcceptingConnection executor;
    
        ParameterizedActionRunner(InternalParameterAcceptingConnection executor, CancellationExceptionTransformer exceptionTransformer, VersionDetails versionDetails) {
            super(null, exceptionTransformer, versionDetails);
            this.executor = executor;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       */
      public <T extends @Nullable Object> ListenableFuture<T> submitAsync(
          AsyncCallable<T> callable, Executor executor) {
        checkNotNull(callable);
        checkNotNull(executor);
        TaskNonReentrantExecutor taskExecutor = new TaskNonReentrantExecutor(executor, this);
        AsyncCallable<T> task =
            new AsyncCallable<T>() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/CancellableActionRunner.java

        private final InternalCancellableConnection executor;
        private final CancellationExceptionTransformer exceptionTransformer;
        private final VersionDetails versionDetails;
    
        CancellableActionRunner(InternalCancellableConnection executor, CancellationExceptionTransformer exceptionTransformer, VersionDetails versionDetails) {
            this.executor = executor;
            this.exceptionTransformer = exceptionTransformer;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

            }
    
            @Override
            public void stop() {
                ManagedExecutor executor;
                lock.lock();
                try {
                    executor = this.executor;
                } finally {
                    lock.unlock();
                }
                if (executor != null) {
                    executor.stop();
                }
            }
    
            public void add(C command) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

        abstract TestClassExecutionResult assertFailedToExecute(TestExecutionResult testResult, String testClassName)
    
        String getStableEnvironmentDependencies() {
            return testFrameworkDependencies
        }
    
        def "executes tests in the correct environment"() {
            given:
            file('src/test/java/org/gradle/OkTest.java') << """
                package org.gradle;
    
                import java.io.File;
                import java.io.PrintStream;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectAllRequestsThenReleaseAll.java

    import java.util.Collection;
    import java.util.concurrent.Executor;
    import java.util.concurrent.locks.Lock;
    
    class ExpectAllRequestsThenReleaseAll extends ExpectMaxNConcurrentRequestsThenRelease {
        ExpectAllRequestsThenReleaseAll(Lock lock, int testId, Duration timeout, WaitPrecondition previous, Collection<? extends ResourceExpectation> expectations, Executor executor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top