Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 202 for millisecond (0.12 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
          client1.newCall(request).execute().use { response ->
            println("Response 1 succeeded: $response")
          }
        } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InterceptorTest.kt

      fun connectTimeout() {
        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
            assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000)
            val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS)
            assertThat(chainB.connectTimeoutMillis()).isEqualTo(100)
            chainB.proceed(chainA.request())
          }
        val interceptor2 =
          Interceptor { chain: Interceptor.Chain ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * @see #setLastModified
         *
         * @param createTime
         *            the create time as milliseconds since Jan 1, 1970
         * @param lastModified
         *            the last modified time as milliseconds since Jan 1, 1970
         * @param lastAccess
         *            the last access time as milliseconds since Jan 1, 1970
         * @throws CIFSException
         * @throws jcifs.smb.SmbUnsupportedOperationException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  4. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

            .build();
    
        // Copy to customize OkHttp for this request.
        OkHttpClient client1 = client.newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build();
        try (Response response = client1.newCall(request).execute()) {
          System.out.println("Response 1 succeeded: " + response);
        } catch (IOException e) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertTrue(limiter.tryAcquire(200, MILLISECONDS));
        assertFalse(limiter.tryAcquire(100, MILLISECONDS));
        stopwatch.sleepMillis(100);
        assertTrue(limiter.tryAcquire(100, MILLISECONDS));
      }
    
      public void testTryAcquire_overflow() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        assertTrue(limiter.tryAcquire(0, SECONDS));
        assertTrue(limiter.tryAcquire(200, MILLISECONDS));
        assertFalse(limiter.tryAcquire(100, MILLISECONDS));
        stopwatch.sleepMillis(100);
        assertTrue(limiter.tryAcquire(100, MILLISECONDS));
      }
    
      public void testTryAcquire_overflow() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import static com.google.common.util.concurrent.FuturesTest.pseudoTimedGetUninterruptibly;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

         *
         * @param project The project being summarized, must not be {@code null}.
         * @param execTime The exec time of the project in milliseconds.
         * @param wallTime The wall time of the project in milliseconds.
         * @param cause The cause of the build failure, may be {@code null}.
         */
        public BuildFailure(MavenProject project, long execTime, long wallTime, Throwable cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top