Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for matchesNotStrict (0.07 sec)

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

    		time.Unix(0, x.ModTime),
    		x.Flags.String(),
    		x.EcN, x.EcM,
    	)
    }
    
    // matchesNotStrict returns whether x and o have both have non-zero version,
    // their versions match and their type match.
    // If they have zero version, modtime must match.
    func (x xlMetaV2VersionHeader) matchesNotStrict(o xlMetaV2VersionHeader) (ok bool) {
    	ok = x.VersionID == o.VersionID && x.Type == o.Type && x.matchesEC(o)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  2. cmd/metacache-entries.go

    				// Compare without considering EC.
    				a, b := eVer.header, oVer.header
    				a.EcN, a.EcM = 0, 0
    				b.EcN, b.EcM = 0, 0
    				if a == b {
    					continue
    				}
    			}
    			if !strict && eVer.header.matchesNotStrict(oVer.header) {
    				if prefer == nil {
    					if eVer.header.sortsBefore(oVer.header) {
    						prefer = e
    					} else {
    						prefer = other
    					}
    				}
    				continue
    			}
    			if prefer != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top