MIDAS
Loading...
Searching...
No Matches
crc32c.h
Go to the documentation of this file.
1/* crc32c.c -- compute CRC-32C using the Intel crc32 instruction
2 * Copyright (C) 2013 Mark Adler
3 * Version 1.1 1 Aug 2013 Mark Adler
4 */
5
6#ifndef CRC32C_INCLUDE
7#define CRC32C_INCLUDE
8
9#include <stdint.h>
10#include <string.h>
11uint32_t crc32c_hw(uint32_t crc, const void *buf, size_t len);
12uint32_t crc32c_sw(uint32_t crc, const void *buf, size_t len);
13uint32_t crc32c(uint32_t crc, const void *buf, size_t len);
14
15#endif
uint32_t crc32c(uint32_t crc, const void *buf, size_t len)
Definition crc32c.cxx:391
uint32_t crc32c_hw(uint32_t crc, const void *buf, size_t len)
uint32_t crc32c_sw(uint32_t crc, const void *buf, size_t len)
Definition crc32c.cxx:99
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24