Loading Statsgen/include/statsgen.h +2 −2 Changes for Statsgen/include/statsgen.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ struct thread_data { std::string filename; uint64_t lineBegin; uint64_t lineEnd; int queue_full = 0; bool queue_full = false; uint64_t total_counter = 0; uint64_t total_filter = 0; Loading Loading @@ -215,7 +215,7 @@ private: int limitAdvancedmask = 12; // Limit the size of Advanced Mask int nbThread = 1; // Number of usable threads, default 1 std::string outfile_name; // File where to write masks int is_stdin = 0; // If filename is stdin bool is_stdin = false; // If filename is stdin // Dictionary Loading Statsgen/src/statsgen.cpp +2 −2 Changes for Statsgen/src/statsgen.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ using namespace std; void Statsgen::setFilename(std::string name) { if (name == "-"){ is_stdin = 1; is_stdin = true; } else { filename = name; Loading Loading @@ -132,7 +132,7 @@ int Statsgen::generate_stats() { td[nbline%nbThread].password_queue.push(line); nbline++; } for(i=0; i < nbThread; i++) td[i].queue_full = 1; for(i=0; i < nbThread; i++) td[i].queue_full = true; } for( i = 0; i < nbThread; i++ ) { Loading Loading
Statsgen/include/statsgen.h +2 −2 Changes for Statsgen/include/statsgen.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ struct thread_data { std::string filename; uint64_t lineBegin; uint64_t lineEnd; int queue_full = 0; bool queue_full = false; uint64_t total_counter = 0; uint64_t total_filter = 0; Loading Loading @@ -215,7 +215,7 @@ private: int limitAdvancedmask = 12; // Limit the size of Advanced Mask int nbThread = 1; // Number of usable threads, default 1 std::string outfile_name; // File where to write masks int is_stdin = 0; // If filename is stdin bool is_stdin = false; // If filename is stdin // Dictionary Loading
Statsgen/src/statsgen.cpp +2 −2 Changes for Statsgen/src/statsgen.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ using namespace std; void Statsgen::setFilename(std::string name) { if (name == "-"){ is_stdin = 1; is_stdin = true; } else { filename = name; Loading Loading @@ -132,7 +132,7 @@ int Statsgen::generate_stats() { td[nbline%nbThread].password_queue.push(line); nbline++; } for(i=0; i < nbThread; i++) td[i].queue_full = 1; for(i=0; i < nbThread; i++) td[i].queue_full = true; } for( i = 0; i < nbThread; i++ ) { Loading