Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ShouldInline (0.1 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 78.5K bytes
    - Viewed (0)
Back to top