- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkAppendMsgFileInfo (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/storage-datatypes_gen_test.go
} } func BenchmarkMarshalMsgFileInfo(b *testing.B) { v := FileInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgFileInfo(b *testing.B) { v := FileInfo{} 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++ {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 73.9K bytes - Click Count (0)