| 364 | |
| 365 | private: |
| 366 | value_type* scan_next(uint & index, uint * found_index) |
| 367 | { |
| 368 | assert(index <= m_max); |
| 369 | |
| 370 | value_type *pfs_first= m_array.get_first(); |
| 371 | value_type *pfs= pfs_first + index; |
| 372 | value_type *pfs_last= m_array.get_last(); |
| 373 | |
| 374 | while (pfs < pfs_last) |
| 375 | { |
| 376 | if (pfs->m_lock.is_populated()) |
| 377 | { |
| 378 | uint found= pfs - pfs_first; |
| 379 | *found_index= found; |
| 380 | index= found + 1; |
| 381 | return pfs; |
| 382 | } |
| 383 | pfs++; |
| 384 | } |
| 385 | |
| 386 | index= m_max; |
| 387 | return NULL; |
| 388 | } |
| 389 | |
| 390 | ulong m_max; |
| 391 | array_type m_array; |
nothing calls this directly
no test coverage detected