k2hpx_open_mem
Opens k2hash as volatile(on memory).
Description
mixed k2hpx_open_mem ([ int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]] )
Opens k2hash as volatile(on memory).
Parameters
- maskbitcnt
Specifies the key mask bit. The default value is 8. - cmaskbitcnt
Specifies the key collision mask bit. The default value is 4. - maxelementcnt
Specifies the max number of duplicated elements if a hash collision occurs. The default value is 1024(bytes). - pagesize
Specifies the block size of data. The default value is 512(bytes).
Return Values
Returns a k2hash (.k2h
) file handle on success, otherwise false.
See Also
- K2hash::openMem - Opens k2hash as volatile(on memory)