File: lzham_checksum.h

package info (click to toggle)
p7zip 16.02%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,144 kB
  • sloc: cpp: 167,145; ansic: 14,992; python: 1,911; asm: 1,688; sh: 1,132; makefile: 701
file content (13 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
// File: lzham_checksum.h
// See Copyright Notice and license at the end of include/lzham.h
#pragma once

namespace lzham
{
   const uint cInitAdler32 = 1U;
   uint adler32(const void* pBuf, size_t buflen, uint adler32 = cInitAdler32);
   
   const uint cInitCRC32 = 0U;
   uint crc32(uint crc, const lzham_uint8 *ptr, size_t buf_len);
   
}  // namespace lzham