• On most systems, malloc and free are not reentrant, because they use a static data structure that records which memory blocks are free.

    大部分系统中,mallocfree不是可重入的,因为它们使用静态数据结构记录哪些内存空闲的。

    youdao

  • Have a corresponding free to every malloc.

    每个malloc一个对应free

    youdao

  • Validate_ptrs If a pointer that was previously not allocated by malloc is passed to the free call, an error message is thrown and the program is aborted.

    validate_ptrs如果free调用传递指针并不以前malloc分配的,那么将会引发一个错误消息程序中止。

    youdao

  • Because the basic data structures in the allocator permit coalescing at any time, in any of malloc, free, or realloc, corresponding caching heuristics are easy to apply.

    因为分配器中的基本数据结构允许malloc,freerealloc任何一个中任意时刻进行合并相应高速缓冲探索容易应用

    youdao

  • We allocate memory on put (malloc) and we free memory on remove (free).

    我们放入数据的时候分配内存(malloc),移除数据的时候释放内存(free)。

    youdao

  • If the user needs to track malloc and free calls in a particular user function, the malloc.d script can be modified as shown below.

    如果用户需要跟踪某个用户函数中的mallocfree调用,那么可以以下方式修改malloc . d脚本

    youdao

  • For example, a memory chunk allocated with malloc in Module 3 can be freed in Module 2 with free. It is because both malloc and free calls will end up in the same instance of CRT.

    例如模块3使用malloc所分配内存空间可以由模块2释放因为mallocfree调用都是同一个CRT对象实现的。

    youdao

  • The malloc , free and realloc routines should be as fast as possible in the average case.

    malloc freerealloc例程平均情况下应该尽可能

    youdao

  • That is, if you write beyond an array's end, it won't be noticed until the next malloc or free call.

    就是说如果一个数据的尾部之后数据,程序不会注意到直到malloc或者free调用

    youdao

  • That is, if you write beyond an array's end, it won't be noticed until the next malloc or free call.

    就是说如果一个数据的尾部之后数据,程序不会注意到直到malloc或者free调用

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定