Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for length (0.18 sec)

  1. fastapi/param_functions.py

                """
            ),
        ] = None,
        min_length: Annotated[
            Optional[int],
            Doc(
                """
                Minimum length for strings.
                """
            ),
        ] = None,
        max_length: Annotated[
            Optional[int],
            Doc(
                """
                Maximum length for strings.
                """
            ),
        ] = None,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            String[] secondSegments = second.split("\\.");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
                int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0")
                        .compareTo(Long.valueOf(i < secondSegments.length ? secondSegments[i] : "0"));
                if (result != 0) {
                    return result;
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    	partIndex, partOffset, err := fi.ObjectToPartOffset(ctx, startOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Calculate endOffset according to length
    	endOffset := startOffset
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/xl-storage.go

    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    // checkPathLength - returns error if given path name length more than 255
    func checkPathLength(pathName string) error {
    	// Apple OS X path length is limited to 1016
    	if runtime.GOOS == "darwin" && len(pathName) > 1016 {
    		return errFileNameTooLong
    	}
    
    	// Disallow more than 1024 characters on windows, there
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. tests/test_application.py

                                    }
                                },
                            },
                        },
                        "summary": "Get Path Param Min Length",
                        "operationId": "get_path_param_min_length_path_param_minlength__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  6. tests/query_test.go

    		t.Errorf("errors happened when query find with in clause and zero length parameter: %v, length: %v", err, len(none))
    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       */
      static <T extends @Nullable Object> UnmodifiableListIterator<T> forArrayWithPosition(
          T[] array, int position) {
        if (array.length == 0) {
          Preconditions.checkPositionIndex(position, array.length); // otherwise checked in ArrayItr
          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrExcessData: {
    		Code:           "ExcessData",
    		Description:    "More data provided than indicated content length",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPolicyTooLarge: {
    		Code:           "PolicyTooLarge",
    		Description:    "Policy exceeds the maximum allowed document size.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/test-utils_test.go

    	req.Header.Set("x-amz-content-sha256", "STREAMING-AWS4-HMAC-SHA256-PAYLOAD")
    	req.Header.Set("content-encoding", "aws-chunked")
    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    
    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
            int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity);
            this.keys = Arrays.copyOf(keys, newCapacity);
            this.values = Arrays.copyOf(values, newCapacity);
          }
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top