Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 719 for timer (0.01 sec)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * @throws CancellationException if the computation was cancelled
       * @throws TimeoutException if the wait timed out
       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      @ParametricNullness
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * If the application closes the response body before attempting a read, this is invoked at the
       * time it is closed.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
       * This will usually be invoked only 1 time for a single [Call], exceptions are a limited set of
       * cases including failure recovery.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, Callable<@Nullable Void> callable)
          throws Exception {
        ExecutorService executorService = newFixedThreadPool(numberOfThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                        i_in_24 = selected.hour() >= 12 ? (i == 12 ? 12 : i + 12) : (i == 12 ? 0 : i);
    
                    var time = selected.clone().hour(i_in_24);
                    var disabled = false;
                    if (minDate && time.minute(59).isBefore(minDate))
                        disabled = true;
                    if (maxDate && time.minute(0).isAfter(maxDate))
                        disabled = true;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          Method method, boolean fair1, boolean fair2) {
        boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
          protected void runTest() throws Throwable {
            Monitor monitor1 = new Monitor(fair1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                dataService.update(accessResultList);
                accessResultList.clear();
                final long time = systemHelper.getCurrentTimeAsLong() - execTime;
                if (logger.isDebugEnabled()) {
                    logger.debug("Updated {} access results. The execution time is {}ms.", size, time);
                }
                return time;
            }
            return -1;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      private var waitingCoordinatorTask: SerialTask? = null
      private var waitingCoordinatorInterrupted = false
      private var waitingCoordinatorNotified = false
    
      /** How many times a new task has been started. Guarded by `this`. */
      private var contextSwitchCount = 0
    
      /** Guarded by `this`. */
      private var activeThreads = 0
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        }
    
        /**
         * Gets the total execution time for the search request in milliseconds.
         *
         * @return the execution time in milliseconds
         */
        public long getExecTime() {
            return execTime;
        }
    
        /**
         * Sets the total execution time for the search request in milliseconds.
         *
         * @param execTime the execution time in milliseconds
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    throw new RuntimeException("Operation timed out after 30 seconds");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Operation timed out after 30 seconds"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top