- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 811 for msgp (0.03 sec)
-
cmd/last-minute_gen.go
switch msgp.UnsafeString(field) { case "Total": z.Total, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { err = msgp.WrapError(err, "Total") return } case "Size": z.Size, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { err = msgp.WrapError(err, "Size") return } case "N": z.N, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { err = msgp.WrapError(err, "N")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 17.2K bytes - Viewed (0) -
cmd/batch-rotate_gen.go
s = 1 + 10 + msgp.DurationSize + 10 + msgp.DurationSize + 13 + msgp.TimeSize + 14 + msgp.TimeSize + 5 + msgp.ArrayHeaderSize for za0001 := range z.Tags { s += z.Tags[za0001].Msgsize() } s += 9 + msgp.ArrayHeaderSize for za0002 := range z.Metadata { s += z.Metadata[za0002].Msgsize() } s += 9 + msgp.StringPrefixSize + len(z.KMSKeyID) return } // DecodeMsg implements msgp.Decodable
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen_test.go
v := healingTracker{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodehealingTracker Msgsize() is inaccurate") } vn := healingTracker{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "id": z.DiskID, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "DiskID") return } case "m": z.ScanMode, bts, err = msgp.ReadIntBytes(bts) if err != nil { err = msgp.WrapError(err, "ScanMode") return } case "c": if msgp.IsNil(bts) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/mrf_gen.go
func (z *PartialOperation) Msgsize() (s int) { s = 1 + 7 + msgp.StringPrefixSize + len(z.Bucket) + 7 + msgp.StringPrefixSize + len(z.Object) + 10 + msgp.StringPrefixSize + len(z.VersionID) + 9 + msgp.BytesPrefixSize + len(z.Versions) + 9 + msgp.IntSize + 10 + msgp.IntSize + 7 + msgp.TimeSize + 11 + msgp.BoolSize return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/debugging/inspect/export.go
return } z.ModTime, bts, e = msgp.ReadInt64Bytes(bts) if e != nil { e = msgp.WrapError(e, "ModTime") return } bts, e = msgp.ReadExactBytes(bts, (z.Signature)[:]) if e != nil { e = msgp.WrapError(e, "Signature") return } { var zb0002 uint8 zb0002, bts, e = msgp.ReadUint8Bytes(bts) if e != nil { e = msgp.WrapError(e, "Type") return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
cmd/tier_gen.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/minio/madmin-go/v3" "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *TierConfigMgr) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
cmd/site-replication-metrics_gen_test.go
v := RStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeRStat(b *testing.B) { v := RStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) rd := msgp.NewEndlessReader(buf.Bytes(), b)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 12.9K bytes - Viewed (0) -
internal/grid/msg_gen_test.go
v := connectReq{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeconnectReq Msgsize() is inaccurate") } vn := connectReq{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
s += msgp.NilSize } else { s += msgp.BoolSize } s += 6 if z.Batch == nil { s += msgp.NilSize } else { s += msgp.IntSize } s += 9 if z.InMemory == nil { s += msgp.NilSize } else { s += msgp.BoolSize } s += 9 if z.Compress == nil { s += msgp.NilSize } else { s += msgp.BoolSize } s += 12
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0)