Leptonica  1.83.1
Image processing and image analysis suite
L_Hashitem Struct Reference

#include <hashmap.h>

Data Fields

l_uint64 key
 
l_uint64 val
 
l_int32 count
 
struct L_Hashitemnext
 

Detailed Description

Hash item, containing storage for the key, value and count. The key is a l_uint64, which is hashed by the mod function to find the index into the hashtab.

Definition at line 114 of file hashmap.h.

Field Documentation

◆ count

l_int32 L_Hashitem::count

number of elements seen with this key

Definition at line 118 of file hashmap.h.

Referenced by l_dnaIntersectionByHmap(), l_dnaMakeHistoByHmap(), and ptaIntersectionByHmap().

◆ key

l_uint64 L_Hashitem::key

key is hashed into index into hashtab

Definition at line 116 of file hashmap.h.

◆ next

struct L_Hashitem* L_Hashitem::next

ptr to the next in the list

Definition at line 119 of file hashmap.h.

Referenced by l_dnaMakeHistoByHmap(), l_dnaRemoveDupsByHmap(), ptaRemoveDupsByHmap(), and sarrayRemoveDupsByHmap().

◆ val

l_uint64 L_Hashitem::val

number stored associated with the key

Definition at line 117 of file hashmap.h.

Referenced by l_dnaMakeHistoByHmap(), l_dnaRemoveDupsByHmap(), ptaRemoveDupsByHmap(), and sarrayRemoveDupsByHmap().


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