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

Function isFlat

bolt/vector/tests/VectorTestUtils.cpp:248–251  ·  view source on GitHub ↗

Return true if vector is not dictionary- or constant-encoded.

Source from the content-addressed store, hash-verified

246
247// Return true if vector is not dictionary- or constant-encoded.
248bool isFlat(const VectorPtr& vector) {
249 return vector->encoding() != VectorEncoding::Simple::DICTIONARY &&
250 vector->encoding() != VectorEncoding::Simple::CONSTANT;
251}
252
253} // namespace
254

Callers 1

checkVectorFlagsResetFunction · 0.70

Calls 1

encodingMethod · 0.45

Tested by

no test coverage detected