Lines Matching defs:stack_dist
101 uint64_t stack_dist, bool discard_node)
133 // from_left flag. Variable stack_dist is updated only
138 stack_dist += node_sum_r;
175 stack_dist = updateSum(node_parent_ptr, node_left,
177 level, stack_dist, discard_node);
180 return stack_dist;
191 uint64_t stack_dist = 0;
199 stack_dist = Infinity;
202 stack_dist = updateSum(node->parent,
204 level, stack_dist, true);
207 return stack_dist;
214 uint64_t stack_dist, uint64_t level) const
217 // Variable stack_dist is updated only
220 stack_dist += node->sumRight;
226 stack_dist = getSum(node->parent, node->isLeftNode,
228 stack_dist, level);
231 return stack_dist;
370 uint64_t stack_dist;
393 stack_dist = updateSumsLeavesToRoot(tree[0][r_index], false);
406 stack_dist = Infinity;
442 panic_if(verify_stack_dist != stack_dist,
445 r_address, verify_stack_dist, stack_dist);
454 return (std::make_pair(stack_dist, _mark));
469 uint64_t stack_dist = 0;
489 stack_dist = getSumsLeavesToRoot(tree[0][r_index]);
493 stack_dist = Infinity;
500 panic_if(verify_stack_dist != stack_dist,
503 r_address, verify_stack_dist, stack_dist);
508 return std::make_pair(stack_dist, _mark);
537 uint64_t stack_dist = 0;
545 ++stack_dist;
554 stack_dist = Infinity;
560 return stack_dist;