Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 100 for nanoSeconds (0.13 sec)

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

      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public void awaitHealthy(Duration timeout) throws TimeoutException {
        awaitHealthy(toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Waits for the {@link ServiceManager} to become {@linkplain #isHealthy() healthy} for no more
       * than the given time. The manager will become healthy after all the component services have
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      public void awaitHealthy(Duration timeout) throws TimeoutException {
        awaitHealthy(toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Waits for the {@link ServiceManager} to become {@linkplain #isHealthy() healthy} for no more
       * than the given time. The manager will become healthy after all the component services have
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      /**
       * Performs maintenance on this pool, evicting the connection that has been idle the longest if
       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.FilePermission;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.security.CodeSource;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

          throw new ExecutionError(e);
        } finally {
          if (!success) {
            globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS));
          }
        }
    
        if (result == null) {
          globalStatsCounter.recordLoadException(stopwatch.elapsed(NANOSECONDS));
          throw new InvalidCacheLoadException(loader + " returned null map from loadAll");
        }
    
        stopwatch.stop();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    	if err != nil {
    		o.serviceMetrics.accumRequestRTT(reqStartTime, 0, false)
    		return AuthNResponse{}, err
    	}
    	defer o.args.CloseRespFn(resp.Body)
    	reqDurNanos := time.Since(reqStartTime).Nanoseconds()
    	o.serviceMetrics.accumRequestRTT(reqStartTime, float64(reqDurNanos)/1e6, true)
    
    	switch resp.StatusCode {
    	case 200:
    		var result AuthNSuccessResponse
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.FilePermission;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.security.CodeSource;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

          AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) {
        return scheduleAsync(callable, toNanosSaturated(delay), TimeUnit.NANOSECONDS, executorService);
      }
    
      /**
       * Schedules {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          assertThat(expected.message).isEqualTo(
            "stream was reset: PROTOCOL_ERROR",
          )
        }
        val elapsedUntilFailure = System.nanoTime() - executeAtNanos
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble())
          .isCloseTo(1000.0, 250.0)
    
        // Confirm a single ping was sent but not acknowledged.
        val logs = testLogHandler.takeAll()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Futures.java

          AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) {
        return scheduleAsync(callable, toNanosSaturated(delay), TimeUnit.NANOSECONDS, executorService);
      }
    
      /**
       * Schedules {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top