- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for UnmarshalMsg (0.12 sec)
-
cmd/tier-last-day-stats_gen_test.go
v := DailyAllTierStats{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen_test.go
v := BucketBandwidthReport{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0) -
internal/bucket/replication/datatypes_gen.go
func (z StatusType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendString(o, string(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *StatusType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 string zb0001, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 19:08:18 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendInt(o, int(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 int zb0001, bts, err = msgp.ReadIntBytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
internal/grid/msg_gen.go
// MarshalMsg implements msgp.Marshaler func (z Flags) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *Flags) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint8 zb0001, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
func (z rebalSaveOpts) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) o = msgp.AppendUint8(o, uint8(z)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *rebalSaveOpts) UnmarshalMsg(bts []byte) (o []byte, err error) { { var zb0001 uint8 zb0001, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
case "Filter": bts, err = z.Filter.UnmarshalMsg(bts) if err != nil { err = msgp.WrapError(err, "Filter") return } case "Notify": bts, err = z.Notify.UnmarshalMsg(bts) if err != nil { err = msgp.WrapError(err, "Notify") return } case "Retry": bts, err = z.Retry.UnmarshalMsg(bts) if err != nil { err = msgp.WrapError(err, "Retry")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 40.7K bytes - Viewed (0) -
cmd/last-minute_gen.go
o = append(o, 0xa4, 0x53, 0x69, 0x7a, 0x65) o = msgp.AppendInt64(o, z.Size) // string "N" o = append(o, 0xa1, 0x4e) o = msgp.AppendInt64(o, z.N) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *AccElem) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err)
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/site-replication-metrics_gen.go
o = msgp.AppendInt64(o, z.Count) // string "Bytes" o = append(o, 0xa5, 0x42, 0x79, 0x74, 0x65, 0x73) o = msgp.AppendInt64(o, z.Bytes) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *RStat) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2-legacy.go
switch v { case 1: return x.unmarshalV1(bts) case 2: x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x} return x2.UnmarshalMsg(bts) case xlHeaderVersion: return x.UnmarshalMsg(bts) } return bts, fmt.Errorf("unknown xlHeaderVersion: %d", v) } // unmarshalV1 decodes version 1, never released.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 16:43:43 UTC 2024 - 5.7K bytes - Viewed (0)