Changeset 9613 for trunk/indexers/mgpp/text/mgpp_invf_dump.cpp
- Timestamp:
- 2005-04-08T16:01:06+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/text/mgpp_invf_dump.cpp
r3365 r9613 64 64 unsigned long fragNum = 0; 65 65 unsigned long i; 66 for (i=0; i<wordEl.frag_occur; i++) {66 for (i=0; i<wordEl.frag_occur; ++i) { 67 67 unsigned long delta = buffer.bblock_decode (B, NULL); 68 68 fragNum += delta; … … 101 101 unsigned long fragNum = 0; 102 102 unsigned long i; 103 for (i=0; i<tagEl.frag_occur; i++) {103 for (i=0; i<tagEl.frag_occur; ++i) { 104 104 unsigned long delta = buffer.bblock_decode (B, NULL)-1; 105 105 fragNum += delta; … … 172 172 word_dict_el wordEl; 173 173 wordEl.SetNumLevels (idh.num_levels); 174 for (wordNum=0; wordNum<idh.word_dict_size; wordNum++) {174 for (wordNum=0; wordNum<idh.word_dict_size; ++wordNum) { 175 175 wordEl.Read (dictFile, idh.num_levels); 176 176 ReadUL (invfIdxFile, wordStart); … … 184 184 unsigned long tagStart; 185 185 dict_el tagEl; 186 for (tagNum=0; tagNum<idh.tag_dict_size; tagNum++) {186 for (tagNum=0; tagNum<idh.tag_dict_size; ++tagNum) { 187 187 tagEl.Read (dictFile); 188 188 ReadUL (invfIdxFile, tagStart);
Note:
See TracChangeset
for help on using the changeset viewer.