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

Method ToString

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

Source from the content-addressed store, hash-verified

31namespace internal {
32
33std::string Bitmap::ToString() const {
34 std::string out(length_ + ((length_ - 1) / 8), ' ');
35 for (int64_t i = 0; i < length_; ++i) {
36 out[i + (i / 8)] = GetBit(i) ? '1' : '0';
37 }
38 return out;
39}
40
41std::string Bitmap::Diff(const Bitmap& other) const {
42 auto this_buf = std::make_shared<Buffer>(data_, length_);

Callers 15

AssertOnlyWholeObjectsFunction · 0.45
AppendValueMethod · 0.45
AppendValueMethod · 0.45
ConversionNotImplementedFunction · 0.45
TESTFunction · 0.45
AssertScalarsEqualFunction · 0.45
AssertScalarsApproxEqualFunction · 0.45
AssertDatumsEqualFunction · 0.45
AssertDatumsApproxEqualFunction · 0.45
CompareBatchWithFunction · 0.45

Calls 1

GetBitFunction · 0.70

Tested by 15

AssertOnlyWholeObjectsFunction · 0.36
TESTFunction · 0.36
AssertScalarsEqualFunction · 0.36
AssertScalarsApproxEqualFunction · 0.36
AssertDatumsEqualFunction · 0.36
AssertDatumsApproxEqualFunction · 0.36
CompareBatchWithFunction · 0.36
DeserializeMethod · 0.36
PrintToFunction · 0.36
PrintToFunction · 0.36