Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for ActualSize (0.11 sec)

  1. internal/s3select/select.go

    	closerErr error
    }
    
    // NewObjectReadSeekCloser creates a new ObjectReadSeekCloser.
    func NewObjectReadSeekCloser(segmentReader ObjectSegmentReaderFn, actualSize int64) *ObjectReadSeekCloser {
    	return &ObjectReadSeekCloser{
    		segmentReader: segmentReader,
    		size:          actualSize,
    		offset:        0,
    		reader:        nil,
    	}
    }
    
    // Seek call to implement io.Seeker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	oi := gr.ObjInfo
    
    	defer func() {
    		gr.Close()
    		auditLogRebalance(ctx, "RebalanceCopyData", oi.Bucket, oi.Name, oi.VersionID, err)
    	}()
    
    	actualSize, err := oi.GetActualSize()
    	if err != nil {
    		return err
    	}
    
    	if oi.isMultipart() {
    		res, err := z.NewMultipartUpload(ctx, bucket, oi.Name, ObjectOptions{
    			VersionID:    oi.VersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    		},
    		Parts: []ObjectPartInfo{
    			{
    				ETag:       "",
    				Number:     1,
    				Size:       329289,
    				ActualSize: 329289,
    				ModTime:    time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC),
    				Index:      []uint8(nil),
    				Checksums:  map[string]string(nil),
    			},
    		},
    		Erasure: ErasureInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	for _, partInfo := range objInfo.Parts {
    		if isSSEC {
    			hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.Size), partInfo.Size, "", "", partInfo.ActualSize)
    		} else {
    			hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.ActualSize), partInfo.ActualSize, "", "", partInfo.ActualSize)
    		}
    		if err != nil {
    			return err
    		}
    
    		cHeader := http.Header{}
    		cHeader.Add(xhttp.MinIOSourceReplicationRequest, "true")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    	objInfo := gr.ObjInfo
    
    	defer func() {
    		gr.Close()
    		auditLogDecom(ctx, "DecomCopyData", objInfo.Bucket, objInfo.Name, objInfo.VersionID, err)
    	}()
    
    	actualSize, err := objInfo.GetActualSize()
    	if err != nil {
    		return err
    	}
    
    	if objInfo.isMultipart() {
    		res, err := z.NewMultipartUpload(ctx, bucket, objInfo.Name, ObjectOptions{
    			VersionID:    objInfo.VersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    	rstate.ReplicateDecisionStr = dsc.String()
    	asz, _ := oi.GetActualSize()
    
    	r := ReplicateObjectInfo{
    		Name:                       oi.Name,
    		Size:                       oi.Size,
    		ActualSize:                 asz,
    		Bucket:                     oi.Bucket,
    		VersionID:                  oi.VersionID,
    		ETag:                       oi.ETag,
    		ModTime:                    oi.ModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    		}
    
    		erasureInfo := latestMeta.Erasure
    		for partIndex := 0; partIndex < len(latestMeta.Parts); partIndex++ {
    			partSize := latestMeta.Parts[partIndex].Size
    			partActualSize := latestMeta.Parts[partIndex].ActualSize
    			partModTime := latestMeta.Parts[partIndex].ModTime
    			partNumber := latestMeta.Parts[partIndex].Number
    			partIdx := latestMeta.Parts[partIndex].Index
    			partChecksums := latestMeta.Parts[partIndex].Checksums
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. 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)
  9. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to cfgreate xlStorage test setup, %s", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. 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