Changeset 1914 for trunk/src/kmk/strcache2.h
- Timestamp:
- Oct 22, 2008, 11:25:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/strcache2.h
r1913 r1914 147 147 } 148 148 149 /* Getthe pointer hash value for the string.149 /* Calc the pointer hash value for the string. 150 150 151 151 This takes the string address, shift out the bits that are always zero … … 156 156 involve any memory accesses, just a right SHIFT and an optional AND. */ 157 157 MY_INLINE unsigned int 158 strcache2_ get_ptr_hash (struct strcache2 *cache, const char *str)158 strcache2_calc_ptr_hash (struct strcache2 *cache, const char *str) 159 159 { 160 160 (void)cache;
Note:
See TracChangeset
for help on using the changeset viewer.