| 179 | } |
| 180 | |
| 181 | static void BenchmarkBitmapVisitUInt64And(benchmark::State& state) { |
| 182 | BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) { |
| 183 | int64_t i = 0; |
| 184 | internal::Bitmap::VisitWords(bitmaps, [&](std::array<uint64_t, 2> uint64s) { |
| 185 | reinterpret_cast<uint64_t*>(out->mutable_data())[i++] = uint64s[0] & uint64s[1]; |
| 186 | }); |
| 187 | }); |
| 188 | } |
| 189 | |
| 190 | template <typename BitmapReaderType> |
| 191 | static void BenchmarkBitmapReader(benchmark::State& state, int64_t nbytes) { |
nothing calls this directly
no test coverage detected