Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for MaxParts (0.1 sec)

  1. cmd/object-api-multipart_test.go

    		if actualErr == nil && testCase.shouldPass {
    			expectedResult := testCase.expectedResult
    			// Asserting the MaxParts.
    			if actualResult.MaxParts != expectedResult.MaxParts {
    				t.Errorf("Test %d: %s: Expected the MaxParts to be %d, but instead found it to be %d", i+1, instanceType, expectedResult.MaxParts, actualResult.MaxParts)
    			}
    			// Asserting Object Name.
    			if actualResult.Object != expectedResult.Object {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    		}
    		if partNumberMarker != testCase.partNumberMarker {
    			t.Errorf("Test %d: Expected %d, got %d", i+1, testCase.partNumberMarker, partNumberMarker)
    		}
    		if maxParts != testCase.maxParts {
    			t.Errorf("Test %d: Expected %d, got %d", i+1, testCase.maxParts, maxParts)
    		}
    		if encodingType != testCase.encodingType {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. cmd/api-resources.go

    func getObjectResources(values url.Values) (uploadID string, partNumberMarker, maxParts int, encodingType string, errCode APIErrorCode) {
    	var err error
    	errCode = ErrNone
    
    	if values.Get("max-parts") != "" {
    		if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil {
    			errCode = ErrInvalidMaxParts
    			return
    		}
    	} else {
    		maxParts = maxPartsList
    	}
    
    	if values.Get("part-number-marker") != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. cmd/object-api-options.go

    			apiErr = toAPIError(ctx, vErr)
    		}
    		valid = false
    		return
    	}
    
    	opts.MaxParts, err = parseIntHeader(bucket, object, r.Header, xhttp.AmzMaxParts)
    	if err != nil {
    		apiErr = toAPIError(ctx, err)
    		argumentName = strings.ToLower(xhttp.AmzMaxParts)
    		valid = false
    		return
    	}
    
    	if opts.MaxParts == 0 {
    		opts.MaxParts = maxPartsList
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	// as well as the value to use for the part-number-marker request parameter
    	// in a subsequent request.
    	NextPartNumberMarker int
    
    	// Maximum number of parts that were allowed in the response.
    	MaxParts int
    
    	// Indicates whether the returned list of parts is truncated.
    	IsTruncated bool
    
    	// List of all parts.
    	Parts []PartInfo
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	if partNumberMarker < 0 {
    		partNumberMarker = 0
    	}
    
    	// Limit output to maxPartsList.
    	if maxParts > maxPartsList {
    		maxParts = maxPartsList
    	}
    
    	// Populate the result stub.
    	result.Bucket = bucket
    	result.Object = object
    	result.UploadID = uploadID
    	result.MaxParts = maxParts
    	result.PartNumberMarker = partNumberMarker
    	result.UserDefined = cloneMSS(fi.Metadata)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  7. cmd/api-response.go

    		DisplayName: globalMinioDefaultOwnerID,
    	}
    	listPartsResponse.Owner = Owner{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: globalMinioDefaultOwnerID,
    	}
    
    	listPartsResponse.MaxParts = partsInfo.MaxParts
    	listPartsResponse.PartNumberMarker = partsInfo.PartNumberMarker
    	listPartsResponse.IsTruncated = partsInfo.IsTruncated
    	listPartsResponse.NextPartNumberMarker = partsInfo.NextPartNumberMarker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	UserDefined         map[string]string   // only set in case of POST/PUT operations
    	ObjectAttributes    map[string]struct{} // Attribute tags defined by the users for the GetObjectAttributes request
    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    	PartNumberMarker    int                 // used in GetObjectAttributes. Signals the part number after which results should be returned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		return
    	}
    
    	uploadID, partNumberMarker, maxParts, encodingType, s3Error := getObjectResources(r.Form)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    	if partNumberMarker < 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPartNumberMarker), r.URL)
    		return
    	}
    	if maxParts < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "NextPartNumberMarker")
    				return
    			}
    		case "MaxParts":
    			z.MaxParts, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "MaxParts")
    				return
    			}
    		case "IsTruncated":
    			z.IsTruncated, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top