| 162 | } |
| 163 | |
| 164 | static void BenchmarkBitmapVisitBitsetAnd(benchmark::State& state) { |
| 165 | BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) { |
| 166 | int64_t i = 0; |
| 167 | internal::Bitmap::VisitBits( |
| 168 | bitmaps, [&](std::bitset<2> bits) { out->SetBitTo(i++, bits[0] && bits[1]); }); |
| 169 | }); |
| 170 | } |
| 171 | |
| 172 | static void BenchmarkBitmapVisitUInt8And(benchmark::State& state) { |
| 173 | BenchmarkAndImpl(state, [](const internal::Bitmap(&bitmaps)[2], internal::Bitmap* out) { |
nothing calls this directly
no test coverage detected