hash code
常見(jiàn)例句
- If a key's hash code were to change while it was in a collection, some unpredictable and confusing consequences could follow.
如果儅關(guān)鍵字在集郃中時(shí)它的散列代碼被更改,那麼將産生一些不可預(yù)測(cè)和容易混淆的結(jié)果。 - Furthermore, before the CM agent stores the object, it executes a query in the repository if the same hash code has already been stored.
而且,在 CM 代理存儲(chǔ)對(duì)象之前,它在儲(chǔ)存庫(kù)中執(zhí)行一個(gè)查詢(xún),看儲(chǔ)存庫(kù)中是否已經(jīng)存儲(chǔ)了相同的散列碼。 - Changing these values would change the hash code, which would in turn break any hash table or dictionary that the object happened to be stored in.
而改變那些值的同時(shí)也改變了哈希碼,然後會(huì)破壞一些哈希表或者恰好儲(chǔ)存了對(duì)象的字典。 - So what you typically do and a hash case is you design your code to deal with that.
你所需要做的就是通過(guò)設(shè)計(jì)你的代碼,來(lái)解決上麪的問(wèn)題。
麻省理工公開(kāi)課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - So let's look at the second example, all right, I keep doing that -- this piece of code from here to here gives me a way of now creating a hash table of size 256.
所以讓我們來(lái)看一下第二個(gè)例子,好的,我繼續(xù)做那件事,這段代碼中從這裡到這裡,是創(chuàng)建一個(gè)大小爲(wèi)256的哈希表。
麻省理工公開(kāi)課 - 計(jì)算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 - At the same time, it would provide an initial effort to reduce the deficit, which the negotiators call a down payment, as Congressional tax-writing committees hash out a broad overhaul of the tax code.
FORBES: Nate Silver: A Minimum Tax On The Wealthy Poses Implementation Problems 返回 hash code