allocate for
常見例句
- It is necessary for an application programmer who is allocating a buffer to know how much memory to allocate for each character.
應(yīng)用程序開發(fā)人員需要知道,分配緩沖區(qū)時(shí)應(yīng)該給每個(gè)字符分配多大內(nèi)存。 - For example, you need to specify ahead of time the amount of space you want to allocate for the table space, because growth is not automatic.
例如,需要預(yù)先指定想要為這個(gè)表空間分配多大的空間,因?yàn)檫@種表空間不能自動增長。 - How much memory should we allocate for instance memory, database memory and application shared memory, so they can fit into the 4GB addressable space?
應(yīng)該為實(shí)例內(nèi)存、數(shù)據(jù)庫內(nèi)存和應(yīng)用程序共享內(nèi)存分配多少的內(nèi)存,以使它們能放入到 4GB 的可尋址空間? - "For now it's like a honeymoon." "People come and see their products and IOM facilitated them to go to an expo in Jakarta and they made like 10 million rupiah in four days but they also need to understand how they can allocate that for their own promotion activities."
- So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.
它為我們做了這些事情,這樣我們就可以,通過第一個(gè)字節(jié)的地址,它還可以通過包含一個(gè)特殊的值,來保證在哪里停止,如果你輸入了一個(gè)三個(gè)字母的單詞,就可以獲得那個(gè)字符串,不管怎樣,我們分配四個(gè)字節(jié),因?yàn)槲覀冊谀┒诵枰粋€(gè)額外的字節(jié),來保存這個(gè)特殊的標(biāo)志值--反斜杠。
哈佛公開課 - 計(jì)算機(jī)科學(xué)課程節(jié)選 - So before long, we'll see, especially for problems that we can't allocate an int every time we want to store something, because what if we want to store 140,000 English words.
所以不久后,我們將看到,特別是對于,我們不能為int分配內(nèi)存,每次我們想要,存儲一些東西時(shí),因?yàn)楫?dāng)我們想要,存儲140,000個(gè)英語單詞時(shí)。
哈佛公開課 - 計(jì)算機(jī)科學(xué)課程節(jié)選 - This advocacy effort led the way for the school board to allocate funds for all of our high schools to receive the same.
WHITEHOUSE: Bright Futures for All Children - We should focus pragmatically, not ideologically, on what actions will best allocate capital for the creation of real jobs.
FORBES: Magazine Article 返回 allocate for