Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for metaArr (0.1 sec)

  1. cmd/erasure-object.go

    	freeVersionID := fi.TierFreeVersionID()
    	freeVersionMarker := fi.TierFreeVersion()
    
    	// Update `xl.meta` content on each disks.
    	for index := range metaArr {
    		if metaArr[index].IsValid() {
    			metaArr[index].ModTime = modTime
    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    				// inlining the data here, that leads to an inconsistent
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    		},
    	}
    	for idx, test := range tests {
    		var metaArr []FileInfo
    		for i := 0; i < 12; i++ {
    			fi := test.fi1
    			if i%2 == 0 {
    				fi = test.fi2
    			}
    			metaArr = append(metaArr, fi)
    		}
    
    		parities := listObjectParities(metaArr, make([]error, len(metaArr)))
    		parity := commonParity(parities, 5)
    		var match int
    		for _, fi := range metaArr {
    			if fi.Erasure.ParityBlocks == parity {
    				match++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	var candidate FileInfo
    	var found bool
    	for i, hash := range metaHashes {
    		if hash == maxHash {
    			if metaArr[i].IsValid() {
    				if !found {
    					candidate = metaArr[i]
    					found = true
    				}
    				props := objProps{
    					succModTime: metaArr[i].SuccessorModTime,
    					numVersions: metaArr[i].NumVersions,
    				}
    				otherPropsMap[props]++
    			}
    		}
    	}
    
    	if found {
    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-healing.go

    		}
    	}
    
    	for _, m := range metaArr {
    		if m.IsValid() {
    			validMeta = m
    			break
    		}
    	}
    
    	if !validMeta.IsValid() {
    		// validMeta is invalid because all xl.meta is missing apparently
    		// we should figure out if dataDirs are also missing > dataBlocks.
    		dataBlocks := (len(metaArr) + 1) / 2
    		if notFoundPartsErrs > dataBlocks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    		erasureDistributionReliable = false
    	}
    
    	metaErrs := make([]error, len(errs))
    
    	for i, onlineDisk := range onlineDisks {
    		if errs[i] != nil {
    			metaErrs[i] = errs[i]
    			continue
    		}
    		if onlineDisk == OfflineDisk {
    			metaErrs[i] = errDiskNotFound
    			continue
    		}
    
    		meta := partsMetadata[i]
    		corrupted := false
    		if filterByETag {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    	xlHeaderVersion = 3
    	xlMetaVersion   = 2
    )
    
    type xlHeaders struct {
    	versions           int
    	headerVer, metaVer uint
    }
    
    func decodeXLHeaders(buf []byte) (x xlHeaders, b []byte, err error) {
    	x.headerVer, buf, err = msgp.ReadUintBytes(buf)
    	if err != nil {
    		return x, buf, err
    	}
    	x.metaVer, buf, err = msgp.ReadUintBytes(buf)
    	if err != nil {
    		return x, buf, err
    	}
    	if x.headerVer > xlHeaderVersion {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

        public static class Options {
    
            @Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID")
            public String sessionId;
    
            @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name")
            public String name;
    
            @Option(name = "-w", aliases = "--webConfigIds", metaVar = "webConfigIds", usage = "Web Config IDs")
            public String webConfigIds;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    		return 0, 0, 0, buf, err
    	}
    	metaVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	if hdrVer > xlHeaderVersion {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl header version %d", metaVer)
    	}
    	if metaVer > xlMetaVersion {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", metaVer)
    	}
    	versions, buf, err = msgp.ReadIntBytes(buf)
    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/api-response.go

    	data := ListVersionsResponse{}
    	var lastObjMetaName string
    	var tagErr, metaErr APIErrorCode = -1, -1
    
    	for _, object := range resp.Objects {
    		if object.Name == "" {
    			continue
    		}
    		// Cache checks for the same object
    		if metadata != nil && lastObjMetaName != object.Name {
    			tagErr = metadata(object.Name, policy.GetObjectTaggingAction)
    			metaErr = metadata(object.Name, policy.GetObjectAction)
    			lastObjMetaName = object.Name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_gen.go

    					}
    					za0010, err = dc.ReadBytes(za0010)
    					if err != nil {
    						err = msgp.WrapError(err, "MetaSys", za0009)
    						return
    					}
    					z.MetaSys[za0009] = za0010
    				}
    			}
    		case "MetaUsr":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "MetaUser")
    					return
    				}
    				z.MetaUser = nil
    			} else {
    				var zb0011 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
Back to top