Changeset 1980 for trunk


Ignore:
Timestamp:
Mar 27, 2012, 8:49:59 PM (7 years ago)
Author:
ksherdy
Message:

Added debug information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/src/id_symbol_table.hpp

    r1979 r1980  
    119119        do_block<hash_table<identity_strategy_t<BitBlock,16>, hash_strategy_d, ALLOCATOR> >(hash_table_16, groups[blk].ends_16, &buffer[blk*BLOCK_SIZE], 16, (uint8_t *)&h0[blk], (uint8_t *)&h1[blk], 16, BLOCK_SIZE/8);
    120120        }
    121         if(bitblock::any(groups[blk].ends_gte_17)) {
     121        if(bitblock::any(ends_gte_17[blk])) {
     122            print_register("s",starts[blk]);
     123            print_register("e",ends_gte_17[blk]);
    122124        do_block<hash_table<identity_strategy_d, hash_strategy_d, ALLOCATOR> >(hash_table_gte_17, &starts[blk], &ends_gte_17[blk], &buffer[blk*BLOCK_SIZE], (uint8_t *)&h0[blk], (uint8_t *)&h1[blk], BLOCK_SIZE/8);
    123125        }
     
    214216    ReverseScanner<BitBlock, scanword_t> starts_rscanner(starts);
    215217
    216     ends_rscanner.scan_to_next();
    217     starts_rscanner.scan_to_next();
     218    cout << ends_rscanner.scan_to_next() << ",";
     219    cout << starts_rscanner.scan_to_next() << endl;
    218220
    219221    while(!starts_rscanner.is_done() && (starts_rscanner.get_pos() > ends_rscanner.get_pos())) { // synchronize
    220         starts_rscanner.scan_to_next();
     222         cout << starts_rscanner.scan_to_next() << endl;
    221223    }
    222224
     
    229231#endif
    230232
    231         ends_rscanner.scan_to_next();
    232         starts_rscanner.scan_to_next();
     233
     234
     235        cout << ends_rscanner.scan_to_next() << ",";
     236        cout << starts_rscanner.scan_to_next() << endl;
     237
     238
    233239    }
    234240
Note: See TracChangeset for help on using the changeset viewer.