始终正确处理返回动态分配的内存引用的函数返回值。
Always properly handle return values of functions returning references of dynamically allocated memory.
Packratting:由于长时间不及时释放动态分配的内存而消耗了过量的内存。
Packratting: Consuming excessive memory by keeping dynamically allocated objects alive for longer than they are needed.
数据区域同时包括静态分配的内存(比如全局和静态数据)和动态分配的内存(通常称为堆)。
The data region includes both statically allocated memory (such as global and static data) and dynamically allocated memory (often called the heap).
data/heap区域包含动态分配的内存和可全局访问的程序数据(例如DB2代理私有内存)。
The data/heap region contains dynamically allocated memory and some globally accessible program data (for example, DB2 agent private memory).
对此没有硬性规定,因为内存是动态分配的,除非必需,否则不会用到。
There is no penalty for this, as the memory is allocated dynamically, and will not be used unless it is really needed.
通常,内存段名称并不是动态分配的;而是众所周知的,比如使用头文件中的常量,其他代码可以方便地引用它。
Typically, a segment name is not dynamically assigned; instead, it is well known, such as a constant in a header file, and easily referenced from other code.
该内存位置的第三个字节又指向某个动态分配的10字节的内存位置,如图6所示。
The third byte of this memory location further points to some other dynamically allocated memory location of 10 bytes, as shown in Figure 6.
JIFEX软件系统的数据管理系统—JINEGS系统在内存中动态分配的一维数组来进行数据管理。
In JIFEX software system, the data is managed by the JINEGS system in which an array is dynamic allocated in main memory.
作者提出了一种任务控制块静态初始化的方法,和一种动态分配片内存储空间的方法,来解决单片机资源紧张的问题。
The author issues a method of statically initializing task control blocks, and a method of sharing on-chip memory dynamically, in order to save the insufficient resource on micro-controllers.
作者提出了一种任务控制块静态初始化的方法,和一种动态分配片内存储空间的方法,来解决单片机资源紧张的问题。
The author issues a method of statically initializing task control blocks, and a method of sharing on-chip memory dynamically, in order to save the insufficient resource on micro-controllers.
应用推荐