- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FreeVersions (0.1 sec)
-
cmd/xl-storage-free-version_test.go
// Check number of free-versions freeVersions, err := xl.listFreeVersions(newtierfi.Volume, newtierfi.Name) if err != nil { t.Fatalf("failed to list free versions %v", err) } if len(freeVersions) != 2 { t.Fatalf("Expected two free versions but got %d", len(freeVersions)) } freeVersionsTests := []struct { vol string name string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
// such that finally fivs.Versions has // all the non-free versions and fivs.FreeVersions has all the free // versions. n := 0 for _, fi := range fivs.Versions { // filter our tier object delete marker if fi.TierFreeVersion() { if !inclFreeVersions { fivs.FreeVersions = append(fivs.FreeVersions, fi) } } else { if !inclFreeVersions { fivs.Versions[n] = fi } n++ }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
t.Fatalf("getFileInfoVersions: version with %s version id expected to have %d as NumVersions but got %d", fi.VersionID, len(fivs.Versions), fi.NumVersions) } } for i, free := range fivs.FreeVersions { if free.VersionID != freeVersionIDs[i] { t.Fatalf("getFileInfoVersions: free versions don't match at %d, version id expected %s but got %s", i, free.VersionID, freeVersionIDs[i]) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
if err != nil { err = msgp.WrapError(err, "FreeVersions") return } if cap(z.FreeVersions) >= int(zb0003) { z.FreeVersions = (z.FreeVersions)[:zb0003] } else { z.FreeVersions = make([]FileInfo, zb0003) } for za0002 := range z.FreeVersions { err = z.FreeVersions[za0002].DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "FreeVersions", za0002) return } } return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/storage-datatypes.go
// Name of the file. Name string `msg:"n,omitempty"` // Represents the latest mod time of the // latest version. LatestModTime time.Time `msg:"lm"` Versions []FileInfo `msg:"vs"` FreeVersions []FileInfo `msg:"fvs"` } // findVersionIndex will return the version index where the version // was found. Returns -1 if not found. func (f *FileInfoVersions) findVersionIndex(v string) int {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/xl-storage.go
if globalTrace.NumSubscribers(madmin.TraceScanner) > 0 { if len(fivs.FreeVersions) > 0 { res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions)) } if sizeS.versions > 0 { res["versions"] = strconv.FormatUint(sizeS.versions, 10) } res["size"] = strconv.FormatInt(sizeS.totalSize, 10) for name, tier := range sizeS.tiers {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)