Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readMicros (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       */
      static class FakeStopwatch extends SleepingStopwatch {
        long instant = 0L;
        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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       */
      static class FakeStopwatch extends SleepingStopwatch {
        long instant = 0L;
        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) {
    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