- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDecodeChecksumInfo (0.14 sec)
-
cmd/xl-storage-format-v1_gen_test.go
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 BenchmarkDecodeChecksumInfo(b *testing.B) { v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) rd := msgp.NewEndlessReader(buf.Bytes(), b) dc := msgp.NewReader(rd) b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K bytes - Viewed (0)