Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for maxParts (0.14 sec)

  1. cmd/erasure-sets.go

    func (s *erasureSets) ListObjectParts(ctx context.Context, bucket, object, uploadID string, partNumberMarker int, maxParts int, opts ObjectOptions) (result ListPartsInfo, err error) {
    	set := s.getHashedSet(object)
    	return set.ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    }
    
    // Aborts an in-progress multipart operation on hashedSet based on the object name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. cmd/bucket-handlers.go

    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    		if maxParts <= 0 {
    			apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    		maxParts--
    
    		name := part.FormName()
    		if name == "" {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. 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)
  4. cmd/erasure-server-pool.go

    	if z.SinglePool() {
    		return z.serverPools[0].ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    	}
    
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		result, err := pool.ListObjectParts(ctx, bucket, object, uploadID, partNumberMarker, maxParts, opts)
    		if err == nil {
    			return result, nil
    		}
    		if _, ok := err.(InvalidUploadID); ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. 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)
  6. cmd/test-utils_test.go

    }
    
    // return URL for a listing parts on a given upload id.
    func getListMultipartURLWithParams(endPoint, bucketName, objectName, uploadID, maxParts, partNumberMarker, encoding string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("max-parts", maxParts)
    	if partNumberMarker != "" {
    		queryValues.Set("part-number-marker", partNumberMarker)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. cmd/encryption-v1_test.go

    	}{
    		{0, mkSPObj(0)},
    		{1, mkSPObj(1)},
    		{pkgSz - 1, mkSPObj(pkgSz - 1)},
    		{pkgSz, mkSPObj(pkgSz)},
    		{2*pkgSz - 1, mkSPObj(2*pkgSz - 1)},
    		{minPartSz, mkSPObj(minPartSz)},
    		{maxPartSz, mkSPObj(maxPartSz)},
    	}
    
    	for i, test := range testSP {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
       * Maximum length of a full domain name, including separators, and leaving room for the root
       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InternetDomainName.java

       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
       * Maximum length of a full domain name, including separators, and leaving room for the root
       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top