Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dup3 (0.16 sec)

  1. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/metacache-entries.go

    			// of this fashion such as
    			//  - foo-1
    			//  - foo-1/
    			// we should avoid this situation by making sure that
    			// we compare the `foo-1/` after path.Clean() to
    			// de-dup the entries.
    			if path.Clean(best.name) == path.Clean(other.name) {
    				toMerge = append(toMerge, otherIdx)
    				continue
    			}
    			if best.name > other.name {
    				toMerge = toMerge[:0]
    				best = other
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	}
    
    	// Sanity check. Enable if duplicates show up.
    	if false {
    		found := make(map[[16]byte]struct{})
    		for _, ver := range merged {
    			if _, ok := found[ver.header.VersionID]; ok {
    				panic("found dupe")
    			}
    			found[ver.header.VersionID] = struct{}{}
    		}
    	}
    	return merged
    }
    
    type xlMetaBuf []byte
    
    // ToFileInfo converts xlMetaV2 into a common FileInfo datastructure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top