Skip to content

Commit

Permalink
修改fileSearcher.exe代码
Browse files Browse the repository at this point in the history
  • Loading branch information
XUANXUQAQ committed Jul 12, 2020
1 parent 80ff6af commit 13fd922
Show file tree
Hide file tree
Showing 13 changed files with 87 additions and 86 deletions.
2 changes: 1 addition & 1 deletion C++/fileSearcher/fileSearcher/Release/fileSearcher.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
D:\Code\File-Engine\C++\fileSearcher\fileSearcher\Search.h(400,28): warning C4244: “参数”: 从“__int64”转换到“intptr_t”,可能丢失数据
D:\Code\File-Engine\C++\fileSearcher\fileSearcher\Search.h(401,20): warning C4244: “参数”: 从“__int64”转换到“intptr_t”,可能丢失数据
正在生成代码
0 of 592 functions ( 0.0%) were compiled, the rest were copied from previous compilation.
1 of 592 functions ( 0.2%) were compiled, the rest were copied from previous compilation.
0 functions were new in current compilation
0 functions had inline decision re-evaluated but remain unchanged
已完成代码的生成
Expand Down
Binary file modified C++/fileSearcher/fileSearcher/Release/fileSearcher.obj
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified C++/fileSearcher/fileSearcher/Release/vc142.pdb
Binary file not shown.
164 changes: 82 additions & 82 deletions C++/fileSearcher/fileSearcher/fileSearcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,47 +82,47 @@ int main(int argc, char* argv[])

sqlite3_exec(db, "BEGIN;", 0, 0, 0);

