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

Function extract_ptr

matlab/src/cpp/arrow/matlab/bit/unpack.cc:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44const uint8_t* extract_ptr(
45 const ::matlab::data::TypedArray<bool>& unpacked_validity_bitmap) {
46 if (unpacked_validity_bitmap.getNumberOfElements() > 0) {
47 const auto unpacked_validity_bitmap_iterator(unpacked_validity_bitmap.cbegin());
48 return reinterpret_cast<const uint8_t*>(
49 unpacked_validity_bitmap_iterator.operator->());
50 } else {
51 return nullptr;
52 }
53}
54} // namespace arrow::matlab::bit

Callers 1

makeMethod · 0.85

Calls 2

cbeginMethod · 0.80
operator->Method · 0.45

Tested by

no test coverage detected