Home
last modified time | relevance | path

Searched refs:node_height (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/src/core/lib/avl/
Davl.cc59 static long node_height(grpc_avl_node* node) { in node_height() function
75 assert(labs(node_height(n->left) - node_height(n->right)) <= 1); in assert_invariants()
90 node->height = 1 + GPR_MAX(node_height(left), node_height(right)); in new_node()
183 switch (node_height(left) - node_height(right)) { in rebalance()
185 if (node_height(left->left) - node_height(left->right) == -1) { in rebalance()
193 if (node_height(right->left) - node_height(right->right) == 1) { in rebalance()