Home
last modified time | relevance | path

Searched refs:min_heap_idx (Results 1 – 25 of 91) sorted by relevance

1234

/dports/databases/percona56-server/percona-server-5.6.51-91.0/extra/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/net-mgmt/lldpd/lldpd-1.0.8/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/net/ntp/ntp-4.2.8p15/sntp/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/extra/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/extra/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/www/firefox/firefox-99.0/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/extra/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/extra/libevent/libevent-2.1.11-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/monkey/mk_core/deps/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/devel/libevent/libevent-2.1.12-stable/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
162 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/extra/libevent/
H A Dminheap-internal.h85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop_()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top_()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase_()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase_()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase_()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase_()
119 if (-1 == e->ev_timeout_pos.min_heap_idx) { in min_heap_adjust_()
122 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_adjust_()
128 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); in min_heap_adjust_()
158 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_unconditional_()
[all …]
/dports/net/netatalk3/netatalk-3.1.12/libevent/
H A Dminheap-internal.h66 void min_heap_elem_init(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } in min_heap_elem_init()
85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase()
108 min_heap_shift_up_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase()
138 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
142 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
[all …]
/dports/net/openmpi/openmpi-4.1.1/opal/mca/event/libevent2022/libevent/
H A Dminheap-internal.h66 void min_heap_elem_init(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } in min_heap_elem_init()
85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase()
108 min_heap_shift_up_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase()
138 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
142 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
[all …]
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/event/libevent2022/libevent/
H A Dminheap-internal.h66 void min_heap_elem_init(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } in min_heap_elem_init()
85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase()
108 min_heap_shift_up_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase()
138 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
142 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/
H A Dminheap-internal.h66 void min_heap_elem_init(struct event* e) { e->ev_timeout_pos.min_heap_idx = -1; } in min_heap_elem_init()
85 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_pop()
93 return e->ev_timeout_pos.min_heap_idx == 0; in min_heap_elt_is_top()
98 if (-1 != e->ev_timeout_pos.min_heap_idx) in min_heap_erase()
101 unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2; in min_heap_erase()
108 min_heap_shift_up_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
110 min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, last); in min_heap_erase()
111 e->ev_timeout_pos.min_heap_idx = -1; in min_heap_erase()
138 (s->p[hole_index] = s->p[parent])->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
142 (s->p[hole_index] = e)->ev_timeout_pos.min_heap_idx = hole_index; in min_heap_shift_up_()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/third_party/libevent/
H A Dmin_heap.h60 void min_heap_elem_init(struct event* e) { e->min_heap_idx = -1; } in min_heap_elem_init()
79 e->min_heap_idx = -1; in min_heap_pop()
87 if(((unsigned int)-1) != e->min_heap_idx) in min_heap_erase()
90 unsigned parent = (e->min_heap_idx - 1) / 2; in min_heap_erase()
96 if (e->min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) in min_heap_erase()
97 min_heap_shift_up_(s, e->min_heap_idx, last); in min_heap_erase()
99 min_heap_shift_down_(s, e->min_heap_idx, last); in min_heap_erase()
100 e->min_heap_idx = -1; in min_heap_erase()
127 (s->p[hole_index] = s->p[parent])->min_heap_idx = hole_index; in min_heap_shift_up_()
131 (s->p[hole_index] = e)->min_heap_idx = hole_index; in min_heap_shift_up_()
[all …]

1234