malloc
常见例句
- Therefore, any application we start from now on in this session will be using our malloc() and not the system one.
因此,从现在起,该会话中的任何应用程序都将使用我们的 malloc(),而不是只有系统的应用程序能够使用。
frenchen.blog.163.com - They do, however, depend on low-level allocators like malloc and free to actually allocate and release their memory.
不过,它们依赖于 malloc 和 free 等低层的分配程序来实际地分配和释放它们的内存。 - Not only does our memory manager have shortcomings, there are many shortcomings of malloc()-based memory management that remain no matter which allocator you use.
不只是我们的内存管理器有缺点,基于 malloc() 的内存管理器仍然也有很多缺点,不管您使用的是哪个分配程序。 - Its name is malloc for memory allocation and what malloc does for us is we say, hmm, the user has typed in a three-letter word.
它为我们分配内存地址,它为用户输入的3个字母单词,分配地址。
哈佛公开课 - 计算机科学课程节选 - malloc I'm going to now use this new, fancy function called malloc and I'm going to say x gets the return value of malloc of the size of an int.
我现在使用这个新的,别致的函数,然后我指明x,=,malloc的int型数据的大小,的返回值。
哈佛公开课 - 计算机科学课程节选 - malloc sizeof So, when I call malloc size of int and int on this system is probably 4 bytes or 32 bits so what am I getting back?
所以,当我调用,在这个系统中int可能是4个字节,或者说32位,那么返回的是什么呢?
哈佛公开课 - 计算机科学课程节选 返回 malloc