Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for maxKeys (0.24 sec)

  1. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "", "", 10, resultCases[0], nil, true},
    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    		maxKeys = maxObjectList
    	}
    	if addOne {
    		maxKeys++
    	}
    	return maxKeys
    }
    
    func (z *erasureServerPools) listObjectsGeneric(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int, v1 bool) (ListObjectsInfo, error) {
    	var loi ListObjectsInfo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    }
    
    // return URL for listing objects in the bucket with V1 legacy API.
    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if encodingType != "" {
    		queryValue.Set("encoding-type", encodingType)
    	}
    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    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)
  4. cmd/object-api-multipart_test.go

    		// MaxKeys set to values lesser than the number of entries in the MultipartInfo.
    		// IsTruncated is expected to be true.
    		{bucketNames[1], "", "", "", "", 2, listMultipartResults[18], nil, true},
    		{bucketNames[1], "", "", "", "", 1, listMultipartResults[19], nil, true},
    		// MaxKeys set to the value which is equal to no of entries in the MultipartInfo (Test number 33).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncodingMethod: {
    		Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
Back to top