Home
last modified time | relevance | path

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

1234

/dports/devel/grpc130/grpc-1.30.2/src/core/lib/avl/
H A 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()
/dports/devel/grpc134/grpc-1.34.1/src/core/lib/avl/
H A 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()
/dports/devel/grpc/grpc-1.42.0/src/core/lib/avl/
H A 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 + std::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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/avl/
H A 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()
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/lib/avl/
H A 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 + std::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()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dreqtree.c83 int node_x, node_y, node_width, node_height; member
244 int v, node_y, node_height; in symmetrize() local
257 node_height = node->node_height; in symmetrize()
258 if (v < node_y + node_height / 2) { in symmetrize()
302 &node->node_width, &node->node_height); in calculate_diagram_layout()
315 h_sum += node->node_height; in calculate_diagram_layout()
364 h_sum += node->node_height; in calculate_diagram_layout()
370 y += node->node_height; in calculate_diagram_layout()
1049 height = node->node_height; in draw_reqtree()
1181 && node->node_y + node->node_height > y) { in get_tech_on_reqtree()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dreqtree.c83 int node_x, node_y, node_width, node_height; member
244 int v, node_y, node_height; in symmetrize() local
257 node_height = node->node_height; in symmetrize()
258 if (v < node_y + node_height / 2) { in symmetrize()
302 &node->node_width, &node->node_height); in calculate_diagram_layout()
315 h_sum += node->node_height; in calculate_diagram_layout()
364 h_sum += node->node_height; in calculate_diagram_layout()
370 y += node->node_height; in calculate_diagram_layout()
1049 height = node->node_height; in draw_reqtree()
1181 && node->node_y + node->node_height > y) { in get_tech_on_reqtree()
[all …]
/dports/science/gramps/gramps-5.1.4/gramps/plugins/webreport/
H A Dbuchheim.py135 def buchheim(tree, node_width, h_separation, node_height, v_separation): argument
140 draw_tree = firstwalk(DrawTree(tree), node_height, v_separation)
179 def firstwalk(tree, node_height, v_separation): argument
185 tree.coord_y = tree.lbrother().coord_y + node_height + v_separation
191 firstwalk(child, node_height, v_separation)
193 child, default_ancestor, node_height + v_separation)
202 tree.coord_y = brother.coord_y + node_height + v_separation
/dports/news/knews/knews-1.0b.1/Widgets/
H A DArtTree.c188 dy <= w->arttree.node_height) in find_node_by_coordinates()
654 y += w->arttree.node_height; in sub_layout_horiz()
672 y += w->arttree.node_height; in sub_layout_vert()
695 y += w->arttree.node_height; in sub_layout_vert()
730 w->arttree.node_height = in init_node_sizes()
753 node->hook->y + w->arttree.node_height; in draw_outer_border()
764 node->hook->y + w->arttree.node_height; in draw_outer_border()
778 node->hook->y + w->arttree.node_height; in draw_outer_border()
808 w->arttree.node_height + 1); in draw_outer_border()
819 node->hook->y + w->arttree.node_height; in draw_outer_border()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/clipboard/
H A Ddata_transfer_test.cc170 const int node_height = 141; in TEST_F() local
172 IntSize(node_width * page_scale_factor, node_height * page_scale_factor), in TEST_F()
183 IntSize(node_width * page_scale_factor, node_height * page_scale_factor), in TEST_F()
201 const int node_height = 601; in TEST_F() local
203 (node_height - 1) * page_scale_factor), in TEST_F()
214 (node_height - scroll_amount) * page_scale_factor), in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/clipboard/
H A Ddata_transfer_test.cc170 const int node_height = 141; in TEST_F() local
172 IntSize(node_width * page_scale_factor, node_height * page_scale_factor), in TEST_F()
183 IntSize(node_width * page_scale_factor, node_height * page_scale_factor), in TEST_F()
201 const int node_height = 601; in TEST_F() local
203 (node_height - 1) * page_scale_factor), in TEST_F()
214 (node_height - scroll_amount) * page_scale_factor), in TEST_F()
/dports/graphics/vcg/vcg.1.30/src/
H A Dstep4.c205 orts,node_succports, dist, dist1;;*/ ; node_height = (( v )->height) /*;
213 ;*/ ==v) { (( e )->btyloc) /*;};*/ = (( e )->syloc) /*;};*/ = node_y+node_height/2; /*;}
220 R/SC;yy+NT = node;*/ = node_y+node_height/2; if ((( (( e )->start) /*;
247 ;*/ = node_y+node_height/2; (( e )->btxloc) /*;a )->kante) /+;R/SC;yy+NT ;
255 SC;yy+NT ) {;*/ - node_x) * node_height / node_width; (( e )->syloc) /*;
258 * node_width;;*/ (double)(node_height*node_height)/4.0 - (double)(node_height*node_height) /*;>sylo…
268 a )->next) /+;R/SC;yy+NT ;;*/ = node_y+node_height/2; (( e )->bbxloc) /*;
270 while (a) {;*/ = (( e )->eyloc) /*;while (a) {;*/ = node_y+node_height/2; /*;while (a) {
279 SC;yy+NT ) {;*/ - node_x) * node_height / node_width; (( e )->eyloc) /*;
281 * node_width;;*/ : dist = node_height/2 - gstoint(sqrt( (double)(node_height*node_height)/4.0 /*;* …
[all …]
/dports/graphics/py-blockdiag/blockdiag-2.0.1/src/blockdiag/
H A Dmetrics.py141 node_height = cellsize * 5 variable in DiagramMetrics
151 if diagram.node_height is not None:
152 self.node_height = diagram.node_height
182 node_height = self.node_height
250 self.node_height = defaultdict(lambda: metrics.node_height)
261 (y not in self.node_height or self.node_height[y] < height)):
262 self.node_height[y] = height
292 node_height = sum(self.node_height[i] for i in range(y))
303 ydiff = (self.node_height[y] - height) // 2
322 node_height = sum(self.node_height[i] for i in range(y + 1))
[all …]
/dports/graphics/py-blockdiag/blockdiag-2.0.1/src/blockdiag/noderenderer/
H A Ddots.py33 pt = XY(center.x, center.y - m.node_height / 2)
36 pt = XY(center.x, center.y + m.node_height / 2)
H A Dcloud.py30 ry = (self.node.height or self.metrics.node_height) // 5
47 ry = (self.node.height or self.metrics.node_height) // 5
101 ry = (self.node.height or self.metrics.node_height) // 5
H A Dbase.py38 boundedbox = [metrics.node_width // 2, metrics.node_height]
41 vmargin = (metrics.node_height - iconsize[1]) // 2
/dports/graphics/py-blockdiag/blockdiag-2.0.1/src/blockdiag/noderenderer/flowchart/
H A Dloopout.py28 ydiff = self.metrics.node_height // 4
38 ydiff = self.metrics.node_height // 4
H A Dloopin.py28 ydiff = self.metrics.node_height // 4
38 ydiff = self.metrics.node_height // 4
/dports/graphics/py-actdiag/actdiag-2.0.0/src/actdiag/
H A Dmetrics.py32 padding = self.node_height + self.span_height
56 (cell.topleft.y - self.node_height -
/dports/math/yices/yices-2.6.2/tests/unit/
H A Dtest_rba_buffers.c244 static uint32_t node_height(rba_buffer_t *b, uint32_t x) { in node_height() function
251 hi = node_height(b, i); in node_height()
252 hj = node_height(b, j); in node_height()
261 return node_height(b, b->root); in tree_height()
/dports/graphics/py-nwdiag/nwdiag-2.0.0/src/nwdiag/tests/diagrams/
H A Ddiagram_attributes.diag2 node_height = 160;
/dports/graphics/py-blockdiag/blockdiag-2.0.1/src/blockdiag/tests/diagrams/
H A Ddiagram_attributes.diag3 node_height = 160;
/dports/graphics/py-nwdiag/nwdiag-2.0.0/src/packetdiag/tests/diagrams/
H A Dtcp.diag3 node_height = 72
/dports/graphics/py-nwdiag/nwdiag-2.0.0/examples/packetdiag/
H A Dtcp.diag3 node_height = 72
/dports/graphics/wings/wings-8d019ebe48/plugins_src/primitives/
H A Dwpc_torus.erl51 wings_dialog:enable(node_height, Val=/=smooth, Sto);
71 {?__(11,"Node Height"), {text,0.25,[{key,node_height},{range,{0.0,infinity}}]}}

1234