Accessors to set/reset/get bits. The range of index is [0, size()-1]. There is debug-only bounds checking.
| 71 | // The range of index is [0, size()-1]. |
| 72 | // There is debug-only bounds checking. |
| 73 | void SetBit(int index) { |
| 74 | array_[WordIndex(index)] |= BitMask(index); |
| 75 | } |
| 76 | void ResetBit(int index) { |
| 77 | array_[WordIndex(index)] &= ~BitMask(index); |
| 78 | } |
no outgoing calls
no test coverage detected