Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for maxlength (0.06 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: Sun Sep 07 00:10:21 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/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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
    
            // Always compare full length to prevent timing leaks
            int lengthEqual = (a.length == b.length) ? 1 : 0;
            int maxLength = Math.max(a.length, b.length);
    
            int result = lengthEqual;
            for (int i = 0; i < maxLength; i++) {
                char charA = (i < a.length) ? a[i] : '\0';
                char charB = (i < b.length) ? b[i] : '\0';
                result &= (charA == charB) ? 1 : 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            final int tagLength = getAuthTagLength();
            final byte[] ciphertext = new byte[encrypted.length - tagLength];
            final byte[] authTag = new byte[tagLength];
    
            // Use constant-time copy operations
            constantTimeCopy(encrypted, 0, ciphertext, 0, ciphertext.length);
            constantTimeCopy(encrypted, ciphertext.length, authTag, 0, tagLength);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Strings.java

        if (string.length() >= minLength) {
          return string;
        }
        StringBuilder sb = new StringBuilder(minLength);
        for (int i = string.length(); i < minLength; i++) {
          sb.append(padChar);
        }
        sb.append(string);
        return sb.toString();
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} appended
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[9] *}
    
    Notice that the default value is still `None`, so the parameter is still optional.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Update docs for first steps, links and rewording. PR [#1518](https://github.com/tiangolo/fastapi/pull/1518) by [@yankeexe](https://github.com/yankeexe).
    * Enable `showCommonExtensions` in Swagger UI to show additional validations like `maxLength`, etc. PR [#1466](https://github.com/tiangolo/fastapi/pull/1466) by [@TiewKH](https://github.com/TiewKH).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top