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
↓ 26 callers
Function
calc_num_pieces
src/file_storage.cpp:1609
↓ 26 callers
Method
data
include/libtorrent/span.hpp:126
↓ 26 callers
Method
dict_at
src/bdecode.cpp:563
↓ 26 callers
Function
fe_add
src/ed25519/fe.cpp:92
↓ 26 callers
Method
file_name
src/file_storage.cpp:1049
↓ 26 callers
Function
is_v6
include/libtorrent/aux_/ip_helpers.hpp:58
↓ 26 callers
Function
write_uint16
include/libtorrent/io.hpp:158
↓ 25 callers
Method
data_section
src/bdecode.cpp:413
↓ 25 callers
Function
feed_bytes
test/test_http_parser.cpp:45
↓ 25 callers
Method
is_choked
src/peer_connection_handle.cpp:109
↓ 25 callers
Function
mark_downloading
test/test_piece_picker.cpp:2800
↓ 25 callers
Function
test_parse_interface
test/test_string.cpp:375
↓ 24 callers
Method
_maybe_add_arg
(self, arg: str)
bindings/python/setup.py:340
↓ 24 callers
Method
add_sample
src/timestamp_history.cpp:47
↓ 24 callers
Method
associated_torrent
src/peer_connection_handle.cpp:151
↓ 24 callers
Function
create_torrent
test/setup_transfer.cpp:905
↓ 24 callers
Method
deferred_submit_jobs
src/session_impl.cpp:1409
↓ 24 callers
Function
make_magnet_uri
src/magnet_uri.cpp:49
↓ 24 callers
Function
parse_endpoint
src/socket_io.cpp:87
↓ 24 callers
Function
parse_error
test/test_utf8.cpp:71
↓ 24 callers
Function
prev
include/libtorrent/units.hpp:140
↓ 24 callers
Method
protocol
include/libtorrent/netlink.hpp:175
↓ 24 callers
Function
rand_hash
test/setup_transfer.cpp:159
↓ 24 callers
Function
write_endpoint
include/libtorrent/socket_io.hpp:102
↓ 23 callers
Function
add_length
(msg)
fuzzers/tools/generate_initial_corpus.py:103
↓ 23 callers
Method
address
include/libtorrent/union_endpoint.hpp:107
↓ 23 callers
Function
async_read
src/posix_disk_io.cpp:98
↓ 23 callers
Function
blocks_per_piece
simulation/transfer_sim.cpp:100
↓ 23 callers
Method
connect_peer
src/torrent_handle.cpp:831
↓ 23 callers
Function
create_directories
src/path.cpp:359
↓ 23 callers
Function
fe_sub
src/ed25519/fe.cpp:1309
↓ 23 callers
Function
is_space
src/string_util.cpp:82
↓ 23 callers
Function
merkle_pad
generates the pad hash for the tree level with "pieces" nodes, given the full tree has "blocks" number of blocks.
src/merkle.cpp:301
↓ 23 callers
Function
open_file
src/file.cpp:421
↓ 22 callers
Function
all_of
test/test_remap_files.cpp:59
↓ 22 callers
Function
escape_string
src/bdecode.cpp:133
↓ 22 callers
Method
filename
src/file_storage.cpp:371
↓ 22 callers
Function
is_complete
src/path.cpp:987
↓ 22 callers
Function
is_paused
include/libtorrent/aux_/session_impl.hpp:569
↓ 22 callers
Method
map_file
src/file_storage.cpp:583
↓ 22 callers
Method
mean
include/libtorrent/sliding_average.hpp:78
↓ 22 callers
Function
merkle_first_leaf
src/merkle.cpp:94
↓ 22 callers
Method
node_seen
this function is called every time the node sees a sign of a node being alive. This node will either be inserted in the k-buckets or be moved to the t
src/kademlia/routing_table.cpp:1096
↓ 22 callers
Method
open
src/udp_socket.cpp:481
↓ 22 callers
Function
split_string
src/string_util.cpp:360
↓ 22 callers
Method
throttle
test/test_bandwidth_limiter.cpp:81
↓ 22 callers
Function
total_microseconds
include/libtorrent/time.hpp:87
↓ 22 callers
Method
verified_leafs
src/merkle_tree.cpp:783
↓ 22 callers
Function
write_int32
include/libtorrent/io.hpp:154
↓ 21 callers
Function
async_write
src/posix_disk_io.cpp:132
↓ 21 callers
Method
cut
size = the packet size to remove from the receive buffer packet_size = the next packet size to receive in the buffer offset = the offset into the rece
src/receive_buffer.cpp:103
↓ 21 callers
Method
file_num_pieces
src/file_storage.cpp:1074
↓ 21 callers
Function
generate_torrent
test/setup_transfer.cpp:81
↓ 21 callers
Method
get_settings
src/session_impl.cpp:1483
↓ 21 callers
Method
has_node
src/merkle_tree.cpp:589
↓ 21 callers
Method
has_val
src/settings_pack.cpp:730
↓ 21 callers
Function
make_files
test/test_utils.cpp:142
↓ 21 callers
Function
merkle_num_layers
src/merkle.cpp:112
↓ 21 callers
Function
operation_name
src/alert.cpp:1833
↓ 21 callers
Function
piece_length
``piece_length()`` and ``num_pieces()`` returns the number of byte for each piece and the total number of pieces, respectively. The difference between
include/libtorrent/torrent_info.hpp:386
↓ 21 callers
Function
set_piece_hashes
src/create_torrent.cpp:319
↓ 21 callers
Function
sock
test/test_listen_socket.cpp:132
↓ 21 callers
Function
statistics
include/libtorrent/torrent.hpp:538
↓ 21 callers
Method
target_ep
src/kademlia/rpc_manager.cpp:112
↓ 20 callers
Method
add_peer
src/torrent.cpp:11345
↓ 20 callers
Method
dict_size
src/bdecode.cpp:571
↓ 20 callers
Method
empty
include/libtorrent/span.hpp:125
↓ 20 callers
Function
host_to_network
these need to be within the disabled warnings because on OSX the htonl and ntohl macros cause lots of old-style case warnings
include/libtorrent/aux_/byteswap.hpp:59
↓ 20 callers
Function
ifc
test/test_listen_socket.cpp:63
↓ 20 callers
Method
job_complete
src/disk_job_fence.cpp:51
↓ 20 callers
Method
native_handle
src/torrent_handle.cpp:964
↓ 20 callers
Method
piece_size2
src/file_storage.cpp:127
↓ 20 callers
Method
remove
src/piece_picker.cpp:906
↓ 20 callers
Function
string2vec
test/test_piece_picker.cpp:62
↓ 19 callers
Function
H
test/test_merkle.cpp:293
↓ 19 callers
Method
data
include/libtorrent/aux_/buffer.hpp:141
↓ 19 callers
Method
get_local_endpoint
src/listen_socket_handle.cpp:47
↓ 19 callers
Function
has_parent_path
src/path.cpp:574
↓ 19 callers
Method
incoming
src/utp_stream.cpp:2241
↓ 19 callers
Function
info_hash_t
The default constructor creates an object that has neither a v1 or v2 hash. For backwards compatibility, make it possible to construct directly from
include/libtorrent/info_hash.hpp:83
↓ 19 callers
Method
is_downloaded
src/piece_picker.cpp:3073
↓ 19 callers
Method
is_hashing
src/piece_picker.cpp:2915
↓ 19 callers
Method
mark_as_writing
src/piece_picker.cpp:3328
↓ 19 callers
Function
merkle_get_layer
returns the layer the given offset into the tree falls into. Layer 0 is the root of the tree, layer 1 is the two hashes below the root, and so on.
src/merkle.cpp:285
↓ 19 callers
Function
path_equal
src/path.cpp:533
↓ 19 callers
Method
resize
include/libtorrent/aux_/container_wrapper.hpp:93
↓ 19 callers
Function
sequence_number
include/libtorrent/torrent.hpp:1185
↓ 19 callers
Method
v2
src/torrent_info.cpp:1913
↓ 19 callers
Function
verify_encoding
fixes invalid UTF-8 sequences
src/torrent_info.cpp:131
↓ 18 callers
Function
distance_exp
returns n in: 2^n <= distance(n1, n2) < 2^(n+1) useful for finding out which bucket a node belongs to
src/kademlia/node_id.cpp:64
↓ 18 callers
Function
done
include/libtorrent/aux_/directory.hpp:64
↓ 18 callers
Function
get_val
test/test_packet_buffer.cpp:52
↓ 18 callers
Function
incoming_error
generate an error response message
src/kademlia/node.cpp:108
↓ 18 callers
Method
load_tree
src/merkle_tree.cpp:75
↓ 18 callers
Function
node_from_entry
test/test_dht.cpp:181
↓ 18 callers
Method
nodes
src/alert.cpp:2852
↓ 18 callers
Method
range
returns an object that can be used in a range-for to iterate over all indices in the bitfield
include/libtorrent/bitfield.hpp:314
↓ 18 callers
Method
root
src/merkle_tree.cpp:58
↓ 18 callers
Function
rt
test/test_enum_net.cpp:165
↓ 18 callers
Function
set
include/libtorrent/aux_/session_settings.hpp:68
← previous
next →
301–400 of 6,210, ranked by callers