/dports/benchmarks/dkftpbench/dkftpbench-0.45/ |
H A D | Poller_bench.cc | 211 spacing = num_pipes / num_active; in bench() 214 CHECK(true, (spacing * (num_active-1) + half < num_pipes)); in bench() 222 for (k=0; k<num_active; k++) in bench() 236 int runtime, num_active; in main() local 251 if ((num_active=atoi(argv[2])) < 1) { in main() 270 if (num_active > p) { in main() 271 printf("num_active %d > num_pipes %d\n", num_active, p); in main() 321 printf("%7d ", bench_poll.bench(np[i], fdpairs, num_active, runtime, method)); in main() 331 printf("%7d ", bench_select.bench(np[i], fdpairs, num_active, runtime, method)); in main() 354 printf("%7d ", bench_kqueue.bench(np[i], fdpairs, num_active, runtime, method)); in main() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/tools/build/src/engine/ |
H A D | execnt.c | 788 DWORD num_active; member 798 int num_active; in try_wait() local 826 active_handles[ num_active ] = active_handles[ num_active - 1 ]; in try_wait() 827 active_procs[ num_active ] = active_procs[ num_active - 1 ]; in try_wait() 830 ++num_active; in try_wait() 837 ++num_active; in try_wait() 840 active_procs[ num_active ] = i; in try_wait() 841 ++num_active; in try_wait() 851 twh.num_active = num_active; in try_wait() 875 active_procs[ num_active ] = -1; in try_wait() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/tools/build/src/engine/ |
H A D | execnt.c | 788 DWORD num_active; member 798 int num_active; in try_wait() local 826 active_handles[ num_active ] = active_handles[ num_active - 1 ]; in try_wait() 827 active_procs[ num_active ] = active_procs[ num_active - 1 ]; in try_wait() 830 ++num_active; in try_wait() 837 ++num_active; in try_wait() 840 active_procs[ num_active ] = i; in try_wait() 841 ++num_active; in try_wait() 851 twh.num_active = num_active; in try_wait() 875 active_procs[ num_active ] = -1; in try_wait() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/tools/build/src/engine/ |
H A D | execnt.c | 788 DWORD num_active; member 798 int num_active; in try_wait() local 826 active_handles[ num_active ] = active_handles[ num_active - 1 ]; in try_wait() 827 active_procs[ num_active ] = active_procs[ num_active - 1 ]; in try_wait() 830 ++num_active; in try_wait() 837 ++num_active; in try_wait() 840 active_procs[ num_active ] = i; in try_wait() 841 ++num_active; in try_wait() 851 twh.num_active = num_active; in try_wait() 875 active_procs[ num_active ] = -1; in try_wait() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/tools/build/src/engine/ |
H A D | execnt.c | 788 DWORD num_active; member 798 int num_active; in try_wait() local 826 active_handles[ num_active ] = active_handles[ num_active - 1 ]; in try_wait() 827 active_procs[ num_active ] = active_procs[ num_active - 1 ]; in try_wait() 830 ++num_active; in try_wait() 837 ++num_active; in try_wait() 840 active_procs[ num_active ] = i; in try_wait() 841 ++num_active; in try_wait() 851 twh.num_active = num_active; in try_wait() 875 active_procs[ num_active ] = -1; in try_wait() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/tools/build/src/engine/ |
H A D | execnt.c | 788 DWORD num_active; member 798 int num_active; in try_wait() local 826 active_handles[ num_active ] = active_handles[ num_active - 1 ]; in try_wait() 827 active_procs[ num_active ] = active_procs[ num_active - 1 ]; in try_wait() 830 ++num_active; in try_wait() 837 ++num_active; in try_wait() 840 active_procs[ num_active ] = i; in try_wait() 841 ++num_active; in try_wait() 851 twh.num_active = num_active; in try_wait() 875 active_procs[ num_active ] = -1; in try_wait() [all …]
|
/dports/news/tin/tin-2.4.5/src/ |
H A D | list.c | 68 if (num_active == -1) { in init_group_hash() 70 num_active = 0; in init_group_hash() 216 if (num_active >= max_active) /* Grow memory area if needed */ in group_add() 219 if (!(group_add_to_hash(group, num_active))) in group_add() 222 active[num_active].name = my_strdup(group); in group_add() 224 return &active[num_active++]; /* NB num_active incremented here */ in group_add() 236 int save_num_active = num_active; in group_rehash() 239 num_active = save_num_active; /* init_group_hash() resets this */ in group_rehash() 315 num_active, TABLE_SIZE, TABLE_SIZE - empty, empty); in debug_print_active_hash()
|
/dports/chinese/tin/tin-2.4.5/src/ |
H A D | list.c | 68 if (num_active == -1) { in init_group_hash() 70 num_active = 0; in init_group_hash() 216 if (num_active >= max_active) /* Grow memory area if needed */ in group_add() 219 if (!(group_add_to_hash(group, num_active))) in group_add() 222 active[num_active].name = my_strdup(group); in group_add() 224 return &active[num_active++]; /* NB num_active incremented here */ in group_add() 236 int save_num_active = num_active; in group_rehash() 239 num_active = save_num_active; /* init_group_hash() resets this */ in group_rehash() 315 num_active, TABLE_SIZE, TABLE_SIZE - empty, empty); in debug_print_active_hash()
|
/dports/security/amavisd-new/amavis-v2.12.0/ |
H A D | amavisd-status | 258 my $num_active = 0; 269 $num_active++; 286 if ($num_active > $peak_active) { 287 $peak_active = $num_active; 292 $peak_active = $num_active if $num_active > $peak_active; 295 my $bar = ('*' x $num_active) . ('.' x $num_idling); 297 if ($ipeak_active > $num_active) { 298 my $padding = $ipeak_active - ($num_active + $num_idling); 300 substr($bar, $num_active, $ipeak_active-$num_active) = 301 ':' x ($ipeak_active-$num_active); [all …]
|
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/dht/ |
H A D | taskmanager.cpp | 18 , num_active(0) in TaskManager() 32 num_active++; in addTask() 37 if (!task->isQueued() && num_active > 0) in taskFinished() 38 num_active--; in taskFinished() 46 num_active++; in taskFinished()
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_enhanced_layouts/ |
H A D | transform-feedback-layout-query-api.c | 112 bool num_active[2] = { false, false }; in piglit_init() local 155 num_active[i] = true; in piglit_init() 165 num_active[i] = true; in piglit_init() 180 piglit_report_subtest_result(num_active[0] && num_active[1] ? in piglit_init() 192 num_active[0] && num_active[1] && varying_idx[0] && in piglit_init()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | isys_dma_rmgr.c | 53 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire() 58 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire() 81 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release() 84 cur_rsrc->num_active--; in ia_css_isys_dma_channel_rmgr_release()
|
H A D | isys_stream2mmio_rmgr.c | 54 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 59 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire() 82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release() 85 cur_rsrc->num_active--; in ia_css_isys_stream2mmio_sid_rmgr_release()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | isys_dma_rmgr.c | 53 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire() 58 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire() 81 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release() 84 cur_rsrc->num_active--; in ia_css_isys_dma_channel_rmgr_release()
|
H A D | isys_stream2mmio_rmgr.c | 54 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 59 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire() 82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release() 85 cur_rsrc->num_active--; in ia_css_isys_stream2mmio_sid_rmgr_release()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | isys_dma_rmgr.c | 53 if (cur_rsrc->num_active < max_dma_channel) { in ia_css_isys_dma_channel_rmgr_acquire() 58 cur_rsrc->num_active++; in ia_css_isys_dma_channel_rmgr_acquire() 81 if ((*channel < max_dma_channel) && (cur_rsrc->num_active > 0)) { in ia_css_isys_dma_channel_rmgr_release() 84 cur_rsrc->num_active--; in ia_css_isys_dma_channel_rmgr_release()
|
H A D | isys_stream2mmio_rmgr.c | 54 if (cur_rsrc->num_active < max_sid) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 59 cur_rsrc->num_active++; in ia_css_isys_stream2mmio_sid_rmgr_acquire() 82 if ((*sid < max_sid) && (cur_rsrc->num_active > 0)) { in ia_css_isys_stream2mmio_sid_rmgr_release() 85 cur_rsrc->num_active--; in ia_css_isys_stream2mmio_sid_rmgr_release()
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libnghttp2-sys-0.1.7+1.45.0/nghttp2/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/net/proby/proby-1.0.2/cargo-crates/libnghttp2-sys-0.1.4+1.41.0/nghttp2/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libnghttp2-sys-0.1.6+1.43.0/nghttp2/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/www/libnghttp2/nghttp2-1.46.0/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/libnghttp2-sys/nghttp2/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/www/nghttp2/nghttp2-1.46.0/src/ |
H A D | shrpx_downstream_queue.cc | 35 : key(std::move(key)), num_active(0) {} in HostEntry() 88 ++ent.num_active; in mark_active() 109 return ent.num_active < conn_max_per_host_; in can_activate() 116 if (ent.blocked.empty() && ent.num_active == 0) { in remove_host_entry_if_empty() 135 --ent.num_active; in remove_and_get_blocked() 149 if (!next_blocked || ent.num_active >= conn_max_per_host_) { in remove_and_get_blocked()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/runtime/ |
H A D | vmOperations.cpp | 350 int num_active = 0; in set_vm_exited() local 356 ++num_active; in set_vm_exited() 361 return num_active; in set_vm_exited() 389 int num_active = 0; in wait_for_threads_in_native_to_block() local 395 num_active++; in wait_for_threads_in_native_to_block() 406 num_active--; in wait_for_threads_in_native_to_block() 415 if (num_active == 0) { in wait_for_threads_in_native_to_block() 418 return num_active; in wait_for_threads_in_native_to_block() 420 return num_active; in wait_for_threads_in_native_to_block()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/runtime/ |
H A D | vmOperations.cpp | 352 int num_active = 0; in set_vm_exited() local 358 ++num_active; in set_vm_exited() 363 return num_active; in set_vm_exited() 391 int num_active = 0; in wait_for_threads_in_native_to_block() local 397 num_active++; in wait_for_threads_in_native_to_block() 408 num_active--; in wait_for_threads_in_native_to_block() 417 if (num_active == 0) { in wait_for_threads_in_native_to_block() 420 return num_active; in wait_for_threads_in_native_to_block() 422 return num_active; in wait_for_threads_in_native_to_block()
|