executeAll(command0, "INSERT INTO list0(PATH) VALUES(?);");
executeAll(command1, "INSERT INTO list1(PATH) VALUES(?);");
executeAll(command2, "INSERT INTO list2(PATH) VALUES(?);");
executeAll(command3, "INSERT INTO list3(PATH) VALUES(?);");
executeAll(command4, "INSERT INTO list4(PATH) VALUES(?);");
executeAll(command5, "INSERT INTO list5(PATH) VALUES(?);");
executeAll(command6, "INSERT INTO list6(PATH) VALUES(?);");
executeAll(command7, "INSERT INTO list7(PATH) VALUES(?);");
executeAll(command8, "INSERT INTO list8(PATH) VALUES(?);");
executeAll(command9, "INSERT INTO list9(PATH) VALUES(?);");
executeAll(command10, "INSERT INTO list10(PATH) VALUES(?);");
executeAll(command11, "INSERT INTO list11(PATH) VALUES(?);");
executeAll(command12, "INSERT INTO list12(PATH) VALUES(?);");
executeAll(command13, "INSERT INTO list13(PATH) VALUES(?);");
executeAll(command14, "INSERT INTO list14(PATH) VALUES(?);");
executeAll(command15, "INSERT INTO list15(PATH) VALUES(?);");
executeAll(command16, "INSERT INTO list16(PATH) VALUES(?);");
executeAll(command17, "INSERT INTO list17(PATH) VALUES(?);");
executeAll(command18, "INSERT INTO list18(PATH) VALUES(?);");
executeAll(command19, "INSERT INTO list19(PATH) VALUES(?);");
executeAll(command20, "INSERT INTO list20(PATH) VALUES(?);");
executeAll(command21, "INSERT INTO list21(PATH) VALUES(?);");
executeAll(command22, "INSERT INTO list22(PATH) VALUES(?);");
executeAll(command23, "INSERT INTO list23(PATH) VALUES(?);");
executeAll(command24, "INSERT INTO list24(PATH) VALUES(?);");
executeAll(command25, "INSERT INTO list25(PATH) VALUES(?);");
executeAll(command26, "INSERT INTO list26(PATH) VALUES(?);");
executeAll(command27, "INSERT INTO list27(PATH) VALUES(?);");
executeAll(command28, "INSERT INTO list28(PATH) VALUES(?);");
executeAll(command29, "INSERT INTO list29(PATH) VALUES(?);");
executeAll(command30, "INSERT INTO list30(PATH) VALUES(?);");
executeAll(command31, "INSERT INTO list31(PATH) VALUES(?);");
executeAll(command32, "INSERT INTO list32(PATH) VALUES(?);");
executeAll(command33, "INSERT INTO list33(PATH) VALUES(?);");
executeAll(command34, "INSERT INTO list34(PATH) VALUES(?);");
executeAll(command35, "INSERT INTO list35(PATH) VALUES(?);");
executeAll(command36, "INSERT INTO list36(PATH) VALUES(?);");
executeAll(command37, "INSERT INTO list37(PATH) VALUES(?);");
executeAll(command38, "INSERT INTO list38(PATH) VALUES(?);");
executeAll(command39, "INSERT INTO list39(PATH) VALUES(?);");
executeAll(command40, "INSERT INTO list40(PATH) VALUES(?);");
executeAll(command0, "INSERT OR IGNORE INTO list0(PATH) VALUES(?);");
executeAll(command1, "INSERT OR IGNORE INTO list1(PATH) VALUES(?);");
executeAll(command2, "INSERT OR IGNORE INTO list2(PATH) VALUES(?);");
executeAll(command3, "INSERT OR IGNORE INTO list3(PATH) VALUES(?);");
executeAll(command4, "INSERT OR IGNORE INTO list4(PATH) VALUES(?);");
executeAll(command5, "INSERT OR IGNORE INTO list5(PATH) VALUES(?);");
executeAll(command6, "INSERT OR IGNORE INTO list6(PATH) VALUES(?);");
executeAll(command7, "INSERT OR IGNORE INTO list7(PATH) VALUES(?);");
executeAll(command8, "INSERT OR IGNORE INTO list8(PATH) VALUES(?);");
executeAll(command9, "INSERT OR IGNORE INTO list9(PATH) VALUES(?);");
executeAll(command10, "INSERT OR IGNORE INTO list10(PATH) VALUES(?);");
executeAll(command11, "INSERT OR IGNORE INTO list11(PATH) VALUES(?);");
executeAll(command12, "INSERT OR IGNORE INTO list12(PATH) VALUES(?);");
executeAll(command13, "INSERT OR IGNORE INTO list13(PATH) VALUES(?);");
executeAll(command14, "INSERT OR IGNORE INTO list14(PATH) VALUES(?);");
executeAll(command15, "INSERT OR IGNORE INTO list15(PATH) VALUES(?);");
executeAll(command16, "INSERT OR IGNORE INTO list16(PATH) VALUES(?);");
executeAll(command17, "INSERT OR IGNORE INTO list17(PATH) VALUES(?);");
executeAll(command18, "INSERT OR IGNORE INTO list18(PATH) VALUES(?);");
executeAll(command19, "INSERT OR IGNORE INTO list19(PATH) VALUES(?);");
executeAll(command20, "INSERT OR IGNORE INTO list20(PATH) VALUES(?);");
executeAll(command21, "INSERT OR IGNORE INTO list21(PATH) VALUES(?);");
executeAll(command22, "INSERT OR IGNORE INTO list22(PATH) VALUES(?);");
executeAll(command23, "INSERT OR IGNORE INTO list23(PATH) VALUES(?);");
executeAll(command24, "INSERT OR IGNORE INTO list24(PATH) VALUES(?);");
executeAll(command25, "INSERT OR IGNORE INTO list25(PATH) VALUES(?);");
executeAll(command26, "INSERT OR IGNORE INTO list26(PATH) VALUES(?);");
executeAll(command27, "INSERT OR IGNORE INTO list27(PATH) VALUES(?);");
executeAll(command28, "INSERT OR IGNORE INTO list28(PATH) VALUES(?);");
executeAll(command29, "INSERT OR IGNORE INTO list29(PATH) VALUES(?);");
executeAll(command30, "INSERT OR IGNORE INTO list30(PATH) VALUES(?);");
executeAll(command31, "INSERT OR IGNORE INTO list31(PATH) VALUES(?);");
executeAll(command32, "INSERT OR IGNORE INTO list32(PATH) VALUES(?);");
executeAll(command33, "INSERT OR IGNORE INTO list33(PATH) VALUES(?);");
executeAll(command34, "INSERT OR IGNORE INTO list34(PATH) VALUES(?);");
executeAll(command35, "INSERT OR IGNORE INTO list35(PATH) VALUES(?);");
executeAll(command36, "INSERT OR IGNORE INTO list36(PATH) VALUES(?);");
executeAll(command37, "INSERT OR IGNORE INTO list37(PATH) VALUES(?);");
executeAll(command38, "INSERT OR IGNORE INTO list38(PATH) VALUES(?);");
executeAll(command39, "INSERT OR IGNORE INTO list39(PATH) VALUES(?);");
executeAll(command40, "INSERT OR IGNORE INTO list40(PATH) VALUES(?);");

