| 170 | } |
| 171 | |
| 172 | static void BenchmarkBitmapVisitUInt8And(benchmark::State& state) { |
| 173 | BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) { |
| 174 | int64_t i = 0; |
| 175 | internal::Bitmap::VisitWords(bitmaps, [&](std::array<uint8_t, 2> uint8s) { |
| 176 | reinterpret_cast<uint8_t*>(out->mutable_data())[i++] = uint8s[0] & uint8s[1]; |
| 177 | }); |
| 178 | }); |
| 179 | } |
| 180 | |
| 181 | static void BenchmarkBitmapVisitUInt64And(benchmark::State& state) { |
| 182 | BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) { |
nothing calls this directly
no test coverage detected