Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for maxLength (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

        public void addMaxLength(final String mimeType, final long maxLength) {
            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
            maxLengthMap.put(mimeType, maxLength);
        }
    
        public long getMaxLength(final String mimeType) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
      public int writeBytesTo(byte[] dest, int offset, int maxLength) {
        maxLength = min(maxLength, bits() / 8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/bytes/compare_test.go

    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    	for i := 0; i < maxLength; i++ {
    		a[i] = byte(1 + 31*i%254)
    		b[i] = byte(1 + 31*i%254)
    	}
    	for i := 2; i <= maxLength; i <<= 1 {
    		for j := 0; j < i-1; j++ {
    			a[j] = b[j] - 1
    			a[j+1] = b[j+1] + 1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Ascii.java

        // meaning that a string will be truncated to just the truncation indicator itself
        checkArgument(
            truncationLength >= 0,
            "maxLength (%s) must be >= length of the truncation indicator (%s)",
            maxLength,
            truncationIndicator.length());
    
        if (seq.length() <= maxLength) {
          String string = seq.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/HashCode.java

       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
      public int writeBytesTo(byte[] dest, int offset, int maxLength) {
        maxLength = min(maxLength, bits() / 8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

                                            {
                                                "type": "string",
                                                "minLength": 3,
                                                "maxLength": 50,
                                                "pattern": "^fixedquery$",
                                            },
                                            {"type": "null"},
                                        ],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py

                                            {
                                                "type": "string",
                                                "minLength": 3,
                                                "maxLength": 50,
                                                "pattern": "^fixedquery$",
                                            },
                                            {"type": "null"},
                                        ],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                                "type": "string",
                                                "format": "uri",
                                                "minLength": 1,
                                                "maxLength": 2083,
                                            },
                                            {"type": "null"},
                                        ],
                                        "title": "Callback Url",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ascii.java

        // meaning that a string will be truncated to just the truncation indicator itself
        checkArgument(
            truncationLength >= 0,
            "maxLength (%s) must be >= length of the truncation indicator (%s)",
            maxLength,
            truncationIndicator.length());
    
        if (seq.length() <= maxLength) {
          String string = seq.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top