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

Function CountNulls

cpp/src/arrow/testing/util.cc:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103int64_t CountNulls(const std::vector<uint8_t>& valid_bytes) {
104 return static_cast<int64_t>(std::count(valid_bytes.cbegin(), valid_bytes.cend(), '\0'));
105}
106
107Status MakeRandomByteBuffer(int64_t length, MemoryPool* pool,
108 std::shared_ptr<ResizableBuffer>* out, uint32_t seed) {

Callers 4

MakeArrayMethod · 0.85
CheckMethod · 0.85
array_test.ccFile · 0.85
TestCreateMethod · 0.85

Calls 3

countFunction · 0.85
cbeginMethod · 0.80
cendMethod · 0.80

Tested by 3

MakeArrayMethod · 0.68
CheckMethod · 0.68
TestCreateMethod · 0.68