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

Function checkBaseVectorFlagsSet

bolt/vector/tests/VectorTestUtils.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace {
35
36void checkBaseVectorFlagsSet(const BaseVector& vector) {
37 EXPECT_TRUE(vector.getNullCount().has_value());
38 EXPECT_TRUE(vector.getDistinctValueCount().has_value());
39 EXPECT_TRUE(vector.representedBytes().has_value());
40 EXPECT_TRUE(vector.storageBytes().has_value());
41}
42
43void checkBaseVectorFlagsCleared(const BaseVector& vector) {
44 EXPECT_FALSE(vector.getNullCount().has_value());

Callers 1

checkVectorFlagsSetTypedFunction · 0.85

Calls 2

has_valueMethod · 0.80
getNullCountMethod · 0.45

Tested by

no test coverage detected