- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 421 for counter (0.06 sec)
-
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
requireNonNull(thread); if (nameFormat != null) { // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat. thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement())); } if (daemon != null) { thread.setDaemon(daemon); } if (priority != null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
LICENSES/vendor/cyphar.com/go-pathrs/LICENSE
Your receipt of the notice. 5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors for the Covered Software under Section
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Nov 12 14:46:31 UTC 2025 - 16.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertNotNull(component2); // Should be same instance for singleton assertSame(component1, component2); // The first creation should increment the counter assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1); } /** * Test wrap method */ public void test_wrap_basic() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
lib/fips140/v1.0.0-c2097c7c.zip
panic("crypto/cipher: incorrect nonce length given to GCM") } counter := byteorder.BEUint64(nonce[len(nonce)-8:]) if !g.ready { // In the first call, the counter is zero, so we learn the XOR mask. g.ready = true g.mask = counter } counter ^= g.mask // Ensure the counter is monotonically increasing. if counter == math.MaxUint64 { panic("crypto/cipher: counter wrapped") } if counter < g.next { panic("crypto/cipher: counter decreased") } g.next = counter + 1 fips140.RecordApproved() return g.g.sealAfterIndicator(dst,...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
internal/kms/kms.go
} func (k *KMS) updateMetrics(err error, latency time.Duration) { // First, update the latency histogram // Therefore, find the first bucket that holds the counter for // requests with a latency at least as large as the given request // latency and update its and all subsequent counters. bucket := slices.IndexFunc(k.latencyBuckets, func(b time.Duration) bool { return latency < b }) if bucket < 0 { bucket = len(k.latencyBuckets) - 1 }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 24 15:33:57 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
windowStart = now; } recentAttempts.incrementAndGet(); lastAttempt = now; } void recordSuccess() { // Reduce counter on success to allow recovery recentAttempts.updateAndGet(val -> Math.max(0, val - 1)); } void reset() { recentAttempts.set(0); blocked.set(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
rateLimiter.recordFailure(username, ip); assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); // Success should reset counter assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordSuccess(username, ip); // Should be able to fail 3 more times before lockout for (int i = 0; i < 3; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
impl/maven-core/src/site/apt/offline-mode.apt
Offline Mode Design * UPDATE: 18-April-2005 We cannot take the approach outlined below of detecting which remote repositories are "really" offline, since offline mode is more of a behavior, and this will lead to counter-intuitive results. A different feature may exist unimplemented, which is to detect when the network is down and provide better feedback for that case. However, when offline mode is declared, nothing
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
* <p> * There are several ways to set jCIFS properties. See * the <a href="../overview-summary.html#scp">overview page of the API * documentation</a> for details. */ public class Config { /** * Counter for tracking socket connections. */ public static int socketCount = 0; /** * The static <code>Properties</code>. */ private static Properties prp = new Properties();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
count = new AtomicInteger(1); } /** * Increments the reference count for this statistics object. * * @return the new reference count after incrementing */ public int increment() { return count.incrementAndGet(); } /** * Decrements the reference count for this statistics object.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0)