Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 56 for rato (0.05 seconds)

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

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. 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)
  3. 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. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)
       * onto the 1/rate (i.e. intervals) that is effective at the given storedPermits. "storedPermits"
       * essentially measure unused time; we spend unused time buying/storing permits. Rate is
       * "permits / time", thus "1 / rate = time / permits". Thus, "1/rate" (time / permits) times
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

        public void formatRate(MessageBuilder builder, double rate) {
            // Handle invalid rates gracefully (including negative values)
            if (Double.isNaN(rate) || Double.isInfinite(rate) || rate < 0) {
                builder.append("? B/s");
                return;
            }
    
            ScaleUnit unit = ScaleUnit.getScaleUnit(Math.round(rate));
            double scaledRate = rate / unit.bytes();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. docs/metrics/prometheus/grafana/minio-dashboard.json

              },
              "exemplar": true,
              "expr": "sum by (server) (rate(minio_s3_traffic_received_bytes{job=~\"$scrape_jobs\"}[$__rate_interval]))",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "Data Received [{{server}}]",
              "refId": "A"
            }
          ],
          "title": "S3 API Ingress Rate ",
          "type": "timeseries"
        },
        {
          "datasource": {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 93.1K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Increment error counter
         */
        public void incrementErrors() {
            errors.incrementAndGet();
        }
    
        /**
         * Get error rate (errors / total requests)
         *
         * @return error rate between 0.0 and 1.0
         */
        public double getErrorRate() {
            long total = requestsSent.get();
            if (total == 0)
                return 0.0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. 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)
Back to Top