premiere-libtorrent/test
Steven Siloti a6e5ba8804 return a span from TORRENT_ALLOCA (#1244)
return a span from TORRENT_ALLOCA

Unfortunately this requires moving the variable declaration inside the macro.
Due to alloca’s unique properties pretty much the only safe way to call it is
in a simple assign-to-pointer expression. Therefor we need to use a temporary
pointer to store the value returned from alloca before we can call span’s ctor.

This also causes double evaluation of the size parameter which is unfortunate,
but no current callers of TORRENT_ALLOCA have a problem with this. Passing
expressions with side effects to macros is bad mojo anyways.
2016-10-22 14:43:40 -04:00
..
mutable_test_torrents
ssl update ssl certificate for tests 2015-10-25 10:29:42 -04:00
test_torrents make pad-file and symlink support conform to BEP47 (#992) 2016-08-07 22:37:10 -04:00
Jamfile run undefined sanitier on travis/linux (#1134) 2016-10-08 12:29:46 -04:00
Makefile.am run undefined sanitier on travis/linux (#1134) 2016-10-08 12:29:46 -04:00
bittorrent_peer.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
bittorrent_peer.hpp replace boost::function with std::function 2016-08-13 07:07:26 -04:00
corrupt.gz update puff.c for gzip inflation (#1022) 2016-08-21 14:43:44 -04:00
dht_server.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
dht_server.hpp
enum_if.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
http.py Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
main.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
make_torrent.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
make_torrent.hpp refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
peer_server.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
peer_server.hpp fix missing EXPORT annotation of functions in the test utility library (#631) 2016-04-20 07:51:25 -04:00
print_alerts.cpp modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
print_alerts.hpp fix missing EXPORT annotation of functions in the test utility library (#631) 2016-04-20 07:51:25 -04:00
root1.xml
root2.xml
root3.xml Add test case for igd_version 2015-07-09 20:11:24 +08:00
settings.cpp add a default DHT bootstrap node when it's enabled on session startup (#1008) 2016-08-21 12:15:19 -04:00
settings.hpp fix shared linking against libtorrent_test 2015-08-08 18:13:43 -04:00
setup_transfer.cpp refactor in alert types to use more const fields and more clear API (#1222) 2016-10-19 01:32:15 -04:00
setup_transfer.hpp created dht state and session params refactor (#1100) 2016-09-17 09:42:04 -04:00
socks.py Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
swarm_suite.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
swarm_suite.hpp deprecate explicit cache feature 2016-03-18 12:15:03 -04:00
test.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test.hpp merged RC_1_1 into master 2016-10-09 20:09:44 -04:00
test_alert_manager.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_auto_unchoke.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_bandwidth_limiter.cpp merged RC_1_1 into master 2016-10-09 20:09:44 -04:00
test_bdecode.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_bencoding.cpp merge RC_1_1 into master 2016-10-08 14:17:51 -04:00
test_bitfield.cpp added support for flz (find last zero) and copied bitfield functions from PR #565 (#986) 2016-08-07 16:21:08 -04:00
test_block_cache.cpp various cleanup and formatting updates (#1158) 2016-09-26 20:05:04 -04:00
test_bloom_filter.cpp use cstdint intead of boost/cstdint.hpp (#833) 2016-06-18 14:01:38 -04:00
test_buffer.cpp transition part of http_parser to use span (#936) 2016-07-24 00:52:20 -07:00
test_checking.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_crc32.cpp added support for arm crc32c and changed to test in arm 32 bits (#869) 2016-06-30 11:37:55 -04:00
test_create_torrent.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_dht.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_dht_storage.cpp minor header cleanup and refactor (#1179) 2016-10-04 07:43:34 -07:00
test_direct_dht.cpp refactor in alert types to use more const fields and more clear API (#1222) 2016-10-19 01:32:15 -04:00
test_dos_blocker.cpp alerts refactor to use span, don't break ABI when logging, fix compilation (#1159) 2016-09-27 23:21:18 -04:00
test_ed25519.cpp merge RC_1_1 into master 2016-10-08 14:17:51 -04:00
test_enum_net.cpp split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
test_fast_extension.cpp return a span from TORRENT_ALLOCA (#1244) 2016-10-22 14:43:40 -04:00
test_fence.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_ffs.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_file.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_file_progress.cpp use cstdint intead of boost/cstdint.hpp (#833) 2016-06-18 14:01:38 -04:00
test_file_storage.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_gzip.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_hasher.cpp adding support for a more configurable sha512 hasher (#1028) 2016-08-25 19:07:16 -04:00
test_hasher512.cpp adding support for a more configurable sha512 hasher (#1028) 2016-08-25 19:07:16 -04:00
test_heterogeneous_queue.cpp __cplusplus cleanup (#951) 2016-07-26 18:30:19 -04:00
test_http_connection.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_http_parser.cpp generalize and improve http redirect support for web seeds (#1060) 2016-10-02 23:08:03 -07:00
test_identify_client.cpp
test_ip_filter.cpp merged RC_1_1 into master 2016-08-21 16:28:49 -04:00
test_ip_voter.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_linked_list.cpp apply modernization transforms to headers too. nullptr, explicit constructors, = default (#903) 2016-07-10 14:27:42 -04:00
test_lsd.cpp modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
test_magnet.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_merkle.cpp
test_natpmp.cpp upnp and natpmp modernization and cleanup (#1103) 2016-09-18 10:11:56 -04:00
test_packet_buffer.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_part_file.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_pe_crypto.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_peer_classes.cpp modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
test_peer_list.cpp remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
test_peer_priority.cpp use cstdint intead of boost/cstdint.hpp (#833) 2016-06-18 14:01:38 -04:00
test_pex.cpp use standard library for suspending threads (#855) 2016-06-26 09:24:06 -04:00
test_piece_picker.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_primitives.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_priority.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_privacy.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_random.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_read_piece.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_read_resume.cpp fix error_code vs. error_condition traits (#1169) 2016-10-02 12:27:50 -07:00
test_receive_buffer.cpp more use of span and std::shared_ptr (#1018) 2016-08-21 13:37:11 -04:00
test_recheck.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_remap_files.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_resolve_links.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_resume.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_session.cpp merged RC_1_1 into master 2016-10-20 00:36:54 -04:00
test_session_params.cpp created dht state and session params refactor (#1100) 2016-09-17 09:42:04 -04:00
test_settings_pack.cpp deprecate old session_settings API (use settings_pack instead) (#1117) 2016-09-20 23:49:23 -07:00
test_sha1_hash.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_sliding_average.cpp factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
test_socket_io.cpp clean up read_endpoint_list (#1102) 2016-09-18 10:12:54 -04:00
test_ssl.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_stat_cache.cpp factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
test_storage.cpp return a span from TORRENT_ALLOCA (#1244) 2016-10-22 14:43:40 -04:00
test_string.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_tailqueue.cpp various cleanup and formatting updates (#1158) 2016-09-26 20:05:04 -04:00
test_threads.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_time.cpp use standard library for suspending threads (#855) 2016-06-26 09:24:06 -04:00
test_time_critical.cpp
test_timestamp_history.cpp
test_torrent.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_torrent_info.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_tracker.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_transfer.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_upnp.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_url_seed.cpp fix SSL web-seed test 2015-07-16 00:44:03 -04:00
test_utf8.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_utils.cpp factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
test_utils.hpp
test_utp.cpp refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
test_web_seed.cpp
test_web_seed_ban.cpp
test_web_seed_chunked.cpp
test_web_seed_http.cpp
test_web_seed_http_pw.cpp
test_web_seed_redirect.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
test_web_seed_socks4.cpp
test_web_seed_socks5.cpp
test_web_seed_socks5_no_peers.cpp fix build 2015-10-03 12:27:01 -04:00
test_web_seed_socks5_pw.cpp
test_xml.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
udp_tracker.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
udp_tracker.hpp
utf8_test.txt
valgrind_suppressions.txt
vsinstr_excludes.rsp
web_seed_suite.cpp simplify print statements in tests 2016-10-09 20:23:45 -04:00
web_seed_suite.hpp refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
web_server.py rewrite most of web_peer_connection::on_receive to make it a lot simpler and fix edge cases with pad-files 2016-01-28 01:58:33 -05:00
zeroes.gz