Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ratelimit (0.29 sec)

  1. go.sum

    github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
    github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
    github.com/juju/ratelimit v1.0.2 h1:sRxmtRiajbvrcLQT7S+JbqU0ntsb9W2yhSdNN8tWfaI=
    github.com/juju/ratelimit v1.0.2/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSgWNm/qk=
    github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      @VisibleForTesting
      static RateLimiter create(double permitsPerSecond, SleepingStopwatch stopwatch) {
        RateLimiter rateLimiter = new SmoothBursty(stopwatch, 1.0 /* maxBurstSeconds */);
        rateLimiter.setRate(permitsPerSecond);
        return rateLimiter;
      }
    
      /**
       * Creates a {@code RateLimiter} with the specified stable throughput, given as "permits per
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.7.md

       * Fix version on startup and `--version` flag
    
       * Support specifying port number for nameserver in stubDomains
    
    #### kube-proxy
    * Features:
    
      * ratelimit runs of iptables by sync-period flags ([#46266](https://github.com/kubernetes/kubernetes/pull/46266), [@thockin](https://github.com/thockin))
    
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWeights() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
        rateLimiter.acquire(2); // R1.00, to repay previous
        rateLimiter.acquire(4); // R2.00, to repay previous
        rateLimiter.acquire(8); // R4.00, to repay previous
        rateLimiter.acquire(1); // R8.00, to repay previous
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWeights() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
        rateLimiter.acquire(2); // R1.00, to repay previous
        rateLimiter.acquire(4); // R2.00, to repay previous
        rateLimiter.acquire(8); // R4.00, to repay previous
        rateLimiter.acquire(1); // R8.00, to repay previous
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

    import java.util.concurrent.TimeUnit;
    
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class SmoothRateLimiter extends RateLimiter {
      /*
       * How is the RateLimiter designed, and why?
       *
       * The primary feature of a RateLimiter is its "stable rate", the maximum rate that it should
       * allow in normal conditions. This is enforced by "throttling" incoming requests as needed. For
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        }
        assertThat(rangesIndices).isEqualTo(rangesIndices.sorted())
    
        // Check the ranges.
        for (r in 0 until rangesOffsets.size) {
          val rangePos = rangesOffsets[r] * 4
          val rangeLimit =
            when {
              r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4
              else -> rangesOffsets.size * 4
            }
    
          // Confirm this range starts with byte 0.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
      public void testExecutors_nullCheck() throws Exception {
        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
      private static class TestApplication extends Application {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  9. CHANGELOG/CHANGELOG-1.8.md

    * Portworx volume driver no longer has to run on the master. ([#45518](https://github.com/kubernetes/kubernetes/pull/45518), [@harsh-px](https://github.com/harsh-px))
    * kube-proxy: ratelimit runs of iptables by sync-period flags ([#46266](https://github.com/kubernetes/kubernetes/pull/46266), [@thockin](https://github.com/thockin))
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Tue Feb 20 15:45:02 GMT 2024
    - 312.2K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
      public void testExecutors_nullCheck() throws Exception {
        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
      private static class TestApplication extends Application {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
Back to top