Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 335 for milliseconds (0.06 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocList.java

         *
         * @return the total processing time in milliseconds
         */
        public long getProcessingTime() {
            return processingTime;
        }
    
        /**
         * Adds to the total processing time of this document list.
         *
         * @param processingTime the processing time to add in milliseconds
         */
        public void addProcessingTime(final long processingTime) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.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 com.google.common.util.concurrent.testing.MockFutureListener;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/SMBUtilTest.java

            // Test various time values (in milliseconds)
            long[] testTimes = { 0L, 1000L, 1500000000000L };
            byte[] buffer = new byte[4];
    
            for (long time : testTimes) {
                SMBUtil.writeUTime(time, buffer, 0);
                long readTime = SMBUtil.readUTime(buffer, 0);
    
                // Account for precision loss (milliseconds to seconds conversion)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Stopwatch.java

        }
        if (MINUTES.convert(nanos, NANOSECONDS) > 0) {
          return MINUTES;
        }
        if (SECONDS.convert(nanos, NANOSECONDS) > 0) {
          return SECONDS;
        }
        if (MILLISECONDS.convert(nanos, NANOSECONDS) > 0) {
          return MILLISECONDS;
        }
        if (MICROSECONDS.convert(nanos, NANOSECONDS) > 0) {
          return MICROSECONDS;
        }
        return NANOSECONDS;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        future = service.scheduleAtFixedRate(runnable, 1, 1, MILLISECONDS);
        assertExecutionException(future, ex);
        assertEquals(5, runnable.count);
        assertEquals(0, delegate.getQueue().size());
    
        runnable = new ThrowingRunnable(5, ex);
        future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS);
        assertExecutionException(future, ex);
        assertEquals(5, runnable.count);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/SystemUtil.java

        public static String getEnv(String key, String defaultValue) {
            return System.getenv().getOrDefault(key, defaultValue);
        }
    
        /**
         * Returns the current time in milliseconds.
         *
         * @return the current time in milliseconds
         */
        public static long currentTimeMillis() {
            // TODO provider
            return System.currentTimeMillis();
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top