| 1703 | Finish = Start + N_CHUNK_SIZE; |
| 1704 | } |
| 1705 | void CheckBlock(char* pBlock) { |
| 1706 | if (pBlock && pBlock >= Start && pBlock < Finish) { |
| 1707 | ++FreeCount; |
| 1708 | i64 nShift = pBlock - Start; |
| 1709 | i64 nOffsetInStep = nShift & (N_CHUNK_SIZE - 1); |
| 1710 | Entries[nOffsetInStep / Size] = 1; |
| 1711 | } |
| 1712 | } |
| 1713 | void SetGlobalFree(char* ptr) { |
| 1714 | i64 nShift = ptr - Start; |
| 1715 | i64 nOffsetInStep = nShift & (N_CHUNK_SIZE - 1); |
no outgoing calls
no test coverage detected