abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Hash_Ptr_Entry_t_ |
struct | Hash_Ptr_t_ |
Macros | |
#define | Hash_PtrForEachEntry(pHash, pEntry, bin) |
MACRO DEFINITIONS ///. More... | |
Typedefs | |
typedef struct Hash_Ptr_t_ | Hash_Ptr_t |
PARAMETERS ///. More... | |
typedef struct Hash_Ptr_Entry_t_ | Hash_Ptr_Entry_t |
Functions | |
ABC_NAMESPACE_HEADER_START int | Hash_DefaultHashFunc (int key, int nBins) |
INCLUDES ///. More... | |
static Hash_Ptr_t * | Hash_PtrAlloc (int nBins) |
FUNCTION DEFINITIONS ///. More... | |
static int | Hash_PtrExists (Hash_Ptr_t *p, int key) |
static void | Hash_PtrWriteEntry (Hash_Ptr_t *p, int key, void *data) |
static void * | Hash_PtrEntry (Hash_Ptr_t *p, int key, int fCreate) |
static void ** | Hash_PtrEntryPtr (Hash_Ptr_t *p, int key) |
static void * | Hash_PtrRemove (Hash_Ptr_t *p, int key) |
static void | Hash_PtrFree (Hash_Ptr_t *p) |
#define Hash_PtrForEachEntry | ( | pHash, | |
pEntry, | |||
bin | |||
) |
typedef struct Hash_Ptr_Entry_t_ Hash_Ptr_Entry_t |
typedef struct Hash_Ptr_t_ Hash_Ptr_t |
ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc | ( | int | key, |
int | nBins | ||
) |
INCLUDES ///.
CFile****************************************************************
FileName [hashFlt.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 hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key.]
Description [fCreate specifies whether a new entry should be created.]
SideEffects []
SeeAlso []
Definition at line 189 of file hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key and returns the pointer to it.]
Description []
SideEffects []
SeeAlso []
Definition at line 233 of file hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns 1 if a key already exists.]
Description []
SideEffects []
SeeAlso []
Definition at line 115 of file hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Frees the hash.]
Description []
SideEffects []
SeeAlso []
Definition at line 311 of file hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Deletes an entry.]
Description [Returns data, if there was any.]
SideEffects []
SeeAlso []
Definition at line 273 of file hashPtr.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key and writes value.]
Description []
SideEffects []
SeeAlso []
Definition at line 146 of file hashPtr.h.