- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 331 for Counter (0.05 sec)
-
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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertNotNull(component1); 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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
*/ public static class StatsObject extends LinkedHashMap<String, Long> { /** Serial version UID for serialization. */ private static final long serialVersionUID = 1L; /** Atomic counter for tracking reference count across multiple threads. */ protected final AtomicInteger count; /** * Creates a new statistics object with the current timestamp as the begin time.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* Future}. * * <p>Usage example: * * {@snippet : * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catching( * fetchCounterFuture, FetchException.class, x -> 0, directExecutor()); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb3KeyDerivation. * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation. */ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest { private byte[] sessionKey; private byte[] preauthIntegrity; @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} /** * @return the tid */ public int getTid() { return this.tid; } /** * @return the tree_num (monotonically increasing counter to track reconnects) */ public long getTreeNum() { return this.treeNum; } /** * {@inheritDoc} * * @see java.lang.Object#hashCode() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* c, d, e]} with a partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer list * containing two inner lists of three and two elements, all in the original order. * * <p>The outer list is unmodifiable, but reflects the latest state of the source list. The inner
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertNull(crawlingConfigHelper.getCrawlingConfig("W123")); } public void test_store_counterIncrement() { final String sessionId = "testSession"; // Test counter increment String sessionCountId1 = crawlingConfigHelper.store(sessionId, crawlingConfigHelper.getCrawlingConfig("W1")); assertEquals("testSession-1", sessionCountId1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 34.9K bytes - Viewed (0)