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

Function MergeLevelHistogram

cpp/src/parquet/size_statistics.cc:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace {
35
36void MergeLevelHistogram(std::span<int64_t> histogram, std::span<const int64_t> other) {
37 ARROW_DCHECK_EQ(histogram.size(), other.size());
38 std::transform(histogram.begin(), histogram.end(), other.begin(), histogram.begin(),
39 std::plus<>());
40}
41
42} // namespace
43

Callers 2

MergeMethod · 0.85
UpdateLevelHistogramFunction · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected