Internal representation of the hash map. More...
Data Fields | |
union MapEntry * | map |
All of our buckets. More... | |
unsigned int | size |
Number of entries in the map. More... | |
unsigned int | map_length |
Length of the "map" array. More... | |
int | use_small_entries |
GNUNET_NO if the map entries are of type 'struct BigMapEntry', GNUNET_YES if the map entries are of type 'struct SmallMapEntry'. More... | |
unsigned int | modification_counter |
Counts the destructive modifications (grow, remove) to the map, so that iterators can check if they are still valid. More... | |
union MapEntry | next_cache [16] |
Map entries indicating iteration positions currently in use by GNUNET_CONTAINER_multihashmap_get_multiple(). More... | |
unsigned int | next_cache_off |
Offset of next_cache entries in use, must be smaller than NEXT_CACHE_SIZE. More... | |
Internal representation of the hash map.
Definition at line 106 of file container_multishortmap.c.
union MapEntry* GNUNET_CONTAINER_MultiShortmap::map |
All of our buckets.
Definition at line 111 of file container_multishortmap.c.
Referenced by GNUNET_CONTAINER_multishortmap_iterator_next().
unsigned int GNUNET_CONTAINER_MultiShortmap::size |
Number of entries in the map.
Definition at line 116 of file container_multishortmap.c.
unsigned int GNUNET_CONTAINER_MultiShortmap::map_length |
Length of the "map" array.
Definition at line 121 of file container_multishortmap.c.
Referenced by GNUNET_CONTAINER_multishortmap_iterator_next().
int GNUNET_CONTAINER_MultiShortmap::use_small_entries |
GNUNET_NO if the map entries are of type 'struct BigMapEntry', GNUNET_YES if the map entries are of type 'struct SmallMapEntry'.
Definition at line 127 of file container_multishortmap.c.
Referenced by GNUNET_CONTAINER_multishortmap_iterator_next().
unsigned int GNUNET_CONTAINER_MultiShortmap::modification_counter |
Counts the destructive modifications (grow, remove) to the map, so that iterators can check if they are still valid.
Definition at line 133 of file container_multishortmap.c.
Referenced by GNUNET_CONTAINER_multishortmap_iterator_next().
union MapEntry GNUNET_CONTAINER_MultiShortmap::next_cache[16] |
Map entries indicating iteration positions currently in use by GNUNET_CONTAINER_multihashmap_get_multiple().
Only used up to next_cache_off.
Definition at line 140 of file container_multishortmap.c.
unsigned int GNUNET_CONTAINER_MultiShortmap::next_cache_off |
Offset of next_cache entries in use, must be smaller than NEXT_CACHE_SIZE.
Definition at line 146 of file container_multishortmap.c.