ABC: A System for Sequential Synthesis and Verification
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1
20
21
#ifndef ABC__misc__hash__hash_h
22
#define ABC__misc__hash__hash_h
23
24
25
#ifdef _WIN32
26
#define inline __inline
// compatible with MS VS 6.0
27
#endif
31
32
#include "
misc/util/abc_global.h
"
33
34
#include "
hashInt.h
"
35
#include "
hashFlt.h
"
36
#include "
hashPtr.h
"
37
38
ABC_NAMESPACE_HEADER_START
39
40
44
48
52
56
57
int
Hash_DefaultHashFunc
(
int
key
,
int
nBins) {
58
return
Abc_AbsInt( ( (
key
+11)*(
key
)*7+3 ) % nBins );
59
}
60
64
65
66
67
ABC_NAMESPACE_HEADER_END
68
69
#endif
70
abc_global.h
ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_END
Definition
abc_namespaces.h:51
ABC_NAMESPACE_HEADER_START
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
Definition
abc_namespaces.h:50
hashFlt.h
hashInt.h
hashPtr.h
Hash_DefaultHashFunc
ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc(int key, int nBins)
INCLUDES ///.
Definition
hash.h:57
key
enum keys key
Definition
main.h:25
src
misc
hash
hash.h
Generated by Doxygen 1.13.2 © 2025 EPTansuo. All rights reserved.
鲁ICP备2021046540号