Searched refs:gapSize (Results 1 – 3 of 3) sorted by relevance
204 2. 获取下一个内存区域的开始地址和长度,计算该内存区域和上一块内存区域的间隔大小gapSize。206 3. 把内存区域间隔部分视为虚拟的已使用节点,使用上一个内存区域的尾节点,设置其大小为gapSize + OS_MEM_NODE_HEAD_SIZE(即sizeof(struct OsMemUsed…
185 size_t gapSize, const std::string &dstPath) in ExpandFile() argument197 while (totalSize < gapSize) { in ExpandFile()198 if (gapSize - totalSize < BUFFER_LENGTH) { in ExpandFile()199 writeSize = gapSize - totalSize; in ExpandFile()
208 …ory region, and calculate the **gapSize** between the current memory region and its previous memor…210 3. Set the size of the end node of the previous memory region to the sum of **gapSize** and **OS_ME…