Changeset 3804
- Timestamp:
- 2003-03-06T11:46:52+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/mg/src/text/mg_stem_idx.c
r2378 r3804 416 416 prevPE->num_cases++; 417 417 418 else 418 else 419 419 { 420 420 /* Search the idx hash table for word */ … … 480 480 IdxHashTable[hashval] = idx_ent; 481 481 break; 482 } 482 } // if (!idx_ent) 483 483 484 484 /* Compare the words */ … … 510 510 break; 511 511 } 512 } 513 } 512 } // for (;;) 513 } // else (the word does not follow on from previous one) 514 514 515 515 if (IdxHashUsed >= IdxHashSize >> 1) … … 686 686 FatalError (1, "Block size to small"); 687 687 688 } 688 } // if size > block_size 689 689 690 690 if (word_num % sih.lookback == 0) … … 726 726 FatalError (1, "Fatal Internal Error # 64209258\n"); 727 727 728 if (word_num == 0) 728 if (word_num == 0) // the first word in each block - word_num set to 0 when buffer written to tmp file 729 729 { 730 730 /* Write word to main index */ … … 737 737 } 738 738 word_num++; 739 } /* end for each word */ 739 } /* end for each word */ // for each hash entry 740 740 741 741 if (buf_in_use)
Note:
See TracChangeset
for help on using the changeset viewer.