Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for startTime (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

          return 0L;
        } else {
          long startTime = System.nanoTime();
          return (startTime == 0L) ? 1L : startTime;
        }
      }
    
      /**
       * Returns the remaining nanos until the given timeout, or 0L if the timeout has already elapsed.
       * Caller must have previously sanitized timeoutNanos using toSafeNanos.
       */
      private static long remainingNanos(long startTime, long timeoutNanos) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            private final AtomicLong executeTime = new AtomicLong(0);
            private final AtomicBoolean committed = new AtomicBoolean(false);
            private final long startTime = System.currentTimeMillis();
    
            @Override
            public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                documentCount.incrementAndGet();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/JobLogDbm.java

                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnStartTime = cci("startTime", "startTime", null, null, Long.class, "startTime", null, false, false,
                false, "Long", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

        }
    
        public void test_execution_time_tracking() {
            // Test execution time tracking
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                private long startTime = System.currentTimeMillis();
                private long totalTime = 0;
    
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            @Override
            public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
                // Simplified store for testing
                systemHelper.calibrateCpuLoad();
                final long startTime = systemHelper.getCurrentTimeAsLong();
    
                // Required check
                final Object urlObj = dataMap.get(fessConfig.getIndexFieldUrl());
                if (urlObj == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            // Verify that performance optimizations are working
            long startTime = System.currentTimeMillis();
            try {
                dataIndexHelper.crawl("performance-test");
            } catch (Exception e) {
                // Expected
            }
            long duration = System.currentTimeMillis() - startTime;
    
            // Test should complete in under 1 second (much less than the original 25+ seconds)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      private V load(K key) throws ExecutionException {
        long startTime = ticker.read();
        V calculatedValue;
        try {
          calculatedValue = loader.load(key);
          put(key, calculatedValue);
        } catch (RuntimeException e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                    // Ignore
                }
            });
            testThread.start();
    
            long startTime = System.currentTimeMillis();
            method.invoke(crawler, testThread);
            long endTime = System.currentTimeMillis();
    
            assertTrue("Thread should have been joined", endTime - startTime >= 100);
        }
    
        // Test destroyContainer private static method via reflection
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
        return NANOSECONDS.toMillis(stopwatch.instant - startTime);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long startTime = stopwatch.instant;
        while (permits > 0) {
          int nextPermitsToAcquire = max(1, random.nextInt(permits));
          permits -= nextPermitsToAcquire;
          rateLimiter.acquire(nextPermitsToAcquire);
        }
        rateLimiter.acquire(1); // to repay for any pending debt
        return NANOSECONDS.toMillis(stopwatch.instant - startTime);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top