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

Function checkVectorFlagsCleared

bolt/vector/tests/VectorTestUtils.cpp:140–150  ·  view source on GitHub ↗

Check that data-dependent flags have been reset. If the asciiness flag applies, check that the asciiness information is cleared at asciiClearedRows and remains at asciiRemainRows.

Source from the content-addressed store, hash-verified

138// applies, check that the asciiness information is cleared at asciiClearedRows
139// and remains at asciiRemainRows.
140void checkVectorFlagsCleared(
141 const BaseVector& vector,
142 const SelectivityVector& asciiClearedRows,
143 const SelectivityVector& asciiRemainRows) {
144 BOLT_DYNAMIC_TYPE_DISPATCH_ALL(
145 checkVectorFlagsClearedTyped,
146 vector.typeKind(),
147 vector,
148 asciiClearedRows,
149 asciiRemainRows);
150}
151
152template <TypeKind kind>
153void checkVectorFlagsSetTyped(

Callers 5

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

Calls 1

typeKindMethod · 0.45

Tested by

no test coverage detected