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