Home
last modified time | relevance | path

Searched refs:choked (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/simulation/
H A Dtest_optimistic_unchoke.cpp56 choke_state() : unchoke_duration(lt::seconds(0)), choked(true) {} in choke_state()
59 bool choked; member
112 if (!cs.choked) in TORRENT_TEST()
114 cs.choked = true; in TORRENT_TEST()
121 if (cs.choked) in TORRENT_TEST()
123 cs.choked = false; in TORRENT_TEST()
164 if (!cs.choked) in TORRENT_TEST()
166 cs.choked = true; in TORRENT_TEST()
/dports/www/elinks/elinks-0.11.7/src/protocol/bittorrent/
H A Dpeerwire.h45 if (peer->remote.choked) return; in choke_bittorrent_peer()
46 peer->remote.choked = 1; in choke_bittorrent_peer()
54 if (!peer->remote.choked) return; in unchoke_bittorrent_peer()
55 peer->remote.choked = 0; in unchoke_bittorrent_peer()
H A Dconnection.c117 if (peer->remote.choked) in update_bittorrent_connection_state()
120 peer->remote.choked = 0; in update_bittorrent_connection_state()
127 if (!peer->remote.choked) in update_bittorrent_connection_state()
130 peer->remote.choked = 1; in update_bittorrent_connection_state()
H A Dpeerwire.c116 if (peer->local.interested && !peer->local.choked) in update_bittorrent_peer_connection_state()
286 assert(!peer->local.choked); in do_send_bittorrent_peer_message()
301 assert(!peer->remote.choked); in do_send_bittorrent_peer_message()
482 peer->local.choked = 1; in read_bittorrent_peer_message()
497 peer->local.choked = 0; in read_bittorrent_peer_message()
573 if (peer->remote.choked in read_bittorrent_peer_message()
598 if (peer->local.choked in read_bittorrent_peer_message()
H A Dpeerconnect.c224 peer->local.choked = 1; in init_bittorrent_peer_connection()
225 peer->remote.choked = 1; in init_bittorrent_peer_connection()
/dports/security/fragrouter/fragrouter-1.6/Libnet-0.99b/
H A Dacinclude.m463 printf("choked");
71 printf("choked");
85 printf("choked\n");
100 ac_libnet_have_pf_packet=choked
105 if test $ac_libnet_have_pf_packet = choked; then
106 AC_MSG_RESULT(test program choked... assuming no)
111 if test $ac_libnet_have_pf_packet != choked; then
H A Daclocal.m475 printf("choked");
83 printf("choked");
97 printf("choked\n");
112 ac_libnet_have_pf_packet=choked
117 if test $ac_libnet_have_pf_packet = choked; then
118 AC_MSG_RESULT(test program choked... assuming no)
123 if test $ac_libnet_have_pf_packet != choked; then
/dports/net/kget/kget-21.12.3/transfer-plugins/bittorrent/advanceddetails/
H A Dpeerviewmodel.cpp89 ret = s.choked != stats.choked; in changed()
125 s.choked != stats.choked || in changed()
156 case 4: return stats.choked ? i18nc("Choked", "Yes") : i18nc("Not choked", "No"); in data()
180 case 4: return stats.choked < other->stats.choked; in lessThan()
/dports/games/scorched3d/scorched/src/client/client/
H A DClientSimulator.cpp45 bool choked = (currentTime_ >= waitingEventTime_); in continueToSimulate() local
46 serverChoke_.addValue(choked?100:0); in continueToSimulate()
47 return !choked; in continueToSimulate()
/dports/net/thcrut/thcrut-1.2.5/Libnet-1.0.2a/
H A Dacinclude.m462 printf("choked");
70 printf("choked");
84 printf("choked\n");
99 ac_libnet_have_pf_packet=choked
104 if test $ac_libnet_have_pf_packet = choked; then
105 AC_MSG_RESULT(test program choked... assuming no)
111 if test $ac_libnet_have_pf_packet != choked; then
/dports/devel/p5-IO-SessionData/IO-SessionData-1.03/lib/IO/
H A DSessionData.pm59 choked => 0,
190 return if $self->{choked} == $do_choke; # no change in state
197 $self->{choked} = $do_choke;
/dports/net-p2p/libbt/libbt-1.06/src/
H A Dpeer.c241 p->remote.choked = 1; in peer_add()
242 p->local.choked = 1; in peer_add()
708 peer->remote.choked = 1; in recv_peermsg()
732 peer->remote.choked = 0; in recv_peermsg()
746 if (!peer->local.choked) { in recv_peermsg()
753 if (!peer->local.choked) { in recv_peermsg()
773 !peer->remote.choked) in recv_peermsg()
1059 peer->local.choked = choke; in send_choke()
1265 p->remote.choked = 1; in peer_answer()
1266 p->local.choked = 1; in peer_answer()
[all …]
/dports/net-p2p/ktorrent/ktorrent-21.12.3/plugins/infowidget/
H A Dpeerviewmodel.cpp66 s.choked != stats.choked || in changed()
105 return stats.choked ? i18nc("Choked", "Yes") : i18nc("Not choked", "No"); in data()
146 return stats.choked; in sortData()
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/interfaces/
H A Dpeerinterface.h46 bool choked; member
132 return stats.choked; in isChoked()
H A Dpeerinterface.cpp17 stats.choked = true;
/dports/net-p2p/libtorrent/libtorrent-0.13.8/test/protocol/
H A Dtest_request_list.cc196 request_list->choked(); in test_choke_normal()
212 request_list->choked(); in test_choke_unchoke_discard()
231 request_list->choked(); in test_choke_unchoke_transfer()
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/protocol/
H A Dpeer_connection_leech.cc230 request_list()->choked(); in read_message()
273 if (!m_upChoke.choked()) { in read_message()
499 m_up->write_choke(m_upChoke.choked()); in fill_write_buffer()
501 if (m_upChoke.choked()) { in fill_write_buffer()
572 } else if (!m_upChoke.choked() && in fill_write_buffer()
/dports/net-p2p/libktorrent/libktorrent-21.12.3/src/peer/
H A Dpeer.cpp125 if (!stats.choked) in handleChoke()
127 stats.choked = true; in handleChoke()
128 downloader->choked(); in handleChoke()
139 if (stats.choked) { in handleUnchoke()
144 stats.choked = false; in handleUnchoke()
702 if (stats.choked) in averageDownloadSpeed()
H A Dpeerdownloader.h137 void choked();
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/test/
H A Dbittorrent_peer.cpp184 if (choked && allowed_fast.empty() && !m_current_piece_is_allowed) return false; in write_request()
192 if (choked && allowed_fast.size() > 0) in write_request()
482 choked = true; in on_message()
486 choked = false; in on_message()
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/test/
H A Dbittorrent_peer.cpp184 if (choked && allowed_fast.empty() && !m_current_piece_is_allowed) return false; in write_request()
192 if (choked && allowed_fast.size() > 0) in write_request()
482 choked = true; in on_message()
486 choked = false; in on_message()
H A Dbittorrent_peer.hpp93 bool choked = true; member
/dports/net-p2p/libtorrent/libtorrent-0.13.8/src/torrent/peer/
H A Dchoke_status.h62 bool choked() const { return !m_unchoked; } in choked() function
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/examples/
H A Dconnection_tester.cpp148 , choked(true) in peer_conn()
216 bool choked; member
341 if (choked && allowed_fast.empty() && !current_piece_is_allowed) return false; in write_request()
353 if (choked && allowed_fast.size() > 0) in write_request()
637 choked = true; in on_message()
641 choked = false; in on_message()
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/examples/
H A Dconnection_tester.cpp148 , choked(true) in peer_conn()
216 bool choked; member
341 if (choked && allowed_fast.empty() && !current_piece_is_allowed) return false; in write_request()
353 if (choked && allowed_fast.size() > 0) in write_request()
637 choked = true; in on_message()
641 choked = false; in on_message()

12345678910>>...33