MySQL 8.0.40
Source Code Documentation
hardware::Combination_step_executor< algo_to_use, slice_len, slices_count > Struct Template Reference

The body of unrolled loop used to combine partial results from each slice into the final hash of whole chunk, which in i-th iteration takes the crc of i-th slice and "rolls it forward" by virtually processing as many zeros as there are from the end of the i-th slice to the end of the chunk. More...

Static Public Member Functions

template<size_t i>
static void run (uint64_t &combined, const uint64_t *crc)
 

Detailed Description

template<typename algo_to_use, size_t slice_len, size_t slices_count>
struct hardware::Combination_step_executor< algo_to_use, slice_len, slices_count >

The body of unrolled loop used to combine partial results from each slice into the final hash of whole chunk, which in i-th iteration takes the crc of i-th slice and "rolls it forward" by virtually processing as many zeros as there are from the end of the i-th slice to the end of the chunk.

Member Function Documentation

◆ run()

template<typename algo_to_use , size_t slice_len, size_t slices_count>
template<size_t i>
static void hardware::Combination_step_executor< algo_to_use, slice_len, slices_count >::run ( uint64_t &  combined,
const uint64_t *  crc 
)
inlinestatic

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