Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for million (0.03 sec)

  1. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         *
         * @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) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      check(duration >= 0L) { "$name < 0" }
      val millis = unit.toMillis(duration)
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
      val millis = duration.inWholeMilliseconds
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
        Timeout(long millis, String label) {
          this.millis = millis;
          this.label = label;
        }
    
        @Override
        public String toString() {
          return label;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

        /** The key of the configuration. e.g. false */
        String FRAMEWORK_DEBUG = "framework.debug";
    
        /** The key of the configuration. e.g. 0 */
        String TIME_ADJUST_TIME_MILLIS = "time.adjust.time.millis";
    
        /** The key of the configuration. e.g. true */
        String MAIL_SEND_MOCK = "mail.send.mock";
    
        /** The key of the configuration. e.g. localhost:25 */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      private static void assertNotInterrupted() {
        assertFalse(Thread.interrupted());
      }
    
      private static void requestInterruptIn(long millis) {
        InterruptionUtil.requestInterruptIn(millis, MILLISECONDS);
      }
    
      @CanIgnoreReturnValue
      private static Thread acquireFor(Lock lock, long duration, TimeUnit unit) {
        CountDownLatch latch = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          private val SENT_MILLIS = "${Platform.get().getPrefix()}-Sent-Millis"
    
          /** Synthetic response header: the local time when the response was received. */
          private val RECEIVED_MILLIS = "${Platform.get().getPrefix()}-Received-Millis"
        }
      }
    
      private class CacheResponseBody(
        val snapshot: DiskLruCache.Snapshot,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        final List<String> events = new ArrayList<>();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        final List<String> events = new ArrayList<>();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                builder.allRecordCount(searchHits.getTotalHits().value());
                builder.allRecordCountRelation(searchHits.getTotalHits().relation().toString());
                builder.queryTime(searchResponse.getTook().millis());
    
                if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) {
                    builder.partialResults(true);
                }
    
                // build highlighting fields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LinearTransformation.java

     * transformation in which case {@code x} has a constant value for all {@code y}. In the
     * non-vertical case, {@code m} is the slope of the transformation (and a horizontal transformation
     * has zero slope).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class LinearTransformation {
      /**
       * Constructor for use by subclasses inside Guava.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top