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

Method Diff

cpp/src/arrow/util/bitmap.cc:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41std::string Bitmap::Diff(const Bitmap& other) const {
42 auto this_buf = std::make_shared<Buffer>(data_, length_);
43 auto other_buf = std::make_shared<Buffer>(other.data_, other.length_);
44
45 auto this_arr = std::make_shared<BooleanArray>(length_, this_buf, nullptr, 0, offset_);
46 auto other_arr =
47 std::make_shared<BooleanArray>(other.length_, other_buf, nullptr, 0, other.offset_);
48
49 return this_arr->Diff(*other_arr);
50}
51
52void Bitmap::CopyFrom(const Bitmap& other) {
53 ::arrow::internal::CopyBitmap(other.data_, other.offset_, other.length_, mutable_data_,

Callers 3

MatchAndExplainMethod · 0.45
TESTFunction · 0.45
Array__DiffFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36