| 347 | friend class BasicBitmap<BasicDynamicBitmap<IndexType>, IndexType>; |
| 348 | public: |
| 349 | explicit BasicDynamicBitmap(IndexType size, bool initial_value = false) |
| 350 | : m_words(BitmapBase::WordSizeOfBits(size), initial_value ? BitmapBase::kAllSetMask : 0), |
| 351 | m_size(size) |
| 352 | { |
| 353 | if (initial_value) |
| 354 | BitmapBase::MaskOffTailBits(&m_words[0], size); |
| 355 | } |
| 356 | |
| 357 | explicit BasicDynamicBitmap(StringPiece initial_value) |
| 358 | : m_words(BitmapBase::WordSizeOfBits(initial_value.size())), |
nothing calls this directly
no test coverage detected