Home
last modified time | relevance | path

Searched refs:tlx (Results 1 – 25 of 1163) sorted by relevance

12345678910>>...47

/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tests/
H A Dmath_test.cpp49 die_unequal(tlx::clz(i), bitpos); in test_clz()
91 die_unequal(tlx::ffs(0), 0u); in test_ffs()
204 die_unequal(tlx::popcount(i), tlx::popcount_generic8(i)); in test_popcount()
207 die_unequal(tlx::popcount(i), tlx::popcount_generic16(i)); in test_popcount()
210 die_unequal(tlx::popcount(i), tlx::popcount_generic32(i)); in test_popcount()
336 die_unequal(tlx::sgn(42), +1); in test_sgn()
337 die_unequal(tlx::sgn(42.0), +1); in test_sgn()
338 die_unequal(tlx::sgn(0), 0); in test_sgn()
339 die_unequal(tlx::sgn(0.0), 0); in test_sgn()
340 die_unequal(tlx::sgn(-42), -1); in test_sgn()
[all …]
H A Dstring_test.cpp61 die_if(tlx::appendline(ss1, line)); in test_appendline()
76 die_if(tlx::appendline(ss2, line)); in test_appendline()
111 die_unequal(tlx::base64_decode(tlx::base64_encode(rand12)), rand12); in test_base64()
114 die_unequal(tlx::base64_decode(tlx::base64_encode(rand13)), rand13); in test_base64()
117 die_unequal(tlx::base64_decode(tlx::base64_encode(rand14)), rand14); in test_base64()
126 tlx::base64_decode(tlx::base64_encode(randstr)), randstr); in test_base64()
284 die_unequal(tlx::parse_hexdump(tlx::hexdump(rand1)), rand1); in test_hexdump()
405 sv = tlx::split("", "abcdef"); in test_split()
532 sv = tlx::split_words(""); in test_split_words()
535 sv = tlx::split_words(" "); in test_split_words()
[all …]
H A Ddie_test.cpp19 die_unless(tlx::die_equal_compare(NAN, NAN)); in main()
20 die_unless(!tlx::die_equal_compare(NAN, 0)); in main()
21 die_unless(!tlx::die_equal_compare(0, NAN)); in main()
23 die_unless(!tlx::die_equal_compare(NAN, INFINITY)); in main()
24 die_unless(!tlx::die_equal_compare(INFINITY, NAN)); in main()
25 die_unless(tlx::die_equal_compare(INFINITY, INFINITY)); in main()
26 die_unless(!tlx::die_equal_compare(INFINITY, -INFINITY)); in main()
28 die_unless(tlx::die_equal_compare(10, 10)); in main()
31 tlx::set_die_with_exception(true); in main()
33 die_unless_throws(die("hello"), tlx::DieException); in main()
[all …]
H A Dsort_parallel_mergesort_test.cpp40 void test_size(unsigned int size, tlx::MultiwayMergeSplittingAlgorithm mwmsa) { in test_size()
53 tlx::stable_parallel_mergesort( in test_size()
57 tlx::parallel_mergesort( in test_size()
68 test_size<false>(i, tlx::MWMSA_SAMPLING); in main()
69 test_size<true>(i, tlx::MWMSA_SAMPLING); in main()
71 test_size<false>(i, tlx::MWMSA_EXACT); in main()
72 test_size<true>(i, tlx::MWMSA_EXACT); in main()
78 test_size<false>(i, tlx::MWMSA_SAMPLING); in main()
79 test_size<true>(i, tlx::MWMSA_SAMPLING); in main()
81 test_size<false>(i, tlx::MWMSA_EXACT); in main()
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tests/
H A Dmath_test.cpp49 die_unequal(tlx::clz(i), bitpos); in test_clz()
91 die_unequal(tlx::ffs(0), 0u); in test_ffs()
204 die_unequal(tlx::popcount(i), tlx::popcount_generic8(i)); in test_popcount()
207 die_unequal(tlx::popcount(i), tlx::popcount_generic16(i)); in test_popcount()
210 die_unequal(tlx::popcount(i), tlx::popcount_generic32(i)); in test_popcount()
336 die_unequal(tlx::sgn(42), +1); in test_sgn()
337 die_unequal(tlx::sgn(42.0), +1); in test_sgn()
338 die_unequal(tlx::sgn(0), 0); in test_sgn()
339 die_unequal(tlx::sgn(0.0), 0); in test_sgn()
340 die_unequal(tlx::sgn(-42), -1); in test_sgn()
[all …]
H A Dstring_test.cpp62 die_if(tlx::appendline(ss1, line)); in test_appendline()
77 die_if(tlx::appendline(ss2, line)); in test_appendline()
112 die_unequal(tlx::base64_decode(tlx::base64_encode(rand12)), rand12); in test_base64()
115 die_unequal(tlx::base64_decode(tlx::base64_encode(rand13)), rand13); in test_base64()
118 die_unequal(tlx::base64_decode(tlx::base64_encode(rand14)), rand14); in test_base64()
127 tlx::base64_decode(tlx::base64_encode(randstr)), randstr); in test_base64()
310 die_unequal(tlx::parse_hexdump(tlx::hexdump(rand1)), rand1); in test_hexdump()
387 tlx::parse_uri("/path/path1", in test_parse_uri()
501 sv = tlx::split("", "abcdef"); in test_split()
628 sv = tlx::split_words(""); in test_split_words()
[all …]
H A Ddie_test.cpp19 die_unless(tlx::die_equal_compare(NAN, NAN)); in main()
20 die_unless(!tlx::die_equal_compare(NAN, 0)); in main()
21 die_unless(!tlx::die_equal_compare(0, NAN)); in main()
23 die_unless(!tlx::die_equal_compare(NAN, INFINITY)); in main()
24 die_unless(!tlx::die_equal_compare(INFINITY, NAN)); in main()
25 die_unless(tlx::die_equal_compare(INFINITY, INFINITY)); in main()
26 die_unless(!tlx::die_equal_compare(INFINITY, -INFINITY)); in main()
28 die_unless(tlx::die_equal_compare(10, 10)); in main()
31 tlx::set_die_with_exception(true); in main()
33 die_unless_throws(die("hello"), tlx::DieException); in main()
[all …]
H A Dsort_parallel_mergesort_test.cpp40 void test_size(unsigned int size, tlx::MultiwayMergeSplittingAlgorithm mwmsa) { in test_size()
53 tlx::stable_parallel_mergesort( in test_size()
57 tlx::parallel_mergesort( in test_size()
68 test_size<false>(i, tlx::MWMSA_SAMPLING); in main()
69 test_size<true>(i, tlx::MWMSA_SAMPLING); in main()
71 test_size<false>(i, tlx::MWMSA_EXACT); in main()
72 test_size<true>(i, tlx::MWMSA_EXACT); in main()
78 test_size<false>(i, tlx::MWMSA_SAMPLING); in main()
79 test_size<true>(i, tlx::MWMSA_SAMPLING); in main()
81 test_size<false>(i, tlx::MWMSA_EXACT); in main()
[all …]
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tests/container/
H A Dd_ary_heap_speedtest.plot30 set title 'tlx::DAryHeap vs std::priority_queue -- Push Fill Performance Test'
40 … 'd_ary_heap_speedtest-data.txt' index 0 title "container=tlx::DAryAIntHeap<2>" with linespoints, \
41 'd_ary_heap_speedtest-data.txt' index 1 title "container=tlx::DAryHeap<2>" with linespoints, \
43 'd_ary_heap_speedtest-data.txt' index 3 title "container=tlx::DAryHeap<3>" with linespoints, \
45 'd_ary_heap_speedtest-data.txt' index 5 title "container=tlx::DAryHeap<4>" with linespoints, \
47 'd_ary_heap_speedtest-data.txt' index 7 title "container=tlx::DAryHeap<6>" with linespoints, \
49 'd_ary_heap_speedtest-data.txt' index 9 title "container=tlx::DAryHeap<8>" with linespoints, \
51 'd_ary_heap_speedtest-data.txt' index 11 title "container=tlx::DAryHeap<16>" with linespoints, \
56 set title 'tlx::DAryHeap vs std::priority_queue -- Push Fill Pop-All Performance Test'
67 'd_ary_heap_speedtest-data.txt' index 16 title "container=tlx::DAryHeap<2>" with linespoints, \
[all …]
H A Dbtree_speedtest.plot22 set title 'tlx::btree_multiset vs std::multiset vs std::unordered_multiset -- Insert Performance Te…
33 'btree_speedtest-data.txt' index 0 title "container=tlx::btree_multiset<4>" with linespoints, \
34 'btree_speedtest-data.txt' index 1 title "container=tlx::btree_multiset<8>" with linespoints, \
35 'btree_speedtest-data.txt' index 2 title "container=tlx::btree_multiset<16>" with linespoints, \
36 'btree_speedtest-data.txt' index 3 title "container=tlx::btree_multiset<32>" with linespoints, \
37 'btree_speedtest-data.txt' index 4 title "container=tlx::btree_multiset<64>" with linespoints, \
38 … 'btree_speedtest-data.txt' index 5 title "container=tlx::btree_multiset<128>" with linespoints, \
42 'btree_speedtest-data.txt' index 9 title "container=tlx::splay_multiset" with linespoints
44 set title 'tlx::btree_multiset vs std::multiset vs std::unordered_multiset -- Find Performance Test'
64 'btree_speedtest-data.txt' index 19 title "container=tlx::splay_multiset" with linespoints
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tests/container/
H A Dd_ary_heap_speedtest.plot30 set title 'tlx::DAryHeap vs std::priority_queue -- Push Fill Performance Test'
40 … 'd_ary_heap_speedtest-data.txt' index 0 title "container=tlx::DAryAIntHeap<2>" with linespoints, \
41 'd_ary_heap_speedtest-data.txt' index 1 title "container=tlx::DAryHeap<2>" with linespoints, \
43 'd_ary_heap_speedtest-data.txt' index 3 title "container=tlx::DAryHeap<3>" with linespoints, \
45 'd_ary_heap_speedtest-data.txt' index 5 title "container=tlx::DAryHeap<4>" with linespoints, \
47 'd_ary_heap_speedtest-data.txt' index 7 title "container=tlx::DAryHeap<6>" with linespoints, \
49 'd_ary_heap_speedtest-data.txt' index 9 title "container=tlx::DAryHeap<8>" with linespoints, \
51 'd_ary_heap_speedtest-data.txt' index 11 title "container=tlx::DAryHeap<16>" with linespoints, \
56 set title 'tlx::DAryHeap vs std::priority_queue -- Push Fill Pop-All Performance Test'
67 'd_ary_heap_speedtest-data.txt' index 16 title "container=tlx::DAryHeap<2>" with linespoints, \
[all …]
H A Dbtree_speedtest.plot22 set title 'tlx::btree_multiset vs std::multiset vs std::unordered_multiset -- Insert Performance Te…
33 'btree_speedtest-data.txt' index 0 title "container=tlx::btree_multiset<4>" with linespoints, \
34 'btree_speedtest-data.txt' index 1 title "container=tlx::btree_multiset<8>" with linespoints, \
35 'btree_speedtest-data.txt' index 2 title "container=tlx::btree_multiset<16>" with linespoints, \
36 'btree_speedtest-data.txt' index 3 title "container=tlx::btree_multiset<32>" with linespoints, \
37 'btree_speedtest-data.txt' index 4 title "container=tlx::btree_multiset<64>" with linespoints, \
38 … 'btree_speedtest-data.txt' index 5 title "container=tlx::btree_multiset<128>" with linespoints, \
42 'btree_speedtest-data.txt' index 9 title "container=tlx::splay_multiset" with linespoints
44 set title 'tlx::btree_multiset vs std::multiset vs std::unordered_multiset -- Find Performance Test'
64 'btree_speedtest-data.txt' index 19 title "container=tlx::splay_multiset" with linespoints
[all …]
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tests/meta/
H A Dlog2_test.cpp25 die_unequal(tlx::Log2Floor<Value>::value, tlx::integer_log2_floor(Value)); in test_log_i()
26 die_unequal(tlx::Log2<Value>::floor, tlx::integer_log2_floor(Value)); in test_log_i()
27 die_unequal(tlx::Log2<Value>::ceil, tlx::integer_log2_ceil(Value)); in test_log_i()
31 die_unequal(tlx::Log2Floor<Value>::value, 0); in test_log_i()
32 die_unequal(tlx::Log2<Value>::floor, 0); in test_log_i()
33 die_unequal(tlx::Log2<Value>::ceil, 0); in test_log_i()
37 die_unequal(tlx::Log2Floor<Value>::value, 1); in test_log_i()
38 die_unequal(tlx::Log2<Value>::floor, 1); in test_log_i()
39 die_unequal(tlx::Log2<Value>::ceil, 1); in test_log_i()
44 die_unequal(tlx::Log2<Value>::floor, floor_value); in test_log_i()
[all …]
H A Dfold_test.cpp30 tlx::unused(b); in operator ()()
39 tlx::unused(a); in operator ()()
47 auto r1 = tlx::fold_left( in test_foldl_run()
52 auto r2 = tlx::fold_left( in test_foldl_run()
57 auto r3 = tlx::fold_left(TakeLeftFunctor(), 0, args...); in test_foldl_run()
84 auto r1 = tlx::fold_left_tuple( in test_foldl_tuple_run()
89 auto r2 = tlx::fold_left_tuple( in test_foldl_tuple_run()
120 auto r1 = tlx::fold_right( in test_foldr_run()
125 auto r2 = tlx::fold_right( in test_foldr_run()
157 auto r1 = tlx::fold_right_tuple( in test_foldr_tuple_run()
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tests/meta/
H A Dlog2_test.cpp25 die_unequal(tlx::Log2Floor<Value>::value, tlx::integer_log2_floor(Value)); in test_log_i()
26 die_unequal(tlx::Log2<Value>::floor, tlx::integer_log2_floor(Value)); in test_log_i()
27 die_unequal(tlx::Log2<Value>::ceil, tlx::integer_log2_ceil(Value)); in test_log_i()
31 die_unequal(tlx::Log2Floor<Value>::value, 0); in test_log_i()
32 die_unequal(tlx::Log2<Value>::floor, 0); in test_log_i()
33 die_unequal(tlx::Log2<Value>::ceil, 0); in test_log_i()
37 die_unequal(tlx::Log2Floor<Value>::value, 1); in test_log_i()
38 die_unequal(tlx::Log2<Value>::floor, 1); in test_log_i()
39 die_unequal(tlx::Log2<Value>::ceil, 1); in test_log_i()
44 die_unequal(tlx::Log2<Value>::floor, floor_value); in test_log_i()
[all …]
H A Dfold_test.cpp30 tlx::unused(b); in operator ()()
39 tlx::unused(a); in operator ()()
47 auto r1 = tlx::fold_left( in test_foldl_run()
52 auto r2 = tlx::fold_left( in test_foldl_run()
57 auto r3 = tlx::fold_left(TakeLeftFunctor(), 0, args...); in test_foldl_run()
84 auto r1 = tlx::fold_left_tuple( in test_foldl_tuple_run()
89 auto r2 = tlx::fold_left_tuple( in test_foldl_tuple_run()
120 auto r1 = tlx::fold_right( in test_foldr_run()
125 auto r2 = tlx::fold_right( in test_foldr_run()
157 auto r1 = tlx::fold_right_tuple( in test_foldr_tuple_run()
[all …]
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/thrill/vfs/
H A Dfile_io.cpp48 return tlx::ends_with(path, ".gz") || in IsCompressed()
49 tlx::ends_with(path, ".bz2") || in IsCompressed()
50 tlx::ends_with(path, ".xz") || in IsCompressed()
51 tlx::ends_with(path, ".lzo") || in IsCompressed()
52 tlx::ends_with(path, ".lz4"); in IsCompressed()
56 return tlx::starts_with(path, "s3://") || in IsRemoteUri()
57 tlx::starts_with(path, "hdfs://"); in IsRemoteUri()
184 if (tlx::starts_with(path, "file://")) { in OpenReadStream()
197 if (tlx::ends_with(path, ".gz")) { in OpenReadStream()
201 else if (tlx::ends_with(path, ".bz2")) { in OpenReadStream()
[all …]
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tests/algorithm/
H A Dmultiway_merge_test.cpp43 const tlx::MultiwayMergeSplittingAlgorithm& mwmsa = tlx::MWMSA_DEFAULT) { in test_vecs()
117 tlx::parallel_multiway_merge( in test_vecs()
122 tlx::stable_parallel_multiway_merge( in test_vecs()
129 tlx::multiway_merge( in test_vecs()
134 tlx::stable_multiway_merge( in test_vecs()
141 tlx::multiway_merge_sentinels( in test_vecs()
146 tlx::stable_multiway_merge_sentinels( in test_vecs()
197 test_all(tlx::MWMA_BUBBLE); in main()
198 test_all(tlx::MWMA_LOSER_TREE); in main()
199 test_all(tlx::MWMA_LOSER_TREE_COMBINED); in main()
[all …]
H A Dmultiway_merge_benchmark.cpp104 ts_(tlx::timestamp()) { in scoped_print_timer()
183 double ts1 = tlx::timestamp(); in test_multiway_merge()
205 tlx::multiway_merge( in test_multiway_merge()
214 tlx::multiway_merge( in test_multiway_merge()
232 tlx::multiway_merge( in test_multiway_merge()
235 tlx::MWMA_BUBBLE); in test_multiway_merge()
254 tlx::MWMA_LOSER_TREE, tlx::MWMSA_EXACT); in test_multiway_merge()
263 tlx::MWMA_LOSER_TREE, tlx::MWMSA_EXACT); in test_multiway_merge()
272 tlx::MWMA_LOSER_TREE, tlx::MWMSA_SAMPLING); in test_multiway_merge()
281 tlx::MWMA_LOSER_TREE, tlx::MWMSA_SAMPLING); in test_multiway_merge()
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tests/algorithm/
H A Dmultiway_merge_test.cpp43 const tlx::MultiwayMergeSplittingAlgorithm& mwmsa = tlx::MWMSA_DEFAULT) { in test_vecs()
117 tlx::parallel_multiway_merge( in test_vecs()
122 tlx::stable_parallel_multiway_merge( in test_vecs()
129 tlx::multiway_merge( in test_vecs()
134 tlx::stable_multiway_merge( in test_vecs()
141 tlx::multiway_merge_sentinels( in test_vecs()
146 tlx::stable_multiway_merge_sentinels( in test_vecs()
197 test_all(tlx::MWMA_BUBBLE); in main()
198 test_all(tlx::MWMA_LOSER_TREE); in main()
199 test_all(tlx::MWMA_LOSER_TREE_COMBINED); in main()
[all …]
H A Dmultiway_merge_benchmark.cpp104 ts_(tlx::timestamp()) { in scoped_print_timer()
183 double ts1 = tlx::timestamp(); in test_multiway_merge()
205 tlx::multiway_merge( in test_multiway_merge()
214 tlx::multiway_merge( in test_multiway_merge()
232 tlx::multiway_merge( in test_multiway_merge()
235 tlx::MWMA_BUBBLE); in test_multiway_merge()
254 tlx::MWMA_LOSER_TREE, tlx::MWMSA_EXACT); in test_multiway_merge()
263 tlx::MWMA_LOSER_TREE, tlx::MWMSA_EXACT); in test_multiway_merge()
272 tlx::MWMA_LOSER_TREE, tlx::MWMSA_SAMPLING); in test_multiway_merge()
281 tlx::MWMA_LOSER_TREE, tlx::MWMSA_SAMPLING); in test_multiway_merge()
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tlx/string/
H A Dparse_uri.hpp16 namespace tlx { namespace
27 void parse_uri(const char* uri, tlx::string_view* path, in parse_uri()
28 tlx::string_view* query_string, tlx::string_view* fragment) { in parse_uri()
36 *path = tlx::string_view(begin, c - begin); in parse_uri()
46 *query_string = tlx::string_view(begin, c - begin); in parse_uri()
56 *fragment = tlx::string_view(begin, c - begin); in parse_uri()
65 void parse_uri(const std::string& uri, tlx::string_view* path, in parse_uri()
66 tlx::string_view* query_string, tlx::string_view* fragment) { in parse_uri()
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/foxxll/io/
H A Dcreate_file.cpp76 tlx::counting_ptr<ufs_file_base> result = in create_file()
77 tlx::make_counting<syscall_file>( in create_file()
115 tlx::counting_ptr<memory_file> result = in create_file()
116 tlx::make_counting<memory_file>( in create_file()
129 tlx::counting_ptr<ufs_file_base> result = in create_file()
130 tlx::make_counting<linuxaio_file>( in create_file()
163 tlx::counting_ptr<ufs_file_base> result = in create_file()
164 tlx::make_counting<mmap_file>( in create_file()
177 tlx::make_counting<fileperblock_file<mmap_file> >( in create_file()
187 tlx::counting_ptr<wfs_file_base> result = in create_file()
[all …]
/dports/games/kjumpingcube/kjumpingcube-21.12.3/src/
H A Dkcubewidget.cpp219 p.drawPixmap (tlx + (w - dia)/2, tly + (h - dia)/2, pip); in paintEvent()
223 p.drawPixmap (tlx + (w - dia)/2, tly + (h - dia)/2, pip); in paintEvent()
225 p.drawPixmap (tlx + (w/2 - dia)/2, tly + (h/2 - dia)/2, pip); in paintEvent()
230 p.drawPixmap (tlx + (w - dia)/2, tly + (h - dia)/2, pip); in paintEvent()
232 p.drawPixmap (tlx + (w/2 - dia)/2, tly + (h/2 - dia)/2, pip); in paintEvent()
234 p.drawPixmap (tlx + (3*w/2 - dia)/2, tly + (h/2 - dia)/2, pip); in paintEvent()
239 p.drawPixmap (tlx + (w - dia)/2, tly + 2*h/3 - dia/2, pip); in paintEvent()
241 p.drawPixmap (tlx + (w - dia)/2, tly + h/3 - dia/2, pip); in paintEvent()
244 p.drawPixmap (tlx + (w/2 - dia)/2, tly + (h - dia)/2, pip); in paintEvent()
247 p.drawPixmap (tlx + (3*w/2 - dia)/2, tly + (h - dia)/2, pip); in paintEvent()
[all …]
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/
H A DREADME.md1 # tlx - Collection of C++ Data Structures, Algorithms, and Miscellaneous Helpers
3 tlx is a collection of C++ helpers and extensions universally needed, but not found in the STL.The …
12 --->> **[Doxygen Documentation](https://tlx.github.io/)** <<---
14 [![Build Status](https://travis-ci.org/tlx/tlx.svg?branch=master)](https://travis-ci.org/tlx/tlx)
15 …wj7usfjfs3h9id/branch/master?svg=true)](https://ci.appveyor.com/project/bingmann/tlx/branch/master)
16 …verage Status](https://coveralls.io/repos/github/tlx/tlx/badge.svg)](https://coveralls.io/github/t…
42 Please report bugs via the [github issue tracking system](https://github.com/tlx/tlx/issues).
46 tlx is licensed under the [Boost Software License - Version 1.0](https://github.com/tlx/tlx/blob/ma…
48 If you use tlx in an academic context or publication, please cite it as
55 note = {\url{https://panthema.net/tlx}, retrieved {Oct.} 7, 2020},

12345678910>>...47