Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 288 for millisecond (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", 0, MILLISECONDS));
    
        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", -1, MILLISECONDS));
      }
    
      @J2ktIncompatible // Duration
      @GwtIncompatible // Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        ticker.advance(1, MILLISECONDS);
        assertSame(one, cache.getUnchecked(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
        ticker.advance(1, MILLISECONDS);
        assertSame(two, cache.getUnchecked(key));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        }
    
        /**
         * Gets the expiration time for thumbnails.
         *
         * @return the expiration time in milliseconds
         */
        public long getExpiry() {
            return expiry;
        }
    
        /**
         * Sets the expiration time for thumbnails.
         *
         * @param expiry the expiration time in milliseconds (must be positive)
         * @return this PurgeThumbnailJob instance for method chaining
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

            return timeout100Ns;
        }
    
        /**
         * Get the timeout value converted to milliseconds
         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
            if (timeout100Ns == 0) {
                return 0; // Persistent handles
            }
            // Convert from 100-nanosecond intervals to milliseconds
            // 1 ms = 10,000 * 100ns intervals
            return timeout100Ns / 10000L;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

        /**
         * Default maximum number of outstanding SMB requests.
         */
        int DEFAULT_MAX_MPX_COUNT = 10;
        /**
         * Default timeout in milliseconds for SMB responses.
         */
        int DEFAULT_RESPONSE_TIMEOUT = 30000;
        /**
         * Default socket timeout in milliseconds.
         */
        int DEFAULT_SO_TIMEOUT = 35000;
        /**
         * Default receive buffer size for SMB transport.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    package com.google.common.testing;
    
    import static com.google.common.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.concurrent.Executors.newFixedThreadPool;
    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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

        }
    
        /**
         * Returns the retry interval.
         * @return The retry interval in milliseconds.
         */
        public long getRetryInterval() {
            return retryInterval;
        }
    
        /**
         * Sets the retry interval.
         * @param retryInterval The retry interval in milliseconds.
         */
        public void setRetryInterval(final long retryInterval) {
            this.retryInterval = retryInterval;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top