Home
last modified time | relevance | path

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

1234

/dports/games/vor/vor-0.5.8/
H A Drocks.c69 rock_sides(float *ti, float *speed_min, float *speed_max) in rock_sides() argument
77 for(i=0; i<4; i++) speed_max[i] = 0; in rock_sides()
84 speed_max[RIGHT] = -dx0; in rock_sides()
91 speed_max[LEFT] = dx1; in rock_sides()
98 speed_max[LEFT] = dx1; in rock_sides()
105 speed_max[BOTTOM] = -dy0; in rock_sides()
112 speed_max[TOP] = dy1; in rock_sides()
119 speed_max[TOP] = dy1; in rock_sides()
/dports/comms/cwdaemon/cwdaemon-0.10.2/test/
H A Dcwtest_esc2.pl43 my $speed_max = 60;
154 for (my $speed = $speed_min; $speed <= $speed_max; $speed += $delta) {
165 for (my $speed = $speed_max; $speed >= $speed_min; $speed -= $delta) {
198 …est::common::esc_set_min1_max1_send($cwsocket, $request_code, $input_text, $speed_min, $speed_max);
/dports/cad/sumo/sumo-1.2.0/tools/contributed/sumopy/coremodules/demand/
H A Dvehicles.py535 speed_max=5.4/3.6,
561 speed_max=180.0/3.6,
585 speed_max=18.0/3.6,
615 speed_max=60.0/3.6,
641 speed_max=180.0/3.6,
692 speed_max=80.0/3.6,
718 speed_max=80.0/3.6,
743 speed_max=80.0/3.6,
817 speed_max=90.0/3.6,
842 speed_max=90.0/3.6,
[all …]
/dports/www/gpx2map/gpx2map-0.2/
H A Dgpx2map255 my $speed_max = 0.0;
696 if ($speed > $speed_max) {
697 $speed_max = sprintf("%.2f", $speed);
817 if ($trkpt->{speed} > $speed_max) {
818 $speed_max = sprintf("%.2f", $trkpt->{speed});
1145 speed_max => $speed_max,
1213 speed_max => $speed_max,
/dports/cad/sumo/sumo-1.2.0/tools/contributed/sumopy/coremodules/scenario/
H A Dnetworkxtools.py387 speed_max = np.inf
390 if v < speed_max:
391 speed_max = v
398 self.speed_max = speed_max
985 if speed_max < 11.0/3.6:
995 if speed_max < 11.0/3.6:
1005 if speed_max < 11.0/3.6:
1017 if speed_max < 11.0/3.6:
1317 return self.speed_max
1435 if speed_max <= 51.0/3.6:
[all …]
/dports/cad/sumo/sumo-1.2.0/tools/contributed/sumopy/coremodules/network/
H A Dnetworktools.py64 def is_major_road(self, priority, n_lanes, speed_max): argument
92 n_lanes, ids_lane, priority, id_fromnode, id_tonode, speed_max\
105 priority, n_lanes, speed_max), id_edge not in ids_edges_major
106 if self.is_major_road(priority, n_lanes, speed_max):
475 speed_max=None,
1567 n_lane, ids_lane, priority, id_fromnode, id_tonode, speed_max\
1654 n_lane, ids_lane, priority, id_fromnode, id_tonode, speed_max\
2154 def is_major_road(self, priority, n_lanes, speed_max): argument
2155 return (priority >= 7) & (n_lanes >= 1) & (speed_max >= 30/3.6)
2179 n_lanes, ids_lane, priority, id_fromnode, id_tonode, speed_max\
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/brotli-3.3.2/src/enc/
H A Dinterface.rs116 pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_stride_context_speed()
119 cm_slice[Self::stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
120 … cm_slice[Self::stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
124 pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16);2]) { in set_context_map_speed()
127 cm_slice[Self::context_map_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
128 cm_slice[Self::context_map_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
150 pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_combined_stride_context_speed()
153 … cm_slice[Self::combined_stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
154 …_slice[Self::combined_stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
/dports/security/suricata/suricata-6.0.4/rust/vendor/brotli/src/enc/
H A Dinterface.rs116 pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_stride_context_speed()
119 cm_slice[Self::stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
120 … cm_slice[Self::stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
124 pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16);2]) { in set_context_map_speed()
127 cm_slice[Self::context_map_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
128 cm_slice[Self::context_map_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
150 pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_combined_stride_context_speed()
153 … cm_slice[Self::combined_stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
154 …_slice[Self::combined_stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
/dports/www/xh/xh-0.14.1/cargo-crates/brotli-3.3.2/src/enc/
H A Dinterface.rs116 pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_stride_context_speed()
119 cm_slice[Self::stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
120 … cm_slice[Self::stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
124 pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16);2]) { in set_context_map_speed()
127 cm_slice[Self::context_map_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
128 cm_slice[Self::context_map_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
150 pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16);2]) { in set_combined_stride_context_speed()
153 … cm_slice[Self::combined_stride_context_speed_offset()+high] = Self::u16_to_f8(speed_max[high].0);
154 …_slice[Self::combined_stride_context_speed_max_offset()+high] = Self::u16_to_f8(speed_max[high].1);
/dports/games/xblood/xblood-2.0/
H A Dxblood.c51 int number, size, speed_max; member
92 bp->speed_max = DEFAULT_SPEED; in SetDefaultValue()
125 else if (!strcmp(av[i],"-speed" )) bp->speed_max = atoi(av[++i]); in ReadParameter()
164 bp->speed[i] = RandomValue(bp->speed_max) + 1; in MakeBlood()
/dports/games/naev/naev-0.7.0/src/
H A Dphysics.c331 limit = (obj->speed_max >= 0.); in solid_update_rk4()
356 if (vmod > obj->speed_max) { in solid_update_rk4()
359 vmod = 3. * (vmod - obj->speed_max); in solid_update_rk4()
450 dest->speed_max = -1.; /* Negative is invalid. */ in solid_init()
/dports/emulators/mednafen/mednafen/src/snes/src/chip/st010/
H A Dst010_op.cpp120 uint16 speed_max = readw(0x00d8); in op_05() local
168 if(speed > speed_max) { in op_05()
169 speed = speed_max; //clip speed in op_05()
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/chip/st010/
H A Dst010_op.cpp120 uint16 speed_max = readw(0x00d8); in op_05() local
168 if(speed > speed_max) { in op_05()
169 speed = speed_max; //clip speed in op_05()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/util/monster/
H A Dmonster-main.cc160 static string monster_speed(const monster& mon, int speed_min, int speed_max) in monster_speed() argument
164 if (speed_max != speed_min) in monster_speed()
165 speed += to_string(speed_min) + "-" + to_string(speed_max); in monster_speed()
166 else if (speed_max == 0) in monster_speed()
169 speed += to_string(speed_max); in monster_speed()
194 if (speed_max > 0 && mons_class_flag(mon.type, M_STATIONARY)) in monster_speed()
784 int speed_min = 0, speed_max = 0; in main() local
795 set_min_max(mp->speed, speed_min, speed_max); in main()
864 monster_speed(mon, speed_min, speed_max).c_str()); in main()
/dports/multimedia/libtheora/libtheora-1.1.1/examples/
H A Dencoder_example.c1635 int speed_max; in main() local
1638 &speed_max,sizeof(speed_max)); in main()
1641 speed_max=0; in main()
1646 speed,speed_max); in main()
1647 if(speed>speed_max){ in main()
1648 fprintf(stderr,"Setting it to %i instead\n",speed_max); in main()
1651 &speed_max,sizeof(speed_max)); in main()
1654 speed_max,speed_max); in main()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/oggtheora/vtkoggtheora/libtheora-1.1.1/examples/
H A Dencoder_example.c1635 int speed_max; in main() local
1638 &speed_max,sizeof(speed_max)); in main()
1641 speed_max=0; in main()
1646 speed,speed_max); in main()
1647 if(speed>speed_max){ in main()
1648 fprintf(stderr,"Setting it to %i instead\n",speed_max); in main()
1651 &speed_max,sizeof(speed_max)); in main()
1654 speed_max,speed_max); in main()
/dports/games/minetest_game/minetest_game-5.4.1/mods/carts/
H A Dinit.lua12 carts.speed_max = 7
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/
H A Dsfmmath.c42 double current_speed, double stall_speed, double speed_max
407 double current_speed, double stall_speed, double speed_max in SFMStallCoeff() argument
H A Dsfmsimforce.c502 if(model->speed_max > 0.0f) in SFMForceApplyNatural()
505 POW(model->speed / model->speed_max, 1.7f), in SFMForceApplyNatural()
652 if(model->speed_max > 0.0f) in SFMForceApplyNatural()
655 POW(model->speed / model->speed_max, 1.7f), in SFMForceApplyNatural()
1114 if(model->speed_max > 0.0) in SFMForceApplyArtificial()
1116 1.0 - (model->speed / model->speed_max), in SFMForceApplyArtificial()
1128 model->speed_max in SFMForceApplyArtificial()
H A Dsfmmodel.c253 model->speed_max = value->speed_max; in SFMModelChangeValues()
H A Dsfmmodel.h125 double speed_max; /* Meters/cycle. */ member
/dports/comms/xcwcp/unixcw-3.5.1/src/libcw/
H A Dlibcw_rec.c1814 static struct cw_rec_test_data *test_cw_rec_new_random_data_adaptive(int speed_min, int speed_max, …
1825 static float *test_cw_rec_new_speeds_adaptive(int speed_min, int speed_max, size_t n);
2340 struct cw_rec_test_data *test_cw_rec_new_random_data_adaptive(int speed_min, int speed_max, int fuz… in test_cw_rec_new_random_data_adaptive() argument
2349 float *speeds = test_cw_rec_new_speeds_adaptive(speed_min, speed_max, n); in test_cw_rec_new_random_data_adaptive()
2505 float *test_cw_rec_new_speeds_adaptive(int speed_min, int speed_max, size_t n) in test_cw_rec_new_speeds_adaptive() argument
2508 cw_assert (speed_max > 0, "speed_max must be larger than zero"); in test_cw_rec_new_speeds_adaptive()
2509 cw_assert (speed_min <= speed_max, "speed_min can't be larger than speed_max"); in test_cw_rec_new_speeds_adaptive()
2522 speeds[i] *= (speed_max - speed_min); /* 0.0 - 56.0 */ in test_cw_rec_new_speeds_adaptive()
/dports/comms/unixcw/unixcw-3.5.1/src/libcw/
H A Dlibcw_rec.c1814 static struct cw_rec_test_data *test_cw_rec_new_random_data_adaptive(int speed_min, int speed_max, …
1825 static float *test_cw_rec_new_speeds_adaptive(int speed_min, int speed_max, size_t n);
2340 struct cw_rec_test_data *test_cw_rec_new_random_data_adaptive(int speed_min, int speed_max, int fuz… in test_cw_rec_new_random_data_adaptive() argument
2349 float *speeds = test_cw_rec_new_speeds_adaptive(speed_min, speed_max, n); in test_cw_rec_new_random_data_adaptive()
2505 float *test_cw_rec_new_speeds_adaptive(int speed_min, int speed_max, size_t n) in test_cw_rec_new_speeds_adaptive() argument
2508 cw_assert (speed_max > 0, "speed_max must be larger than zero"); in test_cw_rec_new_speeds_adaptive()
2509 cw_assert (speed_min <= speed_max, "speed_min can't be larger than speed_max"); in test_cw_rec_new_speeds_adaptive()
2522 speeds[i] *= (speed_max - speed_min); /* 0.0 - 56.0 */ in test_cw_rec_new_speeds_adaptive()
/dports/games/libretro-snes9x2005/snes9x2005-218be8e/source/
H A Dseta010.c585 uint16_t speed_max = ST010_WORD(0x00D8); in S9xSetST010() local
632 if (speed > speed_max) in S9xSetST010()
633 speed = speed_max; /* clip speed */ in S9xSetST010()
/dports/emulators/snes9x-gtk/snes9x-1.54.1/
H A Dseta010.cpp723 uint16 speed_max = ST010_WORD(0x00D8); in S9xSetST010() local
780 if (speed > speed_max) in S9xSetST010()
783 speed = speed_max; in S9xSetST010()

1234