青年中文青年中文

malloc的意思

malloc中文翻譯:

n.分配內存

相似詞語短語

paroxysmal spells───陣發性咒語

bursa malaysia───馬來西亞法團

duodecimal clock───雙鐘

amalgam vilgax───銀汞合金

dissecting anomalies───解剖異常

electrodermal skin response───皮膚電反應

amphipod animal───兩足動物

spaniel small───小獵犬

bimetallic thermal───雙金屬熱

malt extract───麥精,麥芽膏;n.麥芽膏,麥精

雙語使用場景

Malloc 3.1 allocation algorithm.───Malloc 3.1分配算法。

Malloc 3.1 reallocation algorithm.───Malloc 3.1重新分配算法。

Have a corresponding free to every malloc.───每個malloc都要有一個對應的free。

Now, you might think that this would cause problems for programs calling malloc -- how do they know about this struct?───現在,您可能會認為當程序調用malloc時這會引發問題——它們如何知道這個結構?

If you need 15 bytes, ask for 15 bytes; don't round it up to 32 bytes or some other bigger chunk like you used to do when you used malloc.───如果你需要15個字節,它就請求15個字節;不要像使用malloc的時候那樣進位到32個字節或者更大的塊大小。

It is possible for malloc to overcommit, and some other process may get the resource before the current process, resulting in a failure.───malloc可能會過量分配內存,其他進程可能在當前進程之前獲得資源,這會導致錯誤。

malloc_init is going to be our function to initialize our memory allocator.───malloc_init將是初始化內存分配程序的函數。

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.───如果用戶需要跟蹤某個用戶函數中的malloc和free調用,那么可以按以下方式修改malloc.d腳本。

Since the session is a malloc'd object, we also have to free the session when we're done with it.───因為這個會話是一個malloc過的對象,所以我們在使用完它時還必須將其釋放。

英語使用場景

These three keywords are to the stack segment just as "malloc" and "dealloc" are to the heap segment ... unnecessary.

Malloc buckets is an extension to the Yorktown allocation policy.

Only allocation requests up to 512 bytes can be serviced by the bucket allocator, and any greater requests are automatically forwarded to the Yorktown malloc.

Though malloc may return a valid address, you don't get a page until someone tries to use it through memset ().

Anywhere in memory, malloc a buffer or store it in the device descriptor.

The following diagram illustrates the usage of a memory buffer allocated via a call to malloc.