For each of these records, we will extract the fields by name and store each of the values in a hash keyed on the field name.
对于这其中的每条记录,都将按名称提取字段并将每个字段值存储到与字段名关联的散列中。
Append the value to the hash value keyed on the field name if it already exists, as this will enable the simple print out of every combination of the field no matter which of the fields matched.
如果值存在,则将其追加到与字段名关联的散列值后,因为这样做将启用每个字段组合的简单输出,而不管哪些字段匹配。
First, you must change the fields from individual instance variables to a hash table of field and value pairs.
首先,必须把字段从单个实例变量修改成字段和值组合构成的散列表。
This hash map associates the field descriptor string for a generic class without any parameter types to the GenericTemplate for that class.
这个哈希映射把没有参数类型的泛型类的字段描述符字符串与这个类的GenericTemplate关联起来。
The "abbrev" field in the hash entry is used to define command-line switches, so later I can define an -artist switch that can be abbreviated to -i based on the % freedb_searches information.
在该散列条目中的“abbrev”字段被用来定义命令行开关,这样,随后我可以基于% freedb_searches信息定义一个- artist开关,它可以被简写为- i。
Instead of calling sprintf all those times, we call it just once for each item in the hash in order to generate a sort field in the hash, and then use that sort field directly during the sort.
现在不需要每次都调用sprintf,对hash表中的每一项,只需要调用一次该函数,就可以在hash表中生成一个排序字段,然后在排序时就可以使用这个排序字段了。
In the field of communication security, the main applications of the hash function are data integrity verification and signature authentication.
哈希算法在信息安全领域主要应用于验证数据完整性和签名认证。
In the field of communication security, the main applications of the hash function are data integrity verification and signature authentication.
哈希算法在信息安全领域主要应用于验证数据完整性和签名认证。
应用推荐