Changeset 2870 for trunk/gsdl/src
- Timestamp:
- 2001-11-28T15:20:14+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/phind/generate/check.h
r2869 r2870 69 69 } 70 70 71 72 71 // Set the value of a bit in suffixCheck to 1 73 72 inline void setSuffixCheck(cellindex suff) … … 91 90 inline void setSuffixCheck(cellindex first, cellindex last) 92 91 { 93 // If only one bit is set, use simpler function94 if (first == last) {95 setSuffixCheck(first);96 return;97 }98 99 92 // Find the first and last cells in which bits are set 100 93 cellindex first_cell = first >> 3; … … 131 124 } 132 125 133 // To test, insert at start of main:134 135 // allocateSuffixCheck(300);136 // clearSuffixCheck();137 138 // setSuffixCheck(20);139 // setSuffixCheck(35,50);140 // setSuffixCheck(68,150);141 // setSuffixCheck(170,174);142 // setSuffixCheck(220,230);143 // setSuffixCheck(247);144 // setSuffixCheck(256);145 146 // printSuffixCheck();147 // exit(0);148
Note:
See TracChangeset
for help on using the changeset viewer.