diff --git a/Aaru.Checksums.csproj b/Aaru.Checksums.csproj index c053412..f7dbe4f 100644 --- a/Aaru.Checksums.csproj +++ b/Aaru.Checksums.csproj @@ -43,33 +43,33 @@ true - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - + + + @@ -80,7 +80,7 @@ - - + + \ No newline at end of file diff --git a/Adler32/ssse3.cs b/Adler32/ssse3.cs index a5f9168..e79d7ef 100644 --- a/Adler32/ssse3.cs +++ b/Adler32/ssse3.cs @@ -136,10 +136,10 @@ static class Ssse3 */ vS1 = Sse2.Add(vS1, Sse2.Shuffle(vS1, 177)); vS1 = Sse2.Add(vS1, Sse2.Shuffle(vS1, 78)); - s1 += (uint)Sse2.ConvertToInt32(vS1.AsInt32()); + s1 += (uint)Sse2.ConvertToInt32(vS1.AsInt32()); vS2 = Sse2.Add(vS2, Sse2.Shuffle(vS2, 177)); vS2 = Sse2.Add(vS2, Sse2.Shuffle(vS2, 78)); - s2 = (uint)Sse2.ConvertToInt32(vS2.AsInt32()); + s2 = (uint)Sse2.ConvertToInt32(vS2.AsInt32()); /* * Reduce. */ diff --git a/CRC16Context.cs b/CRC16Context.cs index 3dd0705..b914c6e 100644 --- a/CRC16Context.cs +++ b/CRC16Context.cs @@ -216,8 +216,8 @@ public class Crc16Context : IChecksum // http://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf // http://sourceforge.net/projects/slicing-by-8/ - var currentPos = 0; - const int unroll = 4; + var currentPos = 0; + const int unroll = 4; const int bytesAtOnce = 8 * unroll; ushort crc = previousCrc; @@ -254,8 +254,8 @@ public class Crc16Context : IChecksum // http://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf // http://sourceforge.net/projects/slicing-by-8/ - var currentPos = 0; - const int unroll = 4; + var currentPos = 0; + const int unroll = 4; const int bytesAtOnce = 8 * unroll; ushort crc = previousCrc; diff --git a/CRC32/clmul.cs b/CRC32/clmul.cs index 0203b07..5bb11a3 100644 --- a/CRC32/clmul.cs +++ b/CRC32/clmul.cs @@ -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; diff --git a/Native.cs b/Native.cs index 3d56a9b..481aa95 100644 --- a/Native.cs +++ b/Native.cs @@ -34,9 +34,7 @@ namespace Aaru.Checksums; using System.Runtime.InteropServices; -/// -/// Handles native implementations of compression algorithms -/// +/// Handles native implementations of compression algorithms public static class Native { static bool _checked; diff --git a/ReedSolomon.cs b/ReedSolomon.cs index f07d4bf..f545fb6 100644 --- a/ReedSolomon.cs +++ b/ReedSolomon.cs @@ -78,7 +78,7 @@ public class ReedSolomon bool _initialized; int _mm, _kk, _nn; /// - /// Primitive polynomials - see Lin & Costello, Error Control Coding Appendix A, and Lee & Messerschmitt, Digital + /// Primitive polynomials - see Lin & Costello, Error Control Coding Appendix A, and Lee & Messerschmitt, Digital /// Communication p. 453. /// int[] _pp;