|
GCC Middle and Back End API Reference
|
#include <hash-table.h>


Data Fields | |
| T ** | entries |
| size_t | size |
| size_t | n_elements |
| size_t | n_deleted |
| unsigned int | searches |
| unsigned int | collisions |
| unsigned int | size_prime_index |
Internal implementation type.
| unsigned int hash_table_control< T >::collisions |
The following member is used for debugging. Its value is number
of collisions fixed for time of work with the hash table.
| T** hash_table_control< T >::entries |
Table itself.
| size_t hash_table_control< T >::n_deleted |
Current number of deleted elements in the table.
| size_t hash_table_control< T >::n_elements |
Current number of elements including also deleted elements.
| unsigned int hash_table_control< T >::searches |
The following member is used for debugging. Its value is number
of all calls of `htab_find_slot' for the hash table.
| size_t hash_table_control< T >::size |
Current size (in entries) of the hash table.
| unsigned int hash_table_control< T >::size_prime_index |
Current size (in entries) of the hash table, as an index into the
table of primes.