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.
而改变那些值的同时也改变了哈希码,然后会破坏一些哈希表或者恰好储存了对象的字典。
If a key's hash code were to change while it was in a collection, some unpredictable and confusing consequences could follow.
如果当关键字在集合中时它的散列代码被更改,那么将产生一些不可预测和容易混淆的结果。
The whitelist filter's response contains some kind of unique code that identifies the original message, such as a hash or sequential ID.
“白名单”过滤器的响应包含某种唯一的可以识别原始消息的代码,譬如,一个散列或序列标识。
Given a reference to the XML describing an individual pet, this code 'folds' it into a hash.
给出一个描述单个宠物的XML引用,这段代码将它转换为一个散列。
So what you typically do and a hash case is you design your code to deal with that.
你所需要做的就是通过设计你的代码,来解决上面的问题。
The message digest (also called the message authentication code) is computed using a hash function.
消息摘要(又称消息认证代码)是用散列函数计算的。
For example, if you have three partitions, and your key's hash code is 7, then 7 divided by 3 is 2, remainder 1, so the item goes in and comes from partition 1.
例如,如果您有3个分区,键的散列码为7,7除以3得2余1,所以项应该位于分区1。
For any array type, you can call Arrays.hashCode(arrayVar) and get a well formed hash code.
对于任意数组类型,都可以调用 Arrays.hashCode(arrayVar) 方法来获得格式良好的哈希码。
Instead, you could create a hash map of zip code and weather information, and save that information into the portlet service.
您可以转而创建一个邮政编码和天气信息的散列图,并将此信息保存到Portlet服务中。
The Datatype class must provide some object representation of the type that the validator can use for equality comparison and hash code calculation.
datatype类必须提供类型的某种对象表示,以便验证器可用来进行相等性比较和计算散列码。
It may seem like a little thing, but using the % freedb_searches hash to get the list of searching switches makes the code shorter and more maintainable.
这看起来可能不算什么,但是使用% freedb_searches散列来得到检索开关列表会使代码更短,而且容易维护。
Unless you know how to generate a good hash code, the one generated from the Arrays class is bound to be better, resulting in fewer collisions.
如果您不知道如何生成良好的哈希码,那么最好使用arrays类,它能产生更少冲突。
This hash code could be used as a key into a HashMap or for any other related purpose.
这个哈希码可以用作HashMap或者其他相关目的的键。
To place an item in the cache, WebSphere eXtreme Scale calculates the key's hash code, divides by the number of partitions, and the remainder identifies the partition to store the item.
要将项放入缓存,WebSphereeXtremeScale计算键的散列码,除以分区的编号,余数标识存储项的分区。
After this code has run, you can access the database directly as a standard Perl hash.
运行此代码之后,可以以标准Perlhash的形式直接访问数据库。
Thus, all indexed strings with the same hash code are returned from the index scan as possible candidates.
因此,索引扫描返回所有具有相同hash码的已索引的字符串,作为可能的候选者。
The hash code is an integer that should return a unique number of each unique key.
散列码是一个整数,应该对每个键返回唯一的数字。
The grammar's program rule returns a hash reference with the code, comments, and strings available inside it as text.
文法的程序规则返回散列引用,其中包含作为文本的代码、注释和字符串。
Message Digests are secure, one-way hash functions that convert arbitrary length data into fixed-length check sum / hash code.
消息摘要是一个安全的、单向的哈希函数,把任意长度的数据转化成固定长度的校验和/哈希码。
Listing 6 changes the code to pass a hash map representing the attributes for a trail.
清单6修改了代码,以传递代表路线属性的哈希映射表。
Ideally, use hash-based message authentication code (HMAC) because it's the most secure.
理想的情况下,使用基于哈布的消息验证码(HMAC),因为它最安全。
The hash code should provide a uniform distribution of values over the key space so that the partitions are evenly balanced.
散列码应该在键空间上提供均匀的值分布,以便分区负载平衡。
For example, if the key is an integer, this value might serve as the hash code.
例如,如果键是整数,该值应该作为散列码。
If the (optional) single-instance-storage feature is turned on, an additional hash code (based on the mail content and other fields) must be generated.
如果打开单事务存储特性(可选),那么必须生成一个附加的散列码(根据邮件内容和其他字段)。
The XXXXX placeholder is a hash code.
XXXXX占位符是散列值。
After the hash code has been computed once, getting the hash code for an internalized string is essentially free.
一旦计算出了hash码,想获得一个内部化字符串的hash码实际上就轻而易举了。
The range producer computes the hash code for the given string to search for and returns a point range where the start and the end of the range is the hash code itself.
范围生成器计算给定字符串的hash码,以搜索并返回一个点范围,这个范围的起始值和终止值是hash码本身。
In addition to making the property read-only, the hash code function will only use these 'key' fields to generate the hash code.
另外要使属性只读的话,哈希码函数会只用那些Key字段产生哈希码。
Hash a hash code for the downloaded binary to verify its integrity.
hash用于校验下载的二进制文件完整性的hash码。
Hash a hash code for the downloaded binary to verify its integrity.
hash用于校验下载的二进制文件完整性的hash码。
应用推荐