MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getCurrentPos

Function getCurrentPos

src/expression_evaluator/path_evaluator.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95static inline uint32_t getCurrentPos(ValueVector* vector, uint32_t pos) {
96 if (vector->state->isFlat()) {
97 return vector->state->getSelVector()[0];
98 }
99 return pos;
100}
101
102void PathExpressionEvaluator::copyNodes(sel_t resultPos, bool isEmptyRels) {
103 auto listSize = 0u;

Callers 2

copyNodesMethod · 0.85
copyRelsMethod · 0.85

Calls 1

isFlatMethod · 0.45

Tested by

no test coverage detected