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