- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for VersionType (0.08 sec)
-
cmd/xl-storage-format-v2-legacy.go
err = msgp.WrapError(err, "ModTime") return } { var zb0002 uint8 zb0002, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err, "Type") return } x.Type = VersionType(zb0002) } { var zb0003 uint8 zb0003, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err, "Flags") return } x.Flags = xlFlags(zb0003) } o = bts
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 16:43:43 UTC 2024 - 5.7K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
return } // DecodeMsg implements msgp.Decodable func (z *VersionType) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint8 zb0001, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err) return } (*z) = VersionType(zb0001) } return } // EncodeMsg implements msgp.Encodable func (z VersionType) EncodeMsg(en *msgp.Writer) (err error) { err = en.WriteUint8(uint8(z))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
// │ └── part.1 // └── xl.meta // VersionType defines the type of journal type of the current entry. type VersionType uint8 // List of different types of journal type const ( invalidVersionType VersionType = 0 ObjectType VersionType = 1 DeleteType VersionType = 2 LegacyType VersionType = 3 lastVersionType VersionType = 4 ) func (e VersionType) valid() bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
cmd/xl-storage-format-v2_test.go
vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers)) for i, ver := range vers { newVers := make([]xlMetaV2ShallowVersion, 0, len(ver)) for _, v := range ver { v.header.Type += VersionType(i + 10) newVers = append(newVers, v) } vMod = append(vMod, newVers) } merged := mergeXLV2Versions(i, true, 0, vMod...) if len(merged) == 0 && i < 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0)