Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1011)

Side by Side Diff: third_party/lzma_sdk/C/XzCrc64.h

Issue 6730044: Upgrading lzma_sdk to version 9.20. Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lzma_sdk/C/Xz.c ('k') | third_party/lzma_sdk/C/XzCrc64.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /* XzCrc64.h -- CRC64 calculation
2 2010-04-16 : Igor Pavlov : Public domain */
3
4 #ifndef __XZ_CRC64_H
5 #define __XZ_CRC64_H
6
7 #include <stddef.h>
8
9 #include "Types.h"
10
11 EXTERN_C_BEGIN
12
13 extern UInt64 g_Crc64Table[];
14
15 void MY_FAST_CALL Crc64GenerateTable(void);
16
17 #define CRC64_INIT_VAL UINT64_CONST(0xFFFFFFFFFFFFFFFF)
18 #define CRC64_GET_DIGEST(crc) ((crc) ^ CRC64_INIT_VAL)
19 #define CRC64_UPDATE_BYTE(crc, b) (g_Crc64Table[((crc) ^ (b)) & 0xFF] ^ ((crc) > > 8))
20
21 UInt64 MY_FAST_CALL Crc64Update(UInt64 crc, const void *data, size_t size);
22 UInt64 MY_FAST_CALL Crc64Calc(const void *data, size_t size);
23
24 EXTERN_C_END
25
26 #endif
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/C/Xz.c ('k') | third_party/lzma_sdk/C/XzCrc64.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698