中国嘻哈参赛名单:求助:计算机专业英语翻译

来源:百度文库 编辑:高考问答 时间:2024/05/04 18:29:16
General Guidelines
The following are some general guidelines:
• Check, when the Source is launched, to assure that enough memory space is available for adequate execution.
• Always verify that allocations were successful.
• Work with relocatable objects whenever possible - the heap you fragment is not your own.
• Deallocate temporary memory objects as soon as they are no longer needed.
• Maintain as small a non-operating memory footprint as can prudently be done - the Source will be “compatible” with more applications on more machines.
• Clean up after yourself. When about to be closed, deallocate all locally allocated RAM, eliminate any other objects on the heap, and prepare as appropriate to terminate.
Local Variables
The Source may allocate and maintain local variables and buffers. Remember that you are borrowing RAM from the application so be efficient about how much RAM is allocated
simultaneously.
Instances Where the Source Allocates Memory
In general, the application allocates all necessary structures and passes them to the Source.
There are a few exceptions to this rule:
• The Source must create the container, pointed to by the hContainer field, needed to hold
capability information on DG_CONTROL / DAT_CAPABILITY / MSG_GET,
MSG_GETCURRENT, MSG_GETDEFAULT, or MSG_RESET operations. The
application deallocates the container.
• The Source allocates the buffer for Native mode data transfers. The application deallocates the buffer.
• Normally, the application creates the buffers used in a Buffered Memory transfer (DG_IMAGE / DAT_IMAGEMEMXFER / MSG_GET). However, if the Source is transferring tiled data, rather than strips of data, it is responsible for allocating the
buffers. The application deallocates the buffers.
See the DG_IMAGE / DAT_JPEGCOMPRESSION operations.

有些单词有问题!

一般准则 以下是一些一般准则: -检查时发射源,以保证有足够的存储空间足够执行. -永远核实拨款成功. -尽可能与relocatable物体的碎块堆不是你自己. -暂时记忆deallocate物体一旦不再需要. -保持了小非经营性记忆脚印地做,才能-来源是"兼容",多申请多机. -净化后己. 即将结束时,所有当地deallocate分配羊,消除对其他物体堆,并准备在适当终止. 局
部变量 可保持当地的来源,若有变数. 记得你是从贷款申请,公羊效率大约是多少分配羊 同时. 源配置的情况下记忆 在一般的应用结构,并通过他们把一切必要的来源. 有少数例外: -必须创造货柜来源指出hcontainer的领域,需要进行 信息能力dg_control/dat_capability/Msg_get, msg_getcurrent,Msg_getdefault、msg_reset业务. < 应用deallocates货柜. -源头把数据传输模式,以缓冲对. 应用deallocates缓冲. -通常使用的应用创造了一个无人地带转移记忆(Dg_image/Dat_imagememxfer/Msg_get). 但是,如果是把瓦面源数据,而不是数据片,它负责分配 机. deallocates机的应用. 看到Dg_image/dat_jpegcompression业务.