mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code cleanup and style refactor.
This commit is contained in:
@@ -121,17 +121,20 @@ static class Clmul
|
|||||||
while((len -= 64) >= 0)
|
while((len -= 64) >= 0)
|
||||||
{
|
{
|
||||||
var xmmT0 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
var xmmT0 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
||||||
BitConverter.ToUInt32(src, bufPos + 8), BitConverter.ToUInt32(src, bufPos + 12));
|
BitConverter.ToUInt32(src, bufPos + 8),
|
||||||
|
BitConverter.ToUInt32(src, bufPos + 12));
|
||||||
|
|
||||||
bufPos += 16;
|
bufPos += 16;
|
||||||
|
|
||||||
var xmmT1 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
var xmmT1 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
||||||
BitConverter.ToUInt32(src, bufPos + 8), BitConverter.ToUInt32(src, bufPos + 12));
|
BitConverter.ToUInt32(src, bufPos + 8),
|
||||||
|
BitConverter.ToUInt32(src, bufPos + 12));
|
||||||
|
|
||||||
bufPos += 16;
|
bufPos += 16;
|
||||||
|
|
||||||
var xmmT2 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
var xmmT2 = Vector128.Create(BitConverter.ToUInt32(src, bufPos), BitConverter.ToUInt32(src, bufPos + 4),
|
||||||
BitConverter.ToUInt32(src, bufPos + 8), BitConverter.ToUInt32(src, bufPos + 12));
|
BitConverter.ToUInt32(src, bufPos + 8),
|
||||||
|
BitConverter.ToUInt32(src, bufPos + 12));
|
||||||
|
|
||||||
bufPos += 16;
|
bufPos += 16;
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,7 @@ namespace Aaru.Checksums;
|
|||||||
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>Handles native implementations of compression algorithms</summary>
|
||||||
/// Handles native implementations of compression algorithms
|
|
||||||
/// </summary>
|
|
||||||
public static class Native
|
public static class Native
|
||||||
{
|
{
|
||||||
static bool _checked;
|
static bool _checked;
|
||||||
|
|||||||
Reference in New Issue
Block a user