Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for maxParts (0.09 sec)

  1. 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)
  2. 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)
Back to top