Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testOneSecondBurst (0.06 seconds)

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

        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.0);
        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.0);
        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2);
      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.0);
        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.0);
        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2);
      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
Back to Top