General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:41 +00:00
parent b5f8686256
commit 40487268b4
6 changed files with 41 additions and 40 deletions

View File

@@ -121,17 +121,20 @@ static class Clmul
while((len -= 64) >= 0)
{
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;
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;
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;

View File

@@ -34,9 +34,7 @@ namespace Aaru.Checksums;
using System.Runtime.InteropServices;
/// <summary>
/// Handles native implementations of compression algorithms
/// </summary>
/// <summary>Handles native implementations of compression algorithms</summary>
public static class Native
{
static bool _checked;