- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 96 for Msgsize (0.08 sec)
-
cmd/tier_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeTierConfigMgr(t *testing.T) { v := TierConfigMgr{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeTierConfigMgr Msgsize() is inaccurate") } vn := TierConfigMgr{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
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/metacache-set_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodelistPathOptions(t *testing.T) { v := listPathOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodelistPathOptions Msgsize() is inaccurate") } vn := listPathOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/metacache-walk_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeWalkDirOptions(t *testing.T) { v := WalkDirOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeWalkDirOptions Msgsize() is inaccurate") } vn := WalkDirOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/site-replication-utils_gen_test.go
b.Fatal(err) } } } func TestEncodeDecodeSiteResyncStatus(t *testing.T) { v := SiteResyncStatus{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeSiteResyncStatus Msgsize() is inaccurate") } vn := SiteResyncStatus{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 2.4K bytes - Viewed (0) -
cmd/metacache-walk_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7K bytes - Viewed (0) -
cmd/metacache_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
cmd/metacache-set_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
internal/grid/types_test.go
b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgMSS(b *testing.B) { v := MSS{"abc": "def", "ghi": "jkl"} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 3.7K bytes - Viewed (0) -
internal/grid/handlers.go
if c == nil { if h.ignoreNilConn { return resp, nil } return resp, ErrDisconnected } payload, err := req.MarshalMsg(GetByteBufferCap(req.Msgsize())) if err != nil { return resp, err } switch any(req).(type) { case *MSS, *URLValues: ctx = context.WithValue(ctx, TraceParamsKey{}, req) case *NoPayload, *Bytes:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
cmd/bucket-metadata_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 25.4K bytes - Viewed (0)