(b *testing.B)
| 35 | } |
| 36 | |
| 37 | func BenchmarkEncodeVarintShort(b *testing.B) { |
| 38 | c := [10]byte{} |
| 39 | |
| 40 | for range b.N { |
| 41 | encodeVarint(c[:], 0) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func BenchmarkEncodeVarintLong(b *testing.B) { |
| 46 | c := [10]byte{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…