MCPcopy Create free account
hub / github.com/bytedance/bolt / checkBaseVectorFlagsCleared

Function checkBaseVectorFlagsCleared

bolt/vector/tests/VectorTestUtils.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void checkBaseVectorFlagsCleared(const BaseVector& vector) {
44 EXPECT_FALSE(vector.getNullCount().has_value());
45 EXPECT_FALSE(vector.getDistinctValueCount().has_value());
46 EXPECT_FALSE(vector.representedBytes().has_value());
47 EXPECT_FALSE(vector.storageBytes().has_value());
48}
49
50// Forward declaration.
51void checkVectorFlagsCleared(

Callers 5

MAP>Method · 0.85
ARRAY>Method · 0.85
ROW>Method · 0.85
VARIANT>Method · 0.85

Calls 2

has_valueMethod · 0.80
getNullCountMethod · 0.45

Tested by

no test coverage detected