Skip to content

Commit

Permalink
Merge pull request #21 from JadynWong/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
JadynWong authored Jun 1, 2020
2 parents 65cd135 + 81e4c9f commit 0a6b9fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion QQWry/BinaryReaderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace QQWry
{
internal static class BinaryReaderExtensions
public static class BinaryReaderExtensions
{
// Note this MODIFIES THE GIVEN ARRAY then returns a reference to the modified array.
public static byte[] Reverse(this byte[] b)
Expand Down
6 changes: 3 additions & 3 deletions QQWryTest/QQWryIpSearchTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace QQWry.Test
{
public class QQWryIpSearchTest
{
protected QQWryIpSearchMode2 GetInstance()
protected QQWryIpSearch GetInstance()
{
var dbPath = Path.Combine(AppContext.BaseDirectory, "qqwry.dat");

Expand All @@ -22,7 +22,7 @@ protected QQWryIpSearchMode2 GetInstance()
QQWryUrl = "https://github.com/JadynWong/IP_qqwry/raw/test/qqwry.rar",
CopyWriteUrl = "https://github.com/JadynWong/IP_qqwry/raw/test/copywrite.rar"
};
QQWryIpSearchMode2 ipSearch = new QQWryIpSearchMode2(option);
QQWryIpSearch ipSearch = new QQWryIpSearch(option);
return ipSearch;
}

Expand Down Expand Up @@ -169,7 +169,7 @@ public void MultiThreadingSafeTest()
{
var ipSearch = GetInstance();

var maxTask = 100000;
var maxTask = 30000;

var p = Parallel.For(0, maxTask, new ParallelOptions()
{
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 0a6b9fc

Please sign in to comment.