Changeset 3140 for trunk/src/kmk/hash.h
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/hash.h
r2591 r3140 29 29 # undef __P 30 30 # define __P(protos) () 31 /* We can get away without defining `const' here only because in this file32 it is used only inside the prototype for `fnmatch', which is elided in33 non-ANSI C where `const' is problematical. */31 /* We can get away without defining 'const' here only because in this file 32 it is used only inside the prototype for 'fnmatch', which is elided in 33 non-ANSI C where 'const' is problematical. */ 34 34 #endif /* C++ or ANSI C. */ 35 35 … … 42 42 { 43 43 void **ht_vec; 44 hash_func_t ht_hash_1; /* primary hash function */ 45 hash_func_t ht_hash_2; /* secondary hash function */ 46 hash_cmp_func_t ht_compare; /* comparison function */ 44 47 unsigned long ht_size; /* total number of slots (power of 2) */ 45 48 unsigned long ht_capacity; /* usable slots, limited by loading-factor */ … … 49 52 unsigned long ht_lookups; /* # of queries */ 50 53 unsigned int ht_rehashes; /* # of times we've expanded table */ 51 hash_func_t ht_hash_1; /* primary hash function */52 hash_func_t ht_hash_2; /* secondary hash function */53 hash_cmp_func_t ht_compare; /* comparison function */54 54 #ifdef CONFIG_WITH_STRCACHE2 55 55 struct strcache2 *ht_strcache; /* the string cache pointer. */
Note:
See TracChangeset
for help on using the changeset viewer.