#include "util/crc32c.h"
#include <cstddef>
#include <cstdint>
#include "port/port.h"
#include "util/coding.h"
namespace leveldb {
namespace crc32c {
namespace {
const uint32_t kByteExtensionTable[256] = …;
const uint32_t kStrideExtensionTable0[256] = …;
const uint32_t kStrideExtensionTable1[256] = …;
const uint32_t kStrideExtensionTable2[256] = …;
const uint32_t kStrideExtensionTable3[256] = …;
static constexpr const uint32_t kCRC32Xor = …;
inline uint32_t ReadUint32LE(const uint8_t* buffer) { … }
template <int N>
constexpr inline const uint8_t* RoundUp(const uint8_t* pointer) { … }
}
static bool CanAccelerateCRC32C() { … }
uint32_t Extend(uint32_t crc, const char* data, size_t n) { … }
}
}