MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

Methodon_raw_data
We have incoming data.
src/tribler/core/tunnel/community.py:260
Methodon_read_piece_alert
Callback with piece contents in response to a handle.read_piece call. Currently, this is only used to construct v2 piece hashes when
src/tribler/core/libtorrent/download_manager/download.py:258
Methodon_remote_select
Callback for when another peer queries us.
src/tribler/core/content_discovery/community.py:360
Methodon_remote_select_response
Match the response that we received from the network to a query cache and process it by adding the corresponding entries to the Metad
src/tribler/core/content_discovery/community.py:385
Methodon_state_changed_alert
Handle a state change alert.
src/tribler/core/libtorrent/download_manager/download.py:500
Methodon_timeout
Call the timeout callback, if one is registered.
src/tribler/core/content_discovery/cache.py:41
Methodon_torrent_checked_alert
Handle a torrent checked alert.
src/tribler/core/libtorrent/download_manager/download.py:689
Methodon_torrent_error_alert
Handle a torrent error alert.
src/tribler/core/libtorrent/download_manager/download.py:494
Methodon_torrent_removed_alert
Handle a torrent removed alert.
src/tribler/core/libtorrent/download_manager/download.py:680
Methodon_tracker_error_alert
This alert is generated on tracker timeouts, premature disconnects, invalid response or an HTTP response other than "200 OK". - From
src/tribler/core/libtorrent/download_manager/download.py:591
Methodon_tracker_warning_alert
Handle a tracker warning alert.
src/tribler/core/libtorrent/download_manager/download.py:611
Methodon_version_request
Callback for when our Tribler version and Operating System is requested.
src/tribler/core/content_discovery/community.py:276
Methodon_version_response
Callback for when we receive a Tribler version and Operating System of a peer.
src/tribler/core/content_discovery/community.py:288
Methodorder_by
(selector: Callable)
src/tribler/core/database/orm_bindings/torrent_state.py:62
Methodorder_by
Order by last check time.
src/tribler/test_unit/core/torrent_checker/mocks.py:17
Methodperform_db_act
Perform DB I/O acts on a thread, instead of blocking the main thread.
src/tribler/core/database/restapi/database_endpoint.py:418
Methodperform_post_handle_ops
Look at the outstanding requested operations and run them.
src/tribler/core/libtorrent/download_manager/download.py:335
Methodperform_upgrade
Perform an upgrade.
src/tribler/core/versioning/restapi/versioning_endpoint.py:116
Methodprepare
Initialize the torrecht checker and the torrent manager.
src/tribler/core/components.py:205
Methodprobe_writable
Check if a torrent could be created with the given parameters.
src/tribler/core/libtorrent/restapi/create_torrent_endpoint.py:165
Methodprocess_queue
Get all failed messages in the queue and send them to the GUI.
src/tribler/core/restapi/events_endpoint.py:171
Methodprocess_torrent_file
Process an individual torrent file.
src/tribler/core/watch_folder/manager.py:67
Methodread
Get the file name of the download spec. Optionally, read into an existing DownloadConfig.
src/tribler/core/libtorrent/download_manager/download_config.py:114
Methodregister_alert_handler
Add (no replace) a callback for a given alert type.
src/tribler/core/libtorrent/download_manager/download.py:359
FunctionremoveDownloads
(selectedDownloads: Download[], removeData: boolean, t: TFunction)
src/tribler/ui/src/pages/Downloads/Actions.tsx:71
FunctionremoveSelected
()
src/tribler/ui/src/dialogs/CreateTorrent.tsx:247
Methodremove_exit_socket
Remove the exit socket that belongs to the given circuit id.
src/tribler/core/tunnel/community.py:236
Methodremove_relay
Callback for when a relay is removed.
src/tribler/core/tunnel/community.py:221
Methodremove_tracker
Return the .torrent file associated with the specified download.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:750
Methodremove_version
Remove the files for a version.
src/tribler/core/versioning/restapi/versioning_endpoint.py:158
FunctionreportError
()
src/tribler/ui/src/App.tsx:18
Functionrequired_components_middleware
Read a handler's required components and return HTTP_NOT_FOUND if they have not been set (yet).
src/tribler/core/restapi/rest_manager.py:149
Methodreturn_files
Return the file at the requested path.
src/tribler/core/restapi/webui_endpoint.py:31
Functionsave
()
src/tribler/ui/src/pages/Settings/SaveButton.tsx:12
FunctionsearchError
()
src/tribler/ui/src/App.tsx:33
Methodsearch_db
()
src/tribler/core/database/restapi/database_endpoint.py:309
Methodselect
(selector: Callable)
src/tribler/core/database/orm_bindings/torrent_state.py:59
Methodselect
Apply a selector to our known instances.
src/tribler/test_unit/core/torrent_checker/mocks.py:56
Methodsend_request
Fake sending a request and return the registered response.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:31
Methodsendto
Attempt to send the given data to the given address.
src/tribler/core/socks5/client.py:66
Methodserialized_health
Serialize fake health to bytes.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:27
Methodserver_response
Pretend that the request causes a certificate error in strict "valid_cert" mode.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:430
MethodsetUp
Setup all possible subpairings of config settings.
src/tribler/test_integration/skip_test_composition.py:19
MethodsetUp
Create the necessary tunnel communities.
src/tribler/test_integration/test_hidden_services.py:76
MethodsetUp
Create the necessary tunnel communities.
src/tribler/test_integration/test_anon_download.py:79
MethodsetUp
Create a new notifier.
src/tribler/test_unit/core/test_notifier.py:13
MethodsetUp
Create a single node and its metadata store.
src/tribler/test_unit/core/database/test_store.py:29
MethodsetUp
Create a new versioning manager.
src/tribler/test_unit/core/watch_folder/test_manager.py:20
MethodsetUp
Create an inert EventsEndpoint.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:92
MethodsetUp
Create a new TrackerManager.
src/tribler/test_unit/core/torrent_checker/test_tracker_manager.py:38
MethodsetUp
Create a fake udp socket manager.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:43
MethodsetUp
Create a new tracker manager and a torrent checker.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:54
MethodsetUp
Create a new tracker manager and a torrent checker.
src/tribler/test_unit/core/rss/test_rss.py:39
MethodsetUp
Create a new pair of ContentDiscoveryCommunities.
src/tribler/test_unit/core/content_discovery/test_community.py:64
MethodsetUp
Create a download manager.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:34
MethodsetUp
Create a new config with a memory spec.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:14
MethodsetUp
Create a new mocked stream chunk.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:36
MethodsetUp
Create a mocked DHTHealthManager.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:24
MethodsetUp
Create a mocked DownloadManager and a CreateTorrentEndpoint.
src/tribler/test_unit/core/libtorrent/restapi/test_libtorrent_endpoint.py:16
MethodsetUp
Create a mocked DownloadManager and a CreateTorrentEndpoint.
src/tribler/test_unit/core/libtorrent/restapi/test_create_torrent_endpoint.py:25
MethodsetUp
Create a mocked DownloadManager and a DownloadsEndpoint.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:60
MethodsetUp
Create a mocked DownloadManager and a TorrentInfoEndpoint.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:31
MethodsetUp
Create a new versioning manager.
src/tribler/test_unit/core/versioning/test_manager.py:19
MethodsetUp
Create a new VersioningEndpoint.
src/tribler/test_unit/core/versioning/restapi/test_versioning_endpoint.py:18
MethodsetUp
Create two peers.
src/tribler/test_unit/core/tunnel/test_discovery.py:51
MethodsetUp
Create a new TriblerTunnelCommunity.
src/tribler/test_unit/core/tunnel/test_community.py:39
MethodsetUp
Create a patched connector.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:37
MethodsetUpClass
Create a test infohash.
src/tribler/test_unit/core/content_discovery/test_payload.py:24
Methodset_download_limit
Set the download bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:344
Methodset_file_priority
Set the priority for a particular file in the download.
src/tribler/core/libtorrent/download_manager/download.py:1148
Methodset_libtorrent_proxy_settings
Set which proxy LibTorrent should use (default = 0). :param config: libtorrent config :param proxy_type: int (0 = no proxy s
src/tribler/core/libtorrent/download_manager/download_manager.py:1208
Methodset_selected_file_or_dir
Set a single file or directory to be selected or not.
src/tribler/core/libtorrent/download_manager/download.py:1240
Methodset_sequential_download
Set this download to sequential download mode.
src/tribler/core/libtorrent/download_manager/download.py:1120
Methodset_share_mode
Set whether the download is in sharing mode.
src/tribler/core/libtorrent/download_manager/download_config.py:225
Methodset_upload_limit
Set the upload bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:331
Methodset_upload_mode
Set whether the download is in upload-only mode.
src/tribler/core/libtorrent/download_manager/download_config.py:238
Methodset_value
Set a generic key to a value.
src/tribler/core/database/store.py:255
Functionsetup
Callback for when Sphinx is setup. We install a workaround for an illegal class here.
doc/conf.py:217
Methodshutdown
Shutdown the torrent health checker. Once shut down it can't be started again. :returns A deferred that will fire once the s
src/tribler/core/torrent_checker/torrent_checker.py:115
Functionskip_illegal_classes
Sphinx errors out on ``tribler.core.libtorrent.torrentdef.FileDict.__init__``. We get rid of it here.
doc/conf.py:209
Methodstart
Start loading the checkpoints from disk.
src/tribler/core/libtorrent/download_manager/download_manager.py:205
Methodstop
Clean up all the REST endpoints and connections.
src/tribler/core/restapi/rest_manager.py:301
Methodstop
Stop all our watchers.
src/tribler/core/rss/rss.py:183
MethodtearDown
Tear down all communities and the download managers.
src/tribler/test_integration/test_hidden_services.py:95
MethodtearDown
Tear down all communities and the download managers.
src/tribler/test_integration/test_anon_download.py:98
MethodtearDown
Shut down our task manager.
src/tribler/test_unit/core/watch_folder/test_manager.py:30
MethodtearDown
Shut down the endpoint.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:101
MethodtearDown
Clean the registered session and helpers.
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:50
MethodtearDown
Shut doown the torrent checker.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:73
MethodtearDown
Shut down the download manager.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:48
MethodtearDown
Shut down the health manager.
src/tribler/test_unit/core/libtorrent/download_manager/test_dht_health_manager.py:31
MethodtearDown
Shut down our task manager.
src/tribler/test_unit/core/versioning/test_manager.py:27
MethodtearDown
Reset the global_dht_services variable.
src/tribler/test_unit/core/tunnel/test_community.py:50
MethodtearDown
Close any connection and the connector.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:52
Methodtest_add_delegate
Test if a delegate can be added and if it gets notified.
src/tribler/test_unit/core/test_notifier.py:31
Methodtest_add_download_custom_parameters
Test if the custom parameters are set when adding a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:344
Methodtest_add_download_default_parameters
Test if the default parameters are set when adding a download.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:323
Methodtest_add_download_failed
Test if a graceful error is returned when adding a download failed.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:366
Methodtest_add_download_no_uri
Test if a graceful error is returned when no uri is given.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:294
Methodtest_add_download_progress_to_metadata_list
Test if progress can be added to an existing metadata dict.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:105
← previousnext →1,001–1,100 of 1,819, ranked by callers