mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Use compound assignment.
This commit is contained in:
@@ -64,7 +64,7 @@ public sealed class Crc32Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ CRC32_ISO_POLY;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
_table[i] = entry;
|
||||
@@ -88,7 +88,7 @@ public sealed class Crc32Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
_table[i] = entry;
|
||||
@@ -162,7 +162,7 @@ public sealed class Crc32Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
localTable[i] = entry;
|
||||
@@ -211,7 +211,7 @@ public sealed class Crc32Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
localTable[i] = entry;
|
||||
|
||||
@@ -63,7 +63,7 @@ public sealed class Crc64Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ CRC64_ECMA_POLY;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
_table[i] = entry;
|
||||
@@ -88,7 +88,7 @@ public sealed class Crc64Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
_table[i] = entry;
|
||||
@@ -164,7 +164,7 @@ public sealed class Crc64Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
localTable[i] = entry;
|
||||
@@ -213,7 +213,7 @@ public sealed class Crc64Context : IChecksum
|
||||
if((entry & 1) == 1)
|
||||
entry = entry >> 1 ^ polynomial;
|
||||
else
|
||||
entry = entry >> 1;
|
||||
entry >>= 1;
|
||||
}
|
||||
|
||||
localTable[i] = entry;
|
||||
|
||||
Reference in New Issue
Block a user