| 1711 | } |
| 1712 | } |
| 1713 | void SetGlobalFree(char* ptr) { |
| 1714 | i64 nShift = ptr - Start; |
| 1715 | i64 nOffsetInStep = nShift & (N_CHUNK_SIZE - 1); |
| 1716 | while (nOffsetInStep + Size <= N_CHUNK_SIZE) { |
| 1717 | ++FreeCount; |
| 1718 | Entries[nOffsetInStep / Size] = 1; |
| 1719 | nOffsetInStep += Size; |
| 1720 | } |
| 1721 | } |
| 1722 | }; |
| 1723 | |
| 1724 | static void DumpMemoryBlockUtilizationLocked() { |
no outgoing calls
no test coverage detected