In Listing 5 we build the array reference dynamically during the call, and then use the OID as the hash key when printing out the result.
在清单5中,我们在调用期间动态地构建了数组引用,然后在打印结果时使用OID作为散列键。
The first DB2.OPEN_LOG call builds a linked list hash table as shown in Figure 1 from the logging tokens kept in the Shared memory.
第一个DB 2 . OPEN_LOG调用的功能是从共享内存中保存的日志标记来构建一个如图1所示的链表散列表。
The dynamic hash join consists of two activities: building the hash (or build phase as we call it), and probing the hash table (or probe phase).
动态哈希连接包含两个动作:构建哈希(或者是我们所称的构建阶段),以及探测哈希表(或探测阶段)。
The new version will have a scoped hash, meaning only the function can access the hash directly and it is persistent through every call, so it will be a good cache.
新版本函数将有一个范围有限的散列(scopedhash),表示只有该函数可以直接访问散列,并且持续到每个调用中,因此将是一个很好的缓存。
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表中生成一个排序字段,然后在排序时就可以使用这个排序字段了。
Without a reference, you copy the entire array or hash onto the function call stack, and then copy it again in the function.
如果不使用引用,就需要将整个数组或hash 表复制到该函数的调用栈中,然后在函数中再次对其进行复制。
This gives a new function to call, the serialize function, which gets all the input fields in the form and creates a hash of their names and values.
这会带来一个新的可调用的函数serialize,该函数获取表单内的所有输入字段并创建这些字段的名称和值的哈希表。
For any array type, you can call Arrays.hashCode(arrayVar) and get a well formed hash code.
对于任意数组类型,都可以调用 Arrays.hashCode(arrayVar) 方法来获得格式良好的哈希码。
Moreover, if I hope to get an actual hash out of the sha.SHA object, I have to call .hexdigest() or .digest(); the former is slightly faster, too.
而且,如果我希望得到一个sha.SHA对象的 hash 值,就只能调用 .hexdigest()或.digest();前者的速度更快。
Moreover, if I hope to get an actual hash out of the sha.SHA object, I have to call .hexdigest() or .digest(); the former is slightly faster, too.
而且,如果我希望得到一个sha.SHA对象的 hash 值,就只能调用 .hexdigest()或.digest();前者的速度更快。
应用推荐