Data Fields | |
int | count |
int | hash |
char | key [_Q_HASHARR_MAX_KEYSIZE] |
int | keylen |
unsigned char | keymd5 [16] |
unsigned char | value [_Q_HASHARR_DEF_VALUESIZE] |
int | size |
int | link |
int Q_HASHARR::count |
hash collision counter. 0 indicates empty slot, -1 is used for moved slot due to hash collision, -2 is used for indicating linked block
int Q_HASHARR::hash |
key hash. we use qFnv32Hash() to generate hash integer
char Q_HASHARR::key[_Q_HASHARR_MAX_KEYSIZE] |
key string, it can be truncated
original key length
unsigned char Q_HASHARR::keymd5[16] |
md5 hash of the key
unsigned char Q_HASHARR::value[_Q_HASHARR_DEF_VALUESIZE] |
value
int Q_HASHARR::size |
value size
int Q_HASHARR::link |
next index of the value
[Home] [About] [Examples] [Changes] [Download] [SVN Repository] [Install] [Reference] |