- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 99 for Msgsize (0.06 seconds)
-
cmd/bucket-replication-utils_gen_test.go
} func TestEncodeDecodeBucketReplicationResyncStatus(t *testing.T) { v := BucketReplicationResyncStatus{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketReplicationResyncStatus Msgsize() is inaccurate") } vn := BucketReplicationResyncStatus{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 23K bytes - Click Count (0) -
cmd/xl-storage-format-v1_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeChecksumInfo(t *testing.T) { v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeChecksumInfo Msgsize() is inaccurate") } vn := ChecksumInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
cmd/object-api-interface_gen.go
} o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BucketOptions) Msgsize() (s int) { s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize return } // MarshalMsg implements msgp.Marshaler func (z ExpirationOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 1Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.7K bytes - Click Count (0) -
cmd/storage-rest-common_gen.go
} } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *nsScannerResp) Msgsize() (s int) { s = 1 + 2 if z.Update == nil { s += msgp.NilSize } else { s += z.Update.Msgsize() } s += 2 if z.Final == nil { s += msgp.NilSize } else { s += z.Final.Msgsize() } returnCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
cmd/erasure-server-pool-decom_gen_test.go
} } } func TestEncodeDecodePoolDecommissionInfo(t *testing.T) { v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodePoolDecommissionInfo Msgsize() is inaccurate") } vn := PoolDecommissionInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11K bytes - Click Count (0) -
cmd/batch-rotate_gen_test.go
} } func TestEncodeDecodeBatchJobKeyRotateEncryption(t *testing.T) { v := BatchJobKeyRotateEncryption{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobKeyRotateEncryption Msgsize() is inaccurate") } vn := BatchJobKeyRotateEncryption{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/batch-job-common-types_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeBatchJobKV(t *testing.T) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobKV Msgsize() is inaccurate") } vn := BatchJobKV{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.3K bytes - Click Count (0) -
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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.9K bytes - Click Count (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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0)