abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Hash_Flt_Entry_t_ |
struct | Hash_Flt_t_ |
Macros | |
#define | Hash_FltForEachEntry(pHash, pEntry, bin) |
MACRO DEFINITIONS ///. More... | |
Typedefs | |
typedef struct Hash_Flt_t_ | Hash_Flt_t |
PARAMETERS ///. More... | |
typedef struct Hash_Flt_Entry_t_ | Hash_Flt_Entry_t |
Functions | |
ABC_NAMESPACE_HEADER_START int | Hash_DefaultHashFunc (int key, int nBins) |
INCLUDES ///. More... | |
static Hash_Flt_t * | Hash_FltAlloc (int nBins) |
FUNCTION DEFINITIONS ///. More... | |
static int | Hash_FltExists (Hash_Flt_t *p, int key) |
static void | Hash_FltWriteEntry (Hash_Flt_t *p, int key, float data) |
static float | Hash_FltEntry (Hash_Flt_t *p, int key, int fCreate) |
static float * | Hash_FltEntryPtr (Hash_Flt_t *p, int key) |
static void | Hash_FltRemove (Hash_Flt_t *p, int key) |
static void | Hash_FltFree (Hash_Flt_t *p) |
#define Hash_FltForEachEntry | ( | pHash, | |
pEntry, | |||
bin | |||
) |
typedef struct Hash_Flt_Entry_t_ Hash_Flt_Entry_t |
typedef struct Hash_Flt_t_ Hash_Flt_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 hashFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key.]
Description [fCreate specifies whether new entries should be created.]
SideEffects []
SeeAlso []
Definition at line 191 of file hashFlt.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 hashFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Returns 1 if a key already exists.]
Description []
SideEffects []
SeeAlso []
Definition at line 115 of file hashFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Frees the hash.]
Description []
SideEffects []
SeeAlso []
Definition at line 312 of file hashFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Deletes an entry.]
Description []
SideEffects []
SeeAlso []
Definition at line 275 of file hashFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Finds or creates an entry with a key and writes value.]
Description []
SideEffects []
SeeAlso []
Definition at line 148 of file hashFlt.h.