Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ActualSize (0.06 sec)

  1. cmd/xl-storage-format-v1.go

    	ETag       string            `json:"etag,omitempty" msg:"e"`
    	Number     int               `json:"number" msg:"n"`
    	Size       int64             `json:"size" msg:"s"`        // Size of the part on the disk.
    	ActualSize int64             `json:"actualSize" msg:"as"` // Original size of the part without compression or encryption bytes.
    	ModTime    time.Time         `json:"modTime" msg:"mt"`    // Date and time at which the part was uploaded.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		case "s":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "as":
    			z.ActualSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ActualSize")
    				return
    			}
    		case "mt":
    			z.ModTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "i":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    // AddObjectPart - add a new object part in order.
    func (fi *FileInfo) AddObjectPart(partNumber int, partETag string, partSize, actualSize int64, modTime time.Time, idx []byte, checksums map[string]string) {
    	partInfo := ObjectPartInfo{
    		Number:     partNumber,
    		ETag:       partETag,
    		Size:       partSize,
    		ActualSize: actualSize,
    		ModTime:    modTime,
    		Index:      idx,
    		Checksums:  checksums,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		modTime = UTCNow()
    	}
    
    	kind, encrypted := crypto.IsEncrypted(userDefined)
    	actualSize := data.ActualSize()
    	if actualSize < 0 {
    		compressed := fi.IsCompressed()
    		switch {
    		case compressed:
    			// ... nothing changes for compressed stream.
    			// if actualSize is -1 we have no known way to
    			// determine what is the actualSize.
    		case encrypted:
    			decSize, err := sio.DecryptedSize(uint64(n))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    		for i := range fi.Parts {
    			fi.Parts[i].Number = j.PartNumbers[i]
    			fi.Parts[i].Size = j.PartSizes[i]
    			if len(j.PartETags) == len(fi.Parts) {
    				fi.Parts[i].ETag = j.PartETags[i]
    			}
    			fi.Parts[i].ActualSize = j.PartActualSizes[i]
    			if len(j.PartIndices) == len(fi.Parts) {
    				fi.Parts[i].Index = j.PartIndices[i]
    			}
    		}
    	}
    
    	// fi.Erasure.Checksums - is left empty since we do not have any
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  6. cmd/xl-storage.go

    		if attemptInline {
    			inlineBlock := globalStorageClass.InlineBlock()
    			if inlineBlock <= 0 {
    				inlineBlock = 128 * humanize.KiByte
    			}
    
    			canInline := fi.ShardFileSize(fi.Parts[0].ActualSize) <= inlineBlock
    			if canInline {
    				dataPath := pathJoin(volumeDir, path, fi.DataDir, fmt.Sprintf("part.%d", fi.Parts[0].Number))
    				fi.Data, err = s.readAllData(ctx, volume, volumeDir, dataPath)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top