Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,843 for exceeds (0.09 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

            if (size > maxSize) {
                failedValidations.incrementAndGet();
                log.warn("Message size exceeds maximum: {} > {}", size, maxSize);
                throw new SmbException("Message size exceeds maximum: " + size + " > " + maxSize);
            }
        }
    
        /**
         * Validate string from server response
         *
         * @param str string to validate
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
            if (offset + SIGNATURE_OFFSET + SIGNATURE_LENGTH > data.length) {
                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

         */
        public void test_isValid_exceedsMaxDepth() throws Exception {
            final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
            urlQueue.setUrl("http://example.com/");
            urlQueue.setDepth(5); // Exceeds maxDepth of 3
    
            when(urlFilter.match(anyString())).thenReturn(true);
    
            // Use reflection to access protected method
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test when data length exceeds outputBuffer size
            byte[] buffer = new byte[2000];
            int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen));
    
            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            // Multiple writes that exceed threshold should switch to file
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2 });
            assertTrue(cos.isInMemory());
            cos.write(new byte[] { 3, 4, 5 }); // Total 6 bytes, exceeds threshold of 5
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ByteEncodableTest.java

            assertThrows(IndexOutOfBoundsException.class, () -> {
                encodable.encode(dest, 0);
            }, "Should throw IndexOutOfBoundsException if source offset + length exceeds source array bounds");
        }
    
        @Test
        void testEncodeDestinationTooSmall() {
            // Test when destination array is too small
            byte[] data = { 0x01, 0x02, 0x03 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/ResultOffsetExceededException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when the requested result offset exceeds the limit.
     */
    public class ResultOffsetExceededException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message The exception message.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MaxLengthExceededException.java

     */
    package org.codelibs.fess.crawler.exception;
    
    /**
     * MaxLengthExceededException is thrown when the content length exceeds the maximum allowed length.
     * It extends CrawlingAccessException, indicating a crawling-related access issue.
     *
     */
    public class MaxLengthExceededException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        }
    
        /**
         * Extracts data from the input stream using the configured parameters.
         *
         * @return the extracted data
         * @throws MaxLengthExceededException if content length exceeds maximum allowed
         * @throws ExtractException if extraction fails
         */
        public ExtractData extract() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top