commit
6b20e7f7b3
@ -1,5 +1,7 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
|
||||||
|
<LangVersion>9.0</LangVersion>
|
||||||
<BenchmarkDotNet>0.13.1</BenchmarkDotNet>
|
<BenchmarkDotNet>0.13.1</BenchmarkDotNet>
|
||||||
<MicrosoftSdk>17.2.0</MicrosoftSdk>
|
<MicrosoftSdk>17.2.0</MicrosoftSdk>
|
||||||
<xUnit>2.4.1</xUnit>
|
<xUnit>2.4.1</xUnit>
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<Import Project="deps.props" />
|
<Import Project="deps.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<PackageId>Standart.Hash.xxHash</PackageId>
|
<PackageId>Standart.Hash.xxHash</PackageId>
|
||||||
<VersionPrefix>4.0.4</VersionPrefix>
|
<VersionPrefix>4.0.5</VersionPrefix>
|
||||||
<AssemblyName>Standart.Hash.xxHash</AssemblyName>
|
<AssemblyName>Standart.Hash.xxHash</AssemblyName>
|
||||||
<AssemblyTitle>Standart.Hash.xxHash</AssemblyTitle>
|
<AssemblyTitle>Standart.Hash.xxHash</AssemblyTitle>
|
||||||
<Authors>Oleksandr Melnyk</Authors>
|
<Authors>Oleksandr Melnyk</Authors>
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
<Import Project="..\..\deps.props" />
|
<Import Project="..\..\deps.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
<Import Project="..\..\deps.props" />
|
<Import Project="..\..\deps.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
|||||||
@ -2,8 +2,8 @@ using System;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash.Test;
|
namespace Standart.Hash.xxHash.Test
|
||||||
|
{
|
||||||
public class xxHash128Test
|
public class xxHash128Test
|
||||||
{
|
{
|
||||||
[Fact]
|
[Fact]
|
||||||
@ -111,3 +111,4 @@ public class xxHash128Test
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@ -3,7 +3,6 @@
|
|||||||
<Import Project="..\..\nuget.props" />
|
<Import Project="..\..\nuget.props" />
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public partial class xxHash32
|
public partial class xxHash32
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
@ -187,3 +187,5 @@ public partial class xxHash32
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public partial class xxHash64
|
public partial class xxHash64
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
@ -249,3 +249,4 @@ public partial class xxHash64
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public static partial class xxHash32
|
public static partial class xxHash32
|
||||||
{
|
{
|
||||||
private static readonly uint XXH_PRIME32_1 = 2654435761U;
|
private static readonly uint XXH_PRIME32_1 = 2654435761U;
|
||||||
@ -18,3 +18,4 @@ public static partial class xxHash32
|
|||||||
return (x << r) | (x >> (32 - r));
|
return (x << r) | (x >> (32 - r));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -9,8 +9,8 @@ using System.Runtime.InteropServices;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public static partial class xxHash32
|
public static partial class xxHash32
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -262,3 +262,4 @@ public static partial class xxHash32
|
|||||||
return __inline__XXH32(ptr, length, seed);
|
return __inline__XXH32(ptr, length, seed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public static partial class xxHash64
|
public static partial class xxHash64
|
||||||
{
|
{
|
||||||
private static readonly ulong XXH_PRIME64_1 = 11400714785074694791UL;
|
private static readonly ulong XXH_PRIME64_1 = 11400714785074694791UL;
|
||||||
@ -18,3 +18,4 @@ public static partial class xxHash64
|
|||||||
return (x << r) | (x >> (64 - r));
|
return (x << r) | (x >> (64 - r));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -9,8 +9,8 @@ using System.Runtime.InteropServices;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Standart.Hash.xxHash;
|
namespace Standart.Hash.xxHash
|
||||||
|
{
|
||||||
public static partial class xxHash64
|
public static partial class xxHash64
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -262,3 +262,5 @@ public static partial class xxHash64
|
|||||||
return __inline__XXH64(ptr, length, seed);
|
return __inline__XXH64(ptr, length, seed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user