Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for exceeded (0.5 sec)

  1. src/main/java/jcifs/SmbResourceException.java

        }
    
        /**
         * Static factory for quota exceeded
         */
        public static SmbResourceException quotaExceeded(int errorCode, long used, long quota) {
            return new SmbResourceException(String.format("Quota exceeded: %d/%d bytes used", used, quota), errorCode, ResourceType.QUOTA,
                    quota - used, 1);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

                    return false;
                }
    
                // Check if we've exceeded time limits
                long totalElapsed = System.currentTimeMillis() - exception.getOperationStartTime();
                if (totalElapsed > maxDelayMs * maxAttempts) {
                    log.debug("Retry time limit exceeded for operation");
                    return false;
                }
    
                return true;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            }
    
            // Check global rate limit
            if (!checkGlobalRateLimit()) {
                totalAttemptsBlocked.incrementAndGet();
                log.warn("Global rate limit exceeded, blocking attempt from {}", sourceIp);
                return false;
            }
    
            // Check per-account limit
            if (username != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            // finishCrawling should be set when max empty list count is exceeded
            // In test environment this may not work as expected
            // assertTrue(indexUpdater.finishCrawling);
            // Thread may still be alive in test environment
            // assertFalse(indexUpdater.isAlive());
        }
    
        // Test run with max error count exceeded
        public void test_run_maxErrorCountExceeded() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

    public class ResultOffsetExceededExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessage() {
            // Test with normal message
            String message = "Offset exceeded the limit";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getStackTrace());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException(
                        "Source array bounds exceeded: offset=" + srcOffset + ", length=" + length + ", array.length=" + src.length);
            }
            if (dstOffset + length > dst.length) {
                throw new IllegalArgumentException(
                        "Destination array bounds exceeded: offset=" + dstOffset + ", length=" + length + ", array.length=" + dst.length);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            String result = crawlJob.execute();
    
            assertNotNull(result);
            assertTrue(result.contains("Session Id: " + testSessionId));
        }
    
        // Test execute method with max processes exceeded
        public void test_execute_maxProcessesExceeded() {
            // Setup test
            crawlJob = new CrawlJob() {
                @Override
                protected int getRunningJobCount() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            String result = pythonJob.execute();
    
            assertNotNull(result);
            assertTrue(result.contains("Session Id:"));
            assertTrue(result.contains("Process is terminated due to 60 second exceeded") || result.contains("Process terminated"));
        }
    
        // Test executePython with blank filename
        public void test_executePython_blankFilename() {
            pythonJob.filename("");
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

                if (currentState == State.HALF_OPEN) {
                    int attempts = halfOpenAttempts.incrementAndGet();
                    if (attempts > halfOpenMaxAttempts) {
                        log.warn("[{}] Exceeded max attempts in HALF_OPEN state, reopening circuit", name);
                        transitionTo(State.OPEN);
                        throw new CircuitOpenException("Circuit breaker '" + name + "' reopened after max attempts");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            Exception exception = assertThrows(CIFSException.class, () -> context.encryptMessage(largeMessage, 2L));
            assertTrue(exception.getMessage().contains("rotation") || exception.getMessage().contains("exceeded"),
                    "Should indicate key rotation issue: " + exception.getMessage());
    
            context.close();
        }
    
        @Test
        @DisplayName("Should handle multiple closes gracefully")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top