Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MaxParts (0.06 sec)

  1. cmd/object-handlers_test.go

    	testCases := []struct {
    		fault            Fault
    		partNumberMarker string
    		maxParts         string
    		expectedErr      APIError
    	}{
    		// Test case - 1.
    		// case where a signature mismatch is introduced and the response is validated.
    		{
    			fault:            BadSignature,
    			partNumberMarker: "",
    			maxParts:         "",
    			expectedErr:      signatureMismatchErr,
    		},
    
    		// Test case - 2.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		OA.ObjectParts.MaxParts = opts.MaxParts
    		partsLength := len(objInfo.Parts)
    		OA.ObjectParts.PartsCount = partsLength
    
    		if opts.MaxParts > -1 {
    			for i, v := range objInfo.Parts {
    				if v.Number <= opts.PartNumberMarker {
    					continue
    				}
    
    				if len(OA.ObjectParts.Parts) == opts.MaxParts {
    					break
    				}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top