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

Method Merge

cpp/src/arrow/util/tdigest.cc:382–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382void TDigest::Merge(const std::vector<TDigest>& others) {
383 MergeInput();
384
385 std::vector<const TDigestImpl*> other_impls;
386 other_impls.reserve(others.size());
387 for (auto& other : others) {
388 other.MergeInput();
389 other_impls.push_back(other.impl_.get());
390 }
391 impl_->Merge(other_impls);
392}
393
394void TDigest::Merge(const TDigest& other) {
395 MergeInput();

Callers 4

ArrayOfMethod · 0.45
TestMergeFunction · 0.45
TESTFunction · 0.45
AddMethod · 0.45

Calls 5

push_backMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
MergeInputMethod · 0.45
getMethod · 0.45

Tested by 2

TestMergeFunction · 0.36
TESTFunction · 0.36