- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 80 for rateK (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
int maximumSize; @Param("5000") int distinctKeys; @Param("4") int segments; // 1 means uniform likelihood of keys; higher means some keys are more popular // tweak this to control hit rate @Param("2.5") double concentration; Random random = new Random(); LoadingCache<Integer, Integer> cache; int max; static AtomicLong requests = new AtomicLong(0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/hash/HashFunction.java
* thoroughly as possible. * <li><b>bit-dispersing:</b> masking out any <i>single bit</i> from a hash code should yield only * the expected <i>twofold</i> increase to all collision rates. Informally, the "information" * in the hash code should be as evenly "spread out" through the hash code's bits as possible. * The result is that, for example, when choosing a bucket in a hash table of size 2^8,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* thoroughly as possible. * <li><b>bit-dispersing:</b> masking out any <i>single bit</i> from a hash code should yield only * the expected <i>twofold</i> increase to all collision rates. Informally, the "information" * in the hash code should be as evenly "spread out" through the hash code's bits as possible. * The result is that, for example, when choosing a bucket in a hash table of size 2^8,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
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;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
int maximumSize; @Param("5000") int distinctKeys; @Param("4") int segments; // 1 means uniform likelihood of keys; higher means some keys are more popular // tweak this to control hit rate @Param("2.5") double concentration; Random random = new Random(); LoadingCache<Integer, Integer> cache; int max; static AtomicLong requests = new AtomicLong(0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
long avgResponseTime = metrics.getAverageResponseTime(); // Adjust threshold based on failure rate and response time trends int currentThreshold = this.failureThreshold; int newThreshold = currentThreshold; // If failure rate is high but response time is normal, be more lenient if (failureRate > 0.5 && avgResponseTime < 5000) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
docs/distributed/DECOMMISSION.md
└─────┴─────────────────────────────────┴──────────────────────────────────┴────────┘ ``` ### Decommissioning status ``` λ mc admin decommission status alias/ http://minio{1...2}/data{1...4} Decommissioning rate at 36 MiB/sec [4 TiB/50 TiB] Started: 1 minute ago ``` Once it is **Complete** ``` λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jul 11 14:59:49 UTC 2022 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} /** * Configure rate limiting * * @param windowMs time window in milliseconds * @param maxEvents maximum events per window */ public void setRateLimit(long windowMs, int maxEvents) { this.rateLimitWindow = windowMs; this.maxEventsPerWindow = maxEvents; log.info("Rate limiting set to {} events per {} ms", maxEvents, windowMs); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertTrue(primaryScore > baseScore); // High error rate should reduce score channelInfo.setState(ChannelState.ESTABLISHED); channelInfo.setPrimary(false); for (int i = 0; i < 20; i++) { channelInfo.incrementRequestsSent(); channelInfo.incrementErrors(); // 100% error rate } int highErrorScore = channelInfo.getScore();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)