Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 202 for Milliseconds (0.07 sec)

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

    import static com.google.common.util.concurrent.Service.State.STOPPING;
    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    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. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        serverIpv6.enqueue(
          MockResponse(body = "hello from IPv6"),
        )
    
        client =
          client.newBuilder()
            .fastFallback(false)
            .callTimeout(1_000, TimeUnit.MILLISECONDS)
            .build()
        val call = client.newCall(Request(url))
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected).hasMessage("timeout")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.noCache()
        builder = builder.noStore()
        builder = builder.maxAge(0, TimeUnit.MILLISECONDS)
        builder = builder.maxStale(0, TimeUnit.MILLISECONDS)
        builder = builder.minFresh(0, TimeUnit.MILLISECONDS)
        builder = builder.onlyIfCached()
        builder = builder.noTransform()
        builder = builder.immutable()
        val cacheControl: CacheControl = builder.build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(responseAfter) // Enqueue 2x because the broken connection may be reused.
        val response1 = getResponse(newRequest("/a"))
        response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
        assertContent("This connection won't pool properly", response1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        try {
          CacheBuilder<Object, Object> builder =
              createCacheBuilder()
                  .expireAfterWrite(100, MILLISECONDS)
                  .refreshAfterWrite(5, MILLISECONDS)
                  .ticker(ticker);
    
          CacheLoader<String, String> loader =
              new CacheLoader<String, String>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        try {
          CacheBuilder<Object, Object> builder =
              createCacheBuilder()
                  .expireAfterWrite(100, MILLISECONDS)
                  .refreshAfterWrite(5, MILLISECONDS)
                  .ticker(ticker);
    
          CacheLoader<String, String> loader =
              new CacheLoader<String, String>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      fun connectionsAreEvicted() {
        server.enqueue(MockResponse(body = "a"))
        server.enqueue(MockResponse(body = "b"))
        client =
          client.newBuilder()
            .connectionPool(ConnectionPool(5, 250, TimeUnit.MILLISECONDS))
            .build()
        val request = Request(server.url("/"))
        val response1 = client.newCall(request).execute()
        assertThat(response1.body.string()).isEqualTo("a")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

        status->status = tensorflow::errors::FailedPrecondition(
            "Coordination service is not enabled.");
        return;
      }
      absl::Duration timeout;
      if (timeout_in_ms > 0) {
        timeout = absl::Milliseconds(timeout_in_ms);
      } else {
        // Block until the key-value is set or the worker shuts down.
        timeout = absl::InfiniteDuration();
      }
      auto status_or_value = coord_agent->GetKeyValue(key, timeout);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            if (logger.isDebugEnabled()) {
                logger.debug("Executor Thread Pool: {}", nThreads);
            }
            return new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(nThreads),
                    new ThreadPoolExecutor.CallerRunsPolicy());
        }
    
        @Override
        public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    	if !compareSignatureV4(req.Form.Get(xhttp.AmzSignature), newSignature) {
    		return ErrSignatureDoesNotMatch
    	}
    
    	r.Header.Set("x-amz-signature-age", strconv.FormatInt(UTCNow().Sub(pSignValues.Date).Milliseconds(), 10))
    
    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top