abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hash.h File Reference
#include "misc/util/abc_global.h"
#include "hashInt.h"
#include "hashFlt.h"
#include "hashPtr.h"

Go to the source code of this file.

Functions

ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc (int key, int nBins)
 INCLUDES ///. More...
 

Function Documentation

ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc ( int  key,
int  nBins 
)

INCLUDES ///.

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 [

Id:
vec.h,v 1.00 2005/06/20 00:00:00 ahurst Exp

]PARAMETERS ///BASIC TYPES ///MACRO DEFINITIONS ///FUNCTION DECLARATIONS ///

Definition at line 57 of file hash.h.

57  {
58  return Abc_AbsInt( ( (key+11)*(key)*7+3 ) % nBins );
59 }
static int Abc_AbsInt(int a)
Definition: abc_global.h:237
enum keys key