| 48 | } |
| 49 | |
| 50 | inline void Set(int bit) |
| 51 | { |
| 52 | const int wordIndex = bit/kWordSize; |
| 53 | const int bitIndex = bit&(kWordSize-1); |
| 54 | |
| 55 | const Word word = mBits[wordIndex]; |
| 56 | |
| 57 | mBits[wordIndex] = word|(1<<bitIndex); |
| 58 | } |
| 59 | |
| 60 | inline void Reset(int bit) |
| 61 | { |
no outgoing calls
no test coverage detected