/dports/games/julius/julius-1.7.0/src/building/ |
H A D | construction_routed.c | 29 int grid_offset = map_grid_offset(x_end, y_end); in place_routed_building() 43 *items += map_tiles_set_road(x_end, y_end); in place_routed_building() 46 *items += map_tiles_set_wall(x_end, y_end); in place_routed_building() 49 *items += map_building_tiles_add_aqueduct(x_end, y_end); in place_routed_building() 55 int direction = calc_general_direction(x_end, y_end, x_start, y_start); in place_routed_building() 66 x_end = map_grid_offset_to_x(grid_offset); in place_routed_building() 83 int end_offset = map_grid_offset(x_end, y_end); in building_construction_place_road() 111 int end_offset = map_grid_offset(x_end, y_end); in building_construction_place_wall() 148 grid_offset = map_grid_offset(x_end, y_end); in building_construction_place_aqueduct() 169 int measure_only, int x_start, int y_start, int x_end, int y_end, int *items) in building_construction_place_aqueduct_for_reservoir() argument [all …]
|
H A D | construction.c | 122 static int place_plaza(int x_start, int y_start, int x_end, int y_end) in place_plaza() argument 191 if (map_building_is_reservoir(x_end - 1, y_end - 1)) { in place_reservoir_and_aqueducts() 220 map_routing_block(x_end - 1, y_end - 1, 3); in place_reservoir_and_aqueducts() 221 mark_construction(x_end - 1, y_end - 1, 3, TERRAIN_ALL, 1); in place_reservoir_and_aqueducts() 253 x_end + x_aq_end, y_end + y_aq_end, &aq_items); in place_reservoir_and_aqueducts() 546 dx = (f->x > x_end) ? (f->x - x_end) : (x_end - f->x); in has_nearby_enemy() 561 int x_end = data.end.x; in building_construction_place() local 620 int length = map_bridge_add(x_end, y_end, 0); in building_construction_place() 627 int length = map_bridge_add(x_end, y_end, 1); in building_construction_place() 661 map_aqueduct_set(map_grid_offset(x_end-1, y_end-1), 0); in building_construction_place() [all …]
|
/dports/games/augustus/augustus-3.1.0/src/building/ |
H A D | construction_routed.c | 29 int grid_offset = map_grid_offset(x_end, y_end); in place_routed_building() 43 *items += map_tiles_set_road(x_end, y_end); in place_routed_building() 46 *items += map_tiles_set_wall(x_end, y_end); in place_routed_building() 49 *items += map_building_tiles_add_aqueduct(x_end, y_end); in place_routed_building() 55 int direction = calc_general_direction(x_end, y_end, x_start, y_start); in place_routed_building() 66 x_end = map_grid_offset_to_x(grid_offset); in place_routed_building() 83 int end_offset = map_grid_offset(x_end, y_end); in building_construction_place_road() 111 int end_offset = map_grid_offset(x_end, y_end); in building_construction_place_wall() 151 grid_offset = map_grid_offset(x_end, y_end); in building_construction_place_aqueduct() 176 int measure_only, int x_start, int y_start, int x_end, int y_end, int *items) in building_construction_place_aqueduct_for_reservoir() argument [all …]
|
H A D | construction.c | 232 static int place_plaza(int x_start, int y_start, int x_end, int y_end) in place_plaza() argument 359 int x_end, int y_end, struct reservoir_info *info) in place_reservoir_and_aqueducts() argument 380 if (map_building_is_reservoir(x_end - 1, y_end - 1)) { in place_reservoir_and_aqueducts() 409 map_routing_block(x_end - 1, y_end - 1, 3); in place_reservoir_and_aqueducts() 410 mark_construction(x_end - 1, y_end - 1, 3, TERRAIN_ALL, 1); in place_reservoir_and_aqueducts() 442 x_end + x_aq_end, y_end + y_aq_end, &aq_items); in place_reservoir_and_aqueducts() 843 dx = (f->x > x_end) ? (f->x - x_end) : (x_end - f->x); in nearby_enemy_type() 858 int x_end = data.end.x; in building_construction_place() local 909 int length = map_bridge_add(x_end, y_end, 0); in building_construction_place() 916 int length = map_bridge_add(x_end, y_end, 1); in building_construction_place() [all …]
|
/dports/devel/ppl/ppl-1.2/src/ |
H A D | Powerset_templates.hh | 42 iterator x_end = end(); in collapse() local 47 drop_disjuncts(next_x_sink, x_end); in collapse() 70 for (iterator xi = x.begin(), x_end = x.end(); xi != x_end; ) { in omega_reduce() local 139 xi = x_begin; xi != x_end; ++xi) { in check_omega_reduced() 198 x_end = x.end(); found && xi != x_end; ++xi) { in definitely_entails() local 220 x_end = x.end(); xi != x_end; ++xi) { in operator ==() local 243 for (const_iterator xi = begin(), x_end = end(), in pairwise_apply_assign() local 289 x_end = x.end(); i != x_end; ) { in operator <<() local 292 if (i != x_end) { in operator <<() 306 for (const_iterator xi = begin(), x_end = end(); xi != x_end; ++xi) { in external_memory_in_bytes() local [all …]
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/microcode/ |
H A D | x11term.c | 211 unsigned int x_end, in xterm_copy_map_line() argument 240 unsigned int x_end, in xterm_dump_contents() argument 246 if (x_start < x_end) in xterm_dump_contents() 265 if (xj == x_end) in xterm_dump_contents() 709 unsigned int x_end, in xterm_clear_rectangle() argument 761 unsigned int x_end variable 814 unsigned int x_end variable 847 unsigned int x_end, in xterm_scroll_lines_down() argument 877 unsigned int x_end variable 918 unsigned int x_end variable [all …]
|
/dports/www/netrik/netrik-1.16.1/ |
H A D | pre-render.c | 54 cur_item->x_end=longest; /* store minimal width */ 70 if(item->x_end>widest) 71 widest=item->x_end; 152 child_item->x_end=cur_item->x_end; 276 int x_end=-1; local 286 if(item->x_end > x_end) 287 x_end=item->x_end; 297 cur_item->x_end=x_end; 418 item_tree->x_end=width; 421 item_tree->x_end=width; [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 102 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 107 dt , push_back_time( times , x_end ) ); in operator ()() 121 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 134 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 139 dt , push_back_time( times , x_end ) ); in operator ()() 149 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 163 state_type x( 3 ) , x_end( 3 ); in operator ()() local 177 dt , push_back_time( times , x_end ) ); in operator ()() 186 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 199 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 102 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 107 dt , push_back_time( times , x_end ) ); in operator ()() 121 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 134 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 139 dt , push_back_time( times , x_end ) ); in operator ()() 149 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 163 state_type x( 3 ) , x_end( 3 ); in operator ()() local 177 dt , push_back_time( times , x_end ) ); in operator ()() 186 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 199 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 102 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 107 dt , push_back_time( times , x_end ) ); in operator ()() 121 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 134 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 139 dt , push_back_time( times , x_end ) ); in operator ()() 149 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 163 state_type x( 3 ) , x_end( 3 ); in operator ()() local 177 dt , push_back_time( times , x_end ) ); in operator ()() 186 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 199 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 102 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 107 dt , push_back_time( times , x_end ) ); in operator ()() 121 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 134 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 139 dt , push_back_time( times , x_end ) ); in operator ()() 149 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 163 state_type x( 3 ) , x_end( 3 ); in operator ()() local 177 dt , push_back_time( times , x_end ) ); in operator ()() 186 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 199 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 102 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 107 dt , push_back_time( times , x_end ) ); in operator ()() 121 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 134 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 139 dt , push_back_time( times , x_end ) ); in operator ()() 149 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 163 state_type x( 3 ) , x_end( 3 ); in operator ()() local 177 dt , push_back_time( times , x_end ) ); in operator ()() 186 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 199 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/ |
H A D | tilemap_draw.h | 89 int x_end; 100 x_end = column<<(TILE_WIDTH/8+2); 101 if( x_end<x1 ) x_end = x1; 102 if( x_end>x2 ) x_end = x2; 126 int num_pixels = x_end - x_start; 143 x_start = x_end; 234 int x_end; 245 x_end = column<<(TILE_WIDTH/8+2); 246 if( x_end<x1 ) x_end = x1; 247 if( x_end>x2 ) x_end = x2; [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/motion_functions/ |
H A D | ChFunction_Integrate.cpp | 23 ChFunction_Integrate::ChFunction_Integrate() : order(1), C_start(0), x_start(0), x_end(1), num_samp… in CH_FACTORY_REGISTER() 33 x_end = other.x_end; in ChFunction_Integrate() 39 double mstep = (x_end - x_start) / ((double)(num_samples - 1)); in ComputeIntegral() 59 if ((x < x_start) || (x > x_end)) in Get_y() 62 double position = (double)(num_samples - 1) * ((x - x_start) / (x_end - x_start)); in Get_y() 80 xmax = x_end; in Estimate_x_range() 93 marchive << CHNVP(x_end); in ArchiveOUT() 107 marchive >> CHNVP(x_end); in ArchiveIN()
|
/dports/devel/boost-docs/boost_1_72_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 107 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 112 dt , push_back_time( times , x_end ) ); in operator ()() 129 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 142 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 147 dt , push_back_time( times , x_end ) ); in operator ()() 157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 171 state_type x( 3 ) , x_end( 3 ); in operator ()() local 185 dt , push_back_time( times , x_end ) ); in operator ()() 194 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 208 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 107 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 112 dt , push_back_time( times , x_end ) ); in operator ()() 129 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 142 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 147 dt , push_back_time( times , x_end ) ); in operator ()() 157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 171 state_type x( 3 ) , x_end( 3 ); in operator ()() local 185 dt , push_back_time( times , x_end ) ); in operator ()() 194 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 208 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 107 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 112 dt , push_back_time( times , x_end ) ); in operator ()() 129 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 142 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 147 dt , push_back_time( times , x_end ) ); in operator ()() 157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 171 state_type x( 3 ) , x_end( 3 ); in operator ()() local 185 dt , push_back_time( times , x_end ) ); in operator ()() 194 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 208 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 107 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 112 dt , push_back_time( times , x_end ) ); in operator ()() 129 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 142 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 147 dt , push_back_time( times , x_end ) ); in operator ()() 157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 171 state_type x( 3 ) , x_end( 3 ); in operator ()() local 185 dt , push_back_time( times , x_end ) ); in operator ()() 194 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 208 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/numeric/odeint/test/ |
H A D | integrate.cpp | 107 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 112 dt , push_back_time( times , x_end ) ); in operator ()() 129 …BOOST_CHECK_SMALL( (10.0 + times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of steppers: 1… in operator ()() 142 state_type x( 3 , 10.0 ) , x_end( 3 ); in operator ()() local 147 dt , push_back_time( times , x_end ) ); in operator ()() 157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()() 171 state_type x( 3 ) , x_end( 3 ); in operator ()() local 185 dt , push_back_time( times , x_end ) ); in operator ()() 194 …BOOST_CHECK_SMALL( (10.0 + 1.0*times[times.size()-1]) - x_end[0] , 1E-6 ); // precision of stepper… in operator ()() 208 state_type x( 3 ) , x_end( 3 ); in operator ()() local [all …]
|
/dports/math/blis/blis-0.8.1/test/sup/old/octave_mt/ |
H A D | plot_l3sup_perf.m | 65 %x_end is set below. 160 if 10000 <= x_end && x_end < 15000 161 x_tick2 = x_end - 2000; 165 elseif 6000 <= x_end && x_end < 10000 170 elseif 4000 <= x_end && x_end < 6000 174 elseif 2000 <= x_end && x_end < 3000 175 x_tick2 = x_end - 400; 178 elseif 500 <= x_end && x_end < 1000 179 x_tick3 = x_end*(3/4); 180 x_tick2 = x_end*(2/4); [all …]
|
/dports/graphics/p5-Chart/Chart-2.4.10/Chart/ |
H A D | Mountain.pm | 157 my $x_end = $self->{'num_datapoints'} - 1; 158 while ( $x_begin <= $x_end && !defined $y[-1]->[$x_begin] ) { $x_begin++ } 159 while ( $x_begin <= $x_end && !defined $y[-1]->[$x_end] ) { $x_end-- } 161 if ( $x_begin > $x_end ) { croak "Internal error: x_begin > x_end ($x_begin > $x_end)"; } 167 $poly->addPt( $x[$x_end], $y_max ); # right end of x axis 178 for ( reverse $x_begin .. $x_end ) 185 for ( $x_begin .. $x_end )
|
/dports/math/minizinc/libminizinc-2.5.5/share/minizinc/std/ |
H A D | fzn_piecewise_linear_non_continuous.mzn | 3 * auxiliary variables for the intervals {x_start[i]..x_end[i]}, 9 array[int] of float: x_start, array[int] of float: x_end) ::promise_total = 16 if x_start[i] < x_end[i] then f[i] >= s[i] 17 elseif x_start[i] == x_end[i] then s[i] == 0.0 18 else abort("piecewise linear discontinuous: interval \(i): x_end < x_start") endif), 19 constraint x == sum(i in is)(x_start[i] * f[i] + (x_end[i]-x_start[i]) * s[i]), 25 array[int] of float: x_start, array[int] of float: x_end, 30 /\ is == index_set(v_end) /\ is == index_set(x_end) /\ 0<card(is) , 33 array[int, int] of var float: fs = fzn_piecewise_linear_base(x, x_start,x_end),
|
/dports/games/wesnoth/wesnoth-1.14.17/src/editor/map/ |
H A D | editor_map.cpp | 307 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_right() local 324 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_left() local 329 for (int x = 0, x_end = count; x != x_end; ++x) { in expand_left() local 341 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_top() local 346 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_top() local 358 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_bottom() local 363 for (int x = 0, x_end = tiles_.w; x != x_end; ++x) { in expand_bottom() local 377 for (int x = 0, x_end = tiles_new.w; x != x_end; ++x) { in shrink_right() local 392 for (int x = 0, x_end = tiles_new.w; x != x_end; ++x) { in shrink_left() local 407 for (int x = 0, x_end = tiles_new.w; x != x_end; ++x) { in shrink_top() local [all …]
|
/dports/math/blis/blis-0.8.1/test/sup/old/supmt/octave/ |
H A D | plot_l3sup_perf.m | 65 %x_end is set below. 151 if 6000 <= x_end && x_end < 10000 152 x_tick2 = x_end - 2000; 155 elseif 4000 <= x_end && x_end < 6000 156 x_tick2 = x_end - 1000; 159 elseif 2000 <= x_end && x_end < 3000 160 x_tick2 = x_end - 400; 163 elseif 500 <= x_end && x_end < 1000 164 x_tick3 = x_end*(3/4); 165 x_tick2 = x_end*(2/4); [all …]
|
/dports/math/blis/blis-0.8.1/test/sup/old/octave_st/ |
H A D | plot_l3sup_perf.m | 71 %x_end is set below. 181 if 10000 <= x_end && x_end < 15000 182 x_tick2 = x_end - 2000; 186 elseif 6000 <= x_end && x_end < 10000 191 elseif 4000 <= x_end && x_end < 6000 195 elseif 2000 <= x_end && x_end < 3000 196 x_tick2 = x_end - 400; 199 elseif 500 <= x_end && x_end < 1000 200 x_tick3 = x_end*(3/4); 201 x_tick2 = x_end*(2/4); [all …]
|