Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 5MB (0.01 sec)

  1. cmd/object-api-multipart_test.go

    // BenchmarkPutObjectPart5MbFS - Benchmark FS.PutObjectPart() for object size of 5MB.
    func BenchmarkPutObjectPart5MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 5*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart5MbErasure - Benchmark Erasure.PutObjectPart() for object size of 5MB.
    func BenchmarkPutObjectPart5MbErasure(b *testing.B) {
    	benchmarkPutObjectPart(b, "Erasure", 5*humanize.MiByte)
    }
    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/object-api-errors.go

    		e.PartNumber, e.ExpETag, e.GotETag)
    }
    
    // PartTooSmall - error if part size is less than 5MB.
    type PartTooSmall struct {
    	PartSize   int64
    	PartNumber int
    	PartETag   string
    }
    
    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    				return oi, InvalidPart{
    					PartNumber: part.PartNumber,
    				}
    			}
    			checksumCombined = append(checksumCombined, cs.Raw...)
    		}
    
    		// All parts except the last part has to be at least 5MB.
    		if (i < len(parts)-1) && !isMinAllowedPartSize(currentFI.Parts[partIdx].ActualSize) {
    			return oi, PartTooSmall{
    				PartNumber: part.PartNumber,
    				PartSize:   expPart.ActualSize,
    				PartETag:   part.ETag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the HTTP request to create bucket.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, 200)
    
    	// Create a byte array of 5MB.
    	// content for the object to be uploaded.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	// calculate etag of the data.
    	etagBase64 := getMD5HashBase64(data)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top