#include <iostream>Go to the source code of this file.
Functions | |
| int | test_main () |
| void | report_failure (char const *err, char const *file, int line) |
| int | main () |
Variables | |
| bool | tests_failure = false |
| int main | ( | ) |
Definition at line 17 of file main.cpp.
References simple_client::e, test_main(), and tests_failure.
| void report_failure | ( | char const * | err, | |
| char const * | file, | |||
| int | line | |||
| ) |
| int test_main | ( | ) |
Definition at line 43 of file test_allocate_resources.cpp.
References libtorrent::torrent_info::add_file(), libtorrent::ip_filter::add_rule(), libtorrent::buffer::allocate(), libtorrent::aux::allocate_resources_impl(), b, libtorrent::buffer::capacity(), check_client_vec(), libtorrent::buffer::data(), decode(), simple_client::e, libtorrent::buffer::empty(), encode(), libtorrent::buffer::erase(), libtorrent::ip_filter::export_filter(), libtorrent::piece_picker::files_checked(), fill_client_vector(), libtorrent::piece_picker::filtered_pieces(), libtorrent::hasher::final(), libtorrent::piece_picker::downloading_piece::finished_blocks, asio::ip::address_v4::from_string(), libtorrent::piece_picker::get_download_queue(), simple_client::h, libtorrent::piece_picker::inc_refcount(), index, libtorrent::piece_picker::downloading_piece::index, simple_client::info, libtorrent::piece_picker::is_downloading(), libtorrent::piece_picker::is_filtered(), l, libtorrent::piece_picker::mark_as_downloading(), libtorrent::piece_picker::mark_as_filtered(), libtorrent::piece_picker::mark_as_finished(), libtorrent::piece_picker::mark_as_unfiltered(), libtorrent::piece_picker::num_filtered(), libtorrent::piece_picker::num_have_filtered(), libtorrent::piece_picker::pick_pieces(), piece_size, resource_entry::r, repeat_count, result_array, run_storage_tests(), libtorrent::torrent_info::set_piece_size(), libtorrent::buffer::size(), libtorrent::buffer::space_left(), test_array, TEST_CHECK, test_rules_invariant(), test_transfer(), and libtorrent::hasher::update().
Referenced by main().
| bool tests_failure = false |
1.5.6