Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for partSizes (0.08 sec)

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

    						return
    					}
    				}
    			}
    		case "PartSizes":
    			var zb0007 uint32
    			zb0007, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "PartSizes")
    				return
    			}
    			if cap(z.PartSizes) >= int(zb0007) {
    				z.PartSizes = (z.PartSizes)[:zb0007]
    			} else {
    				z.PartSizes = make([]int64, zb0007)
    			}
    			for za0006 := range z.PartSizes {
    				z.PartSizes[za0006], err = dc.ReadInt64()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	PartETags          []string          `json:"PartETags" msg:"PartETags,allownil"`             // Part ETags
    	PartSizes          []int64           `json:"PartSizes" msg:"PartSizes"`                      // Part Sizes
    	PartActualSizes    []int64           `json:"PartASizes,omitempty" msg:"PartASizes,allownil"` // Part ActualSizes (compression)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/warm-backend-minio.go

    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    		return minPartSize, nil
    	}
    	return partSize, nil
    }
    
    func (m *warmBackendMinIO) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	partSize, err := optimalPartSize(length)
    	if err != nil {
    		return remoteVersionID(""), err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. cmd/erasure-object.go

    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    		if partLength > (length - totalBytesRead) {
    			partLength = length - totalBytesRead
    		}
    
    		tillOffset := erasure.ShardFileOffset(partOffset, partLength, partSize)
    		// Get the checksums of the current part.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	parentDir := pathutil.Dir(srcFilePath)
    	s.deleteFile(srcVolumeDir, parentDir, false, false)
    
    	return nil
    }
    
    func (s *xlStorage) bitrotVerify(ctx context.Context, partPath string, partSize int64, algo BitrotAlgorithm, sum []byte, shardSize int64) error {
    	// Open the file for reading.
    	file, err := OpenFile(partPath, readMode, 0o666)
    	if err != nil {
    		return osErrToFileErr(err)
    	}
    
    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