diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/containers | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/containers')
29 files changed, 313 insertions, 0 deletions
diff --git a/library/cpp/containers/2d_array/ya.make b/library/cpp/containers/2d_array/ya.make new file mode 100644 index 0000000000..50aa2a5f8b --- /dev/null +++ b/library/cpp/containers/2d_array/ya.make @@ -0,0 +1,7 @@ +LIBRARY() + +SRCS( + 2d_array.cpp +) + +END() diff --git a/library/cpp/containers/absl_flat_hash/ya.make b/library/cpp/containers/absl_flat_hash/ya.make new file mode 100644 index 0000000000..8a7731d804 --- /dev/null +++ b/library/cpp/containers/absl_flat_hash/ya.make @@ -0,0 +1,17 @@ +LIBRARY() + +PEERDIR( + contrib/restricted/abseil-cpp/absl/container +) + +# WARN thegeorg@: removing this ADDINCL will break svn selective checkout. Just don't. +ADDINCL( + contrib/restricted/abseil-cpp +) + +SRCS( + flat_hash_map.cpp + flat_hash_set.cpp +) + +END() diff --git a/library/cpp/containers/atomizer/ya.make b/library/cpp/containers/atomizer/ya.make new file mode 100644 index 0000000000..ee755e4186 --- /dev/null +++ b/library/cpp/containers/atomizer/ya.make @@ -0,0 +1,11 @@ +LIBRARY() + +PEERDIR( + library/cpp/containers/str_map +) + +SRCS( + atomizer.cpp +) + +END() diff --git a/library/cpp/containers/bitseq/ut/ya.make b/library/cpp/containers/bitseq/ut/ya.make new file mode 100644 index 0000000000..1b835458c9 --- /dev/null +++ b/library/cpp/containers/bitseq/ut/ya.make @@ -0,0 +1,8 @@ +UNITTEST_FOR(library/cpp/containers/bitseq) + +SRCS( + bititerator_ut.cpp + bitvector_ut.cpp +) + +END() diff --git a/library/cpp/containers/bitseq/ya.make b/library/cpp/containers/bitseq/ya.make new file mode 100644 index 0000000000..a59c3e765e --- /dev/null +++ b/library/cpp/containers/bitseq/ya.make @@ -0,0 +1,17 @@ +LIBRARY() + +PEERDIR( + util/draft + library/cpp/pop_count +) + +SRCS( + bitvector.cpp + readonly_bitvector.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/compact_vector/ut/ya.make b/library/cpp/containers/compact_vector/ut/ya.make new file mode 100644 index 0000000000..1a84894570 --- /dev/null +++ b/library/cpp/containers/compact_vector/ut/ya.make @@ -0,0 +1,9 @@ +UNITTEST() + +SRCDIR(library/cpp/containers/compact_vector) + +SRCS( + compact_vector_ut.cpp +) + +END() diff --git a/library/cpp/containers/compact_vector/ya.make b/library/cpp/containers/compact_vector/ya.make new file mode 100644 index 0000000000..b7d97b1353 --- /dev/null +++ b/library/cpp/containers/compact_vector/ya.make @@ -0,0 +1,11 @@ +LIBRARY() + +SRCS( + compact_vector.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/comptrie/benchmark/ya.make b/library/cpp/containers/comptrie/benchmark/ya.make new file mode 100644 index 0000000000..d0d42fb7d7 --- /dev/null +++ b/library/cpp/containers/comptrie/benchmark/ya.make @@ -0,0 +1,12 @@ +Y_BENCHMARK() + +SRCS( + main.cpp +) + +PEERDIR( + library/cpp/containers/comptrie + util +) + +END() diff --git a/library/cpp/containers/comptrie/ut/ya.make b/library/cpp/containers/comptrie/ut/ya.make new file mode 100644 index 0000000000..3a9bdefcbd --- /dev/null +++ b/library/cpp/containers/comptrie/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/comptrie) + +SRCS( + comptrie_ut.cpp +) + +END() diff --git a/library/cpp/containers/comptrie/ya.make b/library/cpp/containers/comptrie/ya.make new file mode 100644 index 0000000000..8931bfb383 --- /dev/null +++ b/library/cpp/containers/comptrie/ya.make @@ -0,0 +1,38 @@ +LIBRARY() + +SRCS( + array_with_size.h + chunked_helpers_trie.h + comptrie.h + comptrie_packer.h + comptrie_trie.h + first_symbol_iterator.h + key_selector.h + leaf_skipper.h + set.h + comptrie.cpp + comptrie_builder.cpp + comptrie_impl.cpp + make_fast_layout.cpp + minimize.cpp + node.cpp + opaque_trie_iterator.cpp + prefix_iterator.cpp + search_iterator.cpp + write_trie_backwards.cpp + writeable_node.cpp +) + +PEERDIR( + library/cpp/packers + library/cpp/containers/compact_vector + library/cpp/on_disk/chunks + util/draft +) + +END() + +RECURSE( + benchmark + ut +) diff --git a/library/cpp/containers/disjoint_interval_tree/ut/ya.make b/library/cpp/containers/disjoint_interval_tree/ut/ya.make new file mode 100644 index 0000000000..b4ccc41917 --- /dev/null +++ b/library/cpp/containers/disjoint_interval_tree/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/disjoint_interval_tree) + +SRCS( + disjoint_interval_tree_ut.cpp +) + +END() diff --git a/library/cpp/containers/disjoint_interval_tree/ya.make b/library/cpp/containers/disjoint_interval_tree/ya.make new file mode 100644 index 0000000000..688a415c0f --- /dev/null +++ b/library/cpp/containers/disjoint_interval_tree/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +SRCS(disjoint_interval_tree.cpp) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/intrusive_avl_tree/ut/ya.make b/library/cpp/containers/intrusive_avl_tree/ut/ya.make new file mode 100644 index 0000000000..f17a1aee31 --- /dev/null +++ b/library/cpp/containers/intrusive_avl_tree/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/intrusive_avl_tree) + +SRCS( + avltree_ut.cpp +) + +END() diff --git a/library/cpp/containers/intrusive_avl_tree/ya.make b/library/cpp/containers/intrusive_avl_tree/ya.make new file mode 100644 index 0000000000..ef546dcd58 --- /dev/null +++ b/library/cpp/containers/intrusive_avl_tree/ya.make @@ -0,0 +1,11 @@ +LIBRARY() + +SRCS( + avltree.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/intrusive_rb_tree/fuzz/ya.make b/library/cpp/containers/intrusive_rb_tree/fuzz/ya.make new file mode 100644 index 0000000000..9043c78472 --- /dev/null +++ b/library/cpp/containers/intrusive_rb_tree/fuzz/ya.make @@ -0,0 +1,15 @@ +FUZZ() + +SIZE(LARGE) + +TAG(ya:fat) + +PEERDIR( + library/cpp/containers/intrusive_rb_tree +) + +SRCS( + rb_tree_fuzzing.cpp +) + +END() diff --git a/library/cpp/containers/intrusive_rb_tree/ut/ya.make b/library/cpp/containers/intrusive_rb_tree/ut/ya.make new file mode 100644 index 0000000000..db8d6f0a72 --- /dev/null +++ b/library/cpp/containers/intrusive_rb_tree/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/intrusive_rb_tree) + +SRCS( + rb_tree_ut.cpp +) + +END() diff --git a/library/cpp/containers/intrusive_rb_tree/ya.make b/library/cpp/containers/intrusive_rb_tree/ya.make new file mode 100644 index 0000000000..492f83e670 --- /dev/null +++ b/library/cpp/containers/intrusive_rb_tree/ya.make @@ -0,0 +1,12 @@ +LIBRARY() + +SRCS( + rb_tree.cpp +) + +END() + +RECURSE( + fuzz + ut +) diff --git a/library/cpp/containers/paged_vector/ut/ya.make b/library/cpp/containers/paged_vector/ut/ya.make new file mode 100644 index 0000000000..d0ffac4d79 --- /dev/null +++ b/library/cpp/containers/paged_vector/ut/ya.make @@ -0,0 +1,11 @@ +UNITTEST() + +PEERDIR( + library/cpp/containers/paged_vector +) + +SRCS( + paged_vector_ut.cpp +) + +END() diff --git a/library/cpp/containers/paged_vector/ya.make b/library/cpp/containers/paged_vector/ya.make new file mode 100644 index 0000000000..b03a0a2ded --- /dev/null +++ b/library/cpp/containers/paged_vector/ya.make @@ -0,0 +1,11 @@ +LIBRARY() + +SRCS( + paged_vector.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/ring_buffer/ya.make b/library/cpp/containers/ring_buffer/ya.make new file mode 100644 index 0000000000..c9220b578a --- /dev/null +++ b/library/cpp/containers/ring_buffer/ya.make @@ -0,0 +1,7 @@ +LIBRARY() + +SRCS( + ring_buffer.cpp +) + +END() diff --git a/library/cpp/containers/sorted_vector/ut/ya.make b/library/cpp/containers/sorted_vector/ut/ya.make new file mode 100644 index 0000000000..3c67b30c19 --- /dev/null +++ b/library/cpp/containers/sorted_vector/ut/ya.make @@ -0,0 +1,8 @@ +UNITTEST_FOR(library/cpp/containers/sorted_vector) + + +SRCS( + sorted_vector_ut.cpp +) + +END() diff --git a/library/cpp/containers/sorted_vector/ya.make b/library/cpp/containers/sorted_vector/ya.make new file mode 100644 index 0000000000..9f32d97359 --- /dev/null +++ b/library/cpp/containers/sorted_vector/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +SRCS( + sorted_vector.cpp +) + +END() + +RECURSE_FOR_TESTS(ut) diff --git a/library/cpp/containers/stack_array/ut/ya.make b/library/cpp/containers/stack_array/ut/ya.make new file mode 100644 index 0000000000..fdd5b8cdba --- /dev/null +++ b/library/cpp/containers/stack_array/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/stack_array) + +SRCS( + tests_ut.cpp +) + +END() diff --git a/library/cpp/containers/stack_array/ya.make b/library/cpp/containers/stack_array/ya.make new file mode 100644 index 0000000000..8bce0023e3 --- /dev/null +++ b/library/cpp/containers/stack_array/ya.make @@ -0,0 +1,12 @@ +LIBRARY() + +SRCS( + range_ops.cpp + stack_array.cpp +) + +END() + +RECURSE_FOR_TESTS( + ut +) diff --git a/library/cpp/containers/stack_vector/ut/ya.make b/library/cpp/containers/stack_vector/ut/ya.make new file mode 100644 index 0000000000..1c07585ff7 --- /dev/null +++ b/library/cpp/containers/stack_vector/ut/ya.make @@ -0,0 +1,9 @@ +UNITTEST() + +SRCDIR(library/cpp/containers/stack_vector) + +SRCS( + stack_vec_ut.cpp +) + +END() diff --git a/library/cpp/containers/stack_vector/ya.make b/library/cpp/containers/stack_vector/ya.make new file mode 100644 index 0000000000..c36f19d82d --- /dev/null +++ b/library/cpp/containers/stack_vector/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +SRCS( + stack_vec.cpp +) + +END() + +RECURSE_FOR_TESTS(ut) diff --git a/library/cpp/containers/str_map/ya.make b/library/cpp/containers/str_map/ya.make new file mode 100644 index 0000000000..893e6beedd --- /dev/null +++ b/library/cpp/containers/str_map/ya.make @@ -0,0 +1,7 @@ +LIBRARY() + +SRCS( + str_map.cpp +) + +END() diff --git a/library/cpp/containers/top_keeper/ut/ya.make b/library/cpp/containers/top_keeper/ut/ya.make new file mode 100644 index 0000000000..b15057918b --- /dev/null +++ b/library/cpp/containers/top_keeper/ut/ya.make @@ -0,0 +1,7 @@ +UNITTEST_FOR(library/cpp/containers/top_keeper) + +SRCS( + top_keeper_ut.cpp +) + +END() diff --git a/library/cpp/containers/top_keeper/ya.make b/library/cpp/containers/top_keeper/ya.make new file mode 100644 index 0000000000..e90d7b7e94 --- /dev/null +++ b/library/cpp/containers/top_keeper/ya.make @@ -0,0 +1,11 @@ +LIBRARY() + +SRCS( + top_keeper.cpp +) + +END() + +RECURSE_FOR_TESTS(ut) + + |