/dports/lang/gcc8/gcc-8.5.0/gcc/ |
H A D | ipa-inline.h | 70 estimate_edge_size (struct cgraph_edge *edge) in estimate_edge_size() argument 75 return do_estimate_edge_size (edge); in estimate_edge_size() 82 estimate_edge_growth (struct cgraph_edge *edge) in estimate_edge_growth() argument 85 || !edge->callee->analyzed); in estimate_edge_growth() 86 return (estimate_edge_size (edge) in estimate_edge_growth() 98 || !edge_growth_cache[edge->uid].size) 99 return do_estimate_edge_time (edge); 102 return edge_growth_cache[edge->uid].time; 110 estimate_edge_hints (struct cgraph_edge *edge) in estimate_edge_hints() argument 115 return do_estimate_edge_hints (edge); in estimate_edge_hints() [all …]
|
/dports/graphics/kgraphviewer/kgraphviewer-2.4.3/src/part/ |
H A D | graphedge.cpp | 59 GraphElement(edge) in GraphEdge() 63 m_visible = edge.m_visible; in GraphEdge() 64 m_colors = edge.m_colors; in GraphEdge() 65 m_dir = edge.m_dir; in GraphEdge() 66 m_arrowheads = edge.m_arrowheads; in GraphEdge() 97 m_arrowheads = edge.arrowheads(); in updateWithEdge() 98 m_colors = edge.colors(); in updateWithEdge() 99 m_dir = edge.dir(); in updateWithEdge() 115 if (agget(edge, (char*)"_draw_")) in updateWithEdge() 120 if (agget(edge, (char*)"_ldraw_")) in updateWithEdge() [all …]
|
/dports/cad/openroad/OpenROAD-2.0/src/ICeWall/test/ |
H A D | tcl_interface.example.tcl | 188 add_pad -edge bottom -inst_name u_cbrk0 -type cbk -location {centre {x 239.500 y … 189 add_pad -edge bottom -inst_name u_cbrk1 -type cbk -location {centre {x 869.500 y … 190 add_pad -edge bottom -inst_name u_cbrk2 -type cbk -location {centre {x 1499.500 y … 191 add_pad -edge bottom -inst_name u_cbrk3 -type cbk -location {centre {x 2129.500 y … 192 add_pad -edge bottom -inst_name u_cbrk4 -type cbk -location {centre {x 2759.500 y … 193 add_pad -edge bottom -inst_name u_pwrdet0 -type pdt -location {centre {x 572.000 y … 194 add_pad -edge bottom -inst_name u_pwrdet1 -type pdt -location {centre {x 1202.000 y … 195 add_pad -edge bottom -inst_name u_pwrdet2 -type pdt -location {centre {x 1832.000 y … 196 add_pad -edge bottom -inst_name u_pwrdet3 -type pdt -location {centre {x 2462.000 y … 265 add_pad -edge right -inst_name u_cbrk5 -type cbk -location {centre {x 2895.000 y … [all …]
|
H A D | tcl_interface.tcl | 245 add_pad -edge bottom -inst_name u_cbrk0 -type cbk -location {centre {x 239.500 y … 246 add_pad -edge bottom -inst_name u_cbrk1 -type cbk -location {centre {x 869.500 y … 247 add_pad -edge bottom -inst_name u_cbrk2 -type cbk -location {centre {x 1499.500 y … 248 add_pad -edge bottom -inst_name u_cbrk3 -type cbk -location {centre {x 2129.500 y … 249 add_pad -edge bottom -inst_name u_cbrk4 -type cbk -location {centre {x 2759.500 y … 250 add_pad -edge bottom -inst_name u_pwrdet0 -type pdt -location {centre {x 572.000 y … 251 add_pad -edge bottom -inst_name u_pwrdet1 -type pdt -location {centre {x 1202.000 y … 252 add_pad -edge bottom -inst_name u_pwrdet2 -type pdt -location {centre {x 1832.000 y … 253 add_pad -edge bottom -inst_name u_pwrdet3 -type pdt -location {centre {x 2462.000 y … 322 add_pad -edge right -inst_name u_cbrk5 -type cbk -location {centre {x 2895.000 y … [all …]
|
/dports/lang/sdcc/sdcc-4.0.0/src/pic16/ |
H A D | graph.c | 37 edge->src = src; in newGEdge() 40 return edge; in newGEdge() 46 if (edge->next) edge->next->prev = edge->prev; in deleteGEdge() 47 if (edge->prev) edge->prev->next = edge->next; in deleteGEdge() 49 if (edge->prev) head = edge->prev; else head = edge->next; in deleteGEdge() 70 node->edge = deleteGEdge (node->edge); in deleteGNode() 87 if (from->edge) from->edge->prev = edge; in addGEdge() 88 edge->next = from->edge; in addGEdge() 89 from->edge = edge; in addGEdge() 93 assert (edge->src == from && edge->node == to); in addGEdge() [all …]
|
/dports/devel/cflow2vcg/cflow2vcg-0.5/doc/ |
H A D | cflow2vcg.vcg | 8 edge: { sourcename: "2" targetname: "3" class: 2 } 10 edge: { sourcename: "2" targetname: "4" class: 1 } 12 edge: { sourcename: "4" targetname: "5" class: 2 } 14 edge: { sourcename: "2" targetname: "6" class: 1 } 16 edge: { sourcename: "6" targetname: "7" class: 2 } 18 edge: { sourcename: "2" targetname: "8" class: 1 } 19 edge: { sourcename: "8" targetname: "7" class: 2 } 21 edge: { sourcename: "2" targetname: "10" class: 1 } 22 edge: { sourcename: "10" targetname: "7" class: 2 } 24 edge: { sourcename: "2" targetname: "12" class: 2 } [all …]
|
/dports/devel/cflow2vcg/cflow2vcg-0.5/test/ |
H A D | cflow2vcg.vcg | 8 edge: { sourcename: "2" targetname: "3" class: 2 } 10 edge: { sourcename: "2" targetname: "4" class: 1 } 12 edge: { sourcename: "4" targetname: "5" class: 2 } 14 edge: { sourcename: "2" targetname: "6" class: 1 } 16 edge: { sourcename: "6" targetname: "7" class: 2 } 18 edge: { sourcename: "2" targetname: "8" class: 1 } 19 edge: { sourcename: "8" targetname: "7" class: 2 } 21 edge: { sourcename: "2" targetname: "10" class: 1 } 22 edge: { sourcename: "10" targetname: "7" class: 2 } 24 edge: { sourcename: "2" targetname: "12" class: 2 } [all …]
|
/dports/games/libretro-2048/libretro-2048-35a299c/cairo/src/ |
H A D | cairo-bentley-ottmann.c | 192 events[n].edge.edge.top, in dump_edges() 193 events[n].edge.edge.bottom, in dump_edges() 194 events[n].edge.edge.dir); in dump_edges() 781 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 783 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 810 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 816 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 1177 edge->prev->next = edge->next; in _cairo_bo_sweep_line_delete() 1213 edge->edge.line.p1.x, edge->edge.line.p1.y, in _cairo_bo_edge_print() 1214 edge->edge.line.p2.x, edge->edge.line.p2.y); in _cairo_bo_edge_print() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/cairo/src/ |
H A D | cairo-bentley-ottmann.c | 192 events[n].edge.edge.top, in dump_edges() 193 events[n].edge.edge.bottom, in dump_edges() 194 events[n].edge.edge.dir); in dump_edges() 781 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 783 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 810 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 816 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 1177 edge->prev->next = edge->next; in _cairo_bo_sweep_line_delete() 1213 edge->edge.line.p1.x, edge->edge.line.p1.y, in _cairo_bo_edge_print() 1214 edge->edge.line.p2.x, edge->edge.line.p2.y); in _cairo_bo_edge_print() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/cairo/cairo/src/ |
H A D | cairo-bentley-ottmann.c | 192 events[n].edge.edge.top, in dump_edges() 193 events[n].edge.edge.bottom, in dump_edges() 194 events[n].edge.edge.dir); in dump_edges() 781 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 783 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 810 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 816 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 1177 edge->prev->next = edge->next; in _cairo_bo_sweep_line_delete() 1213 edge->edge.line.p1.x, edge->edge.line.p1.y, in _cairo_bo_edge_print() 1214 edge->edge.line.p2.x, edge->edge.line.p2.y); in _cairo_bo_edge_print() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/cairo/cairo/src/ |
H A D | cairo-bentley-ottmann.c | 192 events[n].edge.edge.top, in dump_edges() 193 events[n].edge.edge.bottom, in dump_edges() 194 events[n].edge.edge.dir); in dump_edges() 781 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 783 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 810 edge->edge.top); in _cairo_bo_edge_contains_intersect_point() 816 edge->edge.bottom); in _cairo_bo_edge_contains_intersect_point() 1177 edge->prev->next = edge->next; in _cairo_bo_sweep_line_delete() 1213 edge->edge.line.p1.x, edge->edge.line.p1.y, in _cairo_bo_edge_print() 1214 edge->edge.line.p2.x, edge->edge.line.p2.y); in _cairo_bo_edge_print() [all …]
|
/dports/cad/magic/magic-8.3.245/plow/ |
H A D | PlowRules1.c | 80 prClearUmbra(edge) in prClearUmbra() argument 89 (void) plowSrShadow(edge->e_pNum, &edge->e_rect, 482 Edge *edge; in prSliverTop() 499 ar.ar_clip.p_y = edge->e_ytop + plowMaxDist[edge->e_ltype]; 536 Edge *edge; in prSliverBot() 627 Edge edge; local 640 && edge.e_newx > edge.e_x + howfar) 641 edge.e_newx = edge.e_x + howfar; 661 Edge edge; local 674 && edge.e_newx > edge.e_x + howfar) [all …]
|
/dports/devel/t1lib/t1lib-5.1.2/lib/type1/ |
H A D | hints.c | 347 #define XofY(edge, y) edge->xvalues[y - edge->ymin] argument 356 #define findXofY(edge, y) ((y < edge->ymin || y >= edge->ymax) ? SearchXofY(edge, y) : XofY(edge… argument 513 for (edge = R->anchor; edge != NULL; edge = edge->link) { 601 for (edge = R->anchor, prev = NULL; VALIDEDGE(edge); prev = edge, edge = prev->link) { 681 for (edge = anchor; VALIDEDGE(edge); edge = edge->link) { 823 for (edge = swathstart; VALIDEDGE(edge); edge = edge->link) { 836 while (edge->link != NULL && SAMESWATH(edge, edge->link) 966 for (edge = R->anchor; VALIDEDGE(edge); edge = edge->link) { 967 if ((!ISTOP(edge->flag) && !ISBOTTOM(edge->flag)) || ISLEFT(edge->flag)) 974 edge, e2, edge->ymin); [all …]
|
/dports/x11-wm/sawfish/sawfish_1.13.0/themes/Elberg-tabbed/ |
H A D | theme.jl | 168 (left-edge . -6) 169 (top-edge . -19) 174 (top-edge . -19) 175 (left-edge . 0) 218 (top-edge . 0) 231 (top-edge . 0) 237 (left-edge . 0) 295 (left-edge . 6) 303 (left-edge . 0) 437 (top-edge . 1) [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 13 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 19 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 27 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 35 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 77 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 87 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 112 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 123 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 529 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 554 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/test/Analysis/BranchProbabilityInfo/ |
H A D | loop.ll | 14 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 20 ; CHECK: edge do.body -> do.body1 probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 28 ; CHECK: edge do.body1 -> do.body1 probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 36 ; CHECK: edge do.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 78 ; CHECK: edge for.end -> for.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 88 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 113 ; CHECK: edge if.end -> do.body probability is 0x7c000000 / 0x80000000 = 96.88% [HOT edge] 124 ; CHECK: edge entry -> do.body probability is 0x80000000 / 0x80000000 = 100.00% [HOT edge] 530 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] 555 ; CHECK: edge loop -> loop probability is 0x7fbe1203 / 0x80000000 = 99.80% [HOT edge] [all …]
|
/dports/textproc/libstree/libstree-0.4.2/src/ |
H A D | lst_stree.c | 70 if (!edge) in edge_new() 82 edge->range.end_index = &edge->range.end_index_local; in edge_new() 89 return edge; in edge_new() 102 if (!edge) in edge_leaf_new() 114 return edge; in edge_leaf_new() 121 if (edge) in edge_free() 182 for (edge = node->kids.lh_first; edge; edge = edge->siblings.le_next) in node_find_edge_with_startitem() 189 return edge; in node_find_edge_with_startitem() 238 end->edge = edge; in stree_path_end_edge() 614 end->edge->src_node->id, end->edge->dst_node->id)); in stree_extend_at_edge() [all …]
|
/dports/math/graphthing/graphthing-1.3.2/src/ |
H A D | uniq3col.gt | 19 edge "A" -- "B" 20 edge "B" -- "C" 21 edge "C" -- "D" 22 edge "D" -- "E" 23 edge "E" -- "F" 24 edge "H" -- "A" 25 edge "G" -- "F" 26 edge "G" -- "H" 27 edge "A" -- "J" 28 edge "J" -- "G" [all …]
|
/dports/games/neverball/neverball-1.6.0/data/map-putt/ |
H A D | 10_diamond.map | 16 ( 128 0 16 ) ( 0 0 16 ) ( 0 0 -16 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 25 ( 128 256 -16 ) ( 128 256 0 ) ( 128 0 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 35 ( 0 0 8 ) ( 0 256 8 ) ( 0 256 -24 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 191 ( 0 512 -16 ) ( 0 512 0 ) ( 0 768 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 262 ( 96 320 16 ) ( 96 320 0 ) ( 64 288 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 270 ( 0 256 16 ) ( 0 256 0 ) ( -32 224 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 271 ( 0 256 0 ) ( 0 256 16 ) ( -32 288 16 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 288 ( 0 384 0 ) ( 0 384 16 ) ( -32 416 16 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 289 ( 0 384 16 ) ( 0 384 0 ) ( -32 352 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 306 ( 96 448 16 ) ( 96 448 0 ) ( 64 416 0 ) mtrl/edge-green 0 0 0 0.5 0.5 0 0 0 [all …]
|
/dports/games/openttd/openttd-12.1/src/linkgraph/ |
H A D | linkgraph.cpp | 75 edge.capacity = std::max(1U, edge.capacity / 2); in Compress() 76 edge.usage /= 2; in Compress() 79 edge.travel_time_sum = std::max(1ULL, edge.travel_time_sum / 2); in Compress() 203 edge.usage = usage; in AddEdge() 237 edge.capacity = 0; in RemoveEdge() 240 edge.usage = 0; in RemoveEdge() 277 this->edge.travel_time_sum += this->edge.travel_time_sum / this->edge.capacity * capacity; in Update() 285 this->edge.capacity = std::max(this->edge.capacity, capacity); in Update() 286 this->edge.travel_time_sum = travel_time * this->edge.capacity; in Update() 288 this->edge.travel_time_sum = this->edge.travel_time_sum / this->edge.capacity * capacity; in Update() [all …]
|