/dports/sysutils/fusefs-bindfs/bindfs-1.14.8/tests/internals/ |
H A D | test_rate_limiter.c | 20 double sleep_time = rate_limiter_wait_nosleep(&limiter, 30); in computes_correct_sleep_times() local 21 TEST_ASSERT(NEAR(3.0 + rate_limiter_idle_credit, sleep_time, epsilon)); in computes_correct_sleep_times() 22 sleep_time = rate_limiter_wait_nosleep(&limiter, 20); in computes_correct_sleep_times() 23 TEST_ASSERT(NEAR(5.0 + rate_limiter_idle_credit, sleep_time, epsilon)); in computes_correct_sleep_times() 26 sleep_time = rate_limiter_wait_nosleep(&limiter, 30); in computes_correct_sleep_times() 27 TEST_ASSERT(NEAR(7.5 + rate_limiter_idle_credit, sleep_time, epsilon)); in computes_correct_sleep_times() 38 double sleep_time = rate_limiter_wait_nosleep(&limiter, 30); in works_after_being_idle() local 39 TEST_ASSERT(NEAR(3.0 + rate_limiter_idle_credit, sleep_time, epsilon)); in works_after_being_idle() 42 sleep_time = rate_limiter_wait_nosleep(&limiter, 20); in works_after_being_idle() 43 TEST_ASSERT(NEAR(2 + rate_limiter_idle_credit, sleep_time, epsilon)); in works_after_being_idle()
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/module_utils/facts/ |
H A D | test_timeout.py | 87 sleep_time = timeout.DEFAULT_GATHER_TIMEOUT + 1 89 assert sleep_amount_implicit(sleep_time) == '(Not expected to succeed)' 94 sleep_time = 3 95 assert sleep_amount_implicit(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 100 sleep_time = 3 102 assert sleep_amount_implicit(sleep_time) == '(Not expected to Succeed)' 108 sleep_time = 2 109 assert sleep_amount_explicit_higher(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 114 sleep_time = 3 116 assert sleep_amount_explicit_lower(sleep_time) == '(Not expected to succeed)'
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/module_utils/facts/ |
H A D | test_timeout.py | 87 sleep_time = timeout.DEFAULT_GATHER_TIMEOUT + 1 89 assert sleep_amount_implicit(sleep_time) == '(Not expected to succeed)' 94 sleep_time = 3 95 assert sleep_amount_implicit(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 100 sleep_time = 3 102 assert sleep_amount_implicit(sleep_time) == '(Not expected to Succeed)' 108 sleep_time = 2 109 assert sleep_amount_explicit_higher(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 114 sleep_time = 3 116 assert sleep_amount_explicit_lower(sleep_time) == '(Not expected to succeed)'
|
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/module_utils/facts/ |
H A D | test_timeout.py | 87 sleep_time = timeout.DEFAULT_GATHER_TIMEOUT + 1 89 assert sleep_amount_implicit(sleep_time) == '(Not expected to succeed)' 94 sleep_time = 3 95 assert sleep_amount_implicit(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 100 sleep_time = 3 102 assert sleep_amount_implicit(sleep_time) == '(Not expected to Succeed)' 108 sleep_time = 2 109 assert sleep_amount_explicit_higher(sleep_time) == 'Succeeded after {0} sec'.format(sleep_time) 114 sleep_time = 3 116 assert sleep_amount_explicit_lower(sleep_time) == '(Not expected to succeed)'
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/tests/ |
H A D | drop_test.pl | 138 $sleep_time=2; 141 sleep($sleep_time); 148 $sleep_time=1; 152 $sleep_time=2; 184 $sleep_time=3; 187 sleep($sleep_time); 193 $sleep_time=3; 200 $sleep_time=1; 221 $sleep_time=5; 230 $sleep_time=5; [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/tests/ |
H A D | drop_test.pl | 138 $sleep_time=2; 141 sleep($sleep_time); 148 $sleep_time=1; 152 $sleep_time=2; 184 $sleep_time=3; 187 sleep($sleep_time); 193 $sleep_time=3; 200 $sleep_time=1; 221 $sleep_time=5; 230 $sleep_time=5; [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/tests/ |
H A D | drop_test.pl | 138 $sleep_time=2; 141 sleep($sleep_time); 148 $sleep_time=1; 152 $sleep_time=2; 184 $sleep_time=3; 187 sleep($sleep_time); 193 $sleep_time=3; 200 $sleep_time=1; 221 $sleep_time=5; 230 $sleep_time=5; [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/tests/ |
H A D | drop_test.pl | 138 $sleep_time=2; 141 sleep($sleep_time); 148 $sleep_time=1; 152 $sleep_time=2; 184 $sleep_time=3; 187 sleep($sleep_time); 193 $sleep_time=3; 200 $sleep_time=1; 221 $sleep_time=5; 230 $sleep_time=5; [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mysql56-client/mysql-5.6.51/tests/ |
H A D | drop_test.pl | 138 $sleep_time=2; 141 sleep($sleep_time); 148 $sleep_time=1; 152 $sleep_time=2; 184 $sleep_time=3; 187 sleep($sleep_time); 193 $sleep_time=3; 200 $sleep_time=1; 221 $sleep_time=5; 230 $sleep_time=5; [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/tests/ |
H A D | drop_test.pl | 131 $sleep_time=2; 134 sleep($sleep_time); 141 $sleep_time=1; 145 $sleep_time=2; 177 $sleep_time=3; 180 sleep($sleep_time); 186 $sleep_time=3; 193 $sleep_time=1; 214 $sleep_time=5; 223 $sleep_time=5; [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/power/cpupower/bench/ |
H A D | benchmark.c | 82 long sleep_time = 0, load_time = 0; in start_benchmark() local 87 sleep_time = config->sleep; in start_benchmark() 117 _round, load_time, sleep_time); in start_benchmark() 127 usleep(sleep_time); in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 141 progress_time += sleep_time + load_time; in start_benchmark() 153 usleep(sleep_time); in start_benchmark() 156 powersave_time += then - now - sleep_time; in start_benchmark() 161 (long)(then - now), sleep_time, in start_benchmark() 165 progress_time += sleep_time + load_time; in start_benchmark() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/power/cpupower/bench/ |
H A D | benchmark.c | 82 long sleep_time = 0, load_time = 0; in start_benchmark() local 87 sleep_time = config->sleep; in start_benchmark() 117 _round, load_time, sleep_time); in start_benchmark() 127 usleep(sleep_time); in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 141 progress_time += sleep_time + load_time; in start_benchmark() 153 usleep(sleep_time); in start_benchmark() 156 powersave_time += then - now - sleep_time; in start_benchmark() 161 (long)(then - now), sleep_time, in start_benchmark() 165 progress_time += sleep_time + load_time; in start_benchmark() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/power/cpupower/bench/ |
H A D | benchmark.c | 82 long sleep_time = 0, load_time = 0; in start_benchmark() local 87 sleep_time = config->sleep; in start_benchmark() 117 _round, load_time, sleep_time); in start_benchmark() 127 usleep(sleep_time); in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 141 progress_time += sleep_time + load_time; in start_benchmark() 153 usleep(sleep_time); in start_benchmark() 156 powersave_time += then - now - sleep_time; in start_benchmark() 161 (long)(then - now), sleep_time, in start_benchmark() 165 progress_time += sleep_time + load_time; in start_benchmark() [all …]
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/testsuite/expect/ |
H A D | test1.7 | 36 set sleep_time 180 40 set inactive_limit $sleep_time 41 set kill_wait $sleep_time 71 set inactive_limit $sleep_time 82 if {$inactive_limit < $sleep_time} { 83 set sleep_time [expr $inactive_limit + $kill_wait] 84 log_debug "Reset job sleep time to $sleep_time seconds" 108 set timeout [expr $max_job_delay + $sleep_time] 110 set srun_pid [spawn $srun -t1 $bin_sleep $sleep_time] 147 set srun_pid [spawn $srun -t4 $bin_sleep $sleep_time]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/scripts/common/check/ |
H A D | check_exec_guard.sh | 29 sleep_time=5 40 if [ $timeout -lt $sleep_time ]; then 41 sleep_time=$timeout 43 timeout="`expr $timeout - $sleep_time`" 44 sleep $sleep_time >/dev/null 2>&1 70 sleep $sleep_time >/dev/null 2>&1 72 sleep $sleep_time >/dev/null 2>&1
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/scripts/common/check/ |
H A D | check_exec_guard.sh | 29 sleep_time=5 40 if [ $timeout -lt $sleep_time ]; then 41 sleep_time=$timeout 43 timeout="`expr $timeout - $sleep_time`" 44 sleep $sleep_time >/dev/null 2>&1 70 sleep $sleep_time >/dev/null 2>&1 72 sleep $sleep_time >/dev/null 2>&1
|
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydev_bundle/fsnotify/ |
H A D | __init__.py | 104 self.sleep_time = sleep_time 147 if self.sleep_time > 0: 151 time.sleep(self.sleep_time) 278 sleep_time=sleep_time, 325 path_watcher.sleep_time = 0.0 339 if path_watcher.sleep_time <= 0.0: 340 path_watcher.sleep_time = 0.001 341 new_sleep_time = path_watcher.sleep_time * perc 347 diff_sleep_time = new_sleep_time - path_watcher.sleep_time 353 if path_watcher.sleep_time < 0.001: [all …]
|
/dports/graphics/py-pyglet/pyglet-1.5.21/tests/unit/ |
H A D | test_clock_fps.py | 49 sleep_time = 0.2 55 sleep(sleep_time) 59 sleep(sleep_time) 62 assert delta_time_1 == pytest.approx(sleep_time, rel=0.01*sleep_time) 63 assert delta_time_2 == pytest.approx(sleep_time, rel=0.01*sleep_time)
|
/dports/graphics/py-pyglet150/pyglet-1.5.0/tests/unit/ |
H A D | test_clock_fps.py | 49 sleep_time = 0.2 55 sleep(sleep_time) 59 sleep(sleep_time) 62 assert delta_time_1 == pytest.approx(sleep_time, rel=0.01*sleep_time) 63 assert delta_time_2 == pytest.approx(sleep_time, rel=0.01*sleep_time)
|