Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for object_size (0.13 sec)

  1. cmd/warm-backend-minio.go

    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    		objectSize = maxMultipartPutObjectSize
    	}
    
    	// object size is larger than supported maximum.
    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/speedtest.go

    			result.GETStats.ObjectsPerSec = throughputHighestGet / uint64(opts.objectSize) / uint64(durationSecs)
    			result.PUTStats.ThroughputPerSec = throughputHighestPut / uint64(durationSecs)
    			result.PUTStats.ObjectsPerSec = throughputHighestPut / uint64(opts.objectSize) / uint64(durationSecs)
    			var totalUploadTimes madmin.TimeDurations
    			var totalDownloadTimes madmin.TimeDurations
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/copy-part-range_test.go

    		{"bytes=2-9", 2, 9},
    		{"bytes=2-2", 2, 2},
    		{"bytes=0000-0006", 0, 6},
    	}
    	objectSize := int64(10)
    
    	for _, successCase := range successCases {
    		rs, err := parseCopyPartRangeSpec(successCase.rangeString)
    		if err != nil {
    			t.Fatalf("expected: <nil>, got: %s", err)
    		}
    
    		start, length, err1 := rs.GetOffsetLength(objectSize)
    		if err1 != nil {
    			t.Fatalf("expected: <nil>, got: %s", err1)
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. internal/config/cache/cache.go

    	if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" {
    		objectSize, err := humanize.ParseBytes(d)
    		if err != nil {
    			return cfg, err
    		}
    		cfg.BlockSize = int64(objectSize)
    	}
    
    	cfg.Endpoint = env.Get(EnvEndpoint, kvs.GetWithDefault(Endpoint, DefaultKVS))
    	cfg.clnt = &http.Client{Transport: transport}
    
    	return cfg, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter.go

    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    	type predType uint8
    	const (
    		nonePred predType = iota
    		prefixPred
    		andPred
    		tagPred
    		sizeLtPred
    		sizeGtPred
    	)
    	var predCount int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top