(b *testing.B)
| 158 | } |
| 159 | |
| 160 | func BenchmarkReadNilByte(b *testing.B) { |
| 161 | buf := []byte{mnil} |
| 162 | b.SetBytes(1) |
| 163 | b.ReportAllocs() |
| 164 | b.ResetTimer() |
| 165 | for i := 0; i < b.N; i++ { |
| 166 | ReadNilBytes(buf) |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | func TestReadFloat64Bytes(t *testing.T) { |
| 171 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected
searching dependent graphs…