Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for MaxLength (0.8 sec)

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

        /**
         * Validate string from server response
         *
         * @param str string to validate
         * @param maxLength maximum allowed length
         * @param fieldName field name for error messages
         * @throws SmbException if string is invalid
         */
        public void validateString(String str, int maxLength, String fieldName) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (str == null) {
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                            if (responseData.getContentLength() > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                            final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                            if (responseData.getContentLength() > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @DisplayName("Should create lock with maximum values")
            void testConstructorWithMaxValues() {
                long maxOffset = Long.MAX_VALUE;
                long maxLength = Long.MAX_VALUE;
                int flags = 0xFFFFFFFF;
    
                lock = new Smb2Lock(maxOffset, maxLength, flags);
    
                assertNotNull(lock);
            }
    
            @Test
            @DisplayName("Should create lock with negative values")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                            final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                            if (responseData.getContentLength() > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                    if (responseData.getContentLength() > maxLength) {
                        throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
                                + maxLength + " byte. The url is " + filePath);
                    }
                }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        }
    
        // Helper method to read string from buffer
        private String readString(byte[] buffer, int offset, int maxLength) {
            int length = 0;
            for (int i = offset; i < offset + maxLength && i < buffer.length; i++) {
                if (buffer[i] == 0) {
                    break;
                }
                length++;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                    if (responseData.getContentLength() > maxLength) {
                        throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
                                + maxLength + " byte. The url is " + filePath);
                    }
                }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                    if (responseData.getContentLength() > maxLength) {
                        throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
                                + maxLength + " byte. The url is " + filePath);
                    }
                }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20K bytes
    - Viewed (2)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                            final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
                            if (responseData.getContentLength() > maxLength) {
                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + uri);
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
Back to top