- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ShouldInline (0.06 sec)
-
internal/config/storageclass/storage-class.go
default: if !sCfg.initialized { return -1 } return sCfg.Standard.Parity } } // ShouldInline returns true if the shardSize is worthy of inline // if versioned is true then we chosen 1/8th inline block size // to satisfy the same constraints. func (sCfg *Config) ShouldInline(shardSize int64, versioned bool) bool { if shardSize < 0 { return false } ConfigLock.RLock()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 63.9K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 80.4K bytes - Viewed (0)