MCPcopy Create free account
hub / github.com/apache/arrow / BoundsCheckSetArgs

Function BoundsCheckSetArgs

cpp/src/arrow/util/int_util_benchmark.cc:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133std::vector<int64_t> g_data_sizes = {kL1Size, kL2Size};
134
135void 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
143BENCHMARK(CheckIndexBoundsInt32)->Apply(BoundsCheckSetArgs);
144BENCHMARK(CheckIndexBoundsUInt32)->Apply(BoundsCheckSetArgs);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected