计算机二级:内存池的C++实现代码 ... USHORT m_nGrowSize;//新增的可分配空间数目 MemoryBlock* m_pFirst;//指向第一个内存块 void* Alloc();//分配内存 ...
基于28个网页-相关网页
指向第一个内存块
Point to the first memory block
以上为机器翻译结果,长、整句建议使用 人工翻译 。
清单 1 中的代码将分配两个 512 字节的内存块,然后指向第一个内存块的指针被设定为指向第二个内存块。
The code in Listing 1 allocates two 512-byte blocks of memory, and then the pointer to the first block is set to the second block.
youdao
应用推荐
模块上移
模块下移
不移动