Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arvidn/libtorrent
/ functions
Functions
6,210 in github.com/arvidn/libtorrent
⨍
Functions
6,210
◇
Types & classes
1,253
↓ 2 callers
Method
on_exception
src/torrent.cpp:6184
↓ 2 callers
Method
on_file_priority
src/torrent.cpp:5667
↓ 2 callers
Method
on_files_checked
simulation/test_session.cpp:133
↓ 2 callers
Method
on_metadata_impl
src/peer_connection.cpp:740
↓ 2 callers
Method
on_piece_failed
src/smart_ban.cpp:132
↓ 2 callers
Method
on_piece_pass
src/smart_ban.cpp:79
↓ 2 callers
Method
outgoing_get_peers
src/session_impl.cpp:7038
↓ 2 callers
Function
outstanding_bytes
include/libtorrent/peer_connection.hpp:677
↓ 2 callers
Function
parse_az_style
takes a peer id and returns a valid boost::optional object if the peer id matched the azureus style encoding the returned fingerprint contains informa
src/identify_client.cpp:68
↓ 2 callers
Function
parse_comma_separated_string
src/string_util.cpp:332
↓ 2 callers
Function
parse_enum
(lno, lines, filename)
docs/gen_reference_doc.py:742
↓ 2 callers
Function
parse_function
(lno, lines, filename)
docs/gen_reference_doc.py:437
↓ 2 callers
Method
parse_info_section
src/torrent_info.cpp:1121
↓ 2 callers
Function
parse_mainline_style
checks if a peer id can possibly contain a mainline-style identification
src/identify_client.cpp:124
↓ 2 callers
Function
parse_route
src/enum_net.cpp:366
↓ 2 callers
Function
parse_shadow_style
checks if a peer id can possibly contain a shadow-style identification
src/identify_client.cpp:90
↓ 2 callers
Function
pe_policy
simulation/test_pe_crypto.cpp:49
↓ 2 callers
Function
pick_least_important_item
src/kademlia/dht_storage.cpp:175
↓ 2 callers
Function
pick_upnp_interface
test/test_upnp.cpp:161
↓ 2 callers
Method
piece_failed
blocks may contain the block indices of the blocks that failed (if this is a v2 torrent).
src/torrent.cpp:4636
↓ 2 callers
Function
piece_matrix
this function uses the block characters that splits up the glyph in 4 segments and provide all combinations of a segment lit or not. This allows us to
examples/print.cpp:264
↓ 2 callers
Method
piece_verified
src/hash_picker.cpp:418
↓ 2 callers
Method
pkt_buf
src/alert.cpp:2472
↓ 2 callers
Function
plot_output
(filename: str, keys: list[str])
tools/vmstat.py:331
↓ 2 callers
Function
pop
examples/custom_storage.cpp:134
↓ 2 callers
Method
port
test/peer_server.cpp:105
↓ 2 callers
Method
port
test/udp_tracker.cpp:219
↓ 2 callers
Function
post_torrent
test/test_fast_extension.cpp:537
↓ 2 callers
Method
predicted_have_piece
we believe we will complete this piece very soon announce it to peers ahead of time to eliminate the round-trip times involved in announcing it, reque
src/torrent.cpp:4612
↓ 2 callers
Function
prefer_contiguous_blocks
include/libtorrent/peer_connection.hpp:362
↓ 2 callers
Function
print_alert
examples/upnp_test.cpp:39
↓ 2 callers
Function
print_classes
(out, classes, keyword)
tools/gen_fwd.py:63
↓ 2 callers
Function
print_endpoint
examples/client_test.cpp:307
↓ 2 callers
Function
print_output_to_file
(out: dict[str, list[float]], filename: str)
tools/vmstat.py:309
↓ 2 callers
Function
print_string
src/bdecode.cpp:1085
↓ 2 callers
Function
print_string
src/entry.cpp:690
↓ 2 callers
Function
print_usage
examples/dump_bdecode.cpp:55
↓ 2 callers
Function
print_usage
examples/dump_torrent.cpp:49
↓ 2 callers
Function
print_usage
examples/client_test.cpp:1350
↓ 2 callers
Function
print_usage
examples/connection_tester.cpp:725
↓ 2 callers
Function
print_usage
examples/torrent2magnet.cpp:42
↓ 2 callers
Function
process_string_lowercase
src/torrent_info.cpp:797
↓ 2 callers
Function
rand_sha256
simulation/utils.cpp:243
↓ 2 callers
Function
rand_v6
test/setup_transfer.cpp:187
↓ 2 callers
Function
rate_limit
include/libtorrent/http_connection.hpp:112
↓ 2 callers
Function
rc4_encrypt
src/pe_crypto.cpp:401
↓ 2 callers
Function
rc4_init
src/pe_crypto.cpp:364
↓ 2 callers
Function
read_all
Reads a file-like object to its end. This will read an entire file. The stream will be returned as an iterator of bytes objects, having size
test/http_proxy.py:115
↓ 2 callers
Function
read_extension_handshake
test/test_fast_extension.cpp:375
↓ 2 callers
Function
read_int16
include/libtorrent/io.hpp:125
↓ 2 callers
Function
read_node_endpoint
include/libtorrent/kademlia/io.hpp:50
↓ 2 callers
Function
read_nodes
src/alert.cpp:2796
↓ 2 callers
Function
read_to_end_of_chunks
Reads a chunked-encoded stream from a file-like object. This will read up to the end of the chunked encoding, including chunk delimiters, tra
test/http_proxy.py:43
↓ 2 callers
Function
read_to_limit
Reads a file-like object up to a number of bytes. This will read up to the given number of bytes from the given file. The stream will be retu
test/http_proxy.py:90
↓ 2 callers
Function
read_until
include/libtorrent/bencode.hpp:103
↓ 2 callers
Function
read_ut_metadata_msg
test/test_fast_extension.cpp:429
↓ 2 callers
Function
read_zeroes
src/storage_utils.cpp:612
↓ 2 callers
Function
recv
(source, n)
test/socks.py:60
↓ 2 callers
Method
remap_files
src/torrent_info.cpp:911
↓ 2 callers
Function
remote_endpoint
include/libtorrent/aux_/utp_stream.hpp:275
↓ 2 callers
Method
remove_request
src/tracker_manager.cpp:226
↓ 2 callers
Method
remove_torrent
examples/torrent_view.cpp:189
↓ 2 callers
Method
remove_web_seed_conn
src/torrent.cpp:11276
↓ 2 callers
Function
render_enums
(out, enums, print_declared_reference, header_level)
docs/gen_reference_doc.py:1349
↓ 2 callers
Function
render_section
(names, description, types)
docs/gen_stats_doc.py:56
↓ 2 callers
Method
request_bandwidth
src/peer_connection.cpp:5695
↓ 2 callers
Method
reserve
include/libtorrent/aux_/container_wrapper.hpp:121
↓ 2 callers
Method
reset
src/kademlia/dht_storage.cpp:620
↓ 2 callers
Method
reset
include/libtorrent/copy_ptr.hpp:49
↓ 2 callers
Function
reset_download
(save_path: Path)
tools/run_benchmark.py:25
↓ 2 callers
Function
reset_output
test/main.cpp:302
↓ 2 callers
Method
response
src/alert.cpp:2615
↓ 2 callers
Method
run
(self)
bindings/python/setup.py:346
↓ 2 callers
Function
run_fake_peer_test
simulation/test_fast_extensions.cpp:50
↓ 2 callers
Function
run_test
tools/disk_io_stress_test.cpp:150
↓ 2 callers
Function
run_test
(config)
examples/run_benchmarks.py:271
↓ 2 callers
Function
run_test
simulation/test_socks5.cpp:79
↓ 2 callers
Function
run_timeout_sim
simulation/test_fast_extensions.cpp:153
↓ 2 callers
Function
run_until
test/test_storage.cpp:158
↓ 2 callers
Method
sample_infohashes
src/kademlia/node.cpp:582
↓ 2 callers
Function
sanity_check
test/test_torrent_info.cpp:1182
↓ 2 callers
Function
save_dht_settings
src/kademlia/dht_settings.cpp:88
↓ 2 callers
Function
save_file
examples/client_test.cpp:974
↓ 2 callers
Function
save_nodes
src/kademlia/dht_state.cpp:77
↓ 2 callers
Method
save_path
src/torrent.cpp:8808
↓ 2 callers
Method
save_state
TODO: 2 the ip filter should probably be saved here too
src/session_impl.cpp:762
↓ 2 callers
Function
sc_muladd
src/ed25519/sc.cpp:369
↓ 2 callers
Function
search
src/string_util.cpp:132
↓ 2 callers
Method
seed_rank
the higher seed rank, the more important to seed
src/torrent.cpp:9501
↓ 2 callers
Method
send_deferred_ack
src/utp_stream.cpp:252
↓ 2 callers
Function
send_dht_message
(msg)
tools/dht_flood.py:57
↓ 2 callers
Function
send_extension_handshake
test/test_fast_extension.cpp:334
↓ 2 callers
Function
send_have_none
test/test_fast_extension.cpp:240
↓ 2 callers
Method
send_invalid_message
simulation/fake_peer.hpp:152
↓ 2 callers
Method
send_packet
src/kademlia/dht_tracker.cpp:684
↓ 2 callers
Function
send_peer
src/ut_pex.cpp:64
↓ 2 callers
Method
send_request
simulation/fake_peer.hpp:100
↓ 2 callers
Function
send_ut_metadata_msg
test/test_fast_extension.cpp:399
↓ 2 callers
Function
session
hidden
include/libtorrent/session.hpp:189
↓ 2 callers
Function
session_time
include/libtorrent/aux_/session_impl.hpp:1143
← previous
next →
1,801–1,900 of 6,210, ranked by callers