MCPcopy Create free account
hub / github.com/apache/arrow / GearHash

Method GearHash

cpp/src/parquet/chunker_internal.cc:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117class GearHash {
118 public:
119 GearHash(int64_t min_chunk_size, int64_t max_chunk_size, int norm_level)
120 : min_chunk_size_(min_chunk_size),
121 max_chunk_size_(max_chunk_size),
122 rolling_hash_mask_(CalculateMask(min_chunk_size, max_chunk_size, norm_level)) {}
123
124 uint64_t GetRollingHashMask() const { return rolling_hash_mask_; }
125

Callers

nothing calls this directly

Calls 1

CalculateMaskFunction · 0.85

Tested by

no test coverage detected