| 400 | } |
| 401 | |
| 402 | PX_INLINE PxU32 getNext() |
| 403 | { |
| 404 | if (mBlock) |
| 405 | { |
| 406 | PxU32 bitIndex = mIndex << 5 | Ps::lowestSetBit(mBlock); |
| 407 | mBlock &= mBlock - 1; |
| 408 | PxU32 wordCount = mBitMap.getWordCount(); |
| 409 | while (!mBlock && (mIndex = ((mIndex+1)%wordCount)) != mStartIndex) |
| 410 | mBlock = mBitMap.mMap[mIndex]; |
| 411 | return bitIndex; |
| 412 | } |
| 413 | return DONE; |
| 414 | } |
| 415 | |
| 416 | private: |
| 417 | PxU32 mBlock, mIndex; |
nothing calls this directly
no test coverage detected