Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for partsMetadata (0.44 sec)

  1. cmd/erasure-healing-common.go

    			return etags
    		}
    	}
    
    	return make([]string, len(partsMetadata))
    }
    
    // Extracts list of times from FileInfo slice and returns, skips
    // slice elements which have errors.
    func listObjectModtimes(partsMetadata []FileInfo, errs []error) (modTimes []time.Time) {
    	modTimes = bootModtimes(len(partsMetadata))
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    	if maxOcc == 0 {
    		// Did not found anything useful
    		return -1
    	}
    	return cparity
    }
    
    func listObjectParities(partsMetadata []FileInfo, errs []error) (parities []int) {
    	totalShards := len(partsMetadata)
    	parities = make([]int, len(partsMetadata))
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			parities[index] = -1
    			continue
    		}
    		if !metadata.IsValid() {
    			parities[index] = -1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			continue
    		}
    		partsMetadata[i].Data = inlineBuffers[i].Bytes()
    		partsMetadata[i].AddObjectPart(1, "", n, data.ActualSize(), modTime, index, nil)
    	}
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    	for index := range partsMetadata {
    		partsMetadata[index].Size = n
    		partsMetadata[index].Fresh = true
    		partsMetadata[index].ModTime = modTime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top