Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 965 for task (0.02 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

     *
     * To perform a reformat, run:
     *
     *     ./gradlew spotlessApply
     *
     * To check the current format, run:
     *
     *     ./gradlew spotlessJavaCheck
     *
     * This is also carried out by the `precommit` task.
     *
     * For more about Spotless, see:
     *
     * https://github.com/diffplug/spotless/tree/master/plugin-gradle
     */
    
    // Do not add new sub-projects here!
    def projectPathsToExclude = [
      ':client:benchmark',
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

    import java.util.concurrent.TimeUnit
    import okhttp3.Address
    import okhttp3.ConnectionPool
    import okhttp3.Route
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskQueue
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.concurrent.withLock
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            scenario,
            expectedOutcome);
      }
    
      @Override
      protected void runTest() throws Throwable {
        FutureTask<@Nullable Void> task = new FutureTask<>(this::runChosenTest, null);
        startThread(task::run);
        awaitUninterruptibly(doingCallLatch);
        long hangDelayMillis =
            (expectedOutcome == Outcome.HANG)
                ? EXPECTED_HANG_DELAY_MILLIS
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            scenario,
            expectedOutcome);
      }
    
      @Override
      protected void runTest() throws Throwable {
        FutureTask<@Nullable Void> task = new FutureTask<>(this::runChosenTest, null);
        startThread(task::run);
        awaitUninterruptibly(doingCallLatch);
        long hangDelayMillis =
            (expectedOutcome == Outcome.HANG)
                ? EXPECTED_HANG_DELAY_MILLIS
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

    import java.nio.file.Paths
    import java.nio.file.StandardCopyOption
    
    allprojects {
      apply plugin: 'idea'
    
      tasks.named('idea').configure {
        doFirst { throw new GradleException("Use of the 'idea' task has been deprecated. For details on importing into IntelliJ see CONTRIBUTING.md.") }
      }
    }
    
    tasks.register('configureIdeCheckstyle') {
      group = 'ide'
      description = 'Generated a suitable checkstyle config for IDEs'
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_test_util.cc

        int port = tensorflow::testing::PickUnusedPortOrDie();
        job_def->mutable_tasks()->insert({i, absl::StrCat("localhost:", port)});
        LOG(INFO) << "Picked test port: " << port << " for job: " << job_name
                  << ", task: " << i;
      }
      return server_def;
    }
    
    tensorflow::ServerDef GetServerDef(int num_tasks) {
      return GetServerDef("localhost", num_tasks);
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

    import org.junit.jupiter.api.Test
    
    class ConnectionPoolTest {
      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, directExecutor());
        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
        executorService.shutdownNow();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * wait for 100 seconds, and /then/ start the actual task. Why wait without doing anything? A much
       * better approach is to /allow/ the request right away (as if it was an acquire(1) request
       * instead), and postpone /subsequent/ requests as needed. In this version, we allow starting the
       * task immediately, and postpone by 100 seconds future requests, thus we allow for work to get
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

                toThrow.addSuppressed(e)
            }
            throw toThrow
        }
    
        /** Adds a task to kill an elasticsearch node with the given pidfile */
        private TaskProvider<AntFixtureStop> createStopTask() {
            final AntFixture fixture = this
            TaskProvider<AntFixtureStop> stop = project.tasks.register("${name}#stop", AntFixtureStop)
            stop.configure {
                it.fixture = fixture
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
Back to Top