Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 418 for Timeout (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if not all of the services have stopped within the deadline
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public void awaitStopped(long timeout, TimeUnit unit) throws TimeoutException {
        state.awaitStopped(timeout, unit);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        os: Os = Os.LINUX,
        arch: Arch = Arch.AMD64,
        extraParameters: String = "",
        timeout: Int = 90,
        daemon: Boolean = true,
        buildJvm: Jvm = BuildToolBuildJvm,
        extraSteps: BuildSteps.() -> Unit = {}
    ) {
        buildType.applyDefaultSettings(os, timeout = timeout, buildJvm = buildJvm)
    
        buildType.killProcessStep(KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, os)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      @Override
      public boolean isTerminated() {
        return delegate.isTerminated();
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return delegate.awaitTermination(timeout, unit);
      }
    
      @Override
      public <T> ListenableFuture<T> submit(Callable<T> task) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      @Override
      public boolean isTerminated() {
        return delegate.isTerminated();
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        Preconditions.checkNotNull(unit, "unit must not be null!");
        return delegate.awaitTermination(timeout, unit);
      }
    
      @Override
      public <T> ListenableFuture<T> submit(Callable<T> task) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt

      override fun cancel(): Unit = error("unexpected")
    
      override fun isExecuted(): Boolean = error("unexpected")
    
      override fun isCanceled(): Boolean = error("unexpected")
    
      override fun timeout(): Timeout = error("unexpected")
    
      override fun clone(): Call = error("unexpected")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .url(server.url("/"))
            .post(AsyncRequestBody())
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertTrue(call.isCanceled())
        }
      }
    
      @Test
      fun fullCallTimeoutDoesNotApplyOnceConnected() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Service.java

       */
      default void awaitRunning(Duration timeout) throws TimeoutException {
        awaitRunning(toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more
       * than the given time.
       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    
    fun BuildType.applyPerformanceTestSettings(os: Os = Os.LINUX, arch: Arch = Arch.AMD64, timeout: Int = 30) {
        applyDefaultSettings(os = os, arch = arch, timeout = timeout)
        artifactRules = """
            build/report-*-performance-tests.zip => .
            build/report-*-performance.zip => $hiddenArtifactDestination
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/Dockerfile

    RUN wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-arm64 -O /usr/local/bin/bazel && chmod +x /usr/local/bin/bazel
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:30:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offer(e, timeout, unit);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      @CheckForNull
      public E poll(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().poll(timeout, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top