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

ConvertJsonToArrowFunction · 0.45
ConvertArrowToJsonFunction · 0.45
ValidateArrowVsJsonFunction · 0.45
mkstempMethod · 0.45
mainFunction · 0.45
StatusToErrorStringFunction · 0.45
TempFileMethod · 0.45
TempFileMethod · 0.45
SetUpMethod · 0.45
TEST_FFunction · 0.45
SetUpMethod · 0.45
WillNeedMethod · 0.45

Calls 1

GetBitFunction · 0.70

Tested by 15

ConvertJsonToArrowFunction · 0.36
ConvertArrowToJsonFunction · 0.36
ValidateArrowVsJsonFunction · 0.36
mkstempMethod · 0.36
mainFunction · 0.36
TempFileMethod · 0.36
TempFileMethod · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
AssertOnlyWholeObjectsFunction · 0.36
TESTFunction · 0.36