GNUnet 0.22.2
GNUNET_CONTAINER_MultiHashMap32 Struct Reference

Internal representation of the hash map. More...

Collaboration diagram for GNUNET_CONTAINER_MultiHashMap32:
[legend]

Data Fields

struct 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...
 
unsigned int modification_counter
 Counts the destructive modifications (grow, remove) to the map, so that iterators can check if they are still valid. More...
 
struct MapEntrynext_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...
 

Detailed Description

Internal representation of the hash map.

Definition at line 68 of file container_multihashmap32.c.

Field Documentation

◆ map

struct MapEntry** GNUNET_CONTAINER_MultiHashMap32::map

All of our buckets.

Definition at line 73 of file container_multihashmap32.c.

Referenced by GNUNET_CONTAINER_multihashmap32_iterator_next().

◆ size

unsigned int GNUNET_CONTAINER_MultiHashMap32::size

Number of entries in the map.

Definition at line 78 of file container_multihashmap32.c.

◆ map_length

unsigned int GNUNET_CONTAINER_MultiHashMap32::map_length

Length of the map array.

Definition at line 83 of file container_multihashmap32.c.

Referenced by GNUNET_CONTAINER_multihashmap32_iterator_next().

◆ modification_counter

unsigned int GNUNET_CONTAINER_MultiHashMap32::modification_counter

Counts the destructive modifications (grow, remove) to the map, so that iterators can check if they are still valid.

Definition at line 89 of file container_multihashmap32.c.

Referenced by GNUNET_CONTAINER_multihashmap32_iterator_next().

◆ next_cache

struct MapEntry* GNUNET_CONTAINER_MultiHashMap32::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 96 of file container_multihashmap32.c.

◆ next_cache_off

unsigned int GNUNET_CONTAINER_MultiHashMap32::next_cache_off

Offset of next_cache entries in use, must be smaller than NEXT_CACHE_SIZE.

Definition at line 102 of file container_multihashmap32.c.


The documentation for this struct was generated from the following file: