(b *testing.B)
| 143 | } |
| 144 | |
| 145 | func BenchmarkBlockCallback64(b *testing.B) { |
| 146 | set := newBenchSet() |
| 147 | b.ResetTimer() |
| 148 | total := 0 |
| 149 | for i := 0; i < b.N; i++ { |
| 150 | set.IterBlockCallback(64, func(vs []int) { |
| 151 | for v := range vs { |
| 152 | total += v |
| 153 | } |
| 154 | }) |
| 155 | } |
| 156 | _ = total |
| 157 | } |
nothing calls this directly
no test coverage detected