malloc
常見例句
- Therefore, any application we start from now on in this session will be using our malloc() and not the system one.
因此,從現(xiàn)在起,該會話中的任何應用程序都將使用我們的 malloc(),而不是只有系統(tǒng)的應用程序能夠使用。
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個字母單詞,分配地址。
哈佛公開課 - 計算機科學課程節(jié)選 - 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.
我現(xiàn)在使用這個新的,別致的函數(shù),然后我指明x,=,malloc的int型數(shù)據的大小,的返回值。
哈佛公開課 - 計算機科學課程節(jié)選 - 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?
所以,當我調用,在這個系統(tǒng)中int可能是4個字節(jié),或者說32位,那么返回的是什么呢?
哈佛公開課 - 計算機科學課程節(jié)選 返回 malloc