Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
(b *testing.B)
| 119 | // Verifies: SYS-REQ-015 [example] |
| 120 | // MCDC SYS-REQ-015: N/A |
| 121 | func BenchmarkParseInt(b *testing.B) { |
| 122 | bytes := []byte("123") |
| 123 | for i := 0; i < b.N; i++ { |
| 124 | parseInt(bytes) |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // Alternative implementation using unsafe and delegating to strconv.ParseInt |
| 129 | // Verifies: SYS-REQ-015 [example] |
nothing calls this directly
no test coverage detected
searching dependent graphs…