ANTLR3_HASH_TABLE_struct - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 3.3.1
Note : ANTLR3C

NAMEANTLR3_HASH_TABLE_struct − Structure that tracks a hash table​.

SYNOPSIS
#include <antlr3collections​.h>

Data Fieldsint allowDups
Indicates whether the table allows duplicate keys​.
pANTLR3_HASH_BUCKET buckets
Points to the memory where the array of buckets starts​.
ANTLR3_UINT32 count
How many elements currently exist in the table​.
void(* del )(struct ANTLR3_HASH_TABLE_struct *table, void *key)
void(* delI )(struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)
ANTLR3_BOOLEAN doStrdup
Whether the hash table should strdup the keys it is given or not​.
void(* free )(struct ANTLR3_HASH_TABLE_struct *table)
Pointer to function to completely delete this table​.
void *(* get )(struct ANTLR3_HASH_TABLE_struct *table, void *key)
void *(* getI )(struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)
ANTLR3_UINT32 modulo
Number of buckets available in this table​.
ANTLR3_INT32(* put )(struct ANTLR3_HASH_TABLE_struct *table, void *key, void *element, void(ANTLR3_CDECL *freeptr)(void *))
ANTLR3_INT32(* putI )(struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key, void *element, void(ANTLR3_CDECL *freeptr)(void *))
pANTLR3_HASH_ENTRY(* remove )(struct ANTLR3_HASH_TABLE_struct *table, void *key)
pANTLR3_HASH_ENTRY(* removeI )(struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)
ANTLR3_UINT32(* size )(struct ANTLR3_HASH_TABLE_struct *table)

Detailed DescriptionStructure that tracks a hash table​.

Field Documentation

int ANTLR3_HASH_TABLE_struct::allowDupsIndicates whether the table allows duplicate keys​. Referenced by antlr3HashPut(), antlr3HashPutI(), and antlr3HashTableNew()​.

pANTLR3_HASH_BUCKET ANTLR3_HASH_TABLE_struct::bucketsPoints to the memory where the array of buckets starts​. Referenced by antlr3EnumNew(), antlr3EnumNextEntry(), antlr3HashFree(), antlr3HashGet(), antlr3HashGetI(), antlr3HashPut(), antlr3HashPutI(), antlr3HashRemove(), antlr3HashRemoveI(), and antlr3HashTableNew()​.

ANTLR3_UINT32 ANTLR3_HASH_TABLE_struct::countHow many elements currently exist in the table​. Referenced by antlr3HashPut(), antlr3HashPutI(), antlr3HashRemove(), antlr3HashRemoveI(), antlr3HashSize(), and antlr3HashTableNew()​.

void(* ANTLR3_HASH_TABLE_struct::del) (struct ANTLR3_HASH_TABLE_struct *table, void *key)Referenced by antlr3HashTableNew()​.

void(* ANTLR3_HASH_TABLE_struct::delI) (struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)Referenced by antlr3HashTableNew(), and antlr3ListDelete()​.

ANTLR3_BOOLEAN ANTLR3_HASH_TABLE_struct::doStrdupWhether the hash table should strdup the keys it is given or not​. Referenced by antlr3HashPut(), antlr3HashRemove(), and antlr3HashTableNew()​.

void(* ANTLR3_HASH_TABLE_struct::free) (struct ANTLR3_HASH_TABLE_struct *table)Pointer to function to completely delete this table​. Referenced by antlr3HashTableNew(), and antlr3ListFree()​.

void*(* ANTLR3_HASH_TABLE_struct::get) (struct ANTLR3_HASH_TABLE_struct *table, void *key)Referenced by antlr3HashTableNew()​.

void*(* ANTLR3_HASH_TABLE_struct::getI) (struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)Referenced by antlr3HashTableNew(), and antlr3ListGet()​.

ANTLR3_UINT32 ANTLR3_HASH_TABLE_struct::moduloNumber of buckets available in this table​. Referenced by antlr3EnumNext(), antlr3EnumNextEntry(), antlr3HashFree(), antlr3HashGet(), antlr3HashGetI(), antlr3HashPut(), antlr3HashPutI(), antlr3HashRemove(), antlr3HashRemoveI(), and antlr3HashTableNew()​.

ANTLR3_INT32(* ANTLR3_HASH_TABLE_struct::put) (struct ANTLR3_HASH_TABLE_struct *table, void *key, void *element, void(ANTLR3_CDECL *freeptr)(void *))Referenced by antlr3HashTableNew()​.

ANTLR3_INT32(* ANTLR3_HASH_TABLE_struct::putI) (struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key, void *element, void(ANTLR3_CDECL *freeptr)(void *))Referenced by antlr3HashTableNew(), and antlr3ListPut()​.

pANTLR3_HASH_ENTRY(* ANTLR3_HASH_TABLE_struct::remove) (struct ANTLR3_HASH_TABLE_struct *table, void *key)Referenced by antlr3HashTableNew()​.

pANTLR3_HASH_ENTRY(* ANTLR3_HASH_TABLE_struct::removeI) (struct ANTLR3_HASH_TABLE_struct *table, ANTLR3_INTKEY key)Referenced by antlr3HashTableNew(), and antlr3ListRemove()​.

ANTLR3_UINT32(* ANTLR3_HASH_TABLE_struct::size) (struct ANTLR3_HASH_TABLE_struct *table)Referenced by antlr3HashTableNew(), antlr3ListAdd(), and antlr3ListSize()​.

AuthorGenerated automatically by Doxygen for ANTLR3C from the source code​.
0
Johanes Gumabo
Data Size   :   26,574 byte
man-ANTLR3_HASH_TABLE_struct.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 170,507
Visitor ID   :     :  
Visitor IP   :   52.15.209.178   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.