|
bool qHasharrStatus |
( |
Q_HASHARR * |
tbl, |
|
|
int * |
used, |
|
|
int * |
max | |
|
) |
| | |
Get hash table internal status
- Parameters:
-
| tbl | a pointer of Q_HASHARR |
| used | if not NULL, a number of used slots(not a number of key) will be stored |
| max | if not NULL, the maximum number of slots will be stored |
- Returns:
- true if successful, otherwise returns false
- Note:
- It is different from dynamic hash-table. In array-hash table, a value object can be stored in several slots if the size of the object is bigger than the size of slot. So used and max slot number is not equal to actual stored and maximum storable objects number.
Definition at line 520 of file qHasharr.c.
|