mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:11:49 +00:00
[CMAKE]
sync with trunk (r49230) svn path=/branches/cmake-bringup/; revision=49246
This commit is contained in:
commit
1fb94b1cb5
771 changed files with 118975 additions and 68781 deletions
|
@ -85,15 +85,14 @@ static const ULONG CrcTable[256] =
|
|||
* @implemented
|
||||
*/
|
||||
ULONG NTAPI
|
||||
RtlComputeCrc32 (IN USHORT Initial,
|
||||
IN PUCHAR Data,
|
||||
IN ULONG Length)
|
||||
RtlComputeCrc32(IN ULONG Initial,
|
||||
IN PUCHAR Data,
|
||||
IN ULONG Length)
|
||||
{
|
||||
ULONG CrcValue;
|
||||
ULONG CrcValue = ~Initial;
|
||||
|
||||
DPRINT("(%lu,%p,%lu)\n", Initial, Data, Length);
|
||||
DPRINT("(%d,%p,%d)\n", Initial, Data, Length);
|
||||
|
||||
CrcValue = ~Initial;
|
||||
while (Length > 0)
|
||||
{
|
||||
CrcValue = CrcTable[(CrcValue ^ *Data) & 0xff] ^ (CrcValue >> 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue