Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for rati (0.02 sec)

  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
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Make many attempts to trigger global rate limit
            for (int i = 1; i <= 20; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed");
            }
    
            // 21st attempt should be blocked by global rate limit
            assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. 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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. src/main/resources/fess_message_it.properties

    errors.crud_failed_to_create_instance = Impossibile creare nuovi dati.
    errors.crud_failed_to_create_crud_table = Impossibile creare nuovi dati. ({0})
    errors.crud_failed_to_update_crud_table=Impossibile aggiornare i dati. ({0})
    errors.crud_failed_to_delete_crud_table=Impossibile eliminare i dati. ({0})
    errors.crud_could_not_find_crud_table = Dati {0} non trovati.
    errors.could_not_find_backup_index=Impossibile trovare l'indice di backup.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. 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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 16 10:09:21 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. 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": {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 93.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertArrayEquals(largeTestData, decompressed);
        }
    
        @Test
        @DisplayName("Test compression ratio estimation")
        public void testCompressionRatioEstimation() {
            double ratio = compressionService.estimateCompressionRatio(testData, CompressionService.COMPRESSION_LZ77);
            assertTrue(ratio >= 0.0 && ratio <= 1.0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/monitor.go

    package bandwidth
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"slices"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top