- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 208 for ss_size (0.11 sec)
-
cmd/batch-job-common-types_gen.go
bts, err = msgp.Skip(bts) if err != nil { err = msgp.WrapError(err) return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BatchJobKV) Msgsize() (s int) { s = 1 + 4 + msgp.StringPrefixSize + len(z.Key) + 6 + msgp.StringPrefixSize + len(z.Value) return } // DecodeMsg implements msgp.Decodable
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z rstats) Msgsize() (s int) { s = msgp.ArrayHeaderSize for zb0003 := range z { if z[zb0003] == nil { s += msgp.NilSize } else { s += z[zb0003].Msgsize() } } return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
err = msgp.WrapError(err) return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *lastDayTierStats) Msgsize() (s int) { s = 1 + 5 + msgp.ArrayHeaderSize for za0001 := range z.Bins { s += z.Bins[za0001].Msgsize() } s += 10 + msgp.TimeSize return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/tier_gen.go
} } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *TierConfigMgr) Msgsize() (s int) { s = 1 + 6 + msgp.MapHeaderSize if z.Tiers != nil { for za0001, za0002 := range z.Tiers { _ = za0002 s += msgp.StringPrefixSize + len(za0001) + za0002.Msgsize() } } return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 4K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodehealingTracker(t *testing.T) { 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)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
internal/grid/types.go
*j.val = t } return bytes, json.Unmarshal(val, j.val) } // Msgsize returns the size of an empty JSON object. func (j *JSON[T]) Msgsize() int { return j.p.emptySz } // NoPayload is a type that can be used for handlers that do not use a payload. type NoPayload struct{} // Msgsize returns 0. func (p NoPayload) Msgsize() int { return 0 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 01 23:42:09 UTC 2024 - 15.4K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen.go
bts, err = msgp.Skip(bts) if err != nil { err = msgp.WrapError(err) return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BucketBandwidthReport) Msgsize() (s int) { s = 1 return } // DecodeMsg implements msgp.Decodable func (z *Details) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
len(z.UserTags) + 5 + msgp.BoolSize + 18 + z.ReplicationStatus.Msgsize() + 26 + msgp.StringPrefixSize + len(z.ReplicationStatusInternal) + 27 + msgp.StringPrefixSize + len(z.VersionPurgeStatusInternal) + 19 + z.VersionPurgeStatus.Msgsize() + 17 + z.ReplicationState.Msgsize() + 13 + msgp.BoolSize + 7 + z.OpType.Msgsize() + 10 + msgp.StringPrefixSize + len(z.EventType) + 11 + msgp.Uint32Size + 8 + msgp.StringPrefixSize + len(z.ResetID) + 4 + z.Dsc.Msgsize() + 18 + z.ExistingObjResync.Msgsize() + 10 + msgp.StringPrefixSize...
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
cmd/batch-expire_gen.go
} } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *BatchJobExpire) Msgsize() (s int) { s = 1 + 11 + msgp.StringPrefixSize + len(z.APIVersion) + 7 + msgp.StringPrefixSize + len(z.Bucket) + 7 + msgp.StringPrefixSize + len(z.Prefix) + 16 + z.NotificationCfg.Msgsize() + 6 + z.Retry.Msgsize() + 6 + msgp.ArrayHeaderSize for za0001 := range z.Rules {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 19.8K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen_test.go
} } } func TestEncodeDecodeBucketBandwidthReport(t *testing.T) { v := BucketBandwidthReport{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketBandwidthReport Msgsize() is inaccurate") } vn := BucketBandwidthReport{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0)