MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

↓ 4 callersMethodget_file_index
Get the index of a file or directory in a torrent, or None if it does not exist.
src/tribler/core/libtorrent/download_manager/download.py:1223
↓ 4 callersMethodget_file_length
Get the length of a file or directory in bytes. Returns 0 if the given path does not point to an existing path.
src/tribler/core/libtorrent/download_manager/download.py:1213
↓ 4 callersMethodget_files
Return file information of a specific download.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:852
↓ 4 callersMethodget_libtorrent_settings
Return Libtorrent session settings.
src/tribler/core/libtorrent/restapi/libtorrent_endpoint.py:53
↓ 4 callersMethodget_next_tracker
Gets the next tracker. :return: The next tracker for torrent-checking.
src/tribler/core/torrent_checker/tracker_manager.py:139
↓ 4 callersMethodget_num_seeds_peers
Returns the sum of the number of seeds and peers. :return: A tuple (num seeds, num peers)
src/tribler/core/libtorrent/download_manager/download_state.py:259
↓ 4 callersMethodget_piece_priorities
Get the priorities of all pieces in the download.
src/tribler/core/libtorrent/download_manager/download.py:1134
↓ 4 callersMethodget_seeding_ratio
Get the actual seeding ratio of this download (the user config may be ``None``).
src/tribler/core/libtorrent/download_manager/download.py:725
↓ 4 callersMethodget_size_from_bloomfilter
Return the estimated number of items in the bloom filter. :param bf: The bloom filter of which we estimate the size. :return
src/tribler/core/libtorrent/download_manager/dht_health_manager.py:96
↓ 4 callersMethodget_torrent_data
Return torrent data, if the handle is valid and metadata is available.
src/tribler/core/libtorrent/download_manager/download.py:270
↓ 4 callersMethodget_v2_piece_hash
Get the (32-byte) SHA-256 hash for the specified piece from its buffer.
src/tribler/core/libtorrent/torrentdef.py:131
↓ 4 callersMethodget_versions
Get all versions in our state directory.
src/tribler/core/versioning/manager.py:45
↓ 4 callersFunctioninfohash_to_id
This function is used to devise ``id_`` from infohash in deterministic way. Used in FFA channels.
src/tribler/core/database/orm_bindings/torrent_metadata.py:101
↓ 4 callersMethodlimit
(limit: int)
src/tribler/core/database/orm_bindings/tracker_state.py:51
↓ 4 callersMethodlocal_search
Perform a search for a given query.
src/tribler/core/database/restapi/database_endpoint.py:282
↓ 4 callersMethodmove_storage
Move the output files to a different location.
src/tribler/core/libtorrent/download_manager/download.py:785
↓ 4 callersMethodon_torrent_finished_alert
Handle a torrent finished alert.
src/tribler/core/libtorrent/download_manager/download.py:708
↓ 4 callersMethodon_tribler_exception
An exception has occurred in Tribler.
src/tribler/core/restapi/events_endpoint.py:204
↓ 4 callersMethodorder_by
(selector: int | Callable)
src/tribler/core/database/orm_bindings/tracker_state.py:48
↓ 4 callersMethodprocess_compressed_mdblob
Decompress the given data and return a list of uncompressed results.
src/tribler/core/database/store.py:366
↓ 4 callersFunctionreloadPaths
(dir: string)
src/tribler/ui/src/dialogs/SelectRemotePath.tsx:101
↓ 4 callersMethodremove_download
Remove a download and optionally also remove the downloaded file(s) and checkpoint.
src/tribler/core/libtorrent/download_manager/download_manager.py:909
↓ 4 callersMethodremove_tag
Remove a custom tag from the given download.
src/tribler/core/database/restapi/database_endpoint.py:469
↓ 4 callersFunctionrequire_handle
Invoke the function once the handle is available. Returns a future that will fire once the function has completed. Author(s): Egbert Bouman
src/tribler/core/libtorrent/torrents.py:67
↓ 4 callersFunctionreturn_handled_exception
Create a RESTResponse that tells the use that an exception is handled. :param exception: the handled exception :return: JSON dictionary
src/tribler/core/restapi/rest_endpoint.py:79
↓ 4 callersMethodsanitize_parameters
Sanitize the parameters for a request that fetches channels.
src/tribler/core/database/restapi/database_endpoint.py:104
↓ 4 callersMethodsave_resume_data
Save the resume data of a download. This method returns when the resume data is available. Note that this method only calls save_resu
src/tribler/core/libtorrent/download_manager/download.py:813
↓ 4 callersMethodsend_event
Put event message to a queue to be sent to GUI.
src/tribler/core/restapi/events_endpoint.py:164
↓ 4 callersMethodsend_remote_select
Query a peer using an SQL statement descriptions (kwargs).
src/tribler/core/content_discovery/community.py:293
↓ 4 callersMethodsendto
Attemp to send data to the given address. :raises Socks5Error: If we have not associated UDP yet.
src/tribler/core/socks5/client.py:208
↓ 4 callersFunctionsetBandwidthLimit
( selectedDownloads: Download[], value: number | undefined, direction: "up" | "down", t: TFunc
src/tribler/ui/src/pages/Downloads/Actions.tsx:136
↓ 4 callersFunctionsetInvalidName
(target: HTMLInputElement)
src/tribler/ui/src/dialogs/CreateTorrent.tsx:209
↓ 4 callersMethodset_share_mode
Set whether this download is in sharing mode.
src/tribler/core/libtorrent/download_manager/download.py:1091
↓ 4 callersMethodstop
Stop downloading the download.
src/tribler/core/libtorrent/download_manager/download.py:968
↓ 4 callersMethodtracker_force_announce
Forcefully announce to the given tracker.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:801
↓ 4 callersFunctionupdateDownloads
(infohashes: string[] | undefined = undefined)
src/tribler/ui/src/pages/Downloads/index.tsx:305
↓ 4 callersFunctionupdateRowSelection
( table: ReactTable<any>, rowSelection: RowSelectionState, setRowSelection: Dispatch<SetStateActio
src/tribler/ui/src/components/ui/simple-table.tsx:215
↓ 4 callersMethodupdate_lt_status
Update libtorrent stats and check if the download should be stopped.
src/tribler/core/libtorrent/download_manager/download.py:734
↓ 4 callersFunctionuseFormField
()
src/tribler/ui/src/components/ui/form.tsx:33
↓ 4 callersFunctionusePrevious
(value: T)
src/tribler/ui/src/hooks/usePrevious.tsx:3
↓ 4 callersMethodwait_for_status
Wait for a given download status to occur.
src/tribler/core/libtorrent/download_manager/download.py:377
↓ 4 callersMethodwrite
Write the configuration to disk.
src/tribler/tribler_config.py:421
↓ 3 callersMethod_send
Send data to the remote and wait for an answer.
src/tribler/core/socks5/client.py:111
↓ 3 callersMethodadd_signature
Create a signature for this payload.
src/tribler/core/database/serialization.py:135
↓ 3 callersMethodadd_tag
Add a custom tag to the given download.
src/tribler/core/database/restapi/database_endpoint.py:404
↓ 3 callersMethodadd_tracker
(self, tracker_url: str)
src/tribler/core/database/orm_bindings/torrent_metadata.py:274
↓ 3 callersFunctionadd_url_params
Add GET params to provided URL being aware of existing. >> url = 'http://stackoverflow.com/test?answers=true' >> new_params = {'answers'
src/tribler/core/libtorrent/trackers.py:149
↓ 3 callersFunctionbatched
Backport for ``itertools.batched()``.
src/tribler/upgrade_script.py:35
↓ 3 callersMethodcallback
(version: str)
src/tribler/test_unit/core/test_notifier.py:46
↓ 3 callersFunctioncheck_handle
Return the libtorrent handle if it's available, else return the default value. Author(s): Egbert Bouman
src/tribler/core/libtorrent/torrents.py:41
↓ 3 callersMethodcompletions
Return auto-completion suggestions for a given query.
src/tribler/core/database/restapi/database_endpoint.py:357
↓ 3 callersMethodcreate_node
Set up a fake dht provider.
src/tribler/test_unit/core/tunnel/test_community.py:57
↓ 3 callersMethodencode_message
Use JSON to dump the given message to bytes.
src/tribler/core/restapi/events_endpoint.py:130
↓ 3 callersMethoderror_message
Create an error message for the GUI.
src/tribler/core/restapi/events_endpoint.py:118
↓ 3 callersFunctionfilterDuplicates
(data: any[], key: string)
src/tribler/ui/src/lib/utils.ts:154
↓ 3 callersMethodget_api_port
Get the API port of the currently running server.
src/tribler/core/restapi/rest_manager.py:210
↓ 3 callersMethodget_candidates
Get all the peers that we can create circuits with. When requesting exits, prefer peers that aren't backups.
src/tribler/core/tunnel/community.py:141
↓ 3 callersMethodget_current_speed
Returns the current up or download speed. :return: The speed in bytes/s.
src/tribler/core/libtorrent/download_manager/download_state.py:125
↓ 3 callersMethodget_download
Get the download belonging to a given infohash.
src/tribler/core/libtorrent/download_manager/download_manager.py:937
↓ 3 callersMethodget_download_limit
Get the download bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download.py:1291
↓ 3 callersMethodget_files_info_json
Return file information as JSON from a specified download.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:137
↓ 3 callersMethodget_health
Lookup the health of a given infohash. :param infohash: The 20-byte infohash to lookup. :param timeout: The timeout of the l
src/tribler/core/libtorrent/download_manager/dht_health_manager.py:35
↓ 3 callersMethodget_libtorrent_session_info
Return Libtorrent session information.
src/tribler/core/libtorrent/restapi/libtorrent_endpoint.py:92
↓ 3 callersMethodget_lookup_info_hash
Get the SHA-1 hash to lookup for a given torrent info hash.
src/tribler/core/tunnel/community.py:423
↓ 3 callersMethodget_num_connected_seeds_peers
Return the number of connected seeders and leechers.
src/tribler/core/libtorrent/download_manager/download.py:875
↓ 3 callersMethodget_peer_list
Returns a list of dictionaries, one for each connected peer containing the statistics for that peer. In particular, the dictionary co
src/tribler/core/libtorrent/download_manager/download.py:829
↓ 3 callersMethodget_peer_list
Returns a list of dictionaries, one for each connected peer, containing the statistics for that peer.
src/tribler/core/libtorrent/download_manager/download_state.py:374
↓ 3 callersMethodget_post_handle_ops
Get the post-handle operations flag for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:400
↓ 3 callersMethodget_settings
Return all the session settings that can be found in Tribler.
src/tribler/core/restapi/settings_endpoint.py:39
↓ 3 callersMethodget_torrent
Create the raw torrent data from this download.
src/tribler/core/libtorrent/download_manager/download.py:891
↓ 3 callersMethodget_torrent_health
Fetch the swarm health of a specific torrent.
src/tribler/core/database/restapi/database_endpoint.py:164
↓ 3 callersMethodget_tracker_status
Retrieve an overview of the trackers and their statuses.
src/tribler/core/libtorrent/download_manager/download.py:905
↓ 3 callersMethodget_upload_limit
Get the upload bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download.py:1277
↓ 3 callersMethodgossip_random_torrents_health
Gossip random torrent health information to another peer.
src/tribler/core/content_discovery/community.py:167
↓ 3 callersFunctionhandleHTTPError
(error: Error | AxiosError)
src/tribler/ui/src/services/reporting.ts:12
↓ 3 callersFunctionhandleSuggestionClick
(value: string)
src/tribler/ui/src/components/ui/autocomplete.tsx:38
↓ 3 callersMethodhas_session
Check if we have a session for the given number of anonymization hops.
src/tribler/core/libtorrent/download_manager/download_manager.py:399
↓ 3 callersMethoditer_pieces
Generator function that yield the pieces for the active file index.
src/tribler/core/libtorrent/download_manager/stream.py:124
↓ 3 callersMethodload_blacklist
Load the blacklist.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:25
↓ 3 callersMethodload_legacy_checkpoint
Deal with legacy checkpoints. This is deprecated functionality: remove later. Once enough people use the new format, this method can
src/tribler/core/libtorrent/download_manager/download_manager.py:1107
↓ 3 callersMethodold
Whether this check is more than 4 hours old.
src/tribler/core/torrent_checker/healthdataclasses.py:46
↓ 3 callersMethodolder_than
Whether this check is older than the given check.
src/tribler/core/torrent_checker/healthdataclasses.py:53
↓ 3 callersMethodon_notification
Callback for when a notification is received. Check if we should forward it to the GUI.
src/tribler/core/restapi/events_endpoint.py:84
↓ 3 callersFunctionopen_webbrowser_tab
Open a webbrowser tab with the given URL.
src/run_tribler.py:221
↓ 3 callersMethodpost_alert
Manually post an alert.
src/tribler/core/libtorrent/download_manager/download.py:464
↓ 3 callersMethodprocess_rpc_query
Retrieve the result of a database query from a third party, encoded as raw JSON bytes (through `dumps`). :raises TypeError: if the J
src/tribler/core/content_discovery/community.py:332
↓ 3 callersFunctionquery_uri
(uri: str, connector: BaseConnector | None = None, headers: LooseHeaders | None = None, ti
src/tribler/core/libtorrent/restapi/torrentinfo_endpoint.py:79
↓ 3 callersFunctionread_payload_with_offset
Read the next payload from the data buffer (at the given offset).
src/tribler/core/database/serialization.py:71
↓ 3 callersMethodreadd_bittorrent_peers
Add the special IPs that belong to circuits to a download.
src/tribler/core/tunnel/community.py:161
↓ 3 callersMethodreceived_bloomfilters
We have received bloom filters from the libtorrent DHT. Register the bloom filters and process them. :param transaction_id: The ID o
src/tribler/core/libtorrent/download_manager/dht_health_manager.py:139
↓ 3 callersMethodremove_circuit
Remove the circuit that belongs to the given circuit id.
src/tribler/core/tunnel/community.py:191
↓ 3 callersMethodsanitize_query
Convert the values in a query to the appropriate format and supply missing values.
src/tribler/core/content_discovery/community.py:123
↓ 3 callersMethodsend_search_request
Fake the return values of a search request.
src/tribler/test_unit/core/content_discovery/restapi/test_search_endpoint.py:29
↓ 3 callersMethodserialized
Pack this serializable.
src/tribler/core/database/serialization.py:103
↓ 3 callersMethodsetAsyncioDebug
(enable: boolean, slownessThreshold: number)
src/tribler/ui/src/services/ipv8.service.ts:56
↓ 3 callersMethodset_auto_managed
Set the auto managed flag.
src/tribler/core/libtorrent/download_manager/download.py:1333
↓ 3 callersMethodset_download_limit
Set the download bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download.py:1283
↓ 3 callersMethodset_file_priorities
Set the priority for all files in the download.
src/tribler/core/libtorrent/download_manager/download.py:1141
↓ 3 callersMethodset_piece_deadline
Set the deadline for a given piece.
src/tribler/core/libtorrent/download_manager/download.py:1162
↓ 3 callersMethodset_piece_priorities
Set the priority for all pieces in the download.
src/tribler/core/libtorrent/download_manager/download.py:1127
← previousnext →201–300 of 1,819, ranked by callers