allocator
allocator什么意思,allocator翻译
基本解释
n.: 分配器;〔计〕分配符;〔技〕分配程序;分配者
网络: 配置器;空间配置器;内存分配器
英汉解释
连续编辑程序
分配者
〔计〕分配符;〔技〕分配程序
分配器
例句
Memory above the base of a module can be precious, so the allocator should be used to allocate memory only for a function body.
高于模块基址的内存十分宝贵,因此分配器仅应用于为函数体分配内存。
If locality were the only goal, an allocator might always allocate each successive chunk as close to the previous one as possible.
如果局部化是唯一的目标,分配器可能总是尽可能接近的分配每个连续的块。
Since it operates on the system break (a global variable), it cannot coexist with any other allocator or with mmap.
由于它对系统中断点(一个全局变量)进行操作,所以它不能与其他分配程序或者mmap一起使用。
The storage allocator in Chapter 8 shows how a union can be used to force a variable to be aligned on a particular kind of storage boundary.
第8章的存储分配程序将说明如何使用联合来强制一个变量在特定类型的存储边界上对齐。
As they discuss, minimizing space by minimizing wastage (generally due to fragmentation) must be the primary goal in any allocator.
和他们讨论的一样,通过最小化浪费(通常由分段导致)而最小化空间对于任何分配器来说都必须是一个主要目标。
However, over the years, the allocator has evolved to make trade-offs that the majority of users find to be acceptable.
尽管如此,这些年来,这个分配器已经进化到做了一些大部分用户都可以接受的取舍。
The last three parameters are used to specify the collection type of the relation, the information member and the allocator type.
后三个参数用于指定关系组合类型、信息成员和分配器类型。
As you can see, in this allocator, freeing memory is done in constant time, using a very simple mechanism.
如您所见,在这个分配程序中,内存的释放使用了一个非常简单的机制,在固定时间内完成内存释放。
malloc_init is going to be our function to initialize our memory allocator.
malloc_init将是初始化内存分配程序的函数。
Within in_pcballoc, the kernel"s memory allocator function is called, which allocates memory to the Internet control block.
在in_pcballoc中,调用了内核的内存分配器函数,该函数将内存分配给Internet控制块。