diff --git a/build.cmd b/build.cmd new file mode 100644 index 0000000..deca0a8 --- /dev/null +++ b/build.cmd @@ -0,0 +1,15 @@ +@echo off + +pushd %~dp0 + +md artifacts +call dotnet --info +call dotnet restore src +if %errorlevel% neq 0 exit /b %errorlevel% +call dotnet test src/Standart.Hash.xxHash.Test +if %errorlevel% neq 0 exit /b %errorlevel% + +echo Packing Standart.Hash.xxHash +call dotnet pack src/Standart.Hash.xxHash -c Release -o ..\..\artifacts + +popd \ No newline at end of file diff --git a/src/Standart.Hash.xxHash.Perf/Program.cs b/src/Standart.Hash.xxHash.Perf/Program.cs new file mode 100644 index 0000000..a6b6b8f --- /dev/null +++ b/src/Standart.Hash.xxHash.Perf/Program.cs @@ -0,0 +1,12 @@ +namespace Standart.Hash.xxHash.Perf +{ + using BenchmarkDotNet.Running; + + public class Program + { + public static void Main(string[] args) + { + var summary = BenchmarkRunner.Run(); + } + } +} \ No newline at end of file diff --git a/src/Standart.Hash.xxHash.Perf/Standart.Hash.xxHash.Perf.csproj b/src/Standart.Hash.xxHash.Perf/Standart.Hash.xxHash.Perf.csproj new file mode 100644 index 0000000..2a5ae4b --- /dev/null +++ b/src/Standart.Hash.xxHash.Perf/Standart.Hash.xxHash.Perf.csproj @@ -0,0 +1,20 @@ + + + Exe + netcoreapp2.0 + + + true + x64 + + + false + AnyCPU + + + + + + + + \ No newline at end of file diff --git a/src/xxHash.Perf/xxHashTest.cs b/src/Standart.Hash.xxHash.Perf/xxHashBenchmark.cs similarity index 82% rename from src/xxHash.Perf/xxHashTest.cs rename to src/Standart.Hash.xxHash.Perf/xxHashBenchmark.cs index d517728..4bba1ef 100644 --- a/src/xxHash.Perf/xxHashTest.cs +++ b/src/Standart.Hash.xxHash.Perf/xxHashBenchmark.cs @@ -1,16 +1,15 @@ -namespace xxHash.Perf +namespace Standart.Hash.xxHash.Perf { using System; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Attributes.Columns; using BenchmarkDotNet.Attributes.Exporters; - using Lib; [RPlotExporter, RankColumn] [MinColumn, MaxColumn] [MemoryDiagnoser] - [DisassemblyDiagnoser(printAsm: true, printSource: true)] - public class xxHashTest + //[DisassemblyDiagnoser(printAsm: true, printSource: true)] + public class xxHashBenchmark { const int KB = 1024; const int MB = 1024 * KB; @@ -40,4 +39,4 @@ return xxHash64.ComputeHash(data, data.Length); } } -} +} \ No newline at end of file diff --git a/src/Standart.Hash.xxHash.Test/Standart.Hash.xxHash.Test.csproj b/src/Standart.Hash.xxHash.Test/Standart.Hash.xxHash.Test.csproj new file mode 100644 index 0000000..64be2ed --- /dev/null +++ b/src/Standart.Hash.xxHash.Test/Standart.Hash.xxHash.Test.csproj @@ -0,0 +1,23 @@ + + + false + netcoreapp2.0 + + + true + x64 + + + false + AnyCPU + + + + + + + + + + + \ No newline at end of file diff --git a/src/xxHash.Test/xxHash32Test.cs b/src/Standart.Hash.xxHash.Test/xxHash32Test.cs similarity index 70% rename from src/xxHash.Test/xxHash32Test.cs rename to src/Standart.Hash.xxHash.Test/xxHash32Test.cs index dad5d38..aa0cbbf 100644 --- a/src/xxHash.Test/xxHash32Test.cs +++ b/src/Standart.Hash.xxHash.Test/xxHash32Test.cs @@ -1,15 +1,14 @@ -namespace xxHash.Test +namespace Standart.Hash.xxHash.Test { using System.Text; - using Lib; - using NUnit.Framework; + using Xunit; - [TestFixture] public class xxHash32Test { - [Test] + [Fact] public void Compute_hash_for_the_byte_array() { + // Arrange byte[] data = new byte[] { 0xde, 0x55, 0x47, 0x7f, 0x14, 0x8f, 0xf1, 0x48, @@ -30,19 +29,23 @@ { // Act uint hash = xxHash32.ComputeHash(data, len); + // Assert - Assert.AreEqual(hash, actual[len - 1]); + Assert.Equal(hash, actual[len - 1]); } } - [Test] + [Fact] public void Compute_hash_for_the_string() { - var data = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"); + // Arrange + byte[] data = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"); - var hash = xxHash32.ComputeHash(data, data.Length); + // Act + uint hash = xxHash32.ComputeHash(data, data.Length); - Assert.AreEqual(hash, 0xe3cd4dee); + // Assert + Assert.Equal(0xe3cd4dee, hash); } } -} +} \ No newline at end of file diff --git a/src/xxHash.Test/xxHash64Test.cs b/src/Standart.Hash.xxHash.Test/xxHash64Test.cs similarity index 81% rename from src/xxHash.Test/xxHash64Test.cs rename to src/Standart.Hash.xxHash.Test/xxHash64Test.cs index 5af8108..5693ad6 100644 --- a/src/xxHash.Test/xxHash64Test.cs +++ b/src/Standart.Hash.xxHash.Test/xxHash64Test.cs @@ -1,15 +1,15 @@ -namespace xxHash.Test +namespace Standart.Hash.xxHash.Test { using System.Text; - using Lib; - using NUnit.Framework; + using Hash; + using Xunit; - [TestFixture] public class xxHash64Test { - [Test] + [Fact] public void Compute_hash_for_the_byte_array() { + // Arrange byte[] data = new byte[] { 0x60, 0x82, 0x40, 0x77, 0x8a, 0x0e, 0xe4, 0xd5, @@ -36,21 +36,25 @@ for (int len = 1; len <= data.Length; len++) { - // Assert - ulong hash = xxHash64.ComputeHash(data, len); // Act - Assert.AreEqual(hash, actual[len-1]); + ulong hash = xxHash64.ComputeHash(data, len); + + // Assert + Assert.Equal(hash, actual[len-1]); } } - [Test] + [Fact] public void Compute_hash_for_the_string() { - var data = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"); + // Arrange + byte[] data = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"); - var hash = xxHash64.ComputeHash(data, data.Length); + // Act + ulong hash = xxHash64.ComputeHash(data, data.Length); - Assert.AreEqual(hash, 0x5dee64ff7c935d7f); + // Assert + Assert.Equal((ulong) 0x5dee64ff7c935d7f, hash); } } -} +} \ No newline at end of file diff --git a/src/Standart.Hash.xxHash.sln b/src/Standart.Hash.xxHash.sln new file mode 100644 index 0000000..7a6119a --- /dev/null +++ b/src/Standart.Hash.xxHash.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Standart.Hash.xxHash", "Standart.Hash.xxHash\Standart.Hash.xxHash.csproj", "{E468CD00-D581-46DD-ADE6-71EFA74AD62E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Standart.Hash.xxHash.Perf", "Standart.Hash.xxHash.Perf\Standart.Hash.xxHash.Perf.csproj", "{7B80269B-1EC4-40B5-8E19-F0A68C4404E5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Standart.Hash.xxHash.Test", "Standart.Hash.xxHash.Test\Standart.Hash.xxHash.Test.csproj", "{0D9506CC-A6A1-4C0C-8827-9AB958942895}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E468CD00-D581-46DD-ADE6-71EFA74AD62E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E468CD00-D581-46DD-ADE6-71EFA74AD62E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E468CD00-D581-46DD-ADE6-71EFA74AD62E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E468CD00-D581-46DD-ADE6-71EFA74AD62E}.Release|Any CPU.Build.0 = Release|Any CPU + {7B80269B-1EC4-40B5-8E19-F0A68C4404E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B80269B-1EC4-40B5-8E19-F0A68C4404E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B80269B-1EC4-40B5-8E19-F0A68C4404E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B80269B-1EC4-40B5-8E19-F0A68C4404E5}.Release|Any CPU.Build.0 = Release|Any CPU + {0D9506CC-A6A1-4C0C-8827-9AB958942895}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D9506CC-A6A1-4C0C-8827-9AB958942895}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D9506CC-A6A1-4C0C-8827-9AB958942895}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D9506CC-A6A1-4C0C-8827-9AB958942895}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/src/Standart.Hash.xxHash/Standart.Hash.xxHash.csproj b/src/Standart.Hash.xxHash/Standart.Hash.xxHash.csproj new file mode 100644 index 0000000..3bc47ba --- /dev/null +++ b/src/Standart.Hash.xxHash/Standart.Hash.xxHash.csproj @@ -0,0 +1,23 @@ + + + net45;netstandard2.0 + Standart.Hash.xxHash + 1.0.0 + Standart.Hash.xxHash + Standart.Hash.xxHash + Alexander Melnik + hash;xxHash + Standart.Hash.xxHash + https://github.com/uranium62/xxHash + + + true + true + x64 + + + false + true + AnyCPU + + \ No newline at end of file diff --git a/src/xxHash.Lib/xxHash32.cs b/src/Standart.Hash.xxHash/xxHash32.cs similarity index 68% rename from src/xxHash.Lib/xxHash32.cs rename to src/Standart.Hash.xxHash/xxHash32.cs index 5723f9c..ef51e2c 100644 --- a/src/xxHash.Lib/xxHash32.cs +++ b/src/Standart.Hash.xxHash/xxHash32.cs @@ -1,18 +1,25 @@ -namespace xxHash.Lib +namespace Standart.Hash.xxHash { public static class xxHash32 { private const uint p1 = 2654435761U; private const uint p2 = 2246822519U; private const uint p3 = 3266489917U; - private const uint p4 = 668265263U; - private const uint p5 = 374761393U; + private const uint p4 = 668265263U; + private const uint p5 = 374761393U; + /// d + /// Compute xxHash for the data byte array + /// + /// The source of data + /// The length of the data for hashing + /// The seed number + /// hash public static unsafe uint ComputeHash(byte[] data, int len, uint seed = 0) { fixed (byte* pData = &data[0]) { - uint* ptr = (uint*) pData; + byte* ptr = pData; byte* end = pData + len; uint h32; @@ -27,22 +34,24 @@ do { - v1 += ptr[0] * p2; + v1 += *((uint*)ptr) * p2; v1 = (v1 << 13) | (v1 >> (32 - 13)); // rotl 13 v1 *= p1; + ptr += 4; - v2 += ptr[1] * p2; + v2 += *((uint*)ptr) * p2; v2 = (v2 << 13) | (v2 >> (32 - 13)); // rotl 13 v2 *= p1; + ptr += 4; - v3 += ptr[2] * p2; + v3 += *((uint*)ptr) * p2; v3 = (v3 << 13) | (v3 >> (32 - 13)); // rotl 13 v3 *= p1; + ptr += 4; - v4 += ptr[3] * p2; + v4 += *((uint*)ptr) * p2; v4 = (v4 << 13) | (v4 >> (32 - 13)); // rotl 13 v4 *= p1; - ptr += 4; } while (ptr <= limit); @@ -56,22 +65,22 @@ { h32 = seed + p5; } + h32 += (uint) len; // finalize while (ptr <= end - 4) { - h32 += ptr[0] * p3; + h32 += *((uint*)ptr) * p3; h32 = ((h32 << 17) | (h32 >> (32 - 17))) * p4; // (rotl 17) * p4 - ptr += 1; + ptr += 4; } - byte* lst = (byte*) ptr; - while (lst < end) + while (ptr < end) { - h32 += (*lst) * p5; + h32 += *((byte*)ptr) * p5; h32 = ((h32 << 11) | (h32 >> (32 - 11))) * p1; // (rotl 11) * p1 - lst += 1; + ptr += 1; } // avalanche @@ -85,4 +94,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/xxHash.Lib/xxHash64.cs b/src/Standart.Hash.xxHash/xxHash64.cs similarity index 75% rename from src/xxHash.Lib/xxHash64.cs rename to src/Standart.Hash.xxHash/xxHash64.cs index 2d763df..9b1eac9 100644 --- a/src/xxHash.Lib/xxHash64.cs +++ b/src/Standart.Hash.xxHash/xxHash64.cs @@ -1,4 +1,4 @@ -namespace xxHash.Lib +namespace Standart.Hash.xxHash { public static class xxHash64 { @@ -8,11 +8,18 @@ private const ulong p4 = 9650029242287828579UL; private const ulong p5 = 2870177450012600261UL; + /// + /// Compute xxHash for the data byte array + /// + /// The source of data + /// The length of the data for hashing + /// The seed number + /// hash public static unsafe ulong ComputeHash(byte[] data, int len, ulong seed = 0) { fixed (byte* pData = &data[0]) { - ulong* ptr = (ulong*) pData; + byte* ptr = pData; byte* end = pData + len; ulong h64; @@ -27,23 +34,25 @@ do { - v1 += ptr[0] * p2; + v1 += *((ulong*)ptr) * p2; v1 = (v1 << 31) | (v1 >> (64 - 31)); // rotl 31 v1 *= p1; + ptr += 8; - v2 += ptr[1] * p2; + v2 += *((ulong*)ptr) * p2; v2 = (v2 << 31) | (v2 >> (64 - 31)); // rotl 31 v2 *= p1; + ptr += 8; - v3 += ptr[2] * p2; + v3 += *((ulong*)ptr) * p2; v3 = (v3 << 31) | (v3 >> (64 - 31)); // rotl 31 v3 *= p1; + ptr += 8; - v4 += ptr[3] * p2; + v4 += *((ulong*)ptr) * p2; v4 = (v4 << 31) | (v4 >> (64 - 31)); // rotl 31 v4 *= p1; - - ptr += 4; + ptr += 8; } while (ptr <= limit); @@ -90,28 +99,26 @@ // finalize while (ptr <= end - 8) { - ulong t1 = ptr[0] * p2; + ulong t1 = *((ulong*)ptr) * p2; t1 = (t1 << 31) | (t1 >> (64 - 31)); // rotl 31 t1 *= p1; h64 ^= t1; h64 = ((h64 << 27) | (h64 >> (64 - 27))) * p1 + p4; // (rotl 27) * p1 + p4 - ptr += 1; + ptr += 8; } - - uint* l32 = (uint*) ptr; - if (l32 <= end - 4) + + if (ptr <= end - 4) { - h64 ^= l32[0] * p1; + h64 ^= *((uint*)ptr) * p1; h64 = ((h64 << 23) | (h64 >> (64 - 23))) * p2 + p3; // (rotl 27) * p2 + p3 - l32 += 1; + ptr += 4; } - byte* lst = (byte*)l32; - while (lst < end) + while (ptr < end) { - h64 ^= lst[0] * p5; + h64 ^= *((byte*)ptr) * p5; h64 = ((h64 << 11) | (h64 >> (64 - 11))) * p1; // (rotl 11) * p1 - lst += 1; + ptr += 1; } // avalanche @@ -125,4 +132,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/xxHash.Lib/Properties/AssemblyInfo.cs b/src/xxHash.Lib/Properties/AssemblyInfo.cs deleted file mode 100644 index 1d9f795..0000000 --- a/src/xxHash.Lib/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Security; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("xxHash.Lib")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xxHash.Lib")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("1487b414-7f4b-4b4a-adf3-6c7f6c0a15ac")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AllowPartiallyTrustedCallers] -[assembly: SecurityTransparent] -[assembly: SecurityRules(SecurityRuleSet.Level2, SkipVerificationInFullTrust = true)] \ No newline at end of file diff --git a/src/xxHash.Lib/xxHash.Lib.csproj b/src/xxHash.Lib/xxHash.Lib.csproj deleted file mode 100644 index efb74c2..0000000 --- a/src/xxHash.Lib/xxHash.Lib.csproj +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Debug - AnyCPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC} - Library - Properties - xxHash.Lib - xxHash.Lib - v4.6.1 - 512 - - - true - full - true - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - true - x64 - - - - - - - - - - - - \ No newline at end of file diff --git a/src/xxHash.Perf/App.config b/src/xxHash.Perf/App.config deleted file mode 100644 index 2bbc34d..0000000 --- a/src/xxHash.Perf/App.config +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/xxHash.Perf/Program.cs b/src/xxHash.Perf/Program.cs deleted file mode 100644 index 134c1fe..0000000 --- a/src/xxHash.Perf/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace xxHash.Perf -{ - using BenchmarkDotNet.Running; - - class Program - { - static void Main(string[] args) - { - var summary = BenchmarkRunner.Run(); - } - } -} diff --git a/src/xxHash.Perf/Properties/AssemblyInfo.cs b/src/xxHash.Perf/Properties/AssemblyInfo.cs deleted file mode 100644 index 3325470..0000000 --- a/src/xxHash.Perf/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("xxHash.Perf")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xxHash.Perf")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("2b643cdc-7b3a-4821-a736-4c7b1b280aff")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/xxHash.Perf/packages.config b/src/xxHash.Perf/packages.config deleted file mode 100644 index b23f7a7..0000000 --- a/src/xxHash.Perf/packages.config +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/xxHash.Perf/xxHash.Perf.csproj b/src/xxHash.Perf/xxHash.Perf.csproj deleted file mode 100644 index ce8f8b8..0000000 --- a/src/xxHash.Perf/xxHash.Perf.csproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - - Debug - AnyCPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF} - Exe - xxHash.Perf - xxHash.Perf - v4.6.1 - 512 - true - - - x64 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x64 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\BenchmarkDotNet.0.10.13\lib\net46\BenchmarkDotNet.dll - - - ..\packages\BenchmarkDotNet.Core.0.10.13\lib\net46\BenchmarkDotNet.Core.dll - - - ..\packages\BenchmarkDotNet.Toolchains.Roslyn.0.10.13\lib\net46\BenchmarkDotNet.Toolchains.Roslyn.dll - - - ..\packages\Microsoft.CodeAnalysis.Common.2.6.1\lib\netstandard1.3\Microsoft.CodeAnalysis.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.2.6.1\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll - - - ..\packages\Microsoft.DotNet.InternalAbstractions.1.0.0\lib\net451\Microsoft.DotNet.InternalAbstractions.dll - - - ..\packages\Microsoft.DotNet.PlatformAbstractions.1.1.1\lib\net451\Microsoft.DotNet.PlatformAbstractions.dll - - - ..\packages\Microsoft.Win32.Registry.4.3.0\lib\net46\Microsoft.Win32.Registry.dll - - - - ..\packages\System.AppContext.4.3.0\lib\net46\System.AppContext.dll - True - - - ..\packages\System.Collections.Immutable.1.3.1\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll - True - - - - ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll - - - - ..\packages\System.Diagnostics.FileVersionInfo.4.3.0\lib\net46\System.Diagnostics.FileVersionInfo.dll - - - ..\packages\System.Diagnostics.StackTrace.4.3.0\lib\net46\System.Diagnostics.StackTrace.dll - - - ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll - True - - - ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll - - - ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll - - - - - ..\packages\System.Reflection.Metadata.1.4.2\lib\portable-net45+win8\System.Reflection.Metadata.dll - - - ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net461\System.Security.Cryptography.Algorithms.dll - - - ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll - - - ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll - - - ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll - - - ..\packages\System.Text.Encoding.CodePages.4.3.0\lib\net46\System.Text.Encoding.CodePages.dll - - - ..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll - - - ..\packages\System.Threading.Thread.4.3.0\lib\net46\System.Threading.Thread.dll - - - ..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll - - - - - - - - - ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll - - - ..\packages\System.Xml.XmlDocument.4.3.0\lib\net46\System.Xml.XmlDocument.dll - - - ..\packages\System.Xml.XPath.4.3.0\lib\net46\System.Xml.XPath.dll - - - ..\packages\System.Xml.XPath.XDocument.4.3.0\lib\net46\System.Xml.XPath.XDocument.dll - - - - - - - - - - - - - - - - - - {1487b414-7f4b-4b4a-adf3-6c7f6c0a15ac} - xxHash.Lib - - - - \ No newline at end of file diff --git a/src/xxHash.Test/Properties/AssemblyInfo.cs b/src/xxHash.Test/Properties/AssemblyInfo.cs deleted file mode 100644 index 6f0e0d4..0000000 --- a/src/xxHash.Test/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("xxHash.Test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("xxHash.Test")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("30129d86-62b5-4f40-bbb8-25ff858c18d3")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/xxHash.Test/packages.config b/src/xxHash.Test/packages.config deleted file mode 100644 index 650487c..0000000 --- a/src/xxHash.Test/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/xxHash.Test/xxHash.Test.csproj b/src/xxHash.Test/xxHash.Test.csproj deleted file mode 100644 index 0788f9d..0000000 --- a/src/xxHash.Test/xxHash.Test.csproj +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - Debug - AnyCPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3} - Library - Properties - xxHash.Test - xxHash.Test - v4.6.1 - 512 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - x64 - - - - ..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll - - - - - - - - - - - - {1487b414-7f4b-4b4a-adf3-6c7f6c0a15ac} - xxHash.Lib - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/src/xxHash.sln b/src/xxHash.sln deleted file mode 100644 index 509f638..0000000 --- a/src/xxHash.sln +++ /dev/null @@ -1,65 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2026 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xxHash.Lib", "xxHash.Lib\xxHash.Lib.csproj", "{1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xxHash.Test", "xxHash.Test\xxHash.Test.csproj", "{30129D86-62B5-4F40-BBB8-25FF858C18D3}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xxHash.Perf", "xxHash.Perf\xxHash.Perf.csproj", "{2B643CDC-7B3A-4821-A736-4C7B1B280AFF}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|x64.ActiveCfg = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|x64.Build.0 = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|x86.ActiveCfg = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Debug|x86.Build.0 = Debug|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|Any CPU.Build.0 = Release|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|x64.ActiveCfg = Release|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|x64.Build.0 = Release|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|x86.ActiveCfg = Release|Any CPU - {1487B414-7F4B-4B4A-ADF3-6C7F6C0A15AC}.Release|x86.Build.0 = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|x64.ActiveCfg = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|x64.Build.0 = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|x86.ActiveCfg = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Debug|x86.Build.0 = Debug|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|Any CPU.Build.0 = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|x64.ActiveCfg = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|x64.Build.0 = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|x86.ActiveCfg = Release|Any CPU - {30129D86-62B5-4F40-BBB8-25FF858C18D3}.Release|x86.Build.0 = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|x64.ActiveCfg = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|x64.Build.0 = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|x86.ActiveCfg = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Debug|x86.Build.0 = Debug|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|Any CPU.Build.0 = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|x64.ActiveCfg = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|x64.Build.0 = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|x86.ActiveCfg = Release|Any CPU - {2B643CDC-7B3A-4821-A736-4C7B1B280AFF}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {5FB21551-AFF0-4BF4-8011-8BF4C703F80E} - EndGlobalSection -EndGlobal