MySQL 8.0.40
Source Code Documentation
hardware::crc32_impl Struct Reference

The collection of functions implementing hardware accelerated updating of CRC32-C hash by processing a few (1,2,4 or 8) bytes of input. More...

Inheritance diagram for hardware::crc32_impl:
[legend]

Static Public Member Functions

static uint32_t update (uint32_t crc, unsigned char data)
 
static uint32_t update (uint32_t crc, uint16_t data)
 
static uint32_t update (uint32_t crc, uint32_t data)
 
static uint64_t update (uint64_t crc, uint64_t data)
 

Detailed Description

The collection of functions implementing hardware accelerated updating of CRC32-C hash by processing a few (1,2,4 or 8) bytes of input.

They are grouped together in a type, so it's easier to swap their implementation by providing algo_to_use template argument to higher level functions.

Member Function Documentation

◆ update() [1/4]

static uint32_t hardware::crc32_impl::update ( uint32_t  crc,
uint16_t  data 
)
inlinestatic

◆ update() [2/4]

static uint32_t hardware::crc32_impl::update ( uint32_t  crc,
uint32_t  data 
)
inlinestatic

◆ update() [3/4]

static uint32_t hardware::crc32_impl::update ( uint32_t  crc,
unsigned char  data 
)
inlinestatic

◆ update() [4/4]

static uint64_t hardware::crc32_impl::update ( uint64_t  crc,
uint64_t  data 
)
inlinestatic

The documentation for this struct was generated from the following file: