Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 136 for Nanosecond (0.12 seconds)

  1. android/guava/src/com/google/common/collect/Internal.java

    @J2ktIncompatible
    @GwtIncompatible // java.time.Duration
    @IgnoreJRERequirement // We use this method only from within APIs that require a Duration.
    final class Internal {
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

    import static com.google.common.util.concurrent.Internal.toNanosSaturated;
    import static java.lang.Math.max;
    import static java.util.concurrent.TimeUnit.MICROSECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.Beta;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          if (!service.awaitTermination(halfTimeoutNanos, NANOSECONDS)) {
            // Cancel currently executing tasks
            service.shutdownNow();
            // Wait the other half of the timeout for tasks to respond to being cancelled
            service.awaitTermination(halfTimeoutNanos, NANOSECONDS);
          }
        } catch (InterruptedException ie) {
          // Preserve interrupted status
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. api/go1.txt

    pkg time, const May Month
    pkg time, const Microsecond Duration
    pkg time, const Millisecond Duration
    pkg time, const Minute Duration
    pkg time, const Monday Weekday
    pkg time, const Nanosecond Duration
    pkg time, const November Month
    pkg time, const October Month
    pkg time, const RFC1123 ideal-string
    pkg time, const RFC1123Z ideal-string
    pkg time, const RFC3339 ideal-string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Internal.java

    import java.time.Duration;
    
    /** This class is for {@code com.google.common.base} use only! */
    @J2ktIncompatible
    @GwtIncompatible // java.time.Duration
    final class Internal {
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

    import static com.google.common.util.concurrent.TestPlatform.verifyGetOnPendingFuture;
    import static com.google.common.util.concurrent.TestPlatform.verifyTimedGetOnPendingFuture;
    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;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterBenchmark.java

    import java.time.temporal.TemporalAccessor;
    import java.util.concurrent.TimeUnit;
    
    @Fork(3)
    @Warmup(iterations = 10)
    @Measurement(iterations = 10)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.NANOSECONDS)
    @State(Scope.Benchmark)
    @SuppressWarnings("unused") // invoked by benchmarking framework
    public class DateFormatterBenchmark {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  10. benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java

    import java.util.concurrent.TimeUnit;
    import java.util.function.Supplier;
    
    @Fork(2)
    @Warmup(iterations = 10)
    @Measurement(iterations = 5)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.NANOSECONDS)
    @State(Scope.Benchmark)
    public class RoundingBenchmark {
        private static final DateFormatter FORMATTER = DateFormatter.forPattern("date_optional_time");
    
        @Param(
            {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
Back to Top