Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for rato (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
    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)
  2. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

          long largeOps = largeCounter.total();
    
          double ratio = (double) largeOps / smallOps;
          assertWithMessage(
                  "ratio of equals/hashCode/compareTo operations to build with %s entries versus %s"
                      + " entries",
                  largeSize, smallSize)
              .that(ratio)
              .isAtMost(
                  2
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

       * we change the rate.
       */
      public void testWeNeverGetABurstMoreThanOneSec() {
        RateLimiter limiter = RateLimiter.create(1.0, stopwatch);
        int[] rates = {1000, 1, 10, 1000000, 10, 1};
        for (int rate : rates) {
          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

                }
                sendBlockedResponse(httpResponse);
                return;
            }
    
            // Check rate limit
            if (!rateLimitHelper.allowRequest(clientIp)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Rate limit exceeded: clientIp={}", clientIp);
                }
                sendRateLimitResponse(httpResponse, rateLimitHelper.getRetryAfterSeconds());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            if (logger.isInfoEnabled()) {
                logger.info("RateLimitHelper initialized: windowMs={}, blockDurationMs={}", windowMs, blockDurationMs);
            }
        }
    
        /**
         * Check if rate limiting is enabled.
         * @return true if rate limiting is enabled
         */
        public boolean isEnabled() {
            return ComponentUtil.getFessConfig().isRateLimitEnabled();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. src/main/resources/fess_config.properties

    #                                                                           Rate Limiting
    #                                                                           ==============
    # Whether rate limiting is enabled.
    rate.limit.enabled=false
    # Maximum number of requests allowed per window.
    rate.limit.requests.per.window=100
    # Window size in milliseconds.
    rate.limit.window.ms=60000
    # Duration in milliseconds to block IP when limit exceeded.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

        }
    
        @Test
        public void test_constructorWithMessageAndErrorCode() {
            final LlmException exception = new LlmException("Rate limit exceeded", LlmException.ERROR_RATE_LIMIT);
            assertEquals("Rate limit exceeded", exception.getMessage());
            assertEquals(LlmException.ERROR_RATE_LIMIT, exception.getErrorCode());
            assertNull(exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/openapi-webhooks.md

    E os **seus usuários** definem de alguma forma (em algum painel por exemplo) a **URL** que a sua aplicação deve enviar essas requisições.
    
    Toda a **lógica** sobre como cadastrar as URLs para os webhooks e o código para enviar de fato as requisições cabe a você definir. Você escreve da maneira que você desejar no **seu próprio código**.
    
    ## Documentando webhooks com o **FastAPI** e OpenAPI { #documenting-webhooks-with-fastapi-and-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. scripts/people.py

            now = datetime.now(tz=timezone.utc)
    
            # Handle primary rate limits
            primary_limit_wait_time = 0.0
            if self.remaining_points <= self.last_query_cost:
                primary_limit_wait_time = (self.reset_at - now).total_seconds() + 2
                logging.warning(
                    f"Approaching GitHub API rate limit, remaining points: {self.remaining_points}, "
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top