- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for blocked (0.04 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
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
String ip = "192.168.1.7"; // Block the IP for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip)); rateLimiter.recordFailure("user" + i, ip); } // Should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "IP should be blocked"); // Manually unblock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static final long SMALL_TIMEOUT_MILLIS = 10; /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */ private static final long EXPECTED_HANG_DELAY_MILLIS = 75; /** * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked. */ private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testClearBlacklist() throws Exception { validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* Prevents cascading failures by temporarily blocking requests to a failing service. * * The circuit breaker has three states: * - CLOSED: Normal operation, requests pass through * - OPEN: Service is failing, requests are blocked * - HALF_OPEN: Testing if service has recovered */ public class SmbCircuitBreaker { private static final Logger log = LoggerFactory.getLogger(SmbCircuitBreaker.class); /** * Circuit breaker states
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
README.md
analyzerSettings.setReadingAnalyzer("kuromoji_reading"); analyzerSettings.setNormalizeAnalyzer("keyword"); }) .badWordSettings(badWordSettings -> { badWordSettings.setList(new String[]{"blocked", "terms"}); }) .elevateWordSettings(elevateWordSettings -> { elevateWordSettings.setElevateWords(Collections.singletonList( new ElevateWord("priority", 2.0f, Collections.emptyList())
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected } } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Try to execute - should be blocked with CIFSException CIFSException exception = assertThrows(CIFSException.class, () -> { circuitBreaker.executeWithCircuitBreaker(() -> "should not execute");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
/** * Circuit breaker states */ public enum State { CLOSED, // Normal operation OPEN, // Failing, requests blocked HALF_OPEN // Testing recovery } private final String name; private final AtomicReference<State> state = new AtomicReference<>(State.CLOSED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0)