proxygen
Crc32CombineDetail.cpp File Reference
#include <folly/hash/detail/ChecksumDetail.h>
#include <array>
#include <folly/Bits.h>
#include <folly/ConstexprMath.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Functions

static constexpr uint32_t folly::gf_multiply_sw_1 (size_t i, uint32_t p, uint32_t a, uint32_t b, uint32_t m)
 
static constexpr uint32_t folly::gf_multiply_sw (uint32_t a, uint32_t b, uint32_t m)
 
static constexpr uint32_t folly::gf_square_sw (uint32_t a, uint32_t m)
 
static uint32_t folly::gf_multiply_crc32c_hw (uint64_t, uint64_t, uint32_t)
 
static uint32_t folly::gf_multiply_crc32_hw (uint64_t, uint64_t, uint32_t)
 
template<typename F >
static uint32_t folly::crc32_append_zeroes (F mult, uint32_t crc, size_t len, uint32_t polynomial, std::array< uint32_t, 62 > const &powers_array)
 
uint32_t folly::detail::crc32_combine_sw (uint32_t crc1, uint32_t crc2, size_t crc2len)
 
uint32_t folly::detail::crc32_combine_hw (uint32_t crc1, uint32_t crc2, size_t crc2len)
 
uint32_t folly::detail::crc32c_combine_sw (uint32_t crc1, uint32_t crc2, size_t crc2len)
 
uint32_t folly::detail::crc32c_combine_hw (uint32_t crc1, uint32_t crc2, size_t crc2len)
 

Variables

static constexpr uint32_t folly::crc32c_m = 0x82f63b78
 
static constexpr uint32_t folly::crc32_m = 0xedb88320
 
static constexpr std::array< uint32_t, 62 > const folly::crc32c_powers
 
static constexpr std::array< uint32_t, 62 > const folly::crc32_powers
 

Variable Documentation

constexpr uint32_t value
static
Initial value:
=
static map< string, int > m
static constexpr uint32_t value
static constexpr uint32_t gf_square_sw(uint32_t a, uint32_t m)

Definition at line 53 of file Crc32CombineDetail.cpp.