| 133 | std::vector<int64_t> g_data_sizes = {kL1Size, kL2Size}; |
| 134 | |
| 135 | void BoundsCheckSetArgs(benchmark::internal::Benchmark* bench) { |
| 136 | for (int64_t size : g_data_sizes) { |
| 137 | for (auto nulls : std::vector<ArgsType>({1000, 10, 2, 1, 0})) { |
| 138 | bench->Args({static_cast<ArgsType>(size), nulls}); |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | BENCHMARK(CheckIndexBoundsInt32)->Apply(BoundsCheckSetArgs); |
| 144 | BENCHMARK(CheckIndexBoundsUInt32)->Apply(BoundsCheckSetArgs); |
nothing calls this directly
no outgoing calls
no test coverage detected