Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/bucket-handlers.go

    		// The file or text content must be the last field in the form.
    		// You cannot upload more than one file at a time.
    		reader = part
    
    		possibleShardSize := (r.ContentLength - headerLen)
    		if globalStorageClass.ShouldInline(possibleShardSize, false) { // keep versioned false for this check
    			var b bytes.Buffer
    			n, err := io.Copy(&b, reader)
    			if err != nil {
    				apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	tempErasureObj := pathJoin(uniqueID, fi.DataDir, partName)
    
    	defer er.deleteAll(context.Background(), minioMetaTmpBucket, tempObj)
    
    	var inlineBuffers []*bytes.Buffer
    	if globalStorageClass.ShouldInline(erasure.ShardFileSize(data.ActualSize()), opts.Versioned) {
    		inlineBuffers = make([]*bytes.Buffer, len(onlineDisks))
    	}
    
    	shardFileSize := erasure.ShardFileSize(data.Size())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top