Leptonica  1.83.1
Image processing and image analysis suite
L_Hashmap Struct Reference

#include <hashmap.h>

Data Fields

l_int32 nitems
 
l_int32 ntogo
 
l_int32 maxocc
 
struct L_Hashitem ** hashtab
 
l_int32 tabsize
 

Detailed Description

General hash map

Definition at line 100 of file hashmap.h.

Field Documentation

◆ hashtab

struct L_Hashitem** L_Hashmap::hashtab

array of hash item ptrs

Definition at line 106 of file hashmap.h.

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

◆ maxocc

l_int32 L_Hashmap::maxocc

max average occupancy allowed

Definition at line 105 of file hashmap.h.

◆ nitems

l_int32 L_Hashmap::nitems

number of stored items

Definition at line 102 of file hashmap.h.

◆ ntogo

l_int32 L_Hashmap::ntogo

number of items to be stored
before resizing the hashmap

Definition at line 103 of file hashmap.h.

◆ tabsize

l_int32 L_Hashmap::tabsize

size of array of hash item ptrs

Definition at line 107 of file hashmap.h.

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


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