sqlite3_exec(db, "COMMIT;", 0, 0, 0);
sqlite3_close(db);
Expand Down Expand Up @@ -150,47 +150,47 @@ int main()
setSearchDepth(6);
addIgnorePath("C:\\Windows");
searchFiles("C:", "*");
executeAll(command0, "INSERT INTO list0(PATH) VALUES(?);");
executeAll(command1, "INSERT INTO list1(PATH) VALUES(?);");
executeAll(command2, "INSERT INTO list2(PATH) VALUES(?);");
executeAll(command3, "INSERT INTO list3(PATH) VALUES(?);");
executeAll(command4, "INSERT INTO list4(PATH) VALUES(?);");
executeAll(command5, "INSERT INTO list5(PATH) VALUES(?);");
executeAll(command6, "INSERT INTO list6(PATH) VALUES(?);");
executeAll(command7, "INSERT INTO list7(PATH) VALUES(?);");
executeAll(command8, "INSERT INTO list8(PATH) VALUES(?);");
executeAll(command9, "INSERT INTO list9(PATH) VALUES(?);");
executeAll(command10, "INSERT INTO list10(PATH) VALUES(?);");
executeAll(command11, "INSERT INTO list11(PATH) VALUES(?);");
executeAll(command12, "INSERT INTO list12(PATH) VALUES(?);");
executeAll(command13, "INSERT INTO list13(PATH) VALUES(?);");
executeAll(command14, "INSERT INTO list14(PATH) VALUES(?);");
executeAll(command15, "INSERT INTO list15(PATH) VALUES(?);");
executeAll(command16, "INSERT INTO list16(PATH) VALUES(?);");
executeAll(command17, "INSERT INTO list17(PATH) VALUES(?);");
executeAll(command18, "INSERT INTO list18(PATH) VALUES(?);");
executeAll(command19, "INSERT INTO list19(PATH) VALUES(?);");
executeAll(command20, "INSERT INTO list20(PATH) VALUES(?);");
executeAll(command21, "INSERT INTO list21(PATH) VALUES(?);");
executeAll(command22, "INSERT INTO list22(PATH) VALUES(?);");
executeAll(command23, "INSERT INTO list23(PATH) VALUES(?);");
executeAll(command24, "INSERT INTO list24(PATH) VALUES(?);");
executeAll(command25, "INSERT INTO list25(PATH) VALUES(?);");
executeAll(command26, "INSERT INTO list26(PATH) VALUES(?);");
executeAll(command27, "INSERT INTO list27(PATH) VALUES(?);");
executeAll(command28, "INSERT INTO list28(PATH) VALUES(?);");
executeAll(command29, "INSERT INTO list29(PATH) VALUES(?);");
executeAll(command30, "INSERT INTO list30(PATH) VALUES(?);");
executeAll(command31, "INSERT INTO list31(PATH) VALUES(?);");
executeAll(command32, "INSERT INTO list32(PATH) VALUES(?);");
executeAll(command33, "INSERT INTO list33(PATH) VALUES(?);");
executeAll(command34, "INSERT INTO list34(PATH) VALUES(?);");
executeAll(command35, "INSERT INTO list35(PATH) VALUES(?);");
executeAll(command36, "INSERT INTO list36(PATH) VALUES(?);");
executeAll(command37, "INSERT INTO list37(PATH) VALUES(?);");
executeAll(command38, "INSERT INTO list38(PATH) VALUES(?);");
executeAll(command39, "INSERT INTO list39(PATH) VALUES(?);");
executeAll(command40, "INSERT INTO list40(PATH) VALUES(?);");
executeAll(command0, "INSERT OR IGNORE INTO list0(PATH) VALUES(?);");
executeAll(command1, "INSERT OR IGNORE INTO list1(PATH) VALUES(?);");
executeAll(command2, "INSERT OR IGNORE INTO list2(PATH) VALUES(?);");
executeAll(command3, "INSERT OR IGNORE INTO list3(PATH) VALUES(?);");
executeAll(command4, "INSERT OR IGNORE INTO list4(PATH) VALUES(?);");
executeAll(command5, "INSERT OR IGNORE INTO list5(PATH) VALUES(?);");
executeAll(command6, "INSERT OR IGNORE INTO list6(PATH) VALUES(?);");
executeAll(command7, "INSERT OR IGNORE INTO list7(PATH) VALUES(?);");
executeAll(command8, "INSERT OR IGNORE INTO list8(PATH) VALUES(?);");
executeAll(command9, "INSERT OR IGNORE INTO list9(PATH) VALUES(?);");
executeAll(command10, "INSERT OR IGNORE INTO list10(PATH) VALUES(?);");
executeAll(command11, "INSERT OR IGNORE INTO list11(PATH) VALUES(?);");
executeAll(command12, "INSERT OR IGNORE INTO list12(PATH) VALUES(?);");
executeAll(command13, "INSERT OR IGNORE INTO list13(PATH) VALUES(?);");
executeAll(command14, "INSERT OR IGNORE INTO list14(PATH) VALUES(?);");
executeAll(command15, "INSERT OR IGNORE INTO list15(PATH) VALUES(?);");
executeAll(command16, "INSERT OR IGNORE INTO list16(PATH) VALUES(?);");
executeAll(command17, "INSERT OR IGNORE INTO list17(PATH) VALUES(?);");
executeAll(command18, "INSERT OR IGNORE INTO list18(PATH) VALUES(?);");
executeAll(command19, "INSERT OR IGNORE INTO list19(PATH) VALUES(?);");
executeAll(command20, "INSERT OR IGNORE INTO list20(PATH) VALUES(?);");
executeAll(command21, "INSERT OR IGNORE INTO list21(PATH) VALUES(?);");
executeAll(command22, "INSERT OR IGNORE INTO list22(PATH) VALUES(?);");
executeAll(command23, "INSERT OR IGNORE INTO list23(PATH) VALUES(?);");
executeAll(command24, "INSERT OR IGNORE INTO list24(PATH) VALUES(?);");
executeAll(command25, "INSERT OR IGNORE INTO list25(PATH) VALUES(?);");
executeAll(command26, "INSERT OR IGNORE INTO list26(PATH) VALUES(?);");
executeAll(command27, "INSERT OR IGNORE INTO list27(PATH) VALUES(?);");
executeAll(command28, "INSERT OR IGNORE INTO list28(PATH) VALUES(?);");
executeAll(command29, "INSERT OR IGNORE INTO list29(PATH) VALUES(?);");
executeAll(command30, "INSERT OR IGNORE INTO list30(PATH) VALUES(?);");
executeAll(command31, "INSERT OR IGNORE INTO list31(PATH) VALUES(?);");
executeAll(command32, "INSERT OR IGNORE INTO list32(PATH) VALUES(?);");
executeAll(command33, "INSERT OR IGNORE INTO list33(PATH) VALUES(?);");
executeAll(command34, "INSERT OR IGNORE INTO list34(PATH) VALUES(?);");
executeAll(command35, "INSERT OR IGNORE INTO list35(PATH) VALUES(?);");
executeAll(command36, "INSERT OR IGNORE INTO list36(PATH) VALUES(?);");
executeAll(command37, "INSERT OR IGNORE INTO list37(PATH) VALUES(?);");
executeAll(command38, "INSERT OR IGNORE INTO list38(PATH) VALUES(?);");
executeAll(command39, "INSERT OR IGNORE INTO list39(PATH) VALUES(?);");
executeAll(command40, "INSERT OR IGNORE INTO list40(PATH) VALUES(?);");
sqlite3_close(db);
getchar();
}
Expand Down
2 changes: 1 addition & 1 deletion C++/fileSearcher/fileSearcher/x64/Release/fileSearcher.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
D:\Code\File-Engine\C++\fileSearcher\fileSearcher\Search.h(408,71): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
D:\Code\File-Engine\C++\fileSearcher\fileSearcher\Search.h(449,28): warning C4244: “=”: 从“intptr_t”转换到“long”,可能丢失数据
正在生成代码
0 of 592 functions ( 0.0%) were compiled, the rest were copied from previous compilation.
1 of 592 functions ( 0.2%) were compiled, the rest were copied from previous compilation.
0 functions were new in current compilation
0 functions had inline decision re-evaluated but remain unchanged
已完成代码的生成
Expand Down
Binary file modified C++/fileSearcher/fileSearcher/x64/Release/fileSearcher.obj
Binary file not shown.
Binary file not shown.
Binary file modified C++/fileSearcher/fileSearcher/x64/Release/vc142.pdb
Binary file not shown.
5 changes: 3 additions & 2 deletions src/main/java/FileEngine/MainClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class MainClass {
//32bit
private static final String fileMonitor86Md5 = "1005aa7fa75ae86d314afcfc5df0af6b";
private static final String fileSearcher86Md5 = "9f9091ef0d87dc920a872d86e3438fea";
private static final String fileSearcher86Md5 = "8ff53f2f2a0d2ec0d7a89d3f4f1bb491";
private static final String getAscII86Md5 = "e370e53ce6c18758a5468fe11ccca652";
private static final String hotkeyListener86Md5 = "15bd4db12a4939969c27c03ac9e57ddd";
private static final String isLocalDisk86Md5 = "9b1c4c4fc44b52bff4f226b39c1ac46f";
Expand All @@ -35,7 +35,7 @@ public class MainClass {
private static final String sqlite386Md5 = "82b03cdb95fb0ef88b876d141b478a6d";
//64bit
private static final String fileMonitor64Md5 = "db64b40ed1ccec6a7f2af1b40c1d22ab";
private static final String fileSearcher64Md5 = "fdf615bbb902246873839062bd605f26";
private static final String fileSearcher64Md5 = "41645c85b1b14823cd1fcf9cce069477";
private static final String getAscII64Md5 = "eff607d2dd4a7e4c878948fe8f24b3ea";
private static final String hotkeyListener64Md5 = "41388e31d6fc22fb430f636d402cf608";
private static final String isLocalDisk64Md5 = "64f64bc828f477aa9ce6f5f8fd6010f3";
Expand Down Expand Up @@ -153,6 +153,7 @@ public static void main(String[] args) {
}

SettingsFrame.set64Bit(System.getProperty("os.arch").contains("64"));
//SettingsFrame.set64Bit(false);

try {
SQLiteUtil.initConnection("jdbc:sqlite:data.db");
Expand Down
Binary file modified src/main/resources/win32-x86-64/fileSearcher.exe
Binary file not shown.
Binary file modified src/main/resources/win32-x86/fileSearcher.exe
Binary file not shown.

0 comments on commit 13fd922

Please sign in to comment.