abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Hash_Int_Entry_t_ |
struct | Hash_Int_t_ |
Macros | |
#define | Hash_IntForEachEntry(pHash, pEntry, bin) |
MACRO DEFINITIONS ///. More... | |
Typedefs | |
typedef struct Hash_Int_t_ | Hash_Int_t |
PARAMETERS ///. More... | |
typedef struct Hash_Int_Entry_t_ | Hash_Int_Entry_t |
Functions | |
ABC_NAMESPACE_HEADER_START int | Hash_DefaultHashFunc (int key, int nBins) |
INCLUDES ///. More... | |
static Hash_Int_t * | Hash_IntAlloc (int nBins) |
FUNCTION DEFINITIONS ///. More... | |
static int | Hash_IntExists (Hash_Int_t *p, int key) |
static void | Hash_IntWriteEntry (Hash_Int_t *p, int key, int data) |
static int | Hash_IntEntry (Hash_Int_t *p, int key, int fCreate) |
static int * | Hash_IntEntryPtr (Hash_Int_t *p, int key) |
static void | Hash_IntFree (Hash_Int_t *p) |
#define Hash_IntForEachEntry | ( | pHash, | |
pEntry, | |||
bin | |||
) |
typedef struct Hash_Int_Entry_t_ Hash_Int_Entry_t |
typedef struct Hash_Int_t_ Hash_Int_t |
ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc | ( | int | key, |
int | nBins | ||
) |
INCLUDES ///.
CFile****************************************************************
FileName [hashInt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Hash maps.]
Synopsis [Hash maps.]
Author [Aaron P. Hurst]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 16, 2006.]
Revision [
]
CFile****************************************************************
FileName [hash.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Hash map.]
Synopsis [External declarations.]
Author [Aaron P. Hurst]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - May 16, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///MACRO DEFINITIONS ///FUNCTION DECLARATIONS ///
Definition at line 57 of file hash.h.
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates a hash map with the given number of bins.]
Description []
SideEffects []
SeeAlso []
Definition at line 88 of file hashInt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key.]
Description [fCreate specifies whether new entries will be created.]
SideEffects []
SeeAlso []
Definition at line 191 of file hashInt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key and returns the pointer to it.]
Description []
SideEffects []
SeeAlso []
Definition at line 235 of file hashInt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns 1 if a key already exists.]
Description []
SideEffects []
SeeAlso []
Definition at line 115 of file hashInt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Frees the hash.]
Description []
SideEffects []
SeeAlso []
Definition at line 275 of file hashInt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key and writes value.]
Description []
SideEffects []
SeeAlso []
Definition at line 148 of file hashInt.h.