| 116 | } |
| 117 | |
| 118 | static void CheckIndexBoundsUInt32( |
| 119 | benchmark::State& state) { // NOLINT non-const reference |
| 120 | GenericItemsArgs args(state); |
| 121 | random::RandomArrayGenerator rand(kSeed); |
| 122 | auto arr = rand.UInt32(args.size, 0, 100000, args.null_proportion); |
| 123 | for (auto _ : state) { |
| 124 | ABORT_NOT_OK(CheckIndexBounds(*arr->data(), 100001)); |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | BENCHMARK(DetectUIntWidthNoNulls); |
| 129 | BENCHMARK(DetectUIntWidthNulls); |
nothing calls this directly
no test coverage detected