Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 288 for millisecond (0.06 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

        /** The relation type indicating how the record count should be interpreted (e.g., "eq", "gte"). */
        protected final String allRecordCountRelation;
    
        /** The time taken to execute the search query in milliseconds. */
        protected final long queryTime;
    
        /** Flag indicating whether the search results are partial due to timeout or other constraints. */
        protected final boolean partialResults;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .headersDelay(1500, TimeUnit.MILLISECONDS)
            .build(),
        )
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .post(DelayedRequestBody("hello".toRequestBody(null), 1500, TimeUnit.MILLISECONDS))
            .build()
        client =
          client
            .newBuilder()
            .readTimeout(1000, TimeUnit.MILLISECONDS)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            }
        }
    
        /**
         * Gets the timeout for PDF extraction in milliseconds.
         * @return the timeout in milliseconds
         */
        public long getTimeout() {
            return timeout;
        }
    
        /**
         * Sets the timeout for PDF extraction in milliseconds.
         * @param timeout the timeout in milliseconds
         */
        public void setTimeout(final long timeout) {
            this.timeout = timeout;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         */
        protected ThreadUtil() {
        }
    
        /**
         * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
         *
         * @param millis
         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
        /**
         * Calculates the delay in milliseconds based on current time and configured rules.
         * The method checks each rule to see if it applies to the current time and day.
         *
         * @return the delay in milliseconds, or 0 if no rules apply
         */
        protected long getDelay() {
            if (ruleList.isEmpty()) {
                return 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, new ArrayList<>(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
          // If even the first one wasn't there, clean up so that the next test doesn't see an element.
          producerThread.cancel(true);
          producer.doneProducing.await();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

            this.partialResults = partialResults;
        }
    
        /**
         * Sets the time taken to execute the search query in milliseconds.
         *
         * @param queryTime The query execution time in milliseconds
         */
        public void setQueryTime(final long queryTime) {
            this.queryTime = queryTime;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top