Help for this page

Select Code to Download


  1. or download this
    #include <tkrzw_dbm_common_impl.h>
    
    idx = tkrzw::SecondaryHash(key, nmaps);
    dbm_ret[idx].IncrementSimple(key, count);
    
  2. or download this
    $ NUM_THREADS=24 NUM_MAPS=96 ./llil4tkh2 big{1,2,3}.txt | cksum
    llil4tkh2 (fixed string length=12) start
    ...
        count lines     1096742400
        count unique    79120065
    3625599930 791200650
    
  3. or download this
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    +~~~~~~~~~
    // llil4tkh2.cc
    ...
    
       return 0;
    }