From f9e732149434ff825bf001972e271b0fe2a1d70b Mon Sep 17 00:00:00 2001 From: Bulat Date: Tue, 23 Apr 2024 00:54:28 +0300 Subject: [PATCH] Moved util public headers to include dir (#213) --- .../secondary_index_generate.cpp | 4 +-- .../secondary_index_builtin/secondary_index.h | 6 ++--- .../secondary_index_fill.cpp | 2 +- examples/ttl/util.h | 2 +- include/ydb-cpp-sdk/client/iam/common/iam.h | 4 +-- .../ydb-cpp-sdk/client/operation/operation.h | 2 +- include/ydb-cpp-sdk/client/query/tx.h | 2 +- include/ydb-cpp-sdk/client/table/table.h | 22 ++++++++-------- include/ydb-cpp-sdk/client/topic/topic.h | 6 ++--- .../client/types/exceptions/exceptions.h | 2 +- .../ydb-cpp-sdk/library/cgiparam/cgiparam.h | 2 +- .../containers/stack_vector/stack_vec.h | 4 +-- .../library/coroutine/listener/listen.h | 2 +- .../library/grpc/client/grpc_client_low.h | 4 +-- .../library/http/fetch/httpheader.h | 4 +-- include/ydb-cpp-sdk/library/http/io/headers.h | 4 +-- include/ydb-cpp-sdk/library/http/io/stream.h | 4 +-- .../ydb-cpp-sdk/library/http/server/conn.h | 2 +- .../ydb-cpp-sdk/library/http/server/http.h | 6 ++--- .../ydb-cpp-sdk/library/http/server/options.h | 6 ++--- include/ydb-cpp-sdk/library/iterator/mapped.h | 4 +-- .../ydb-cpp-sdk/library/json/common/defs.h | 2 +- .../ydb-cpp-sdk/library/json/json_reader.h | 2 +- .../ydb-cpp-sdk/library/json/writer/json.h | 4 +-- .../library/json/writer/json_value.h | 12 ++++----- include/ydb-cpp-sdk/library/logger/backend.h | 2 +- include/ydb-cpp-sdk/library/logger/element.h | 4 +-- include/ydb-cpp-sdk/library/logger/log.h | 2 +- include/ydb-cpp-sdk/library/logger/thread.h | 2 +- .../library/monlib/counters/counters.h | 6 ++--- .../monlib/dynamic_counters/counters.h | 8 +++--- .../library/monlib/encode/encoder.h | 2 +- .../monlib/metrics/histogram_snapshot.h | 4 +-- .../library/monlib/metrics/labels.h | 26 ++++++++++++------- .../monlib/metrics/log_histogram_snapshot.h | 2 +- .../library/monlib/metrics/metric.h | 2 +- .../library/monlib/metrics/metric_registry.h | 5 ++-- .../library/monlib/metrics/metric_type.h | 2 +- .../library/monlib/metrics/summary_snapshot.h | 2 +- .../monlib/service/mon_service_http_request.h | 2 +- .../library/monlib/service/monservice.h | 2 +- .../library/monlib/service/pages/mon_page.h | 2 +- .../ydb-cpp-sdk/library/retry/retry_policy.h | 2 +- .../library/string_utils/misc/misc.h | 4 +-- .../threading/future/core/future-inl.h | 8 +++--- .../library/threading/future/core/future.h | 2 +- .../threading/future/wait/wait_group-inl.h | 4 +-- .../threading/future/wait/wait_group.h | 2 +- .../library/yql/public/issue/yql_issue.h | 6 ++--- .../library/yql/public/issue/yql_issue_id.h | 6 ++--- include/ydb-cpp-sdk/library/yson/node/node.h | 10 +++---- include/ydb-cpp-sdk/library/yson/public.h | 2 +- include/ydb-cpp-sdk/library/yson/writer.h | 2 +- .../ydb-cpp-sdk/library/yt/misc/enum-inl.h | 6 ++--- include/ydb-cpp-sdk/util/datetime/base.h | 2 +- include/ydb-cpp-sdk/util/datetime/systime.h | 2 +- .../ydb-cpp-sdk}/util/digest/multi.h | 2 +- .../ydb-cpp-sdk}/util/digest/numeric.h | 2 +- .../ydb-cpp-sdk}/util/digest/sequence.h | 2 +- .../ydb-cpp-sdk}/util/generic/algorithm.h | 4 +-- .../ydb-cpp-sdk}/util/generic/bt_exception.h | 7 ++--- .../ydb-cpp-sdk}/util/generic/cast.h | 10 +++---- .../ydb-cpp-sdk}/util/generic/flags.h | 2 +- .../ydb-cpp-sdk}/util/generic/function.h | 2 +- .../ydb-cpp-sdk}/util/generic/fwd.h | 0 .../ydb-cpp-sdk}/util/generic/is_in.h | 0 .../util/generic/iterator_range.h | 2 +- .../ydb-cpp-sdk}/util/generic/noncopyable.h | 0 .../ydb-cpp-sdk}/util/generic/ptr.h | 5 ++-- .../ydb-cpp-sdk}/util/generic/refcount.h | 4 +-- .../ydb-cpp-sdk}/util/generic/singleton.h | 2 +- .../ydb-cpp-sdk/util/generic/size_literals.h | 2 +- .../ydb-cpp-sdk}/util/generic/store_policy.h | 0 .../ydb-cpp-sdk}/util/generic/string_hash.h | 0 .../ydb-cpp-sdk}/util/generic/typelist.h | 0 .../ydb-cpp-sdk}/util/generic/utility.h | 0 .../ydb-cpp-sdk}/util/generic/xrange.h | 4 +-- .../ydb-cpp-sdk}/util/generic/yexception.h | 19 +++++++------- .../ydb-cpp-sdk}/util/memory/alloc.h | 0 .../ydb-cpp-sdk}/util/memory/blob.h | 4 +-- .../ydb-cpp-sdk}/util/memory/tempbuf.h | 2 +- .../ydb-cpp-sdk}/util/network/address.h | 4 +-- .../ydb-cpp-sdk}/util/network/hostip.h | 0 .../ydb-cpp-sdk}/util/network/init.h | 4 +-- .../ydb-cpp-sdk}/util/network/ip.h | 6 ++--- .../ydb-cpp-sdk}/util/network/sock.h | 23 ++++++++-------- .../ydb-cpp-sdk}/util/network/socket.h | 14 +++++----- .../ydb-cpp-sdk}/util/random/random.h | 0 {src => include/ydb-cpp-sdk}/util/str_stl.h | 8 +++--- .../ydb-cpp-sdk}/util/stream/debug.h | 0 .../ydb-cpp-sdk}/util/stream/fwd.h | 0 .../ydb-cpp-sdk}/util/stream/input.h | 4 +-- .../ydb-cpp-sdk}/util/stream/mem.h | 0 .../ydb-cpp-sdk}/util/stream/output.h | 2 +- .../ydb-cpp-sdk}/util/stream/str.h | 4 +-- .../ydb-cpp-sdk}/util/stream/tempbuf.h | 2 +- .../ydb-cpp-sdk}/util/stream/zerocopy.h | 2 +- .../util/stream/zerocopy_output.h | 2 +- .../ydb-cpp-sdk}/util/string/ascii.h | 2 +- .../ydb-cpp-sdk}/util/string/builder.h | 2 +- .../ydb-cpp-sdk}/util/string/cast.h | 4 +-- .../ydb-cpp-sdk}/util/string/escape.h | 0 .../ydb-cpp-sdk}/util/string/strip.h | 0 .../ydb-cpp-sdk}/util/string/subst.h | 2 +- .../ydb-cpp-sdk}/util/system/atexit.h | 0 .../ydb-cpp-sdk}/util/system/backtrace.h | 0 .../ydb-cpp-sdk}/util/system/byteorder.h | 2 +- .../ydb-cpp-sdk}/util/system/compat.h | 0 .../ydb-cpp-sdk}/util/system/error.h | 0 .../ydb-cpp-sdk}/util/system/event.h | 2 +- .../ydb-cpp-sdk}/util/system/fhandle.h | 0 .../ydb-cpp-sdk}/util/system/file.h | 8 +++--- .../ydb-cpp-sdk}/util/system/flock.h | 0 .../ydb-cpp-sdk}/util/system/guard.h | 2 +- .../ydb-cpp-sdk}/util/system/maxlen.h | 0 .../ydb-cpp-sdk}/util/system/progname.h | 2 +- .../ydb-cpp-sdk}/util/system/rwlock.h | 4 +-- .../ydb-cpp-sdk}/util/system/spin_wait.h | 0 .../ydb-cpp-sdk}/util/system/spinlock.h | 0 .../ydb-cpp-sdk}/util/system/src_location.h | 2 +- .../ydb-cpp-sdk}/util/system/src_root.h | 0 .../ydb-cpp-sdk}/util/system/sysstat.h | 0 .../ydb-cpp-sdk}/util/system/type_name.h | 2 +- .../ydb-cpp-sdk}/util/system/unaligned_mem.h | 4 +-- .../ydb-cpp-sdk}/util/system/win_undef.h | 0 .../ydb-cpp-sdk}/util/system/winint.h | 2 +- .../ydb-cpp-sdk}/util/system/yassert.h | 0 .../ydb-cpp-sdk}/util/thread/factory.h | 2 +- .../ydb-cpp-sdk}/util/thread/pool.h | 6 ++--- {src => include/ydb-cpp-sdk}/util/ysaveload.h | 17 +++++++----- src/api/proto_output/proto_output.cpp | 2 +- src/client/coordination/coordination.cpp | 17 +++++++----- src/client/export/export.cpp | 2 +- .../impl/federation_observer.h | 2 +- src/client/impl/ydb_endpoints/endpoints.cpp | 2 +- .../ydb_internal/grpc_connections/actions.h | 2 +- .../kqp_session_common/kqp_session_common.h | 2 +- src/client/impl/ydb_internal/logger/log.cpp | 4 +-- .../impl/ydb_internal/plain_status/status.cpp | 2 +- src/client/impl/ydb_internal/retry/retry.cpp | 2 +- src/client/impl/ydb_internal/retry/retry.h | 2 +- .../impl/ydb_internal/retry/retry_async.h | 2 +- .../session_pool/session_pool.cpp | 2 +- .../impl/ydb_internal/thread_pool/pool.h | 2 +- .../ydb_internal/value_helpers/helpers.cpp | 4 +-- src/client/params/params.cpp | 2 +- .../persqueue_core/impl/callback_context.h | 4 +-- src/client/persqueue_core/impl/common.h | 2 +- .../persqueue_core/impl/counters_logger.h | 2 +- src/client/persqueue_core/impl/persqueue.cpp | 6 ++--- .../persqueue_core/impl/read_session.cpp | 6 ++--- src/client/persqueue_core/impl/read_session.h | 2 +- .../persqueue_core/impl/read_session.ipp | 6 ++--- .../persqueue_core/impl/write_session.cpp | 4 +-- .../impl/write_session_impl.cpp | 4 +-- src/client/persqueue_core/persqueue.h | 8 +++--- .../persqueue_core/ut/basic_usage_ut.cpp | 6 ++--- .../persqueue_core/ut/ut_utils/test_utils.h | 2 +- src/client/persqueue_public/codecs/codecs.cpp | 2 +- src/client/persqueue_public/codecs/codecs.h | 2 +- src/client/result/result.cpp | 2 +- src/client/table/impl/client_session.cpp | 2 +- src/client/table/impl/readers.h | 2 +- src/client/table/table.cpp | 26 +++++++++---------- src/client/topic/codecs/codecs.cpp | 2 +- src/client/topic/codecs/codecs.h | 2 +- src/client/topic/impl/event_handlers.cpp | 4 +-- src/client/topic/impl/executor.h | 2 +- src/client/topic/impl/topic.cpp | 6 ++--- src/client/topic/impl/write_session_impl.cpp | 4 +-- src/client/types/credentials/credentials.cpp | 2 +- src/client/types/credentials/login/login.cpp | 2 +- src/client/value/value.cpp | 4 +-- src/json_value/ydb_json_value.cpp | 4 +-- .../blockcodecs/codecs/brotli/brotli.cpp | 2 +- src/library/blockcodecs/codecs/lz4/lz4.cpp | 2 +- src/library/blockcodecs/codecs/zstd/zstd.cpp | 2 +- src/library/blockcodecs/codecs_ut.cpp | 4 +-- src/library/blockcodecs/core/codecs.cpp | 14 +++++----- src/library/blockcodecs/core/codecs.h | 2 +- src/library/blockcodecs/core/common.h | 14 +++++----- src/library/blockcodecs/core/stream.cpp | 8 +++--- src/library/blockcodecs/core/stream.h | 6 ++--- src/library/build_info/sandbox.cpp.in | 4 +-- src/library/cache/cache.h | 6 ++--- src/library/cache/thread_safe_cache.h | 4 +-- .../case_insensitive_char_traits.cpp | 2 +- src/library/cgiparam/cgiparam.cpp | 2 +- src/library/charset/ci_string.h | 2 +- src/library/charset/codepage.cpp | 10 +++---- src/library/charset/codepage.h | 4 +-- src/library/charset/codepage_ut.cpp | 2 +- src/library/charset/cp_encrec.cpp | 2 +- src/library/charset/iconv.h | 2 +- src/library/charset/recyr.hh | 4 +-- src/library/charset/recyr_int.hh | 2 +- src/library/charset/recyr_int_ut.cpp | 2 +- src/library/charset/wide_ut.cpp | 2 +- src/library/colorizer/colors.cpp | 4 +-- src/library/colorizer/output.cpp | 2 +- src/library/colorizer/ut/colorizer_ut.cpp | 4 +-- .../disjoint_interval_tree.h | 2 +- .../containers/intrusive_rb_tree/rb_tree.h | 4 +-- .../containers/paged_vector/paged_vector.h | 6 ++--- src/library/coroutine/engine/cont_poller.h | 2 +- src/library/coroutine/engine/coroutine_ut.cpp | 4 +-- src/library/coroutine/engine/impl.cpp | 4 +-- src/library/coroutine/engine/impl.h | 6 ++--- src/library/coroutine/engine/iostatus.h | 2 +- src/library/coroutine/engine/network.cpp | 2 +- src/library/coroutine/engine/network.h | 4 +-- src/library/coroutine/engine/poller.cpp | 4 +-- src/library/coroutine/engine/poller.h | 4 +-- src/library/coroutine/engine/sockpool.h | 4 +-- .../engine/stack/benchmark/alloc_bm.cpp | 2 +- src/library/coroutine/engine/stack/stack.h | 4 +-- .../coroutine/engine/stack/stack_allocator.h | 4 +-- .../coroutine/engine/stack/stack_guards.h | 2 +- .../coroutine/engine/stack/stack_pool.h | 4 +-- .../coroutine/engine/stack/stack_utils.cpp | 2 +- src/library/coroutine/engine/trampoline.cpp | 2 +- src/library/coroutine/engine/trampoline.h | 4 +-- src/library/coroutine/listener/listen.cpp | 4 +-- src/library/cppparser/parser.cpp | 4 +-- src/library/cppparser/parser.h | 4 +-- src/library/cpuid_check/cpu_id_check.cpp | 2 +- src/library/dbg_output/dump.h | 2 +- src/library/dbg_output/dumpers.h | 2 +- src/library/dbg_output/engine.cpp | 4 +-- src/library/dbg_output/engine.h | 2 +- src/library/dbg_output/ut/dbg_output_ut.cpp | 6 ++--- src/library/diff/diff.h | 4 +-- src/library/digest/argonish/argon2.h | 2 +- src/library/digest/argonish/blake2b.h | 2 +- .../digest/argonish/factory/factory.cpp | 2 +- .../argonish/internal/argon2/argon2_base.h | 2 +- .../argonish/internal/blake2b/blake2b.h | 2 +- .../internal/proxies/avx2/proxy_avx2.h | 2 +- .../argonish/internal/proxies/ref/proxy_ref.h | 2 +- .../internal/proxies/sse2/proxy_sse2.h | 2 +- .../internal/proxies/sse41/proxy_sse41.h | 2 +- .../internal/proxies/ssse3/proxy_ssse3.h | 2 +- src/library/digest/lower_case/hash_ops.cpp | 2 +- src/library/digest/lower_case/lciter.h | 2 +- src/library/digest/md5/md5.cpp | 2 +- src/library/digest/murmur/murmur.h | 2 +- src/library/getopt/small/completer.cpp | 2 +- src/library/getopt/small/completer.h | 2 +- src/library/getopt/small/formatted_output.cpp | 4 +-- src/library/getopt/small/formatted_output.h | 2 +- src/library/getopt/small/last_getopt.h | 4 +-- src/library/getopt/small/last_getopt_opt.h | 2 +- src/library/getopt/small/last_getopt_opts.cpp | 2 +- .../getopt/small/last_getopt_parser.cpp | 2 +- .../getopt/small/last_getopt_support.h | 8 +++--- src/library/getopt/small/modchooser.cpp | 2 +- src/library/getopt/small/opt.cpp | 2 +- src/library/getopt/small/opt.h | 4 +-- src/library/getopt/small/wrap.cpp | 2 +- src/library/getopt/small/ygetopt.h | 4 +-- src/library/getopt/ut/last_getopt_ut.cpp | 2 +- src/library/getopt/ut/modchooser_ut.cpp | 2 +- src/library/grpc/client/grpc_client_low.cpp | 2 +- src/library/http/fetch/http_digest.cpp | 4 +-- src/library/http/fetch/http_digest.h | 2 +- src/library/http/fetch/http_socket.cpp | 4 +-- src/library/http/fetch/httpagent.h | 8 +++--- src/library/http/fetch/httpfsm.h | 2 +- src/library/http/fetch/httpfsm_ut.cpp | 2 +- src/library/http/fetch/httpload.h | 4 +-- src/library/http/fetch/httpparser.h | 2 +- src/library/http/fetch/httpzreader.h | 2 +- src/library/http/fetch/sockhandler.h | 10 +++---- src/library/http/io/benchmark/main.cpp | 2 +- src/library/http/io/chunk.h | 8 +++--- src/library/http/io/compression.cpp | 2 +- src/library/http/io/fuzz/main.cpp | 2 +- src/library/http/io/headers.cpp | 4 +-- src/library/http/io/list_codings/main.cpp | 2 +- src/library/http/io/stream.cpp | 6 ++--- src/library/http/io/stream_ut.cpp | 4 +-- src/library/http/misc/httpdate.cpp | 4 +-- src/library/http/misc/httpreqdata.cpp | 4 +-- src/library/http/misc/httpreqdata.h | 6 ++--- src/library/http/misc/parsed_request.cpp | 8 +++--- src/library/http/server/conn.cpp | 2 +- src/library/http/server/http.cpp | 12 ++++----- src/library/http/server/http_ex.cpp | 2 +- src/library/http/server/http_ut.cpp | 6 ++--- src/library/http/server/options.cpp | 10 +++---- src/library/http/server/response.cpp | 2 +- src/library/http/server/response_ut.cpp | 2 +- src/library/http/simple/http_client.h | 4 +-- src/library/http/simple/ut/http_ut.cpp | 2 +- src/library/iterator/cartesian_product.h | 2 +- src/library/iterator/concatenate.h | 2 +- src/library/iterator/enumerate.h | 2 +- src/library/iterator/filtering.h | 4 +-- src/library/iterator/functools.h | 2 +- src/library/iterator/ut/functools_ut.cpp | 2 +- src/library/iterator/ut/iterate_values_ut.cpp | 2 +- src/library/iterator/zip.h | 2 +- src/library/json/fast_sax/parser.rl6 | 4 +-- src/library/json/fast_sax/unescape.cpp | 2 +- src/library/json/fuzzy_test/main.cpp | 4 +-- src/library/json/json_prettifier.cpp | 4 +-- src/library/json/json_reader.cpp | 4 +-- src/library/json/json_writer.cpp | 2 +- src/library/json/json_writer.h | 2 +- src/library/json/rapidjson_helpers.h | 4 +-- src/library/json/ut/json_reader_fast_ut.cpp | 2 +- src/library/json/ut/json_reader_ut.cpp | 2 +- src/library/json/ut/json_saveload_ut.cpp | 2 +- src/library/json/ut/json_writer_ut.cpp | 2 +- src/library/json/writer/json.cpp | 4 +-- src/library/json/writer/json_value.cpp | 16 ++++++------ src/library/json/writer/json_value_ut.cpp | 2 +- src/library/jwt/jwt.cpp | 2 +- src/library/lcs/lcs_via_lis.h | 4 +-- src/library/lcs/lcs_via_lis_ut.cpp | 2 +- src/library/logger/backend.cpp | 4 +-- src/library/logger/backend_creator.cpp | 6 ++--- src/library/logger/backend_creator.h | 4 +-- src/library/logger/composite.h | 2 +- src/library/logger/element_ut.cpp | 4 +-- src/library/logger/file.cpp | 4 +-- src/library/logger/file.h | 4 +-- src/library/logger/filter.h | 2 +- src/library/logger/log.cpp | 2 +- src/library/logger/log_ut.cpp | 4 +-- src/library/logger/reopen.h | 4 +-- src/library/logger/rotating_file.cpp | 6 ++--- src/library/logger/rotating_file.h | 4 +-- src/library/logger/stream.cpp | 4 +-- src/library/logger/sync_page_cache_file.cpp | 4 +-- src/library/logger/sync_page_cache_file.h | 4 +-- src/library/logger/system.cpp | 8 +++--- src/library/logger/thread.cpp | 8 +++--- src/library/logger/uninitialized_creator.cpp | 2 +- src/library/login/login.cpp | 8 +++--- .../monlib/dynamic_counters/contention_ut.cpp | 2 +- .../monlib/dynamic_counters/counters.cpp | 4 +-- .../monlib/dynamic_counters/encode.cpp | 2 +- .../monlib/dynamic_counters/golovan_page.h | 2 +- src/library/monlib/dynamic_counters/page.h | 2 +- .../encode/buffered/buffered_encoder_base.cpp | 4 +-- .../encode/buffered/buffered_encoder_base.h | 2 +- src/library/monlib/encode/encoder_state.h | 2 +- src/library/monlib/encode/format.cpp | 8 +++--- src/library/monlib/encode/format_ut.cpp | 2 +- .../monlib/encode/json/json_decoder.cpp | 4 +-- .../monlib/encode/json/json_encoder.cpp | 2 +- src/library/monlib/encode/json/json_ut.cpp | 4 +-- .../monlib/encode/prometheus/fuzz/main.cpp | 2 +- .../monlib/encode/prometheus/prometheus.h | 2 +- .../encode/prometheus/prometheus_decoder.cpp | 6 ++--- .../encode/prometheus/prometheus_encoder.cpp | 2 +- .../prometheus/prometheus_encoder_ut.cpp | 2 +- .../monlib/encode/spack/compression.cpp | 6 ++--- src/library/monlib/encode/spack/compression.h | 4 +-- src/library/monlib/encode/spack/fuzz/main.cpp | 2 +- src/library/monlib/encode/spack/spack_v1.h | 2 +- .../monlib/encode/spack/spack_v1_decoder.cpp | 2 +- .../monlib/encode/spack/spack_v1_encoder.cpp | 4 +-- src/library/monlib/encode/spack/varint.cpp | 6 ++--- src/library/monlib/metrics/atomics_array.h | 2 +- src/library/monlib/metrics/ewma.h | 2 +- src/library/monlib/metrics/fake.h | 2 ++ src/library/monlib/metrics/fake_ut.cpp | 2 +- .../metrics/histogram_collector_explicit.cpp | 4 +-- .../histogram_collector_exponential.cpp | 4 +-- .../metrics/histogram_collector_linear.cpp | 4 +-- .../monlib/metrics/histogram_snapshot.cpp | 2 +- src/library/monlib/metrics/labels.cpp | 2 +- .../monlib/metrics/log_histogram_collector.h | 6 ++--- .../monlib/metrics/log_histogram_snapshot.cpp | 2 +- .../monlib/metrics/metric_consumer.cpp | 2 +- .../monlib/metrics/metric_registry.cpp | 7 +++-- .../monlib/metrics/metric_registry_ut.cpp | 2 +- src/library/monlib/metrics/metric_type.cpp | 4 +-- src/library/monlib/metrics/metric_value.h | 4 +-- .../monlib/metrics/summary_collector_ut.cpp | 2 +- .../monlib/metrics/summary_snapshot.cpp | 2 +- src/library/monlib/service/format.h | 4 +-- src/library/monlib/service/monservice.cpp | 2 +- .../monlib/service/pages/index_mon_page.cpp | 4 +-- src/library/monlib/service/pages/templates.h | 2 +- src/library/monlib/service/service.cpp | 4 +-- src/library/object_factory/object_factory.h | 8 +++--- src/library/openssl/holders/holder.h | 2 +- src/library/openssl/init/init.cpp | 8 +++--- src/library/openssl/io/stream.cpp | 4 +-- src/library/openssl/io/stream.h | 6 ++--- src/library/openssl/method/io.cpp | 6 ++--- src/library/operation_id/operation_id.cpp | 4 +-- src/library/persqueue/obfuscate/obfuscate.cpp | 2 +- .../topic_parser_public/topic_parser.cpp | 2 +- src/library/resource/registry.cpp | 6 ++--- src/library/resource/resource.cpp | 4 +-- src/library/retry/retry.cpp | 2 +- src/library/retry/retry.h | 2 +- src/library/retry/utils.cpp | 2 +- src/library/security/util.h | 2 +- src/library/streams/brotli/brotli.cpp | 2 +- src/library/streams/brotli/brotli.h | 6 ++--- src/library/streams/bzip2/bzip2.h | 8 +++--- src/library/streams/lz/common/error.h | 2 +- src/library/streams/lz/lz.h | 8 +++--- src/library/streams/lz/lz4/lz4.h | 6 ++--- src/library/streams/lz/snappy/snappy.h | 6 ++--- src/library/streams/lzma/lzma.cpp | 6 ++--- src/library/streams/lzma/lzma.h | 8 +++--- src/library/streams/lzma/lzma_ut.cpp | 4 +-- src/library/streams/zstd/zstd.cpp | 2 +- src/library/streams/zstd/zstd.h | 6 ++--- src/library/streams/zstd/zstd_ut.cpp | 2 +- src/library/string_utils/base64/base64.cpp | 2 +- src/library/string_utils/quote/quote.cpp | 4 +-- .../relaxed_escaper/relaxed_escaper.h | 6 ++--- src/library/string_utils/stream/stream.h | 2 +- src/library/string_utils/url/url.cpp | 14 +++++----- src/library/string_utils/url/url.h | 2 +- src/library/string_utils/url/url_ut.cpp | 2 +- .../sample/exception/main.cpp | 2 +- .../terminate_handler/sample/rethrow/main.cpp | 2 +- .../terminate_handler/segv_handler.cpp | 6 ++--- .../terminate_handler/terminate_handler.cpp | 6 ++--- src/library/testing/common/env.cpp | 8 +++--- src/library/testing/common/env.h | 2 +- src/library/testing/common/env_var.cpp | 2 +- src/library/testing/common/network.cpp | 12 ++++----- src/library/testing/common/network.h | 2 +- src/library/testing/common/probe.h | 2 +- .../testing/gmock_in_unittest/events.cpp | 2 +- src/library/testing/gtest/main.cpp | 2 +- .../testing/gtest_extensions/assertions.cpp | 6 ++--- .../gtest_extensions/pretty_printers.h | 6 ++--- src/library/testing/gtest_extensions/probe.h | 2 +- src/library/testing/unittest/gtest.cpp | 2 +- src/library/testing/unittest/junit.cpp | 8 +++--- src/library/testing/unittest/plugin.cpp | 4 +-- src/library/testing/unittest/plugin.h | 2 +- src/library/testing/unittest/registar.cpp | 10 +++---- src/library/testing/unittest/registar.h | 16 ++++++------ src/library/testing/unittest/tests_data.h | 6 ++--- src/library/testing/unittest/utmain.cpp | 6 ++--- .../operation_cancelled_exception.h | 2 +- src/library/threading/chunk_queue/queue.h | 10 +++---- src/library/threading/equeue/equeue.h | 4 +-- src/library/threading/equeue/equeue_ut.cpp | 2 +- src/library/threading/future/async.h | 4 +-- .../threading/future/async_semaphore.cpp | 4 +-- .../threading/future/async_semaphore.h | 4 +-- .../threading/future/async_semaphore_ut.cpp | 2 +- src/library/threading/future/async_ut.cpp | 2 +- src/library/threading/future/future_mt_ut.cpp | 6 ++--- src/library/threading/future/legacy_future.h | 2 +- src/library/threading/future/perf/main.cpp | 2 +- .../light_rw_lock/bench/lightrwlock_test.cpp | 2 +- .../threading/light_rw_lock/lightrwlock.cpp | 2 +- .../threading/light_rw_lock/lightrwlock.h | 2 +- .../threading/light_rw_lock/ut/rwlock_ut.cpp | 6 ++--- .../poor_man_openmp/thread_helper.cpp | 2 +- .../threading/poor_man_openmp/thread_helper.h | 8 +++--- .../poor_man_openmp/thread_helper_ut.cpp | 2 +- .../unicode_normalization/normalization.h | 6 ++--- src/library/uri/assign.cpp | 6 ++--- src/library/uri/common.cpp | 2 +- src/library/uri/common.h | 4 +-- src/library/uri/encode.cpp | 2 +- src/library/uri/encode.h | 2 +- src/library/uri/other.cpp | 4 +-- src/library/uri/parse.h | 6 ++--- src/library/uri/uri-ru_ut.cpp | 2 +- src/library/uri/uri.cpp | 4 +-- src/library/uri/uri.h | 8 +++--- src/library/uri/uri_ut.cpp | 2 +- src/library/uuid/uuid.cpp | 2 +- src/library/uuid/uuid.h | 2 +- src/library/yql/public/issue/yql_issue.cpp | 6 ++--- .../yql/public/issue/yql_issue_message.cpp | 4 +-- src/library/yson/detail.h | 6 ++--- src/library/yson/json/json_writer.cpp | 2 +- src/library/yson/lexer.cpp | 2 +- src/library/yson/lexer.h | 2 +- src/library/yson/node/node.cpp | 2 +- src/library/yson/node/node_io.cpp | 8 +++--- src/library/yson/node/node_io_ut.cpp | 2 +- src/library/yson/node/node_ut.cpp | 2 +- src/library/yson/node/node_visitor.cpp | 2 +- src/library/yson/parser.cpp | 2 +- src/library/yson/parser.h | 2 +- src/library/yson/ut/yson_ut.cpp | 2 +- src/library/yson/varint.cpp | 2 +- src/library/yson/varint.h | 4 +-- src/library/yson/writer.cpp | 2 +- src/library/yt/assert/assert.cpp | 2 +- src/library/yt/assert/assert.h | 2 +- src/library/yt/coding/unittests/varint_ut.cpp | 4 +-- src/library/yt/coding/varint.h | 4 +-- .../yt/memory/atomic_intrusive_ptr-inl.h | 2 +- src/library/yt/memory/chunked_input_stream.h | 2 +- .../yt/memory/chunked_memory_pool_output.h | 2 +- src/library/yt/memory/chunked_output_stream.h | 2 +- src/library/yt/memory/intrusive_ptr.h | 2 +- src/library/yt/memory/serialize.h | 2 +- src/library/yt/memory/shared_range.h | 2 +- .../unittests/chunked_memory_pool_ut.cpp | 2 +- .../yt/memory/unittests/free_list_ut.cpp | 2 +- .../yt/memory/unittests/intrusive_ptr_ut.cpp | 2 +- src/library/yt/misc/arcadia_enum-inl.h | 2 +- src/library/yt/misc/cast-inl.h | 4 +-- src/library/yt/misc/guid.cpp | 2 +- src/library/yt/misc/guid.h | 2 +- src/library/yt/misc/hash.h | 2 +- src/library/yt/misc/strong_typedef-inl.h | 4 +-- .../unittests/compact_vector_ut.cpp | 2 +- src/library/yt/string/guid.h | 2 +- src/library/yt/string/string.cpp | 2 +- src/library/yt/string/string.h | 2 +- src/library/yt/string/string_builder.h | 2 +- src/library/yt/yson_string/convert.cpp | 2 +- src/util/charset/unicode_table.h | 2 +- src/util/charset/utf8.h | 6 ++--- src/util/charset/utf8_ut.cpp | 2 +- src/util/charset/wide.cpp | 2 +- src/util/charset/wide.h | 10 +++---- src/util/charset/wide_specific.h | 2 +- src/util/datetime/base.cpp | 10 +++---- src/util/datetime/base_ut.cpp | 10 +++---- src/util/datetime/cputimer.cpp | 4 +-- src/util/datetime/strptime.cpp | 2 +- src/util/datetime/systime.cpp | 2 +- src/util/datetime/uptime.cpp | 4 +-- src/util/digest/city.cpp | 4 +-- src/util/digest/city.h | 2 +- src/util/digest/multi.cpp | 2 +- src/util/digest/multi_ut.cpp | 2 +- src/util/digest/murmur.cpp | 2 +- src/util/digest/numeric.cpp | 2 +- src/util/digest/sequence.cpp | 2 +- src/util/folder/dirent_win.h | 2 +- src/util/folder/dirut.cpp | 6 ++--- src/util/folder/dirut.h | 6 ++--- src/util/folder/dirut_ut.cpp | 2 +- src/util/folder/filelist.h | 2 +- src/util/folder/filelist_ut.cpp | 2 +- src/util/folder/fts.cpp | 6 ++--- src/util/folder/fts_ut.cpp | 2 +- src/util/folder/iterator.h | 6 ++--- src/util/folder/iterator_ut.cpp | 4 +-- src/util/folder/lstat_win.c | 2 +- src/util/folder/path.cpp | 8 +++--- src/util/folder/path.h | 8 +++--- src/util/folder/path_ut.cpp | 4 +-- src/util/folder/pathsplit.cpp | 4 +-- src/util/folder/pathsplit.h | 2 +- src/util/folder/tempdir.cpp | 2 +- src/util/generic/adaptor.h | 2 +- src/util/generic/adaptor_ut.cpp | 2 +- src/util/generic/algorithm.cpp | 2 +- src/util/generic/algorithm_ut.cpp | 2 +- src/util/generic/bitmap.h | 14 +++++----- src/util/generic/bitops.h | 4 +-- src/util/generic/bitops_ut.cpp | 2 +- src/util/generic/bt_exception.cpp | 2 +- src/util/generic/buffer.h | 6 ++--- src/util/generic/cast.cpp | 2 +- src/util/generic/fastqueue.h | 2 +- src/util/generic/flags.cpp | 4 +-- src/util/generic/function.cpp | 2 +- src/util/generic/function_ref.h | 4 +-- src/util/generic/fwd.cpp | 2 +- src/util/generic/guid.cpp | 6 ++--- src/util/generic/guid.h | 4 +-- src/util/generic/hash.h | 2 +- src/util/generic/hash_multi_map.h | 2 +- src/util/generic/hash_primes.cpp | 2 +- src/util/generic/hash_primes_ut.cpp | 2 +- src/util/generic/hash_table.cpp | 4 +-- src/util/generic/hash_table.h | 14 +++++----- src/util/generic/hash_ut.cpp | 4 +-- src/util/generic/intrlist.h | 4 +-- src/util/generic/intrlist_ut.cpp | 2 +- src/util/generic/is_in.cpp | 2 +- src/util/generic/is_in_ut.cpp | 2 +- src/util/generic/iterator_range.cpp | 2 +- src/util/generic/iterator_range_ut.cpp | 4 +-- src/util/generic/lazy_value.h | 2 +- src/util/generic/mapfindptr.h | 9 +++++-- src/util/generic/noncopyable.cpp | 2 +- src/util/generic/overloaded_ut.cpp | 2 +- src/util/generic/ptr.cpp | 4 +-- src/util/generic/ptr_ut.cpp | 2 +- src/util/generic/refcount.cpp | 2 +- src/util/generic/scope_ut.cpp | 2 +- src/util/generic/set.h | 6 ++--- src/util/generic/singleton.cpp | 4 +-- src/util/generic/stack.h | 2 +- src/util/generic/store_policy.cpp | 2 +- .../generic/string_transparent_hash_ut.cpp | 2 +- src/util/generic/typelist.cpp | 2 +- src/util/generic/typelist_ut.cpp | 2 +- src/util/generic/utility.cpp | 2 +- src/util/generic/utility_ut.cpp | 2 +- src/util/generic/xrange.cpp | 2 +- src/util/generic/xrange_ut.cpp | 6 ++--- src/util/generic/yexception.cpp | 10 +++---- src/util/generic/yexception_ut.cpp | 10 +++---- src/util/generic/ymath.h | 4 +-- src/util/generic/ymath_ut.cpp | 2 +- src/util/memory/alloc.cpp | 4 +-- src/util/memory/blob.cpp | 10 +++---- src/util/memory/blob_ut.cpp | 4 +-- src/util/memory/mmapalloc.cpp | 4 +-- src/util/memory/pool.h | 8 +++--- src/util/memory/pool_ut.cpp | 2 +- src/util/memory/segmented_string_pool.h | 4 +-- src/util/memory/smallobj.h | 4 +-- src/util/memory/tempbuf.cpp | 8 +++--- src/util/network/address.cpp | 4 +-- src/util/network/endpoint.cpp | 2 +- src/util/network/endpoint.h | 4 +-- src/util/network/hostip.cpp | 6 ++--- src/util/network/init.cpp | 4 +-- src/util/network/interface.cpp | 2 +- src/util/network/interface.h | 2 +- src/util/network/iovec.h | 4 +-- src/util/network/ip.cpp | 2 +- src/util/network/ip_ut.cpp | 2 +- src/util/network/nonblock.cpp | 2 +- src/util/network/nonblock.h | 2 +- src/util/network/pair.h | 2 +- src/util/network/poller.cpp | 2 +- src/util/network/poller.h | 4 +-- src/util/network/poller_ut.cpp | 2 +- src/util/network/pollerimpl.h | 10 +++---- src/util/network/sock.cpp | 2 +- src/util/network/socket.cpp | 20 +++++++------- src/util/network/socket_ut.cpp | 2 +- src/util/random/common_ops.h | 2 +- src/util/random/common_ops_ut.cpp | 2 +- src/util/random/easy.h | 2 +- src/util/random/entropy.cpp | 14 +++++----- src/util/random/fast.cpp | 2 +- src/util/random/init_atfork.cpp | 6 ++--- src/util/random/mersenne32.cpp | 2 +- src/util/random/mersenne64.cpp | 2 +- src/util/random/mersenne_ut.cpp | 2 +- src/util/random/normal.cpp | 2 +- src/util/random/random.cpp | 6 ++--- src/util/random/shuffle.h | 4 +-- src/util/str_stl.cpp | 2 +- src/util/stream/buffer.h | 6 ++--- src/util/stream/buffered.cpp | 4 +-- src/util/stream/buffered.h | 8 +++--- src/util/stream/debug.cpp | 8 +++--- src/util/stream/file.cpp | 4 +-- src/util/stream/file.h | 10 +++---- src/util/stream/format.cpp | 4 +-- src/util/stream/format.h | 10 +++---- src/util/stream/fwd.cpp | 2 +- src/util/stream/hex.cpp | 2 +- src/util/stream/input.cpp | 18 ++++++------- src/util/stream/input_ut.cpp | 4 +-- src/util/stream/ios_ut.cpp | 4 +-- src/util/stream/length.h | 6 ++--- src/util/stream/mem.cpp | 4 +-- src/util/stream/multi.h | 2 +- src/util/stream/null.cpp | 2 +- src/util/stream/null.h | 4 +-- src/util/stream/output.cpp | 12 ++++----- src/util/stream/str.cpp | 2 +- src/util/stream/tee.h | 2 +- src/util/stream/tempbuf.cpp | 2 +- src/util/stream/walk.h | 2 +- src/util/stream/zerocopy.cpp | 4 +-- src/util/stream/zerocopy_output.cpp | 4 +-- src/util/stream/zlib.cpp | 2 +- src/util/stream/zlib.h | 10 +++---- src/util/string/ascii.cpp | 6 ++--- src/util/string/builder.cpp | 4 +-- src/util/string/cast.cpp | 12 ++++----- src/util/string/escape.cpp | 4 +-- src/util/string/hex.h | 4 +-- src/util/string/join.h | 3 +-- src/util/string/join_ut.cpp | 2 +- src/util/string/reverse.h | 2 +- src/util/string/split.h | 12 ++++----- src/util/string/split_ut.cpp | 2 +- src/util/string/strip.cpp | 3 +-- src/util/string/subst.cpp | 2 +- src/util/string/subst_ut.cpp | 2 +- src/util/string/type.cpp | 2 +- src/util/string/util.cpp | 2 +- src/util/string/vector.h | 6 ++--- src/util/system/align.h | 2 +- src/util/system/atexit.cpp | 8 +++--- src/util/system/atexit_ut.cpp | 4 +-- src/util/system/backtrace.cpp | 6 ++--- src/util/system/backtrace_ut.cpp | 2 +- src/util/system/byteorder.cpp | 2 +- src/util/system/compat.cpp | 4 +-- src/util/system/compat_ut.cpp | 2 +- src/util/system/context.cpp | 6 ++--- src/util/system/context.h | 4 +-- src/util/system/context_ut.cpp | 2 +- src/util/system/cpu_id.cpp | 2 +- src/util/system/cpu_id.h | 2 +- src/util/system/daemon.cpp | 2 +- src/util/system/daemon_ut.cpp | 2 +- src/util/system/datetime.cpp | 2 +- src/util/system/demangle_impl.h | 2 +- src/util/system/direct_io.cpp | 6 ++--- src/util/system/direct_io.h | 2 +- src/util/system/direct_io_ut.cpp | 4 +-- src/util/system/dynlib.cpp | 6 ++--- src/util/system/dynlib.h | 2 +- src/util/system/err.cpp | 4 +-- src/util/system/error.cpp | 8 +++--- src/util/system/event.cpp | 2 +- src/util/system/event_ut.cpp | 2 +- src/util/system/execpath.cpp | 4 +-- src/util/system/execpath.h | 2 +- src/util/system/fake_mutex.h | 2 +- src/util/system/fasttime.cpp | 4 +-- src/util/system/fhandle.cpp | 2 +- src/util/system/file.cpp | 16 ++++++------ src/util/system/file_lock.cpp | 4 +-- src/util/system/file_lock.h | 6 ++--- src/util/system/file_ut.cpp | 2 +- src/util/system/filemap.cpp | 6 ++--- src/util/system/filemap.h | 18 ++++++------- src/util/system/flock.cpp | 4 +-- src/util/system/fs.cpp | 6 ++--- src/util/system/fs.h | 4 +-- src/util/system/fstat.cpp | 2 +- src/util/system/fstat.h | 4 +-- src/util/system/guard.cpp | 2 +- src/util/system/guard_ut.cpp | 4 +-- src/util/system/hi_lo.h | 2 +- src/util/system/hostname.cpp | 10 +++---- src/util/system/hostname.h | 2 +- src/util/system/hp_timer.cpp | 4 +-- src/util/system/info.cpp | 8 +++--- src/util/system/interrupt_signals.cpp | 2 +- src/util/system/madvise.cpp | 4 +-- src/util/system/maxlen.cpp | 2 +- src/util/system/mem_info.cpp | 6 ++--- src/util/system/mem_info.h | 2 +- src/util/system/mincore.cpp | 2 +- src/util/system/mktemp.cpp | 2 +- src/util/system/mktemp_system.cpp | 4 +-- src/util/system/mlock.cpp | 2 +- src/util/system/mlock.h | 2 +- src/util/system/pipe.cpp | 2 +- src/util/system/pipe.h | 6 ++--- src/util/system/progname.cpp | 4 +-- src/util/system/progname_ut.cpp | 2 +- src/util/system/protect.cpp | 4 +-- src/util/system/protect.h | 2 +- src/util/system/rusage.cpp | 2 +- src/util/system/rusage.h | 2 +- src/util/system/rwlock.cpp | 4 +-- src/util/system/rwlock_ut.cpp | 6 ++--- src/util/system/sem.cpp | 4 +-- src/util/system/sem.h | 2 +- src/util/system/shellcommand.cpp | 12 ++++----- src/util/system/shellcommand.h | 8 +++--- src/util/system/shellcommand_ut.cpp | 8 +++--- src/util/system/shmat.h | 4 +-- src/util/system/sigset.h | 2 +- src/util/system/spin_wait.cpp | 10 +++---- src/util/system/spinlock.cpp | 2 +- src/util/system/src_location.cpp | 4 +-- src/util/system/src_location_ut.cpp | 2 +- src/util/system/src_root_ut.cpp | 2 +- src/util/system/sysstat.cpp | 2 +- src/util/system/tempfile.h | 2 +- src/util/system/tempfile_ut.cpp | 2 +- src/util/system/thread.cpp | 6 ++--- src/util/system/thread.h | 4 +-- src/util/system/thread.i | 2 +- src/util/system/tls.cpp | 2 +- src/util/system/tls.h | 4 +-- src/util/system/type_name.cpp | 2 +- src/util/system/type_name_ut.cpp | 4 +-- src/util/system/types.cpp | 2 +- src/util/system/unaligned_mem.cpp | 2 +- src/util/system/user.cpp | 2 +- src/util/system/user.h | 2 +- src/util/system/winint.cpp | 2 +- src/util/system/yassert.cpp | 16 ++++++------ src/util/thread/factory.cpp | 4 +-- src/util/thread/factory_ut.cpp | 2 +- src/util/thread/pool.cpp | 14 +++++----- src/util/thread/pool_ut.cpp | 2 +- src/util/thread/singleton.h | 4 +-- src/util/ysafeptr.h | 4 +-- src/util/ysaveload.cpp | 2 +- src/util/ysaveload_ut.cpp | 2 +- src/yson_value/ydb_yson_value.cpp | 4 +-- tests/client/endpoints_ut.cpp | 2 +- tests/library/login/login_ut.cpp | 2 +- tests/library/testing/common/network_ut.cpp | 2 +- .../gtest_extensions/gtest_extensions_ut.cpp | 4 +-- tests/library/testing/unittest/main.cpp | 2 +- tests/library/yql/yql_issue_ut.cpp | 2 +- tools/enum_parser/enum_parser/main.cpp | 26 +++++++++---------- .../enum_runtime.cpp | 4 +-- .../ordered_pairs.h | 6 ++--- .../serialized_enum.h | 2 +- .../serialized_enum_ut.cpp | 2 +- .../enum_parser/parse_enum/benchmark/main.cpp | 6 ++--- .../ut/huge_enums_fallback_ut.cpp | 2 +- tools/enum_parser/parse_enum/parse_enum.cpp | 4 +-- tools/enum_parser/parse_enum/parse_enum.h | 4 +-- tools/enum_parser/parse_enum/ut/enums.cpp | 4 +-- tools/enum_parser/parse_enum/ut/enums.h | 2 +- tools/rescompiler/main.cpp | 4 +-- 820 files changed, 1568 insertions(+), 1543 deletions(-) rename {src => include/ydb-cpp-sdk}/util/digest/multi.h (90%) rename {src => include/ydb-cpp-sdk}/util/digest/numeric.h (97%) rename {src => include/ydb-cpp-sdk}/util/digest/sequence.h (96%) rename {src => include/ydb-cpp-sdk}/util/generic/algorithm.h (99%) rename {src => include/ydb-cpp-sdk}/util/generic/bt_exception.h (79%) rename {src => include/ydb-cpp-sdk}/util/generic/cast.h (96%) rename {src => include/ydb-cpp-sdk}/util/generic/flags.h (99%) rename {src => include/ydb-cpp-sdk}/util/generic/function.h (98%) rename {src => include/ydb-cpp-sdk}/util/generic/fwd.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/is_in.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/iterator_range.h (98%) rename {src => include/ydb-cpp-sdk}/util/generic/noncopyable.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/ptr.h (99%) rename {src => include/ydb-cpp-sdk}/util/generic/refcount.h (97%) rename {src => include/ydb-cpp-sdk}/util/generic/singleton.h (98%) rename {src => include/ydb-cpp-sdk}/util/generic/store_policy.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/string_hash.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/typelist.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/utility.h (100%) rename {src => include/ydb-cpp-sdk}/util/generic/xrange.h (98%) rename {src => include/ydb-cpp-sdk}/util/generic/yexception.h (96%) rename {src => include/ydb-cpp-sdk}/util/memory/alloc.h (100%) rename {src => include/ydb-cpp-sdk}/util/memory/blob.h (99%) rename {src => include/ydb-cpp-sdk}/util/memory/tempbuf.h (98%) rename {src => include/ydb-cpp-sdk}/util/network/address.h (97%) rename {src => include/ydb-cpp-sdk}/util/network/hostip.h (100%) rename {src => include/ydb-cpp-sdk}/util/network/init.h (92%) rename {src => include/ydb-cpp-sdk}/util/network/ip.h (94%) rename {src => include/ydb-cpp-sdk}/util/network/sock.h (97%) rename {src => include/ydb-cpp-sdk}/util/network/socket.h (97%) rename {src => include/ydb-cpp-sdk}/util/random/random.h (100%) rename {src => include/ydb-cpp-sdk}/util/str_stl.h (97%) rename {src => include/ydb-cpp-sdk}/util/stream/debug.h (100%) rename {src => include/ydb-cpp-sdk}/util/stream/fwd.h (100%) rename {src => include/ydb-cpp-sdk}/util/stream/input.h (99%) rename {src => include/ydb-cpp-sdk}/util/stream/mem.h (100%) rename {src => include/ydb-cpp-sdk}/util/stream/output.h (99%) rename {src => include/ydb-cpp-sdk}/util/stream/str.h (98%) rename {src => include/ydb-cpp-sdk}/util/stream/tempbuf.h (90%) rename {src => include/ydb-cpp-sdk}/util/stream/zerocopy.h (98%) rename {src => include/ydb-cpp-sdk}/util/stream/zerocopy_output.h (97%) rename {src => include/ydb-cpp-sdk}/util/string/ascii.h (99%) rename {src => include/ydb-cpp-sdk}/util/string/builder.h (95%) rename {src => include/ydb-cpp-sdk}/util/string/cast.h (99%) rename {src => include/ydb-cpp-sdk}/util/string/escape.h (100%) rename {src => include/ydb-cpp-sdk}/util/string/strip.h (100%) rename {src => include/ydb-cpp-sdk}/util/string/subst.h (98%) rename {src => include/ydb-cpp-sdk}/util/system/atexit.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/backtrace.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/byteorder.h (98%) rename {src => include/ydb-cpp-sdk}/util/system/compat.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/error.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/event.h (98%) rename {src => include/ydb-cpp-sdk}/util/system/fhandle.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/file.h (97%) rename {src => include/ydb-cpp-sdk}/util/system/flock.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/guard.h (98%) rename {src => include/ydb-cpp-sdk}/util/system/maxlen.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/progname.h (86%) rename {src => include/ydb-cpp-sdk}/util/system/rwlock.h (95%) rename {src => include/ydb-cpp-sdk}/util/system/spin_wait.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/spinlock.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/src_location.h (92%) rename {src => include/ydb-cpp-sdk}/util/system/src_root.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/sysstat.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/type_name.h (94%) rename {src => include/ydb-cpp-sdk}/util/system/unaligned_mem.h (96%) rename {src => include/ydb-cpp-sdk}/util/system/win_undef.h (100%) rename {src => include/ydb-cpp-sdk}/util/system/winint.h (88%) rename {src => include/ydb-cpp-sdk}/util/system/yassert.h (100%) rename {src => include/ydb-cpp-sdk}/util/thread/factory.h (96%) rename {src => include/ydb-cpp-sdk}/util/thread/pool.h (98%) rename {src => include/ydb-cpp-sdk}/util/ysaveload.h (98%) diff --git a/examples/secondary_index/secondary_index_generate.cpp b/examples/secondary_index/secondary_index_generate.cpp index a56043f2b9e..0f8c7013324 100644 --- a/examples/secondary_index/secondary_index_generate.cpp +++ b/examples/secondary_index/secondary_index_generate.cpp @@ -1,7 +1,7 @@ #include "secondary_index.h" -#include -#include +#include +#include using namespace NLastGetopt; using namespace NYdb; diff --git a/examples/secondary_index_builtin/secondary_index.h b/examples/secondary_index_builtin/secondary_index.h index 3e57744519c..f100dd82d3d 100644 --- a/examples/secondary_index_builtin/secondary_index.h +++ b/examples/secondary_index_builtin/secondary_index.h @@ -5,9 +5,9 @@ #include #include -#include -#include -#include +#include +#include +#include #define TABLE_USERS "users" #define TABLE_SERIES "series" diff --git a/examples/secondary_index_builtin/secondary_index_fill.cpp b/examples/secondary_index_builtin/secondary_index_fill.cpp index cf17fce85da..9b2cedac1cf 100644 --- a/examples/secondary_index_builtin/secondary_index_fill.cpp +++ b/examples/secondary_index_builtin/secondary_index_fill.cpp @@ -1,6 +1,6 @@ #include "secondary_index.h" -#include +#include using namespace NYdb; using namespace NYdb::NTable; diff --git a/examples/ttl/util.h b/examples/ttl/util.h index b5ecf51d64c..cc1816357c1 100644 --- a/examples/ttl/util.h +++ b/examples/ttl/util.h @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NExample { diff --git a/include/ydb-cpp-sdk/client/iam/common/iam.h b/include/ydb-cpp-sdk/client/iam/common/iam.h index a3a09443451..a3f44919047 100644 --- a/include/ydb-cpp-sdk/client/iam/common/iam.h +++ b/include/ydb-cpp-sdk/client/iam/common/iam.h @@ -9,8 +9,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/include/ydb-cpp-sdk/client/operation/operation.h b/include/ydb-cpp-sdk/client/operation/operation.h index 614c88af352..48e95c9bdbc 100644 --- a/include/ydb-cpp-sdk/client/operation/operation.h +++ b/include/ydb-cpp-sdk/client/operation/operation.h @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NYdb { namespace NOperation { diff --git a/include/ydb-cpp-sdk/client/query/tx.h b/include/ydb-cpp-sdk/client/query/tx.h index f3f4b7db677..2362e63cfd8 100644 --- a/include/ydb-cpp-sdk/client/query/tx.h +++ b/include/ydb-cpp-sdk/client/query/tx.h @@ -2,7 +2,7 @@ #include -#include +#include #include diff --git a/include/ydb-cpp-sdk/client/table/table.h b/include/ydb-cpp-sdk/client/table/table.h index 0caff70e604..29766bfc3bc 100644 --- a/include/ydb-cpp-sdk/client/table/table.h +++ b/include/ydb-cpp-sdk/client/table/table.h @@ -228,8 +228,8 @@ class TChangefeedDescription { TChangefeedDescription& WithInitialScan(); // Attributes TChangefeedDescription& AddAttribute(const std::string& key, const std::string& value); - TChangefeedDescription& SetAttributes(const THashMap& attrs); - TChangefeedDescription& SetAttributes(THashMap&& attrs); + TChangefeedDescription& SetAttributes(const std::unordered_map& attrs); + TChangefeedDescription& SetAttributes(std::unordered_map&& attrs); // Value that will be emitted in the `awsRegion` field of the record in DynamoDBStreamsJson format TChangefeedDescription& WithAwsRegion(const std::string& value); @@ -240,7 +240,7 @@ class TChangefeedDescription { bool GetVirtualTimestamps() const; const std::optional& GetResolvedTimestamps() const; bool GetInitialScan() const; - const THashMap& GetAttributes() const; + const std::unordered_map& GetAttributes() const; const std::string& GetAwsRegion() const; void SerializeTo(Ydb::Table::Changefeed& proto) const; @@ -263,7 +263,7 @@ class TChangefeedDescription { std::optional ResolvedTimestamps_; std::optional RetentionPeriod_; bool InitialScan_ = false; - THashMap Attributes_; + std::unordered_map Attributes_; std::string AwsRegion_; }; @@ -520,7 +520,7 @@ class TTableDescription { const std::vector& GetColumnFamilies() const; // Attributes - const THashMap& GetAttributes() const; + const std::unordered_map& GetAttributes() const; // Returns partitioning settings of the table const TPartitioningSettings& GetPartitioningSettings() const; @@ -564,8 +564,8 @@ class TTableDescription { void SetStorageSettings(const TStorageSettings& settings); void AddColumnFamily(const TColumnFamilyDescription& desc); void AddAttribute(const std::string& key, const std::string& value); - void SetAttributes(const THashMap& attrs); - void SetAttributes(THashMap&& attrs); + void SetAttributes(const std::unordered_map& attrs); + void SetAttributes(std::unordered_map&& attrs); void SetCompactionPolicy(const std::string& name); void SetUniformPartitions(ui64 partitionsCount); void SetPartitionAtKeys(const TExplicitPartitions& keys); @@ -787,8 +787,8 @@ class TTableBuilder { TTableBuilder& AddColumnFamily(const TColumnFamilyDescription& desc); TTableBuilder& AddAttribute(const std::string& key, const std::string& value); - TTableBuilder& SetAttributes(const THashMap& attrs); - TTableBuilder& SetAttributes(THashMap&& attrs); + TTableBuilder& SetAttributes(const std::unordered_map& attrs); + TTableBuilder& SetAttributes(std::unordered_map&& attrs); TTableBuilder& SetCompactionPolicy(const std::string& name); @@ -1379,7 +1379,7 @@ class TAlterAttributesBuilder { private: TAlterTableSettings& Parent_; - THashMap AlterAttributes_; + std::unordered_map AlterAttributes_; }; class TAlterPartitioningSettingsBuilder { @@ -1422,7 +1422,7 @@ class TAlterPartitioningSettingsBuilder { struct TAlterTableSettings : public TOperationRequestSettings { using TSelf = TAlterTableSettings; - using TAlterAttributes = THashMap; + using TAlterAttributes = std::unordered_map; TAlterTableSettings(); diff --git a/include/ydb-cpp-sdk/client/topic/topic.h b/include/ydb-cpp-sdk/client/topic/topic.h index 001a98d0d56..e6d7fa0c51f 100644 --- a/include/ydb-cpp-sdk/client/topic/topic.h +++ b/include/ydb-cpp-sdk/client/topic/topic.h @@ -7,11 +7,11 @@ #include #include #include -#include +#include #include #include -#include +#include #include #include @@ -626,7 +626,7 @@ struct TWriteSessionMeta: public TThrRefBase { using TPtr = TIntrusivePtr; //! User defined fields. - THashMap Fields; + std::unordered_map Fields; }; struct TMessageMeta: public TThrRefBase { diff --git a/include/ydb-cpp-sdk/client/types/exceptions/exceptions.h b/include/ydb-cpp-sdk/client/types/exceptions/exceptions.h index 00055777f31..87325b57f07 100644 --- a/include/ydb-cpp-sdk/client/types/exceptions/exceptions.h +++ b/include/ydb-cpp-sdk/client/types/exceptions/exceptions.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NYdb { diff --git a/include/ydb-cpp-sdk/library/cgiparam/cgiparam.h b/include/ydb-cpp-sdk/library/cgiparam/cgiparam.h index db22f93054b..bb72c1bee28 100644 --- a/include/ydb-cpp-sdk/library/cgiparam/cgiparam.h +++ b/include/ydb-cpp-sdk/library/cgiparam/cgiparam.h @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/containers/stack_vector/stack_vec.h b/include/ydb-cpp-sdk/library/containers/stack_vector/stack_vec.h index 14b3efba9b9..00784a5a216 100644 --- a/include/ydb-cpp-sdk/library/containers/stack_vector/stack_vec.h +++ b/include/ydb-cpp-sdk/library/containers/stack_vector/stack_vec.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/include/ydb-cpp-sdk/library/coroutine/listener/listen.h b/include/ydb-cpp-sdk/library/coroutine/listener/listen.h index 1206b7578b8..2493859c650 100644 --- a/include/ydb-cpp-sdk/library/coroutine/listener/listen.h +++ b/include/ydb-cpp-sdk/library/coroutine/listener/listen.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include struct TIpAddress; diff --git a/include/ydb-cpp-sdk/library/grpc/client/grpc_client_low.h b/include/ydb-cpp-sdk/library/grpc/client/grpc_client_low.h index 77685dbe325..4c9cdc5363b 100644 --- a/include/ydb-cpp-sdk/library/grpc/client/grpc_client_low.h +++ b/include/ydb-cpp-sdk/library/grpc/client/grpc_client_low.h @@ -2,8 +2,8 @@ #include "grpc_common.h" -#include -#include +#include +#include #include #include #include diff --git a/include/ydb-cpp-sdk/library/http/fetch/httpheader.h b/include/ydb-cpp-sdk/library/http/fetch/httpheader.h index db04dcd970b..46750a22baa 100644 --- a/include/ydb-cpp-sdk/library/http/fetch/httpheader.h +++ b/include/ydb-cpp-sdk/library/http/fetch/httpheader.h @@ -7,10 +7,10 @@ #include #include -#include +#include #include #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/http/io/headers.h b/include/ydb-cpp-sdk/library/http/io/headers.h index bf466fd8938..c42428eadf0 100644 --- a/include/ydb-cpp-sdk/library/http/io/headers.h +++ b/include/ydb-cpp-sdk/library/http/io/headers.h @@ -1,11 +1,11 @@ #pragma once -#include +#include #include #include -#include +#include class IInputStream; class IOutputStream; diff --git a/include/ydb-cpp-sdk/library/http/io/stream.h b/include/ydb-cpp-sdk/library/http/io/stream.h index f76c944d7b3..737b448e493 100644 --- a/include/ydb-cpp-sdk/library/http/io/stream.h +++ b/include/ydb-cpp-sdk/library/http/io/stream.h @@ -2,11 +2,11 @@ #include "headers.h" -#include +#include #include #include #include -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/http/server/conn.h b/include/ydb-cpp-sdk/library/http/server/conn.h index d552d100481..8bb7d3bcf82 100644 --- a/include/ydb-cpp-sdk/library/http/server/conn.h +++ b/include/ydb-cpp-sdk/library/http/server/conn.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include class TSocket; diff --git a/include/ydb-cpp-sdk/library/http/server/http.h b/include/ydb-cpp-sdk/library/http/server/http.h index c6ade17015e..23636f50363 100644 --- a/include/ydb-cpp-sdk/library/http/server/http.h +++ b/include/ydb-cpp-sdk/library/http/server/http.h @@ -3,10 +3,10 @@ #include "conn.h" #include "options.h" -#include +#include #include -#include -#include +#include +#include #include diff --git a/include/ydb-cpp-sdk/library/http/server/options.h b/include/ydb-cpp-sdk/library/http/server/options.h index 6ccf09d7fc9..a100979eadd 100644 --- a/include/ydb-cpp-sdk/library/http/server/options.h +++ b/include/ydb-cpp-sdk/library/http/server/options.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/iterator/mapped.h b/include/ydb-cpp-sdk/library/iterator/mapped.h index fd2b3f14c81..be43fe03364 100644 --- a/include/ydb-cpp-sdk/library/iterator/mapped.h +++ b/include/ydb-cpp-sdk/library/iterator/mapped.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/json/common/defs.h b/include/ydb-cpp-sdk/library/json/common/defs.h index 76dddd957c5..ac428dee17f 100644 --- a/include/ydb-cpp-sdk/library/json/common/defs.h +++ b/include/ydb-cpp-sdk/library/json/common/defs.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include namespace NJson { class TJsonException: public yexception { diff --git a/include/ydb-cpp-sdk/library/json/json_reader.h b/include/ydb-cpp-sdk/library/json/json_reader.h index 79472464277..6df4e01648f 100644 --- a/include/ydb-cpp-sdk/library/json/json_reader.h +++ b/include/ydb-cpp-sdk/library/json/json_reader.h @@ -5,7 +5,7 @@ #include #include -#include +#include namespace NJson { struct TJsonReaderConfig { diff --git a/include/ydb-cpp-sdk/library/json/writer/json.h b/include/ydb-cpp-sdk/library/json/writer/json.h index e1b9f975fa6..04dd252668f 100644 --- a/include/ydb-cpp-sdk/library/json/writer/json.h +++ b/include/ydb-cpp-sdk/library/json/writer/json.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/include/ydb-cpp-sdk/library/json/writer/json_value.h b/include/ydb-cpp-sdk/library/json/writer/json_value.h index 569a64f05d5..e6a99f1a8ab 100644 --- a/include/ydb-cpp-sdk/library/json/writer/json_value.h +++ b/include/ydb-cpp-sdk/library/json/writer/json_value.h @@ -2,10 +2,10 @@ #include -#include +#include +#include -#include -#include +#include namespace NJson { enum EJsonValueType { @@ -33,7 +33,7 @@ namespace NJson { void Clear() noexcept; public: - typedef THashMap TMapType; + typedef std::unordered_map TMapType; typedef std::deque TArray; TJsonValue() noexcept = default; @@ -265,10 +265,10 @@ namespace NJson { : TJsonValue(NJson::JSON_MAP) {} - TJsonMap(const std::initializer_list>& list) + TJsonMap(const std::initializer_list>& list) : TJsonValue(NJson::JSON_MAP) { - GetMapSafe() = THashMap(list); + GetMapSafe() = std::unordered_map(list); } }; diff --git a/include/ydb-cpp-sdk/library/logger/backend.h b/include/ydb-cpp-sdk/library/logger/backend.h index 31155c7ff0e..aebe0cc83f0 100644 --- a/include/ydb-cpp-sdk/library/logger/backend.h +++ b/include/ydb-cpp-sdk/library/logger/backend.h @@ -2,7 +2,7 @@ #include "priority.h" -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/logger/element.h b/include/ydb-cpp-sdk/library/logger/element.h index adc5456c148..f1d2e8d49c5 100644 --- a/include/ydb-cpp-sdk/library/logger/element.h +++ b/include/ydb-cpp-sdk/library/logger/element.h @@ -4,8 +4,8 @@ #include "record.h" -#include -#include +#include +#include class TLog; diff --git a/include/ydb-cpp-sdk/library/logger/log.h b/include/ydb-cpp-sdk/library/logger/log.h index ff81a5c885e..bda4d0a6478 100644 --- a/include/ydb-cpp-sdk/library/logger/log.h +++ b/include/ydb-cpp-sdk/library/logger/log.h @@ -6,7 +6,7 @@ #include "record.h" #include "thread.h" -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/logger/thread.h b/include/ydb-cpp-sdk/library/logger/thread.h index b02722a5004..ba251e49e29 100644 --- a/include/ydb-cpp-sdk/library/logger/thread.h +++ b/include/ydb-cpp-sdk/library/logger/thread.h @@ -2,7 +2,7 @@ #include "backend.h" -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/monlib/counters/counters.h b/include/ydb-cpp-sdk/library/monlib/counters/counters.h index 931c86f0618..9cff24c30fa 100644 --- a/include/ydb-cpp-sdk/library/monlib/counters/counters.h +++ b/include/ydb-cpp-sdk/library/monlib/counters/counters.h @@ -3,11 +3,11 @@ #include #include -#include +#include #include #include -#include -#include +#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/monlib/dynamic_counters/counters.h b/include/ydb-cpp-sdk/library/monlib/dynamic_counters/counters.h index 2ec5afe1ae5..787cea24010 100644 --- a/include/ydb-cpp-sdk/library/monlib/dynamic_counters/counters.h +++ b/include/ydb-cpp-sdk/library/monlib/dynamic_counters/counters.h @@ -5,10 +5,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/monlib/encode/encoder.h b/include/ydb-cpp-sdk/library/monlib/encode/encoder.h index 889afeee026..0b34daea376 100644 --- a/include/ydb-cpp-sdk/library/monlib/encode/encoder.h +++ b/include/ydb-cpp-sdk/library/monlib/encode/encoder.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/histogram_snapshot.h b/include/ydb-cpp-sdk/library/monlib/metrics/histogram_snapshot.h index e493b989d19..d4739fd4610 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/histogram_snapshot.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/histogram_snapshot.h @@ -1,8 +1,8 @@ #pragma once -#include +#include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/labels.h b/include/ydb-cpp-sdk/library/monlib/metrics/labels.h index 86f7ddca044..58f14b6f703 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/labels.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/labels.h @@ -2,14 +2,14 @@ #include -#include -#include +#include +#include -#include +#include -#include -#include -#include +#include +#include +#include #include #include @@ -410,6 +410,8 @@ namespace NMonitoring { template<> struct THash { + using is_transparent = void; + size_t operator()(const NMonitoring::ILabelsPtr& labels) const noexcept { return labels->Hash(); } @@ -421,6 +423,8 @@ struct THash { template struct THash> { + using is_transparent = void; + size_t operator()(const NMonitoring::TLabelsImpl& labels) const noexcept { return labels.Hash(); } @@ -428,6 +432,8 @@ struct THash> { template struct THash> { + using is_transparent = void; + inline size_t operator()(const NMonitoring::TLabelImpl& label) const noexcept { return label.Hash(); } @@ -454,15 +460,17 @@ bool operator==(const NMonitoring::ILabelsPtr& lhs, const NMonitoring::ILabels& template<> struct TEqualTo { - bool operator()(const NMonitoring::ILabelsPtr& lhs, const NMonitoring::ILabelsPtr& rhs) { + using is_transparent = void; + + bool operator()(const NMonitoring::ILabelsPtr& lhs, const NMonitoring::ILabelsPtr& rhs) const { return *lhs == *rhs; } - bool operator()(const NMonitoring::ILabelsPtr& lhs, const NMonitoring::ILabels& rhs) { + bool operator()(const NMonitoring::ILabelsPtr& lhs, const NMonitoring::ILabels& rhs) const { return *lhs == rhs; } - bool operator()(const NMonitoring::ILabels& lhs, const NMonitoring::ILabelsPtr& rhs) { + bool operator()(const NMonitoring::ILabels& lhs, const NMonitoring::ILabelsPtr& rhs) const { return lhs == *rhs; } }; diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/log_histogram_snapshot.h b/include/ydb-cpp-sdk/library/monlib/metrics/log_histogram_snapshot.h index 0e9a301be29..b9fb8c26cdc 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/log_histogram_snapshot.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/log_histogram_snapshot.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/metric.h b/include/ydb-cpp-sdk/library/monlib/metrics/metric.h index b1341e14070..97f39fabcbc 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/metric.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/metric.h @@ -3,7 +3,7 @@ #include "metric_consumer.h" #include -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/metric_registry.h b/include/ydb-cpp-sdk/library/monlib/metrics/metric_registry.h index be3b15f278f..f479db6d823 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/metric_registry.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/metric_registry.h @@ -3,7 +3,7 @@ #include "labels.h" #include "metric.h" -#include +#include namespace NMonitoring { class IMetricFactory { @@ -146,7 +146,8 @@ namespace NMonitoring { private: THolder Lock_ = MakeHolder(); - THashMap Metrics_; + using TMapType = std::unordered_map, TEqualTo>; + TMapType Metrics_; template TMetric* Metric(TLabelsType&& labels, Args&&... args); diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/metric_type.h b/include/ydb-cpp-sdk/library/monlib/metrics/metric_type.h index f8b42cca668..409178fa49b 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/metric_type.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/metric_type.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/monlib/metrics/summary_snapshot.h b/include/ydb-cpp-sdk/library/monlib/metrics/summary_snapshot.h index 0d659c2664d..0d17832caf5 100644 --- a/include/ydb-cpp-sdk/library/monlib/metrics/summary_snapshot.h +++ b/include/ydb-cpp-sdk/library/monlib/metrics/summary_snapshot.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NMonitoring { diff --git a/include/ydb-cpp-sdk/library/monlib/service/mon_service_http_request.h b/include/ydb-cpp-sdk/library/monlib/service/mon_service_http_request.h index 8d3c8acfb26..00bb6408427 100644 --- a/include/ydb-cpp-sdk/library/monlib/service/mon_service_http_request.h +++ b/include/ydb-cpp-sdk/library/monlib/service/mon_service_http_request.h @@ -2,7 +2,7 @@ #include "service.h" -#include +#include namespace NMonitoring { class TMonService2; diff --git a/include/ydb-cpp-sdk/library/monlib/service/monservice.h b/include/ydb-cpp-sdk/library/monlib/service/monservice.h index e807bc35958..972b7da37be 100644 --- a/include/ydb-cpp-sdk/library/monlib/service/monservice.h +++ b/include/ydb-cpp-sdk/library/monlib/service/monservice.h @@ -7,7 +7,7 @@ #include "pages/index_mon_page.h" #include "pages/mon_page.h" -#include +#include #include diff --git a/include/ydb-cpp-sdk/library/monlib/service/pages/mon_page.h b/include/ydb-cpp-sdk/library/monlib/service/pages/mon_page.h index b12018064d3..e5a86914b3c 100644 --- a/include/ydb-cpp-sdk/library/monlib/service/pages/mon_page.h +++ b/include/ydb-cpp-sdk/library/monlib/service/pages/mon_page.h @@ -4,7 +4,7 @@ #include #include -#include +#include namespace NMonitoring { static const char HTTPOKTEXT[] = "HTTP/1.1 200 Ok\r\nContent-Type: text/plain\r\nConnection: Close\r\n\r\n"; diff --git a/include/ydb-cpp-sdk/library/retry/retry_policy.h b/include/ydb-cpp-sdk/library/retry/retry_policy.h index 0fe6ad45cbe..005e59480ba 100644 --- a/include/ydb-cpp-sdk/library/retry/retry_policy.h +++ b/include/ydb-cpp-sdk/library/retry/retry_policy.h @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/string_utils/misc/misc.h b/include/ydb-cpp-sdk/library/string_utils/misc/misc.h index 7faaff2d343..f94f35382eb 100644 --- a/include/ydb-cpp-sdk/library/string_utils/misc/misc.h +++ b/include/ydb-cpp-sdk/library/string_utils/misc/misc.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include diff --git a/include/ydb-cpp-sdk/library/threading/future/core/future-inl.h b/include/ydb-cpp-sdk/library/threading/future/core/future-inl.h index 5f781d79c8c..9fd0b899945 100644 --- a/include/ydb-cpp-sdk/library/threading/future/core/future-inl.h +++ b/include/ydb-cpp-sdk/library/threading/future/core/future-inl.h @@ -4,10 +4,10 @@ #error "you should never include future-inl.h directly" #endif // INCLUDE_FUTURE_INL_H -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/threading/future/core/future.h b/include/ydb-cpp-sdk/library/threading/future/core/future.h index 64287937b81..21a157ef0f1 100644 --- a/include/ydb-cpp-sdk/library/threading/future/core/future.h +++ b/include/ydb-cpp-sdk/library/threading/future/core/future.h @@ -3,7 +3,7 @@ #include "fwd.h" #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/threading/future/wait/wait_group-inl.h b/include/ydb-cpp-sdk/library/threading/future/wait/wait_group-inl.h index f7ec281cc55..69b51a20c97 100644 --- a/include/ydb-cpp-sdk/library/threading/future/wait/wait_group-inl.h +++ b/include/ydb-cpp-sdk/library/threading/future/wait/wait_group-inl.h @@ -6,11 +6,11 @@ #include "wait_policy.h" -#include +#include #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/threading/future/wait/wait_group.h b/include/ydb-cpp-sdk/library/threading/future/wait/wait_group.h index 362497e2312..9a7da6b67d4 100644 --- a/include/ydb-cpp-sdk/library/threading/future/wait/wait_group.h +++ b/include/ydb-cpp-sdk/library/threading/future/wait/wait_group.h @@ -2,7 +2,7 @@ #include -#include +#include namespace NThreading { namespace NWaitGroup::NImpl { diff --git a/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue.h b/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue.h index 997d0572ecf..c69e342d128 100644 --- a/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue.h +++ b/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue.h @@ -3,7 +3,7 @@ #include "yql_issue_id.h" #include -#include +#include #include #include @@ -155,9 +155,9 @@ class TIssue: public TThrRefBase { return CombineHashes( CombineHashes( (size_t)CombineHashes(IntHash(Position.Row), IntHash(Position.Column)), - ComputeHash(Position.File) + THash{}(Position.File) ), - (size_t)CombineHashes((size_t)IntHash(static_cast(IssueCode)), ComputeHash(Message))); + (size_t)CombineHashes((size_t)IntHash(static_cast(IssueCode)), THash{}(Message))); } TIssue& SetCode(TIssueCode id, ESeverity severity) { diff --git a/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue_id.h b/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue_id.h index 0f65b1816cd..eebc463faf1 100644 --- a/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue_id.h +++ b/include/ydb-cpp-sdk/library/yql/public/issue/yql_issue_id.h @@ -10,9 +10,9 @@ #include #include -#include -#include -#include +#include +#include +#include #ifdef _win_ #ifdef GetMessage diff --git a/include/ydb-cpp-sdk/library/yson/node/node.h b/include/ydb-cpp-sdk/library/yson/node/node.h index 3b62b7718cb..4fdc354f23c 100644 --- a/include/ydb-cpp-sdk/library/yson/node/node.h +++ b/include/ydb-cpp-sdk/library/yson/node/node.h @@ -1,14 +1,14 @@ #pragma once -#include -#include +#include -#include +#include #include -#include +#include #include #include +#include class IInputStream; class IOutputStream; @@ -44,7 +44,7 @@ class TNode }; using TListType = std::vector; - using TMapType = THashMap; + using TMapType = std::unordered_map; private: struct TNull { diff --git a/include/ydb-cpp-sdk/library/yson/public.h b/include/ydb-cpp-sdk/library/yson/public.h index eaad670d2ae..0b19485f043 100644 --- a/include/ydb-cpp-sdk/library/yson/public.h +++ b/include/ydb-cpp-sdk/library/yson/public.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/library/yson/writer.h b/include/ydb-cpp-sdk/library/yson/writer.h index 8d60e4d5947..10af2db1236 100644 --- a/include/ydb-cpp-sdk/library/yson/writer.h +++ b/include/ydb-cpp-sdk/library/yson/writer.h @@ -4,7 +4,7 @@ #include "token.h" #include "consumer.h" -#include +#include class IOutputStream; class IZeroCopyInput; diff --git a/include/ydb-cpp-sdk/library/yt/misc/enum-inl.h b/include/ydb-cpp-sdk/library/yt/misc/enum-inl.h index c118eda6072..92e0f442d7f 100644 --- a/include/ydb-cpp-sdk/library/yt/misc/enum-inl.h +++ b/include/ydb-cpp-sdk/library/yt/misc/enum-inl.h @@ -5,10 +5,10 @@ #include "enum.h" #endif -#include -#include +#include +#include -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/util/datetime/base.h b/include/ydb-cpp-sdk/util/datetime/base.h index b55c4356434..389e39e46a1 100644 --- a/include/ydb-cpp-sdk/util/datetime/base.h +++ b/include/ydb-cpp-sdk/util/datetime/base.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include diff --git a/include/ydb-cpp-sdk/util/datetime/systime.h b/include/ydb-cpp-sdk/util/datetime/systime.h index 1ca20e91b4d..df76bf7ab36 100644 --- a/include/ydb-cpp-sdk/util/datetime/systime.h +++ b/include/ydb-cpp-sdk/util/datetime/systime.h @@ -12,7 +12,7 @@ struct tm* GmTimeR(const time_t* timer, struct tm* tmbuf); std::string CTimeR(const time_t* timer); #ifdef _win_ - #include + #include #include void FileTimeToTimeval(const FILETIME* ft, struct timeval* tv); diff --git a/src/util/digest/multi.h b/include/ydb-cpp-sdk/util/digest/multi.h similarity index 90% rename from src/util/digest/multi.h rename to include/ydb-cpp-sdk/util/digest/multi.h index 9ff57f72dae..0aeaa6bcafa 100644 --- a/src/util/digest/multi.h +++ b/include/ydb-cpp-sdk/util/digest/multi.h @@ -1,7 +1,7 @@ #pragma once #include "numeric.h" -#include +#include template constexpr size_t MultiHash(const TOne& one) noexcept { diff --git a/src/util/digest/numeric.h b/include/ydb-cpp-sdk/util/digest/numeric.h similarity index 97% rename from src/util/digest/numeric.h rename to include/ydb-cpp-sdk/util/digest/numeric.h index 66147194545..7c1e2097d52 100644 --- a/src/util/digest/numeric.h +++ b/include/ydb-cpp-sdk/util/digest/numeric.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include /* diff --git a/src/util/digest/sequence.h b/include/ydb-cpp-sdk/util/digest/sequence.h similarity index 96% rename from src/util/digest/sequence.h rename to include/ydb-cpp-sdk/util/digest/sequence.h index 4e27526a01d..06f3252333e 100644 --- a/src/util/digest/sequence.h +++ b/include/ydb-cpp-sdk/util/digest/sequence.h @@ -1,7 +1,7 @@ #pragma once #include "numeric.h" -#include +#include #include diff --git a/src/util/generic/algorithm.h b/include/ydb-cpp-sdk/util/generic/algorithm.h similarity index 99% rename from src/util/generic/algorithm.h rename to include/ydb-cpp-sdk/util/generic/algorithm.h index 15a904ebd2e..d381901e9e6 100644 --- a/src/util/generic/algorithm.h +++ b/include/ydb-cpp-sdk/util/generic/algorithm.h @@ -1,10 +1,10 @@ #pragma once #include "is_in.h" -#include "utility.h" +#include #include -#include +#include #include #include diff --git a/src/util/generic/bt_exception.h b/include/ydb-cpp-sdk/util/generic/bt_exception.h similarity index 79% rename from src/util/generic/bt_exception.h rename to include/ydb-cpp-sdk/util/generic/bt_exception.h index 538015c958f..78c3ec296ec 100644 --- a/src/util/generic/bt_exception.h +++ b/include/ydb-cpp-sdk/util/generic/bt_exception.h @@ -1,9 +1,10 @@ #pragma once -#include -#include "yexception.h" +#include + +#include -#include +#include template class TWithBackTrace: public T { diff --git a/src/util/generic/cast.h b/include/ydb-cpp-sdk/util/generic/cast.h similarity index 96% rename from src/util/generic/cast.h rename to include/ydb-cpp-sdk/util/generic/cast.h index b69f2ddcb61..cb15f6375f3 100644 --- a/src/util/generic/cast.h +++ b/include/ydb-cpp-sdk/util/generic/cast.h @@ -1,12 +1,12 @@ #pragma once #include -#include "yexception.h" +#include -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/src/util/generic/flags.h b/include/ydb-cpp-sdk/util/generic/flags.h similarity index 99% rename from src/util/generic/flags.h rename to include/ydb-cpp-sdk/util/generic/flags.h index b952ae97e18..ae465194880 100644 --- a/src/util/generic/flags.h +++ b/include/ydb-cpp-sdk/util/generic/flags.h @@ -4,7 +4,7 @@ #include #include -#include +#include class IOutputStream; namespace NPrivate { diff --git a/src/util/generic/function.h b/include/ydb-cpp-sdk/util/generic/function.h similarity index 98% rename from src/util/generic/function.h rename to include/ydb-cpp-sdk/util/generic/function.h index b8fdf8bac66..a737b8d635d 100644 --- a/src/util/generic/function.h +++ b/include/ydb-cpp-sdk/util/generic/function.h @@ -1,7 +1,7 @@ #pragma once #include -#include "typelist.h" +#include #include diff --git a/src/util/generic/fwd.h b/include/ydb-cpp-sdk/util/generic/fwd.h similarity index 100% rename from src/util/generic/fwd.h rename to include/ydb-cpp-sdk/util/generic/fwd.h diff --git a/src/util/generic/is_in.h b/include/ydb-cpp-sdk/util/generic/is_in.h similarity index 100% rename from src/util/generic/is_in.h rename to include/ydb-cpp-sdk/util/generic/is_in.h diff --git a/src/util/generic/iterator_range.h b/include/ydb-cpp-sdk/util/generic/iterator_range.h similarity index 98% rename from src/util/generic/iterator_range.h rename to include/ydb-cpp-sdk/util/generic/iterator_range.h index 19e9a2add7f..de0bb663621 100644 --- a/src/util/generic/iterator_range.h +++ b/include/ydb-cpp-sdk/util/generic/iterator_range.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/generic/noncopyable.h b/include/ydb-cpp-sdk/util/generic/noncopyable.h similarity index 100% rename from src/util/generic/noncopyable.h rename to include/ydb-cpp-sdk/util/generic/noncopyable.h diff --git a/src/util/generic/ptr.h b/include/ydb-cpp-sdk/util/generic/ptr.h similarity index 99% rename from src/util/generic/ptr.h rename to include/ydb-cpp-sdk/util/generic/ptr.h index 14e0aa24132..080f4c31ce6 100644 --- a/src/util/generic/ptr.h +++ b/include/ydb-cpp-sdk/util/generic/ptr.h @@ -2,9 +2,8 @@ #include "fwd.h" #include "utility.h" -#include "intrlist.h" #include "refcount.h" -#include +#include "typetraits.h" #include "singleton.h" #include @@ -12,7 +11,7 @@ #include #include -#include +#include template using TGuardConversion = typename std::enable_if_t::value>; diff --git a/src/util/generic/refcount.h b/include/ydb-cpp-sdk/util/generic/refcount.h similarity index 97% rename from src/util/generic/refcount.h rename to include/ydb-cpp-sdk/util/generic/refcount.h index f0d63495088..96828465941 100644 --- a/src/util/generic/refcount.h +++ b/include/ydb-cpp-sdk/util/generic/refcount.h @@ -1,8 +1,8 @@ #pragma once -#include +#include #include -#include +#include #include diff --git a/src/util/generic/singleton.h b/include/ydb-cpp-sdk/util/generic/singleton.h similarity index 98% rename from src/util/generic/singleton.h rename to include/ydb-cpp-sdk/util/generic/singleton.h index 4208f131927..85f6be7b82d 100644 --- a/src/util/generic/singleton.h +++ b/include/ydb-cpp-sdk/util/generic/singleton.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/include/ydb-cpp-sdk/util/generic/size_literals.h b/include/ydb-cpp-sdk/util/generic/size_literals.h index d74dbb148b5..d0ae652c20e 100644 --- a/include/ydb-cpp-sdk/util/generic/size_literals.h +++ b/include/ydb-cpp-sdk/util/generic/size_literals.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/generic/store_policy.h b/include/ydb-cpp-sdk/util/generic/store_policy.h similarity index 100% rename from src/util/generic/store_policy.h rename to include/ydb-cpp-sdk/util/generic/store_policy.h diff --git a/src/util/generic/string_hash.h b/include/ydb-cpp-sdk/util/generic/string_hash.h similarity index 100% rename from src/util/generic/string_hash.h rename to include/ydb-cpp-sdk/util/generic/string_hash.h diff --git a/src/util/generic/typelist.h b/include/ydb-cpp-sdk/util/generic/typelist.h similarity index 100% rename from src/util/generic/typelist.h rename to include/ydb-cpp-sdk/util/generic/typelist.h diff --git a/src/util/generic/utility.h b/include/ydb-cpp-sdk/util/generic/utility.h similarity index 100% rename from src/util/generic/utility.h rename to include/ydb-cpp-sdk/util/generic/utility.h diff --git a/src/util/generic/xrange.h b/include/ydb-cpp-sdk/util/generic/xrange.h similarity index 98% rename from src/util/generic/xrange.h rename to include/ydb-cpp-sdk/util/generic/xrange.h index 37a25d0b548..dfea8827e14 100644 --- a/src/util/generic/xrange.h +++ b/include/ydb-cpp-sdk/util/generic/xrange.h @@ -1,8 +1,8 @@ #pragma once #include -#include "utility.h" -#include +#include +#include #include /** @file diff --git a/src/util/generic/yexception.h b/include/ydb-cpp-sdk/util/generic/yexception.h similarity index 96% rename from src/util/generic/yexception.h rename to include/ydb-cpp-sdk/util/generic/yexception.h index 88954f712d4..669dc938d6d 100644 --- a/src/util/generic/yexception.h +++ b/include/ydb-cpp-sdk/util/generic/yexception.h @@ -1,22 +1,21 @@ #pragma once -#include "bt_exception.h" -#include "string.h" -#include "utility.h" +#include #include -#include -#include -#include +#include +#include #include #include -#include -#include +#include +#include #include -#include - #include +#include + +#include +#include class TBackTrace; diff --git a/src/util/memory/alloc.h b/include/ydb-cpp-sdk/util/memory/alloc.h similarity index 100% rename from src/util/memory/alloc.h rename to include/ydb-cpp-sdk/util/memory/alloc.h diff --git a/src/util/memory/blob.h b/include/ydb-cpp-sdk/util/memory/blob.h similarity index 99% rename from src/util/memory/blob.h rename to include/ydb-cpp-sdk/util/memory/blob.h index ceaf93187d0..595c1246d46 100644 --- a/src/util/memory/blob.h +++ b/include/ydb-cpp-sdk/util/memory/blob.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include #include diff --git a/src/util/memory/tempbuf.h b/include/ydb-cpp-sdk/util/memory/tempbuf.h similarity index 98% rename from src/util/memory/tempbuf.h rename to include/ydb-cpp-sdk/util/memory/tempbuf.h index 501cffbd766..d915005e60e 100644 --- a/src/util/memory/tempbuf.h +++ b/include/ydb-cpp-sdk/util/memory/tempbuf.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include /* * This is really fast buffer for temporary data. diff --git a/src/util/network/address.h b/include/ydb-cpp-sdk/util/network/address.h similarity index 97% rename from src/util/network/address.h rename to include/ydb-cpp-sdk/util/network/address.h index 1da84544a63..5e66958ad5e 100644 --- a/src/util/network/address.h +++ b/include/ydb-cpp-sdk/util/network/address.h @@ -2,9 +2,9 @@ #include "ip.h" #include "socket.h" +#include "sock.h" -#include -#include +#include namespace NAddr { class IRemoteAddr { diff --git a/src/util/network/hostip.h b/include/ydb-cpp-sdk/util/network/hostip.h similarity index 100% rename from src/util/network/hostip.h rename to include/ydb-cpp-sdk/util/network/hostip.h diff --git a/src/util/network/init.h b/include/ydb-cpp-sdk/util/network/init.h similarity index 92% rename from src/util/network/init.h rename to include/ydb-cpp-sdk/util/network/init.h index 9cec4b75b13..60e76090db4 100644 --- a/src/util/network/init.h +++ b/include/ydb-cpp-sdk/util/network/init.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #if defined(_unix_) #include @@ -25,7 +25,7 @@ using SOCKET = int; #define INVALID_SOCKET -1 #define WSAGetLastError() errno #elif defined(_win_) - #include + #include #include #include #include diff --git a/src/util/network/ip.h b/include/ydb-cpp-sdk/util/network/ip.h similarity index 94% rename from src/util/network/ip.h rename to include/ydb-cpp-sdk/util/network/ip.h index 5d21ff90549..0e4548b53ce 100644 --- a/src/util/network/ip.h +++ b/include/ydb-cpp-sdk/util/network/ip.h @@ -3,9 +3,9 @@ #include "socket.h" #include "hostip.h" -#include -#include -#include +#include +#include +#include #include diff --git a/src/util/network/sock.h b/include/ydb-cpp-sdk/util/network/sock.h similarity index 97% rename from src/util/network/sock.h rename to include/ydb-cpp-sdk/util/network/sock.h index b132c1c62e5..b8c09931028 100644 --- a/src/util/network/sock.h +++ b/include/ydb-cpp-sdk/util/network/sock.h @@ -1,13 +1,14 @@ #pragma once -#include +#include + #include -#include -#include -#include +#include +#include +#include #if defined(_win_) || defined(_cygwin_) - #include + #include #else #include #include @@ -97,9 +98,9 @@ struct TSockAddrLocal: public ISockAddr { return std::string(Path); } - TFsPath ToPath() const { - return TFsPath(Path); - } + // TFsPath ToPath() const { + // return TFsPath(Path); + // } int ResolveAddr() const { if (in.sin_port == 0) { @@ -200,9 +201,9 @@ struct TSockAddrLocal: public sockaddr_un, public ISockAddr { return std::string(sun_path); } - TFsPath ToPath() const { - return TFsPath(sun_path); - } + // TFsPath ToPath() const { + // return TFsPath(sun_path); + // } int Bind(SOCKET s, ui16 mode) const override { (void)unlink(sun_path); diff --git a/src/util/network/socket.h b/include/ydb-cpp-sdk/util/network/socket.h similarity index 97% rename from src/util/network/socket.h rename to include/ydb-cpp-sdk/util/network/socket.h index d4abeb00168..5cff164eb05 100644 --- a/src/util/network/socket.h +++ b/include/ydb-cpp-sdk/util/network/socket.h @@ -2,14 +2,14 @@ #include "init.h" -#include +#include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/util/random/random.h b/include/ydb-cpp-sdk/util/random/random.h similarity index 100% rename from src/util/random/random.h rename to include/ydb-cpp-sdk/util/random/random.h diff --git a/src/util/str_stl.h b/include/ydb-cpp-sdk/util/str_stl.h similarity index 97% rename from src/util/str_stl.h rename to include/ydb-cpp-sdk/util/str_stl.h index df1db46fcda..f16ff8dc3d9 100644 --- a/src/util/str_stl.h +++ b/include/ydb-cpp-sdk/util/str_stl.h @@ -2,10 +2,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/src/util/stream/debug.h b/include/ydb-cpp-sdk/util/stream/debug.h similarity index 100% rename from src/util/stream/debug.h rename to include/ydb-cpp-sdk/util/stream/debug.h diff --git a/src/util/stream/fwd.h b/include/ydb-cpp-sdk/util/stream/fwd.h similarity index 100% rename from src/util/stream/fwd.h rename to include/ydb-cpp-sdk/util/stream/fwd.h diff --git a/src/util/stream/input.h b/include/ydb-cpp-sdk/util/stream/input.h similarity index 99% rename from src/util/stream/input.h rename to include/ydb-cpp-sdk/util/stream/input.h index 3c5ab50d37b..fb5ea8f269e 100644 --- a/src/util/stream/input.h +++ b/include/ydb-cpp-sdk/util/stream/input.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include class IOutputStream; diff --git a/src/util/stream/mem.h b/include/ydb-cpp-sdk/util/stream/mem.h similarity index 100% rename from src/util/stream/mem.h rename to include/ydb-cpp-sdk/util/stream/mem.h diff --git a/src/util/stream/output.h b/include/ydb-cpp-sdk/util/stream/output.h similarity index 99% rename from src/util/stream/output.h rename to include/ydb-cpp-sdk/util/stream/output.h index 8a4b929033f..0d1c0b14d11 100644 --- a/src/util/stream/output.h +++ b/include/ydb-cpp-sdk/util/stream/output.h @@ -2,7 +2,7 @@ #include "fwd.h" -#include +#include #include #include diff --git a/src/util/stream/str.h b/include/ydb-cpp-sdk/util/stream/str.h similarity index 98% rename from src/util/stream/str.h rename to include/ydb-cpp-sdk/util/stream/str.h index de2288e2e85..80da546d9b9 100644 --- a/src/util/stream/str.h +++ b/include/ydb-cpp-sdk/util/stream/str.h @@ -3,8 +3,8 @@ #include "zerocopy.h" #include "zerocopy_output.h" -#include -#include +#include +#include #include diff --git a/src/util/stream/tempbuf.h b/include/ydb-cpp-sdk/util/stream/tempbuf.h similarity index 90% rename from src/util/stream/tempbuf.h rename to include/ydb-cpp-sdk/util/stream/tempbuf.h index 8b5d965fbb2..be75bb4d518 100644 --- a/src/util/stream/tempbuf.h +++ b/include/ydb-cpp-sdk/util/stream/tempbuf.h @@ -2,7 +2,7 @@ #include "output.h" -#include +#include class TTempBufOutput: public IOutputStream, public TTempBuf { public: diff --git a/src/util/stream/zerocopy.h b/include/ydb-cpp-sdk/util/stream/zerocopy.h similarity index 98% rename from src/util/stream/zerocopy.h rename to include/ydb-cpp-sdk/util/stream/zerocopy.h index 2d743e15797..89730ce9a53 100644 --- a/src/util/stream/zerocopy.h +++ b/include/ydb-cpp-sdk/util/stream/zerocopy.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/stream/zerocopy_output.h b/include/ydb-cpp-sdk/util/stream/zerocopy_output.h similarity index 97% rename from src/util/stream/zerocopy_output.h rename to include/ydb-cpp-sdk/util/stream/zerocopy_output.h index 07b1bd30a03..3de3cf06d48 100644 --- a/src/util/stream/zerocopy_output.h +++ b/include/ydb-cpp-sdk/util/stream/zerocopy_output.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include "output.h" diff --git a/src/util/string/ascii.h b/include/ydb-cpp-sdk/util/string/ascii.h similarity index 99% rename from src/util/string/ascii.h rename to include/ydb-cpp-sdk/util/string/ascii.h index 6f1018d6b7c..56b58e48314 100644 --- a/src/util/string/ascii.h +++ b/include/ydb-cpp-sdk/util/string/ascii.h @@ -3,7 +3,7 @@ #include #include -#include +#include #include diff --git a/src/util/string/builder.h b/include/ydb-cpp-sdk/util/string/builder.h similarity index 95% rename from src/util/string/builder.h rename to include/ydb-cpp-sdk/util/string/builder.h index 68ab87b7b7b..0070a80662d 100644 --- a/src/util/string/builder.h +++ b/include/ydb-cpp-sdk/util/string/builder.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include namespace NPrivateStringBuilder { diff --git a/src/util/string/cast.h b/include/ydb-cpp-sdk/util/string/cast.h similarity index 99% rename from src/util/string/cast.h rename to include/ydb-cpp-sdk/util/string/cast.h index 6e7ca9a2f6c..7eda085b507 100644 --- a/src/util/string/cast.h +++ b/include/ydb-cpp-sdk/util/string/cast.h @@ -3,9 +3,9 @@ #include #include -#include +#include #include -#include +#include #include #include diff --git a/src/util/string/escape.h b/include/ydb-cpp-sdk/util/string/escape.h similarity index 100% rename from src/util/string/escape.h rename to include/ydb-cpp-sdk/util/string/escape.h diff --git a/src/util/string/strip.h b/include/ydb-cpp-sdk/util/string/strip.h similarity index 100% rename from src/util/string/strip.h rename to include/ydb-cpp-sdk/util/string/strip.h diff --git a/src/util/string/subst.h b/include/ydb-cpp-sdk/util/string/subst.h similarity index 98% rename from src/util/string/subst.h rename to include/ydb-cpp-sdk/util/string/subst.h index 0f263c8ed20..99c88618601 100644 --- a/src/util/string/subst.h +++ b/include/ydb-cpp-sdk/util/string/subst.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/system/atexit.h b/include/ydb-cpp-sdk/util/system/atexit.h similarity index 100% rename from src/util/system/atexit.h rename to include/ydb-cpp-sdk/util/system/atexit.h diff --git a/src/util/system/backtrace.h b/include/ydb-cpp-sdk/util/system/backtrace.h similarity index 100% rename from src/util/system/backtrace.h rename to include/ydb-cpp-sdk/util/system/backtrace.h diff --git a/src/util/system/byteorder.h b/include/ydb-cpp-sdk/util/system/byteorder.h similarity index 98% rename from src/util/system/byteorder.h rename to include/ydb-cpp-sdk/util/system/byteorder.h index e512e4ec6b2..e0c79f47f37 100644 --- a/src/util/system/byteorder.h +++ b/include/ydb-cpp-sdk/util/system/byteorder.h @@ -13,7 +13,7 @@ #include #endif #else - #include + #include #endif #if defined(_linux_) && !defined(USE_GENERIC_ENDIAN_CVT) diff --git a/src/util/system/compat.h b/include/ydb-cpp-sdk/util/system/compat.h similarity index 100% rename from src/util/system/compat.h rename to include/ydb-cpp-sdk/util/system/compat.h diff --git a/src/util/system/error.h b/include/ydb-cpp-sdk/util/system/error.h similarity index 100% rename from src/util/system/error.h rename to include/ydb-cpp-sdk/util/system/error.h diff --git a/src/util/system/event.h b/include/ydb-cpp-sdk/util/system/event.h similarity index 98% rename from src/util/system/event.h rename to include/ydb-cpp-sdk/util/system/event.h index 78acf37b8dc..e38df874e43 100644 --- a/src/util/system/event.h +++ b/include/ydb-cpp-sdk/util/system/event.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include struct TEventResetType { diff --git a/src/util/system/fhandle.h b/include/ydb-cpp-sdk/util/system/fhandle.h similarity index 100% rename from src/util/system/fhandle.h rename to include/ydb-cpp-sdk/util/system/fhandle.h diff --git a/src/util/system/file.h b/include/ydb-cpp-sdk/util/system/file.h similarity index 97% rename from src/util/system/file.h rename to include/ydb-cpp-sdk/util/system/file.h index a3e51131d59..ed5b3641457 100644 --- a/src/util/system/file.h +++ b/include/ydb-cpp-sdk/util/system/file.h @@ -3,10 +3,10 @@ #include "fhandle.h" #include "flock.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include diff --git a/src/util/system/flock.h b/include/ydb-cpp-sdk/util/system/flock.h similarity index 100% rename from src/util/system/flock.h rename to include/ydb-cpp-sdk/util/system/flock.h diff --git a/src/util/system/guard.h b/include/ydb-cpp-sdk/util/system/guard.h similarity index 98% rename from src/util/system/guard.h rename to include/ydb-cpp-sdk/util/system/guard.h index c1cf8e32211..766a814bf22 100644 --- a/src/util/system/guard.h +++ b/include/ydb-cpp-sdk/util/system/guard.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include template diff --git a/src/util/system/maxlen.h b/include/ydb-cpp-sdk/util/system/maxlen.h similarity index 100% rename from src/util/system/maxlen.h rename to include/ydb-cpp-sdk/util/system/maxlen.h diff --git a/src/util/system/progname.h b/include/ydb-cpp-sdk/util/system/progname.h similarity index 86% rename from src/util/system/progname.h rename to include/ydb-cpp-sdk/util/system/progname.h index b1b585f1a3c..9f92d756675 100644 --- a/src/util/system/progname.h +++ b/include/ydb-cpp-sdk/util/system/progname.h @@ -1,6 +1,6 @@ #pragma once -#include +#include void SetProgramName(const char* argv0); diff --git a/src/util/system/rwlock.h b/include/ydb-cpp-sdk/util/system/rwlock.h similarity index 95% rename from src/util/system/rwlock.h rename to include/ydb-cpp-sdk/util/system/rwlock.h index 570326cbc8a..c14177521da 100644 --- a/src/util/system/rwlock.h +++ b/include/ydb-cpp-sdk/util/system/rwlock.h @@ -1,9 +1,9 @@ #pragma once -#include "guard.h" +#include #include -#include +#include class TRWMutex { public: diff --git a/src/util/system/spin_wait.h b/include/ydb-cpp-sdk/util/system/spin_wait.h similarity index 100% rename from src/util/system/spin_wait.h rename to include/ydb-cpp-sdk/util/system/spin_wait.h diff --git a/src/util/system/spinlock.h b/include/ydb-cpp-sdk/util/system/spinlock.h similarity index 100% rename from src/util/system/spinlock.h rename to include/ydb-cpp-sdk/util/system/spinlock.h diff --git a/src/util/system/src_location.h b/include/ydb-cpp-sdk/util/system/src_location.h similarity index 92% rename from src/util/system/src_location.h rename to include/ydb-cpp-sdk/util/system/src_location.h index 46ac62ab38a..3abdaff6c4f 100644 --- a/src/util/system/src_location.h +++ b/include/ydb-cpp-sdk/util/system/src_location.h @@ -1,6 +1,6 @@ #pragma once -#include "src_root.h" +#include #include diff --git a/src/util/system/src_root.h b/include/ydb-cpp-sdk/util/system/src_root.h similarity index 100% rename from src/util/system/src_root.h rename to include/ydb-cpp-sdk/util/system/src_root.h diff --git a/src/util/system/sysstat.h b/include/ydb-cpp-sdk/util/system/sysstat.h similarity index 100% rename from src/util/system/sysstat.h rename to include/ydb-cpp-sdk/util/system/sysstat.h diff --git a/src/util/system/type_name.h b/include/ydb-cpp-sdk/util/system/type_name.h similarity index 94% rename from src/util/system/type_name.h rename to include/ydb-cpp-sdk/util/system/type_name.h index ede463423d0..b47b8b16eea 100644 --- a/src/util/system/type_name.h +++ b/include/ydb-cpp-sdk/util/system/type_name.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/system/unaligned_mem.h b/include/ydb-cpp-sdk/util/system/unaligned_mem.h similarity index 96% rename from src/util/system/unaligned_mem.h rename to include/ydb-cpp-sdk/util/system/unaligned_mem.h index f226959eac4..64e14592076 100644 --- a/src/util/system/unaligned_mem.h +++ b/include/ydb-cpp-sdk/util/system/unaligned_mem.h @@ -1,9 +1,9 @@ #pragma once #include -#include "yassert.h" +#include -#include +#include #include // The following code used to have smart tricks assuming that unaligned reads and writes are OK on x86. This assumption diff --git a/src/util/system/win_undef.h b/include/ydb-cpp-sdk/util/system/win_undef.h similarity index 100% rename from src/util/system/win_undef.h rename to include/ydb-cpp-sdk/util/system/win_undef.h diff --git a/src/util/system/winint.h b/include/ydb-cpp-sdk/util/system/winint.h similarity index 88% rename from src/util/system/winint.h rename to include/ydb-cpp-sdk/util/system/winint.h index 020de9bb580..eaf3fb163bc 100644 --- a/src/util/system/winint.h +++ b/include/ydb-cpp-sdk/util/system/winint.h @@ -13,4 +13,4 @@ #include #endif -#include +#include diff --git a/src/util/system/yassert.h b/include/ydb-cpp-sdk/util/system/yassert.h similarity index 100% rename from src/util/system/yassert.h rename to include/ydb-cpp-sdk/util/system/yassert.h diff --git a/src/util/thread/factory.h b/include/ydb-cpp-sdk/util/thread/factory.h similarity index 96% rename from src/util/thread/factory.h rename to include/ydb-cpp-sdk/util/thread/factory.h index 5e43ce1db17..e2e9fc0e004 100644 --- a/src/util/thread/factory.h +++ b/include/ydb-cpp-sdk/util/thread/factory.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include class IThreadFactory { diff --git a/src/util/thread/pool.h b/include/ydb-cpp-sdk/util/thread/pool.h similarity index 98% rename from src/util/thread/pool.h rename to include/ydb-cpp-sdk/util/thread/pool.h index a498e220463..1e83d8e6eeb 100644 --- a/src/util/thread/pool.h +++ b/include/ydb-cpp-sdk/util/thread/pool.h @@ -2,10 +2,10 @@ #include "factory.h" -#include +#include #include -#include -#include +#include +#include #include diff --git a/src/util/ysaveload.h b/include/ydb-cpp-sdk/util/ysaveload.h similarity index 98% rename from src/util/ysaveload.h rename to include/ydb-cpp-sdk/util/ysaveload.h index 5c0dfb2b5f3..7ec4a02307c 100644 --- a/src/util/ysaveload.h +++ b/include/ydb-cpp-sdk/util/ysaveload.h @@ -1,20 +1,21 @@ #pragma once -#include -#include -#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include #include #include +#include #include #include #include +#include #ifndef __NVCC__ // cuda is compiled in C++14 mode at the time @@ -585,6 +586,10 @@ template class TSerializer>: public TMapSerializer, true> { }; +template +class TSerializer>: public TMapSerializer, true> { +}; + template class TSerializer>: public TMapSerializer, false> { }; diff --git a/src/api/proto_output/proto_output.cpp b/src/api/proto_output/proto_output.cpp index e822a0cf1e8..281eaf4cdbf 100644 --- a/src/api/proto_output/proto_output.cpp +++ b/src/api/proto_output/proto_output.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/src/client/coordination/coordination.cpp b/src/client/coordination/coordination.cpp index dd5992e6564..b41ede72bc3 100644 --- a/src/client/coordination/coordination.cpp +++ b/src/client/coordination/coordination.cpp @@ -9,6 +9,7 @@ #include #include +#include namespace NYdb { namespace NCoordination { @@ -28,6 +29,8 @@ using TResultPromise = TPromise>; template inline TResultPromise NewResultPromise() { return NewPromise>(); + + } //////////////////////////////////////////////////////////////////////////////// @@ -307,7 +310,7 @@ class TSessionContext : public TThrRefBase { std::string Name; TIntrusivePtr LastSentOp; TIntrusivePtr LastAckedOp; - THashMap> WaitingOps; + std::unordered_map> WaitingOps; std::deque> OpQueue; bool Restoring = false; @@ -780,7 +783,7 @@ class TSessionContext : public TThrRefBase { TResultPromise* supersededPromise, TResultPromise* resultPromise) { - auto* state = SemaphoreByReqId.Value(reqId, nullptr); + auto* state = MapValue(SemaphoreByReqId, reqId, nullptr); if (!state) { return false; } @@ -834,7 +837,7 @@ class TSessionContext : public TThrRefBase { } void DoSemaphoreEnqueueOp(const std::string& name, TIntrusivePtr op) { - TSemaphoreState* state = Semaphores.FindPtr(name); + TSemaphoreState* state = MapFindPtr(Semaphores, name); if (!state) { state = &Semaphores[name]; state->Name = name; @@ -1537,7 +1540,7 @@ class TSessionContext : public TThrRefBase { std::function acceptedCallback; { std::lock_guard guard(Lock); - if (auto* state = SemaphoreByReqId.Value(reqId, nullptr)) { + if (auto* state = MapValue(SemaphoreByReqId, reqId, nullptr)) { auto op = state->LastSentOp; Y_ABORT_UNLESS(op && op->ReqId == reqId && op->OpType == SEM_OP_ACQUIRE, "Received AcquireSemaphorePending for an unexpected request"); @@ -1762,10 +1765,10 @@ class TSessionContext : public TThrRefBase { IQueueClientContextPtr ConnectContext; IQueueClientContextPtr ConnectTimeoutContext; - THashMap Semaphores; - THashMap SemaphoreByReqId; + std::unordered_map Semaphores; + std::unordered_map SemaphoreByReqId; std::deque> PendingRequests; - THashMap> SentRequests; + std::unordered_map> SentRequests; TResultPromise ReconnectPromise; // These are used to manage session timeout diff --git a/src/client/export/export.cpp b/src/client/export/export.cpp index 849fc2d393f..44205433b99 100644 --- a/src/client/export/export.cpp +++ b/src/client/export/export.cpp @@ -13,7 +13,7 @@ #include #include -#include +#include namespace NYdb { namespace NExport { diff --git a/src/client/federated_topic/impl/federation_observer.h b/src/client/federated_topic/impl/federation_observer.h index c0f4135d3f1..f18e739c1bc 100644 --- a/src/client/federated_topic/impl/federation_observer.h +++ b/src/client/federated_topic/impl/federation_observer.h @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include diff --git a/src/client/impl/ydb_endpoints/endpoints.cpp b/src/client/impl/ydb_endpoints/endpoints.cpp index 427b4c4baaf..ce596819f7b 100644 --- a/src/client/impl/ydb_endpoints/endpoints.cpp +++ b/src/client/impl/ydb_endpoints/endpoints.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/src/client/impl/ydb_internal/grpc_connections/actions.h b/src/client/impl/ydb_internal/grpc_connections/actions.h index cc88435c1b9..75ce27de44e 100644 --- a/src/client/impl/ydb_internal/grpc_connections/actions.h +++ b/src/client/impl/ydb_internal/grpc_connections/actions.h @@ -9,7 +9,7 @@ #include -#include +#include #include diff --git a/src/client/impl/ydb_internal/kqp_session_common/kqp_session_common.h b/src/client/impl/ydb_internal/kqp_session_common/kqp_session_common.h index 2825407a47f..b9b080f92d1 100644 --- a/src/client/impl/ydb_internal/kqp_session_common/kqp_session_common.h +++ b/src/client/impl/ydb_internal/kqp_session_common/kqp_session_common.h @@ -4,7 +4,7 @@ #include #include -#include +#include #include diff --git a/src/client/impl/ydb_internal/logger/log.cpp b/src/client/impl/ydb_internal/logger/log.cpp index 351c8c53766..5f178a358db 100644 --- a/src/client/impl/ydb_internal/logger/log.cpp +++ b/src/client/impl/ydb_internal/logger/log.cpp @@ -1,10 +1,10 @@ #define INCLUDE_YDB_INTERNAL_H #include "log.h" -#include +#include #include -#include +#include namespace NYdb { diff --git a/src/client/impl/ydb_internal/plain_status/status.cpp b/src/client/impl/ydb_internal/plain_status/status.cpp index a61071bd746..20346d4f0a6 100644 --- a/src/client/impl/ydb_internal/plain_status/status.cpp +++ b/src/client/impl/ydb_internal/plain_status/status.cpp @@ -1,7 +1,7 @@ #define INCLUDE_YDB_INTERNAL_H #include "status.h" -#include +#include namespace NYdb { diff --git a/src/client/impl/ydb_internal/retry/retry.cpp b/src/client/impl/ydb_internal/retry/retry.cpp index 5e810b3fcb8..b5ac1803690 100644 --- a/src/client/impl/ydb_internal/retry/retry.cpp +++ b/src/client/impl/ydb_internal/retry/retry.cpp @@ -1,5 +1,5 @@ #include "retry.h" -#include +#include #include #include diff --git a/src/client/impl/ydb_internal/retry/retry.h b/src/client/impl/ydb_internal/retry/retry.h index 5d19736cb73..5f501de9161 100644 --- a/src/client/impl/ydb_internal/retry/retry.h +++ b/src/client/impl/ydb_internal/retry/retry.h @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/client/impl/ydb_internal/retry/retry_async.h b/src/client/impl/ydb_internal/retry/retry_async.h index 3b616c05d94..42a37ffcc19 100644 --- a/src/client/impl/ydb_internal/retry/retry_async.h +++ b/src/client/impl/ydb_internal/retry/retry_async.h @@ -2,7 +2,7 @@ #include -#include +#include namespace NYdb::NRetry::Async { diff --git a/src/client/impl/ydb_internal/session_pool/session_pool.cpp b/src/client/impl/ydb_internal/session_pool/session_pool.cpp index fffe508c49c..155db1a6bbf 100644 --- a/src/client/impl/ydb_internal/session_pool/session_pool.cpp +++ b/src/client/impl/ydb_internal/session_pool/session_pool.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include namespace NYdb { namespace NSessionPool { diff --git a/src/client/impl/ydb_internal/thread_pool/pool.h b/src/client/impl/ydb_internal/thread_pool/pool.h index 03d7061f36d..2c69a320ff9 100644 --- a/src/client/impl/ydb_internal/thread_pool/pool.h +++ b/src/client/impl/ydb_internal/thread_pool/pool.h @@ -2,7 +2,7 @@ #include -#include +#include #include diff --git a/src/client/impl/ydb_internal/value_helpers/helpers.cpp b/src/client/impl/ydb_internal/value_helpers/helpers.cpp index c88bc7a5e26..0bb6a1b322f 100644 --- a/src/client/impl/ydb_internal/value_helpers/helpers.cpp +++ b/src/client/impl/ydb_internal/value_helpers/helpers.cpp @@ -2,9 +2,9 @@ #include "helpers.h" #include -#include +#include -#include +#include namespace NYdb { diff --git a/src/client/params/params.cpp b/src/client/params/params.cpp index 40be665f811..e872273c52a 100644 --- a/src/client/params/params.cpp +++ b/src/client/params/params.cpp @@ -6,7 +6,7 @@ #include -#include +#include namespace NYdb { diff --git a/src/client/persqueue_core/impl/callback_context.h b/src/client/persqueue_core/impl/callback_context.h index 5265a8f3520..9ac3cf15730 100644 --- a/src/client/persqueue_core/impl/callback_context.h +++ b/src/client/persqueue_core/impl/callback_context.h @@ -1,8 +1,8 @@ #pragma once #include -#include -#include +#include +#include #include #include diff --git a/src/client/persqueue_core/impl/common.h b/src/client/persqueue_core/impl/common.h index 7b7372bf2c9..f2764b5cfd2 100644 --- a/src/client/persqueue_core/impl/common.h +++ b/src/client/persqueue_core/impl/common.h @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/src/client/persqueue_core/impl/counters_logger.h b/src/client/persqueue_core/impl/counters_logger.h index 4fb7108dbe7..35980e3d439 100644 --- a/src/client/persqueue_core/impl/counters_logger.h +++ b/src/client/persqueue_core/impl/counters_logger.h @@ -8,7 +8,7 @@ #include #include -#include +#include namespace NYdb::NPersQueue { diff --git a/src/client/persqueue_core/impl/persqueue.cpp b/src/client/persqueue_core/impl/persqueue.cpp index cc85156a902..943ff5ff0ec 100644 --- a/src/client/persqueue_core/impl/persqueue.cpp +++ b/src/client/persqueue_core/impl/persqueue.cpp @@ -5,9 +5,9 @@ #include -#include -#include -#include +#include +#include +#include namespace NYdb::NPersQueue { diff --git a/src/client/persqueue_core/impl/read_session.cpp b/src/client/persqueue_core/impl/read_session.cpp index e8e82a8b77d..aeb7b84afb3 100644 --- a/src/client/persqueue_core/impl/read_session.cpp +++ b/src/client/persqueue_core/impl/read_session.cpp @@ -11,9 +11,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/client/persqueue_core/impl/read_session.h b/src/client/persqueue_core/impl/read_session.h index 6d96b602adf..e815e722178 100644 --- a/src/client/persqueue_core/impl/read_session.h +++ b/src/client/persqueue_core/impl/read_session.h @@ -13,7 +13,7 @@ #include -#include +#include #include #include diff --git a/src/client/persqueue_core/impl/read_session.ipp b/src/client/persqueue_core/impl/read_session.ipp index 72bdc084b4d..650970495fb 100644 --- a/src/client/persqueue_core/impl/read_session.ipp +++ b/src/client/persqueue_core/impl/read_session.ipp @@ -17,9 +17,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/client/persqueue_core/impl/write_session.cpp b/src/client/persqueue_core/impl/write_session.cpp index 96645f16ef8..4758a19f0b4 100644 --- a/src/client/persqueue_core/impl/write_session.cpp +++ b/src/client/persqueue_core/impl/write_session.cpp @@ -5,8 +5,8 @@ #include -#include -#include +#include +#include #include diff --git a/src/client/persqueue_core/impl/write_session_impl.cpp b/src/client/persqueue_core/impl/write_session_impl.cpp index cd1f46170fb..0fdfa7a9135 100644 --- a/src/client/persqueue_core/impl/write_session_impl.cpp +++ b/src/client/persqueue_core/impl/write_session_impl.cpp @@ -4,8 +4,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/src/client/persqueue_core/persqueue.h b/src/client/persqueue_core/persqueue.h index 66f563f1057..af6d8856103 100644 --- a/src/client/persqueue_core/persqueue.h +++ b/src/client/persqueue_core/persqueue.h @@ -6,14 +6,14 @@ #include #include #include -#include +#include #include #include -#include +#include #include -#include -#include +#include +#include #include #include diff --git a/src/client/persqueue_core/ut/basic_usage_ut.cpp b/src/client/persqueue_core/ut/basic_usage_ut.cpp index 168c1a2e08d..576a67effe6 100644 --- a/src/client/persqueue_core/ut/basic_usage_ut.cpp +++ b/src/client/persqueue_core/ut/basic_usage_ut.cpp @@ -4,11 +4,11 @@ #include #include -#include +#include #include -#include +#include #include -#include +#include #include #include diff --git a/src/client/persqueue_core/ut/ut_utils/test_utils.h b/src/client/persqueue_core/ut/ut_utils/test_utils.h index b8e7db3b2d8..7789a51ed71 100644 --- a/src/client/persqueue_core/ut/ut_utils/test_utils.h +++ b/src/client/persqueue_core/ut/ut_utils/test_utils.h @@ -1,5 +1,5 @@ #pragma once -#include +#include #include #include #include diff --git a/src/client/persqueue_public/codecs/codecs.cpp b/src/client/persqueue_public/codecs/codecs.cpp index f06635c2682..c565b6d3d38 100644 --- a/src/client/persqueue_public/codecs/codecs.cpp +++ b/src/client/persqueue_public/codecs/codecs.cpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include "codecs.h" diff --git a/src/client/persqueue_public/codecs/codecs.h b/src/client/persqueue_public/codecs/codecs.h index 456dfa5ffe0..a8438897392 100644 --- a/src/client/persqueue_public/codecs/codecs.h +++ b/src/client/persqueue_public/codecs/codecs.h @@ -1,5 +1,5 @@ #pragma once -#include +#include #include #include #include diff --git a/src/client/result/result.cpp b/src/client/result/result.cpp index 55b525085e7..e66e53afced 100644 --- a/src/client/result/result.cpp +++ b/src/client/result/result.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include diff --git a/src/client/table/impl/client_session.cpp b/src/client/table/impl/client_session.cpp index acff281cca3..524528f5ddb 100644 --- a/src/client/table/impl/client_session.cpp +++ b/src/client/table/impl/client_session.cpp @@ -1,7 +1,7 @@ #include "client_session.h" #include "data_query.h" -#include +#include namespace NYdb { namespace NTable { diff --git a/src/client/table/impl/readers.h b/src/client/table/impl/readers.h index 9f14d364c0c..00ff9111b4a 100644 --- a/src/client/table/impl/readers.h +++ b/src/client/table/impl/readers.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include "client_session.h" #include "data_query.h" diff --git a/src/client/table/table.cpp b/src/client/table/table.cpp index 7f9ca85581d..64fcf981b7e 100644 --- a/src/client/table/table.cpp +++ b/src/client/table/table.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include @@ -477,11 +477,11 @@ class TTableDescription::TImpl { Attributes_[key] = value; } - void SetAttributes(const THashMap& attrs) { + void SetAttributes(const std::unordered_map& attrs) { Attributes_ = attrs; } - void SetAttributes(THashMap&& attrs) { + void SetAttributes(std::unordered_map&& attrs) { Attributes_ = std::move(attrs); } @@ -578,7 +578,7 @@ class TTableDescription::TImpl { return ColumnFamilies_; } - const THashMap& GetAttributes() const { + const std::unordered_map& GetAttributes() const { return Attributes_; } @@ -626,7 +626,7 @@ class TTableDescription::TImpl { std::vector PartitionStats_; TTableStats TableStats; std::vector ColumnFamilies_; - THashMap Attributes_; + std::unordered_map Attributes_; std::string CompactionPolicy_; std::optional UniformPartitions_; std::optional PartitionAtKeys_; @@ -777,11 +777,11 @@ void TTableDescription::AddAttribute(const std::string& key, const std::string& Impl_->AddAttribute(key, value); } -void TTableDescription::SetAttributes(const THashMap& attrs) { +void TTableDescription::SetAttributes(const std::unordered_map& attrs) { Impl_->SetAttributes(attrs); } -void TTableDescription::SetAttributes(THashMap&& attrs) { +void TTableDescription::SetAttributes(std::unordered_map&& attrs) { Impl_->SetAttributes(std::move(attrs)); } @@ -845,7 +845,7 @@ const std::vector& TTableDescription::GetColumnFamilie return Impl_->GetColumnFamilies(); } -const THashMap& TTableDescription::GetAttributes() const { +const std::unordered_map& TTableDescription::GetAttributes() const { return Impl_->GetAttributes(); } @@ -1238,12 +1238,12 @@ TTableBuilder& TTableBuilder::AddAttribute(const std::string& key, const std::st return *this; } -TTableBuilder& TTableBuilder::SetAttributes(const THashMap& attrs) { +TTableBuilder& TTableBuilder::SetAttributes(const std::unordered_map& attrs) { TableDescription_.SetAttributes(attrs); return *this; } -TTableBuilder& TTableBuilder::SetAttributes(THashMap&& attrs) { +TTableBuilder& TTableBuilder::SetAttributes(std::unordered_map&& attrs) { TableDescription_.SetAttributes(std::move(attrs)); return *this; } @@ -2362,12 +2362,12 @@ TChangefeedDescription& TChangefeedDescription::AddAttribute(const std::string& return *this; } -TChangefeedDescription& TChangefeedDescription::SetAttributes(const THashMap& attrs) { +TChangefeedDescription& TChangefeedDescription::SetAttributes(const std::unordered_map& attrs) { Attributes_ = attrs; return *this; } -TChangefeedDescription& TChangefeedDescription::SetAttributes(THashMap&& attrs) { +TChangefeedDescription& TChangefeedDescription::SetAttributes(std::unordered_map&& attrs) { Attributes_ = std::move(attrs); return *this; } @@ -2405,7 +2405,7 @@ bool TChangefeedDescription::GetInitialScan() const { return InitialScan_; } -const THashMap& TChangefeedDescription::GetAttributes() const { +const std::unordered_map& TChangefeedDescription::GetAttributes() const { return Attributes_; } diff --git a/src/client/topic/codecs/codecs.cpp b/src/client/topic/codecs/codecs.cpp index c4108bef3b5..a6d8c3d08fa 100644 --- a/src/client/topic/codecs/codecs.cpp +++ b/src/client/topic/codecs/codecs.cpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include "codecs.h" diff --git a/src/client/topic/codecs/codecs.h b/src/client/topic/codecs/codecs.h index e2373896b16..6ad51219b9c 100644 --- a/src/client/topic/codecs/codecs.h +++ b/src/client/topic/codecs/codecs.h @@ -1,5 +1,5 @@ #pragma once -#include +#include #include #include diff --git a/src/client/topic/impl/event_handlers.cpp b/src/client/topic/impl/event_handlers.cpp index 08e482eb3cf..0f7c034512f 100644 --- a/src/client/topic/impl/event_handlers.cpp +++ b/src/client/topic/impl/event_handlers.cpp @@ -87,8 +87,8 @@ class TGracefulReleasingSimpleDataHandlers : public TThrRefBase { TAdaptiveLock Lock; // For the case when user gave us multithreaded executor. const std::function DataHandler; const bool CommitAfterProcessing; - THashMap> PartitionStreamToUncommittedOffsets; // Partition stream id -> set of offsets. - THashMap UnconfirmedDestroys; // Partition stream id -> destroy events. + std::unordered_map> PartitionStreamToUncommittedOffsets; // Partition stream id -> set of offsets. + std::unordered_map UnconfirmedDestroys; // Partition stream id -> destroy events. }; TReadSessionSettings::TEventHandlers& TReadSessionSettings::TEventHandlers::SimpleDataHandlers(std::function dataHandler, diff --git a/src/client/topic/impl/executor.h b/src/client/topic/impl/executor.h index ca1b2ce7548..9d9b1a1dc97 100644 --- a/src/client/topic/impl/executor.h +++ b/src/client/topic/impl/executor.h @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NYdb::NTopic { diff --git a/src/client/topic/impl/topic.cpp b/src/client/topic/impl/topic.cpp index 95795e70605..d544eab2c64 100644 --- a/src/client/topic/impl/topic.cpp +++ b/src/client/topic/impl/topic.cpp @@ -6,9 +6,9 @@ #include -#include -#include -#include +#include +#include +#include namespace NYdb::NTopic { diff --git a/src/client/topic/impl/write_session_impl.cpp b/src/client/topic/impl/write_session_impl.cpp index 4a81aede6bd..b67348ce51a 100644 --- a/src/client/topic/impl/write_session_impl.cpp +++ b/src/client/topic/impl/write_session_impl.cpp @@ -7,8 +7,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/src/client/types/credentials/credentials.cpp b/src/client/types/credentials/credentials.cpp index 3ea31381401..161faf11237 100644 --- a/src/client/types/credentials/credentials.cpp +++ b/src/client/types/credentials/credentials.cpp @@ -1,5 +1,5 @@ #include -#include +#include namespace NYdb { diff --git a/src/client/types/credentials/login/login.cpp b/src/client/types/credentials/login/login.cpp index bf589b26f64..e4c24d6f085 100644 --- a/src/client/types/credentials/login/login.cpp +++ b/src/client/types/credentials/login/login.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include namespace NYdb { diff --git a/src/client/value/value.cpp b/src/client/value/value.cpp index f94713be3b9..ad9c38aebb3 100644 --- a/src/client/value/value.cpp +++ b/src/client/value/value.cpp @@ -10,14 +10,14 @@ #include #include -#include +#include #include #include #include #include -#include +#include namespace NYdb { diff --git a/src/json_value/ydb_json_value.cpp b/src/json_value/ydb_json_value.cpp index 33af406949a..00d4816868c 100644 --- a/src/json_value/ydb_json_value.cpp +++ b/src/json_value/ydb_json_value.cpp @@ -1,8 +1,8 @@ #include -#include +#include #include -#include +#include #include namespace NYdb { diff --git a/src/library/blockcodecs/codecs/brotli/brotli.cpp b/src/library/blockcodecs/codecs/brotli/brotli.cpp index ad9594b8932..620006c371c 100644 --- a/src/library/blockcodecs/codecs/brotli/brotli.cpp +++ b/src/library/blockcodecs/codecs/brotli/brotli.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/blockcodecs/codecs/lz4/lz4.cpp b/src/library/blockcodecs/codecs/lz4/lz4.cpp index d85eed1d0e6..2b93b9f9d1e 100644 --- a/src/library/blockcodecs/codecs/lz4/lz4.cpp +++ b/src/library/blockcodecs/codecs/lz4/lz4.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/blockcodecs/codecs/zstd/zstd.cpp b/src/library/blockcodecs/codecs/zstd/zstd.cpp index 5b5d5d10d95..515bbfa2b87 100644 --- a/src/library/blockcodecs/codecs/zstd/zstd.cpp +++ b/src/library/blockcodecs/codecs/zstd/zstd.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #define ZSTD_STATIC_LINKING_ONLY #include diff --git a/src/library/blockcodecs/codecs_ut.cpp b/src/library/blockcodecs/codecs_ut.cpp index 7c18898c623..fd90831f465 100644 --- a/src/library/blockcodecs/codecs_ut.cpp +++ b/src/library/blockcodecs/codecs_ut.cpp @@ -3,9 +3,9 @@ #include -#include +#include #include -#include +#include Y_UNIT_TEST_SUITE(TBlockCodecsTest) { using namespace NBlockCodecs; diff --git a/src/library/blockcodecs/core/codecs.cpp b/src/library/blockcodecs/core/codecs.cpp index e4ee1b6e271..5d1fabb9fc5 100644 --- a/src/library/blockcodecs/core/codecs.cpp +++ b/src/library/blockcodecs/core/codecs.cpp @@ -2,18 +2,18 @@ #include "common.h" #include "register.h" -#include +#include #include -#include -#include +#include +#include #include #include -#include +#include #include -#include +#include #include -#include -#include +#include +#include #include using namespace NBlockCodecs; diff --git a/src/library/blockcodecs/core/codecs.h b/src/library/blockcodecs/core/codecs.h index 6355fa86c6a..037ea57291d 100644 --- a/src/library/blockcodecs/core/codecs.h +++ b/src/library/blockcodecs/core/codecs.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include namespace NBlockCodecs { struct TData: public std::string_view { diff --git a/src/library/blockcodecs/core/common.h b/src/library/blockcodecs/core/common.h index fdb4aacd233..4620834eb42 100644 --- a/src/library/blockcodecs/core/common.h +++ b/src/library/blockcodecs/core/common.h @@ -2,18 +2,18 @@ #include "codecs.h" -#include +#include #include -#include -#include +#include +#include #include #include -#include +#include #include -#include +#include #include -#include -#include +#include +#include #include namespace NBlockCodecs { diff --git a/src/library/blockcodecs/core/stream.cpp b/src/library/blockcodecs/core/stream.cpp index 5a4b370d007..0b3bce99333 100644 --- a/src/library/blockcodecs/core/stream.cpp +++ b/src/library/blockcodecs/core/stream.cpp @@ -3,11 +3,11 @@ #include #include -#include +#include #include -#include -#include -#include +#include +#include +#include using namespace NBlockCodecs; diff --git a/src/library/blockcodecs/core/stream.h b/src/library/blockcodecs/core/stream.h index c26e152f3a1..a6fc9106679 100644 --- a/src/library/blockcodecs/core/stream.h +++ b/src/library/blockcodecs/core/stream.h @@ -1,9 +1,9 @@ #pragma once #include -#include -#include -#include +#include +#include +#include #include namespace NBlockCodecs { diff --git a/src/library/build_info/sandbox.cpp.in b/src/library/build_info/sandbox.cpp.in index da108d46ad0..73a87688868 100644 --- a/src/library/build_info/sandbox.cpp.in +++ b/src/library/build_info/sandbox.cpp.in @@ -1,7 +1,7 @@ #include #include -#include -#include +#include +#include #include extern "C" const char* GetSandboxTaskId() { diff --git a/src/library/cache/cache.h b/src/library/cache/cache.h index fd9391b8fd7..598d3e22e76 100644 --- a/src/library/cache/cache.h +++ b/src/library/cache/cache.h @@ -1,9 +1,9 @@ #pragma once -#include -#include +#include +#include #include -#include +#include #include #include diff --git a/src/library/cache/thread_safe_cache.h b/src/library/cache/thread_safe_cache.h index 1e41e89bc44..11646674105 100644 --- a/src/library/cache/thread_safe_cache.h +++ b/src/library/cache/thread_safe_cache.h @@ -2,9 +2,9 @@ #include "cache.h" -#include +#include #include -#include +#include namespace NPrivate { // We are interested in getters promotion policy _here_ because of Read-Write-Lock optimizations. diff --git a/src/library/case_insensitive_string/case_insensitive_char_traits.cpp b/src/library/case_insensitive_string/case_insensitive_char_traits.cpp index 3e6d8a81451..cba433358e2 100644 --- a/src/library/case_insensitive_string/case_insensitive_char_traits.cpp +++ b/src/library/case_insensitive_string/case_insensitive_char_traits.cpp @@ -1,7 +1,7 @@ #include "case_insensitive_char_traits.h" #include "case_insensitive_string.h" -#include +#include int TCaseInsensitiveCharTraits::compare(const char* s1, const char* s2, std::size_t n) { while (n-- != 0) { diff --git a/src/library/cgiparam/cgiparam.cpp b/src/library/cgiparam/cgiparam.cpp index fa84e788905..2f402ad406b 100644 --- a/src/library/cgiparam/cgiparam.cpp +++ b/src/library/cgiparam/cgiparam.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include diff --git a/src/library/charset/ci_string.h b/src/library/charset/ci_string.h index 6630924b2da..a3af9e7423f 100644 --- a/src/library/charset/ci_string.h +++ b/src/library/charset/ci_string.h @@ -3,7 +3,7 @@ #include "codepage.h" #include -#include +#include // Same as std::string but uses CASE INSENSITIVE comparator and hash. Use with care. class TCiString: public std::string { diff --git a/src/library/charset/codepage.cpp b/src/library/charset/codepage.cpp index 7cf66fe80fc..9774f1156e1 100644 --- a/src/library/charset/codepage.cpp +++ b/src/library/charset/codepage.cpp @@ -1,16 +1,16 @@ #include "ci_string.h" #include "codepage.h" -#include -#include +#include +#include #include #include -#include +#include #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/charset/codepage.h b/src/library/charset/codepage.h index 1ecd748d47e..abb499209bb 100644 --- a/src/library/charset/codepage.h +++ b/src/library/charset/codepage.h @@ -9,8 +9,8 @@ #include #include #include -#include -#include +#include +#include #include struct CodePage; diff --git a/src/library/charset/codepage_ut.cpp b/src/library/charset/codepage_ut.cpp index 9012acd567c..1154514b7d4 100644 --- a/src/library/charset/codepage_ut.cpp +++ b/src/library/charset/codepage_ut.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include #if defined(_MSC_VER) #pragma warning(disable : 4309) /*truncation of constant value*/ diff --git a/src/library/charset/cp_encrec.cpp b/src/library/charset/cp_encrec.cpp index 86d0b4da06f..9aa0c890b3f 100644 --- a/src/library/charset/cp_encrec.cpp +++ b/src/library/charset/cp_encrec.cpp @@ -1,6 +1,6 @@ #include "codepage.h" -#include +#include void Encoder::Tr(const wchar32* in, char* out, size_t len) const { while (len--) diff --git a/src/library/charset/iconv.h b/src/library/charset/iconv.h index acd6c4a95da..0f5338ab005 100644 --- a/src/library/charset/iconv.h +++ b/src/library/charset/iconv.h @@ -2,7 +2,7 @@ #include "codepage.h" -#include +#include // WARNING: Do not use this functions - use functions from wide.h or recyr.hh instead. diff --git a/src/library/charset/recyr.hh b/src/library/charset/recyr.hh index 8d17fb3ad62..240cf218167 100644 --- a/src/library/charset/recyr.hh +++ b/src/library/charset/recyr.hh @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include #include "codepage.h" #include "doccodes.h" diff --git a/src/library/charset/recyr_int.hh b/src/library/charset/recyr_int.hh index 50b221e4da9..7acb1bab915 100644 --- a/src/library/charset/recyr_int.hh +++ b/src/library/charset/recyr_int.hh @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/charset/recyr_int_ut.cpp b/src/library/charset/recyr_int_ut.cpp index 424a3267c50..60f96c42a57 100644 --- a/src/library/charset/recyr_int_ut.cpp +++ b/src/library/charset/recyr_int_ut.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include class TRecyr_intTest: public TTestBase { private: diff --git a/src/library/charset/wide_ut.cpp b/src/library/charset/wide_ut.cpp index d4ccef57e77..c2a1df0c3f6 100644 --- a/src/library/charset/wide_ut.cpp +++ b/src/library/charset/wide_ut.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/colorizer/colors.cpp b/src/library/colorizer/colors.cpp index d31f7ec30c5..a4f5d9759e5 100644 --- a/src/library/colorizer/colors.cpp +++ b/src/library/colorizer/colors.cpp @@ -1,7 +1,7 @@ #include "colors.h" -#include -#include +#include +#include #include diff --git a/src/library/colorizer/output.cpp b/src/library/colorizer/output.cpp index 6985df11374..4799f16f564 100644 --- a/src/library/colorizer/output.cpp +++ b/src/library/colorizer/output.cpp @@ -1,6 +1,6 @@ #include "output.h" -#include +#include using namespace NColorizer; diff --git a/src/library/colorizer/ut/colorizer_ut.cpp b/src/library/colorizer/ut/colorizer_ut.cpp index 96d62aab88c..dd60102b37f 100644 --- a/src/library/colorizer/ut/colorizer_ut.cpp +++ b/src/library/colorizer/ut/colorizer_ut.cpp @@ -1,9 +1,9 @@ #include #include -#include +#include -#include +#include Y_UNIT_TEST_SUITE(ColorizerTest) { Y_UNIT_TEST(BasicTest) { diff --git a/src/library/containers/disjoint_interval_tree/disjoint_interval_tree.h b/src/library/containers/disjoint_interval_tree/disjoint_interval_tree.h index 7a5d2ba9cf8..8cbd6d48a1d 100644 --- a/src/library/containers/disjoint_interval_tree/disjoint_interval_tree.h +++ b/src/library/containers/disjoint_interval_tree/disjoint_interval_tree.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/containers/intrusive_rb_tree/rb_tree.h b/src/library/containers/intrusive_rb_tree/rb_tree.h index 95219b1beaa..e58240a6099 100644 --- a/src/library/containers/intrusive_rb_tree/rb_tree.h +++ b/src/library/containers/intrusive_rb_tree/rb_tree.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include using TRbTreeColorType = bool; diff --git a/src/library/containers/paged_vector/paged_vector.h b/src/library/containers/paged_vector/paged_vector.h index e0e8c2e205a..85a73c0ed2f 100644 --- a/src/library/containers/paged_vector/paged_vector.h +++ b/src/library/containers/paged_vector/paged_vector.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/coroutine/engine/cont_poller.h b/src/library/coroutine/engine/cont_poller.h index a4b9fb49e4a..93e624ef89e 100644 --- a/src/library/coroutine/engine/cont_poller.h +++ b/src/library/coroutine/engine/cont_poller.h @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include diff --git a/src/library/coroutine/engine/coroutine_ut.cpp b/src/library/coroutine/engine/coroutine_ut.cpp index f617dc2ef8e..c103e43b651 100644 --- a/src/library/coroutine/engine/coroutine_ut.cpp +++ b/src/library/coroutine/engine/coroutine_ut.cpp @@ -5,12 +5,12 @@ #include #include -#include +#include #include #include #include #include -#include +#include #include #include diff --git a/src/library/coroutine/engine/impl.cpp b/src/library/coroutine/engine/impl.cpp index 9944763f79e..eb285afd95b 100644 --- a/src/library/coroutine/engine/impl.cpp +++ b/src/library/coroutine/engine/impl.cpp @@ -6,8 +6,8 @@ #include #include #include -#include -#include +#include +#include TCont::TJoinWait::TJoinWait(TCont& c) noexcept : Cont_(c) diff --git a/src/library/coroutine/engine/impl.h b/src/library/coroutine/engine/impl.h index a6bc6ca6f2b..fd041b29e9b 100644 --- a/src/library/coroutine/engine/impl.h +++ b/src/library/coroutine/engine/impl.h @@ -10,11 +10,11 @@ #include -#include -#include +#include +#include #include #include -#include +#include #include diff --git a/src/library/coroutine/engine/iostatus.h b/src/library/coroutine/engine/iostatus.h index d57efad13d3..401c2571d6f 100644 --- a/src/library/coroutine/engine/iostatus.h +++ b/src/library/coroutine/engine/iostatus.h @@ -1,6 +1,6 @@ #pragma once -#include +#include class TIOStatus { public: diff --git a/src/library/coroutine/engine/network.cpp b/src/library/coroutine/engine/network.cpp index 627c3196af8..b249afeafa4 100644 --- a/src/library/coroutine/engine/network.cpp +++ b/src/library/coroutine/engine/network.cpp @@ -2,7 +2,7 @@ #include "network.h" #include -#include +#include #include diff --git a/src/library/coroutine/engine/network.h b/src/library/coroutine/engine/network.h index e2441d188e9..8529e0c4e89 100644 --- a/src/library/coroutine/engine/network.h +++ b/src/library/coroutine/engine/network.h @@ -3,10 +3,10 @@ #include "iostatus.h" #include -#include +#include #include #include -#include +#include class TCont; diff --git a/src/library/coroutine/engine/poller.cpp b/src/library/coroutine/engine/poller.cpp index 310121d7f6f..1dfd3eb6938 100644 --- a/src/library/coroutine/engine/poller.cpp +++ b/src/library/coroutine/engine/poller.cpp @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include namespace { using TChange = IPollerFace::TChange; diff --git a/src/library/coroutine/engine/poller.h b/src/library/coroutine/engine/poller.h index 52ada776479..afd89e81e82 100644 --- a/src/library/coroutine/engine/poller.h +++ b/src/library/coroutine/engine/poller.h @@ -1,8 +1,8 @@ #pragma once -#include +#include -#include +#include #include #include diff --git a/src/library/coroutine/engine/sockpool.h b/src/library/coroutine/engine/sockpool.h index 009563edffe..022877ecd00 100644 --- a/src/library/coroutine/engine/sockpool.h +++ b/src/library/coroutine/engine/sockpool.h @@ -3,8 +3,8 @@ #include "impl.h" #include "network.h" -#include -#include +#include +#include #include diff --git a/src/library/coroutine/engine/stack/benchmark/alloc_bm.cpp b/src/library/coroutine/engine/stack/benchmark/alloc_bm.cpp index d7a9a97f665..a92f073703f 100644 --- a/src/library/coroutine/engine/stack/benchmark/alloc_bm.cpp +++ b/src/library/coroutine/engine/stack/benchmark/alloc_bm.cpp @@ -1,7 +1,7 @@ #include -#include +#include #include #include diff --git a/src/library/coroutine/engine/stack/stack.h b/src/library/coroutine/engine/stack/stack.h index 8fe61c93cca..ae854e08335 100644 --- a/src/library/coroutine/engine/stack/stack.h +++ b/src/library/coroutine/engine/stack/stack.h @@ -1,7 +1,7 @@ #pragma once #include -#include -#include +#include +#include #include diff --git a/src/library/coroutine/engine/stack/stack_allocator.h b/src/library/coroutine/engine/stack/stack_allocator.h index c6c1beeb812..519a13218a2 100644 --- a/src/library/coroutine/engine/stack/stack_allocator.h +++ b/src/library/coroutine/engine/stack/stack_allocator.h @@ -3,8 +3,8 @@ #include "stack.h" #include "stack_common.h" -#include -#include +#include +#include #include #include diff --git a/src/library/coroutine/engine/stack/stack_guards.h b/src/library/coroutine/engine/stack/stack_guards.h index a71f8b90660..eca295b7a46 100644 --- a/src/library/coroutine/engine/stack/stack_guards.h +++ b/src/library/coroutine/engine/stack/stack_guards.h @@ -2,7 +2,7 @@ #include "stack_common.h" -#include +#include #include #include #include diff --git a/src/library/coroutine/engine/stack/stack_pool.h b/src/library/coroutine/engine/stack/stack_pool.h index f07f7009f73..4680f4b6480 100644 --- a/src/library/coroutine/engine/stack/stack_pool.h +++ b/src/library/coroutine/engine/stack/stack_pool.h @@ -3,8 +3,8 @@ #include "stack.h" #include "stack_common.h" -#include -#include +#include +#include diff --git a/src/library/coroutine/engine/stack/stack_utils.cpp b/src/library/coroutine/engine/stack/stack_utils.cpp index cbe49994b7a..e5f45163261 100644 --- a/src/library/coroutine/engine/stack/stack_utils.cpp +++ b/src/library/coroutine/engine/stack/stack_utils.cpp @@ -1,7 +1,7 @@ #include "stack_utils.h" #include -#include +#include #ifdef _linux_ #include diff --git a/src/library/coroutine/engine/trampoline.cpp b/src/library/coroutine/engine/trampoline.cpp index 196ccc0a17a..70708ef2f0c 100644 --- a/src/library/coroutine/engine/trampoline.cpp +++ b/src/library/coroutine/engine/trampoline.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/library/coroutine/engine/trampoline.h b/src/library/coroutine/engine/trampoline.h index a5905e8ae09..08c2e51f253 100644 --- a/src/library/coroutine/engine/trampoline.h +++ b/src/library/coroutine/engine/trampoline.h @@ -3,8 +3,8 @@ #include "stack/stack_common.h" #include "stack/stack.h" -#include -#include +#include +#include #include #include diff --git a/src/library/coroutine/listener/listen.cpp b/src/library/coroutine/listener/listen.cpp index b3a420292e4..dc7dadf0ea5 100644 --- a/src/library/coroutine/listener/listen.cpp +++ b/src/library/coroutine/listener/listen.cpp @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/cppparser/parser.cpp b/src/library/cppparser/parser.cpp index 34e6c2eeb43..e53c976cda8 100644 --- a/src/library/cppparser/parser.cpp +++ b/src/library/cppparser/parser.cpp @@ -1,6 +1,6 @@ #include -#include -#include +#include +#include #include #include "parser.h" diff --git a/src/library/cppparser/parser.h b/src/library/cppparser/parser.h index 6d283d2c08b..bd96be87025 100644 --- a/src/library/cppparser/parser.h +++ b/src/library/cppparser/parser.h @@ -1,8 +1,8 @@ #pragma once -#include +#include #include -#include +#include class TCppSaxParser: public IOutputStream { public: diff --git a/src/library/cpuid_check/cpu_id_check.cpp b/src/library/cpuid_check/cpu_id_check.cpp index 148ab468479..29ebef2ce4d 100644 --- a/src/library/cpuid_check/cpu_id_check.cpp +++ b/src/library/cpuid_check/cpu_id_check.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include diff --git a/src/library/dbg_output/dump.h b/src/library/dbg_output/dump.h index 573d54427dc..37e9c6db7d3 100644 --- a/src/library/dbg_output/dump.h +++ b/src/library/dbg_output/dump.h @@ -6,7 +6,7 @@ #include "colorscheme.h" #include -#include +#include #include #include diff --git a/src/library/dbg_output/dumpers.h b/src/library/dbg_output/dumpers.h index 746d57a6a40..660926fde5f 100644 --- a/src/library/dbg_output/dumpers.h +++ b/src/library/dbg_output/dumpers.h @@ -2,7 +2,7 @@ #include "engine.h" -#include +#include #include #include diff --git a/src/library/dbg_output/engine.cpp b/src/library/dbg_output/engine.cpp index ad6ada654b0..f5e48f05a08 100644 --- a/src/library/dbg_output/engine.cpp +++ b/src/library/dbg_output/engine.cpp @@ -1,7 +1,7 @@ #include "engine.h" -#include -#include +#include +#include #if !defined(DBGDUMP_INLINE_IF_INCLUDED) #define DBGDUMP_INLINE_IF_INCLUDED diff --git a/src/library/dbg_output/engine.h b/src/library/dbg_output/engine.h index 936faa80d58..e87781fcd94 100644 --- a/src/library/dbg_output/engine.h +++ b/src/library/dbg_output/engine.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/dbg_output/ut/dbg_output_ut.cpp b/src/library/dbg_output/ut/dbg_output_ut.cpp index 3cdb48aba64..628d29164fb 100644 --- a/src/library/dbg_output/ut/dbg_output_ut.cpp +++ b/src/library/dbg_output/ut/dbg_output_ut.cpp @@ -1,9 +1,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include namespace { diff --git a/src/library/diff/diff.h b/src/library/diff/diff.h index 2a154ba9f41..8b15824b561 100644 --- a/src/library/diff/diff.h +++ b/src/library/diff/diff.h @@ -2,12 +2,12 @@ #include -#include +#include #include #include -#include +#include #include namespace NDiff { diff --git a/src/library/digest/argonish/argon2.h b/src/library/digest/argonish/argon2.h index d34d27140f1..1421682c7a4 100644 --- a/src/library/digest/argonish/argon2.h +++ b/src/library/digest/argonish/argon2.h @@ -2,7 +2,7 @@ #include "common.h" -#include +#include #include namespace NArgonish { diff --git a/src/library/digest/argonish/blake2b.h b/src/library/digest/argonish/blake2b.h index dcb0464a6b7..2dd404c0bc9 100644 --- a/src/library/digest/argonish/blake2b.h +++ b/src/library/digest/argonish/blake2b.h @@ -2,7 +2,7 @@ #include "common.h" -#include +#include namespace NArgonish { /** diff --git a/src/library/digest/argonish/factory/factory.cpp b/src/library/digest/argonish/factory/factory.cpp index dee5c6c7d18..98aff805b54 100644 --- a/src/library/digest/argonish/factory/factory.cpp +++ b/src/library/digest/argonish/factory/factory.cpp @@ -13,7 +13,7 @@ #endif #include -#include +#include namespace NArgonish { static EInstructionSet GetBestSet() { diff --git a/src/library/digest/argonish/internal/argon2/argon2_base.h b/src/library/digest/argonish/internal/argon2/argon2_base.h index 79b42260b49..961ed13bfe2 100644 --- a/src/library/digest/argonish/internal/argon2/argon2_base.h +++ b/src/library/digest/argonish/internal/argon2/argon2_base.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/argonish/internal/blake2b/blake2b.h b/src/library/digest/argonish/internal/blake2b/blake2b.h index 613fe40d64a..60ef8a61120 100644 --- a/src/library/digest/argonish/internal/blake2b/blake2b.h +++ b/src/library/digest/argonish/internal/blake2b/blake2b.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/digest/argonish/internal/proxies/avx2/proxy_avx2.h b/src/library/digest/argonish/internal/proxies/avx2/proxy_avx2.h index b181dc7776e..acba78a803a 100644 --- a/src/library/digest/argonish/internal/proxies/avx2/proxy_avx2.h +++ b/src/library/digest/argonish/internal/proxies/avx2/proxy_avx2.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/argonish/internal/proxies/ref/proxy_ref.h b/src/library/digest/argonish/internal/proxies/ref/proxy_ref.h index c52fba79baf..1a4dca21178 100644 --- a/src/library/digest/argonish/internal/proxies/ref/proxy_ref.h +++ b/src/library/digest/argonish/internal/proxies/ref/proxy_ref.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/argonish/internal/proxies/sse2/proxy_sse2.h b/src/library/digest/argonish/internal/proxies/sse2/proxy_sse2.h index 2b0c9f16dab..a9894d48b0a 100644 --- a/src/library/digest/argonish/internal/proxies/sse2/proxy_sse2.h +++ b/src/library/digest/argonish/internal/proxies/sse2/proxy_sse2.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/argonish/internal/proxies/sse41/proxy_sse41.h b/src/library/digest/argonish/internal/proxies/sse41/proxy_sse41.h index 96100e3ad27..adfef39fa7a 100644 --- a/src/library/digest/argonish/internal/proxies/sse41/proxy_sse41.h +++ b/src/library/digest/argonish/internal/proxies/sse41/proxy_sse41.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/argonish/internal/proxies/ssse3/proxy_ssse3.h b/src/library/digest/argonish/internal/proxies/ssse3/proxy_ssse3.h index 18d5ad69f7f..b7f13ab8ead 100644 --- a/src/library/digest/argonish/internal/proxies/ssse3/proxy_ssse3.h +++ b/src/library/digest/argonish/internal/proxies/ssse3/proxy_ssse3.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include #include diff --git a/src/library/digest/lower_case/hash_ops.cpp b/src/library/digest/lower_case/hash_ops.cpp index ed96cd81bea..f96f580131c 100644 --- a/src/library/digest/lower_case/hash_ops.cpp +++ b/src/library/digest/lower_case/hash_ops.cpp @@ -2,7 +2,7 @@ #include "lciter.h" #include "hash_ops.h" -#include +#include size_t TCIOps::operator()(const std::string_view& s) const noexcept { return FnvCaseLess(s, (size_t)0xBEE); diff --git a/src/library/digest/lower_case/lciter.h b/src/library/digest/lower_case/lciter.h index 1a00963e9fa..0b95453ec29 100644 --- a/src/library/digest/lower_case/lciter.h +++ b/src/library/digest/lower_case/lciter.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include diff --git a/src/library/digest/md5/md5.cpp b/src/library/digest/md5/md5.cpp index b2fc87533db..c51887f108d 100644 --- a/src/library/digest/md5/md5.cpp +++ b/src/library/digest/md5/md5.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/digest/murmur/murmur.h b/src/library/digest/murmur/murmur.h index 29d1c1afada..bd0cba56662 100644 --- a/src/library/digest/murmur/murmur.h +++ b/src/library/digest/murmur/murmur.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include /* * https://sites.google.com/site/murmurhash/ diff --git a/src/library/getopt/small/completer.cpp b/src/library/getopt/small/completer.cpp index b49211df0e7..f17b7c14ef6 100644 --- a/src/library/getopt/small/completer.cpp +++ b/src/library/getopt/small/completer.cpp @@ -2,7 +2,7 @@ #include "completion_generator.h" -#include +#include #include using NLastGetopt::NEscaping::Q; diff --git a/src/library/getopt/small/completer.h b/src/library/getopt/small/completer.h index 5423f03bbf9..16c07314417 100644 --- a/src/library/getopt/small/completer.h +++ b/src/library/getopt/small/completer.h @@ -2,7 +2,7 @@ #include "formatted_output.h" -#include +#include namespace NLastGetopt::NComp { class ICompleter; diff --git a/src/library/getopt/small/formatted_output.cpp b/src/library/getopt/small/formatted_output.cpp index ec1912e3515..fa8c1a865b3 100644 --- a/src/library/getopt/small/formatted_output.cpp +++ b/src/library/getopt/small/formatted_output.cpp @@ -1,7 +1,7 @@ #include "formatted_output.h" -#include -#include +#include +#include #include diff --git a/src/library/getopt/small/formatted_output.h b/src/library/getopt/small/formatted_output.h index 5e367c6d800..d437e570ca8 100644 --- a/src/library/getopt/small/formatted_output.h +++ b/src/library/getopt/small/formatted_output.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/library/getopt/small/last_getopt.h b/src/library/getopt/small/last_getopt.h index 0b8e23a0948..506f07da6f4 100644 --- a/src/library/getopt/small/last_getopt.h +++ b/src/library/getopt/small/last_getopt.h @@ -4,8 +4,8 @@ #include "last_getopt_easy_setup.h" #include "last_getopt_parse_result.h" -#include -#include +#include +#include #include /// see some documentation in diff --git a/src/library/getopt/small/last_getopt_opt.h b/src/library/getopt/small/last_getopt_opt.h index 57c8c5ddced..848eccb2ed0 100644 --- a/src/library/getopt/small/last_getopt_opt.h +++ b/src/library/getopt/small/last_getopt_opt.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/getopt/small/last_getopt_opts.cpp b/src/library/getopt/small/last_getopt_opts.cpp index 05efa48967e..cb21f67baaf 100644 --- a/src/library/getopt/small/last_getopt_opts.cpp +++ b/src/library/getopt/small/last_getopt_opts.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/getopt/small/last_getopt_parser.cpp b/src/library/getopt/small/last_getopt_parser.cpp index 4cec3f119ef..6626d853c00 100644 --- a/src/library/getopt/small/last_getopt_parser.cpp +++ b/src/library/getopt/small/last_getopt_parser.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NLastGetopt { void TOptsParser::Init(const TOpts* opts, int argc, const char* argv[]) { diff --git a/src/library/getopt/small/last_getopt_support.h b/src/library/getopt/small/last_getopt_support.h index 342b8bb7983..a95f32bbfe0 100644 --- a/src/library/getopt/small/last_getopt_support.h +++ b/src/library/getopt/small/last_getopt_support.h @@ -2,11 +2,11 @@ #include -#include -#include +#include +#include -#include -#include +#include +#include #include diff --git a/src/library/getopt/small/modchooser.cpp b/src/library/getopt/small/modchooser.cpp index 5108696d221..190ea29ba11 100644 --- a/src/library/getopt/small/modchooser.cpp +++ b/src/library/getopt/small/modchooser.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include class PtrWrapper: public TMainClass { public: diff --git a/src/library/getopt/small/opt.cpp b/src/library/getopt/small/opt.cpp index 8964de9d0ec..698d4c48353 100644 --- a/src/library/getopt/small/opt.cpp +++ b/src/library/getopt/small/opt.cpp @@ -1,6 +1,6 @@ #include "opt.h" -#include +#include #include diff --git a/src/library/getopt/small/opt.h b/src/library/getopt/small/opt.h index 346e6c5f44f..dc91cb9f759 100644 --- a/src/library/getopt/small/opt.h +++ b/src/library/getopt/small/opt.h @@ -2,8 +2,8 @@ #include "last_getopt.h" -#include -#include +#include +#include // implementation of Opt class using last getopt diff --git a/src/library/getopt/small/wrap.cpp b/src/library/getopt/small/wrap.cpp index ed3a316cdc7..e6c0f88407e 100644 --- a/src/library/getopt/small/wrap.cpp +++ b/src/library/getopt/small/wrap.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include namespace NLastGetopt { diff --git a/src/library/getopt/small/ygetopt.h b/src/library/getopt/small/ygetopt.h index 43b4957f9ca..c9122abf1d0 100644 --- a/src/library/getopt/small/ygetopt.h +++ b/src/library/getopt/small/ygetopt.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include class TGetOpt { public: diff --git a/src/library/getopt/ut/last_getopt_ut.cpp b/src/library/getopt/ut/last_getopt_ut.cpp index 78ca506655e..b14178298f5 100644 --- a/src/library/getopt/ut/last_getopt_ut.cpp +++ b/src/library/getopt/ut/last_getopt_ut.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/getopt/ut/modchooser_ut.cpp b/src/library/getopt/ut/modchooser_ut.cpp index 6045a9a47bb..3dca4529cff 100644 --- a/src/library/getopt/ut/modchooser_ut.cpp +++ b/src/library/getopt/ut/modchooser_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include void ValidateArgcArgv(int argc, const char** argv) { UNIT_ASSERT_EQUAL(argc, 1); diff --git a/src/library/grpc/client/grpc_client_low.cpp b/src/library/grpc/client/grpc_client_low.cpp index d0e8de8b443..19fadfccee0 100644 --- a/src/library/grpc/client/grpc_client_low.cpp +++ b/src/library/grpc/client/grpc_client_low.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include #if !defined(_WIN32) && !defined(_WIN64) #include diff --git a/src/library/http/fetch/http_digest.cpp b/src/library/http/fetch/http_digest.cpp index 1e491701057..f167d2bce3d 100644 --- a/src/library/http/fetch/http_digest.cpp +++ b/src/library/http/fetch/http_digest.cpp @@ -1,8 +1,8 @@ #include "http_digest.h" #include -#include -#include +#include +#include /************************************************************/ /************************************************************/ diff --git a/src/library/http/fetch/http_digest.h b/src/library/http/fetch/http_digest.h index 4393d837ab8..38c536c74cf 100644 --- a/src/library/http/fetch/http_digest.h +++ b/src/library/http/fetch/http_digest.h @@ -2,7 +2,7 @@ #include -#include +#include #include class httpDigestHandler { diff --git a/src/library/http/fetch/http_socket.cpp b/src/library/http/fetch/http_socket.cpp index 2218655179f..e5e6bcc1961 100644 --- a/src/library/http/fetch/http_socket.cpp +++ b/src/library/http/fetch/http_socket.cpp @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/src/library/http/fetch/httpagent.h b/src/library/http/fetch/httpagent.h index 59baa083a1f..c4f0b44ef46 100644 --- a/src/library/http/fetch/httpagent.h +++ b/src/library/http/fetch/httpagent.h @@ -6,11 +6,11 @@ #include #include -#include -#include -#include +#include +#include +#include #include -#include +#include #include #include "sockhandler.h" diff --git a/src/library/http/fetch/httpfsm.h b/src/library/http/fetch/httpfsm.h index 081ee309b36..95dd7183930 100644 --- a/src/library/http/fetch/httpfsm.h +++ b/src/library/http/fetch/httpfsm.h @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/http/fetch/httpfsm_ut.cpp b/src/library/http/fetch/httpfsm_ut.cpp index 17f07d415b3..adac26edeff 100644 --- a/src/library/http/fetch/httpfsm_ut.cpp +++ b/src/library/http/fetch/httpfsm_ut.cpp @@ -2,7 +2,7 @@ #include "library-htfetch_ut_hreflang_in.h" #include "library-htfetch_ut_hreflang_out.h" -#include +#include #include #include diff --git a/src/library/http/fetch/httpload.h b/src/library/http/fetch/httpload.h index d8f8bd5a64c..9a6635942e9 100644 --- a/src/library/http/fetch/httpload.h +++ b/src/library/http/fetch/httpload.h @@ -4,8 +4,8 @@ #include "httpparser.h" #include "http_digest.h" -#include -#include +#include +#include #include #include diff --git a/src/library/http/fetch/httpparser.h b/src/library/http/fetch/httpparser.h index 3bf282faea7..950353351be 100644 --- a/src/library/http/fetch/httpparser.h +++ b/src/library/http/fetch/httpparser.h @@ -4,7 +4,7 @@ #include #include -#include +#include #include template diff --git a/src/library/http/fetch/httpzreader.h b/src/library/http/fetch/httpzreader.h index 166dbc83d57..cd17e24b129 100644 --- a/src/library/http/fetch/httpzreader.h +++ b/src/library/http/fetch/httpzreader.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include diff --git a/src/library/http/fetch/sockhandler.h b/src/library/http/fetch/sockhandler.h index f5ef245ac0f..a30da9b9299 100644 --- a/src/library/http/fetch/sockhandler.h +++ b/src/library/http/fetch/sockhandler.h @@ -4,13 +4,13 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include -#include +#include class TAddrList: public std::vector { private: diff --git a/src/library/http/io/benchmark/main.cpp b/src/library/http/io/benchmark/main.cpp index d9a7f364b8a..f2b6e675a05 100644 --- a/src/library/http/io/benchmark/main.cpp +++ b/src/library/http/io/benchmark/main.cpp @@ -2,7 +2,7 @@ #include -#include +#include void FindHeaderFirstMatch(benchmark::State& state) { THttpHeaders headers; diff --git a/src/library/http/io/chunk.h b/src/library/http/io/chunk.h index c208f01f113..abb180cf896 100644 --- a/src/library/http/io/chunk.h +++ b/src/library/http/io/chunk.h @@ -1,9 +1,9 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/src/library/http/io/compression.cpp b/src/library/http/io/compression.cpp index 2240ef0fa01..098877ac1d8 100644 --- a/src/library/http/io/compression.cpp +++ b/src/library/http/io/compression.cpp @@ -4,7 +4,7 @@ #include #endif -#include +#include #include #include #include diff --git a/src/library/http/io/fuzz/main.cpp b/src/library/http/io/fuzz/main.cpp index b11dc607072..7d20b777d8a 100644 --- a/src/library/http/io/fuzz/main.cpp +++ b/src/library/http/io/fuzz/main.cpp @@ -1,7 +1,7 @@ #include -#include +#include extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) { TMemoryInput mi(data, size); diff --git a/src/library/http/io/headers.cpp b/src/library/http/io/headers.cpp index 6bd8f3a892a..a637a73d5f3 100644 --- a/src/library/http/io/headers.cpp +++ b/src/library/http/io/headers.cpp @@ -1,8 +1,8 @@ #include #include -#include -#include +#include +#include static inline std::string_view Trim(const char* b, const char* e) noexcept { return StripString(std::string_view(b, e)); diff --git a/src/library/http/io/list_codings/main.cpp b/src/library/http/io/list_codings/main.cpp index 107773ef1b8..9fe7bcf66bf 100644 --- a/src/library/http/io/list_codings/main.cpp +++ b/src/library/http/io/list_codings/main.cpp @@ -1,5 +1,5 @@ #include -#include +#include int main() { for (auto codec : SupportedCodings()) { diff --git a/src/library/http/io/stream.cpp b/src/library/http/io/stream.cpp index 7f851e20f73..036e6e6c79b 100644 --- a/src/library/http/io/stream.cpp +++ b/src/library/http/io/stream.cpp @@ -12,11 +12,11 @@ #include #include -#include +#include -#include +#include -#include +#include #include diff --git a/src/library/http/io/stream_ut.cpp b/src/library/http/io/stream_ut.cpp index 51e11f22abf..2e298f77836 100644 --- a/src/library/http/io/stream_ut.cpp +++ b/src/library/http/io/stream_ut.cpp @@ -6,9 +6,9 @@ #include #include -#include +#include #include -#include +#include #include #include #include diff --git a/src/library/http/misc/httpdate.cpp b/src/library/http/misc/httpdate.cpp index 558a74d2712..da49d7a2c5f 100644 --- a/src/library/http/misc/httpdate.cpp +++ b/src/library/http/misc/httpdate.cpp @@ -35,8 +35,8 @@ #include #include -#include /* stricmp */ -#include +#include /* stricmp */ +#include #include "httpdate.h" #include diff --git a/src/library/http/misc/httpreqdata.cpp b/src/library/http/misc/httpreqdata.cpp index 12f44b3cce7..f296e2462d9 100644 --- a/src/library/http/misc/httpreqdata.cpp +++ b/src/library/http/misc/httpreqdata.cpp @@ -1,10 +1,10 @@ #include "httpreqdata.h" #include -#include +#include #include -#include +#include #include #include diff --git a/src/library/http/misc/httpreqdata.h b/src/library/http/misc/httpreqdata.h index 60abf0d9553..91b9f774c54 100644 --- a/src/library/http/misc/httpreqdata.h +++ b/src/library/http/misc/httpreqdata.h @@ -4,10 +4,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include #include using THttpHeadersContainer = THashMap; diff --git a/src/library/http/misc/parsed_request.cpp b/src/library/http/misc/parsed_request.cpp index 6b78050491d..1e2a9b111cc 100644 --- a/src/library/http/misc/parsed_request.cpp +++ b/src/library/http/misc/parsed_request.cpp @@ -2,10 +2,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include static inline std::string_view StripLeft(const std::string_view& s) noexcept { const char* b = s.begin(); diff --git a/src/library/http/server/conn.cpp b/src/library/http/server/conn.cpp index d0fe37d9a94..0a9bf419d4d 100644 --- a/src/library/http/server/conn.cpp +++ b/src/library/http/server/conn.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include class THttpServerConn::TImpl { diff --git a/src/library/http/server/http.cpp b/src/library/http/server/http.cpp index fc2d6b4a0f6..5577a546421 100644 --- a/src/library/http/server/http.cpp +++ b/src/library/http/server/http.cpp @@ -5,17 +5,17 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include -#include // stricmp, strnicmp, strlwr, strupr, stpcpy +#include // stricmp, strnicmp, strlwr, strupr, stpcpy #include -#include +#include #include #include -#include +#include #include #include diff --git a/src/library/http/server/http_ex.cpp b/src/library/http/server/http_ex.cpp index ce9825b2537..91d3531e021 100644 --- a/src/library/http/server/http_ex.cpp +++ b/src/library/http/server/http_ex.cpp @@ -1,7 +1,7 @@ #include "http_ex.h" #include -#include +#include #include bool THttpClientRequestExtension::Parse(char* req, TBaseServerRequestData& rd) { diff --git a/src/library/http/server/http_ut.cpp b/src/library/http/server/http_ut.cpp index cf09d3e490d..7366e8d155f 100644 --- a/src/library/http/server/http_ut.cpp +++ b/src/library/http/server/http_ut.cpp @@ -4,11 +4,11 @@ #include #include -#include -#include +#include +#include #include #include -#include +#include #include diff --git a/src/library/http/server/options.cpp b/src/library/http/server/options.cpp index 3b6d12235af..5c8367a0924 100644 --- a/src/library/http/server/options.cpp +++ b/src/library/http/server/options.cpp @@ -1,10 +1,10 @@ #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include using TAddr = THttpServerOptions::TAddr; diff --git a/src/library/http/server/response.cpp b/src/library/http/server/response.cpp index 0d93aa59073..e998b620a1b 100644 --- a/src/library/http/server/response.cpp +++ b/src/library/http/server/response.cpp @@ -1,6 +1,6 @@ #include -#include +#include THttpResponse& THttpResponse::AddMultipleHeaders(const THttpHeaders& headers) { for (THttpHeaders::TConstIterator i = headers.Begin(); i != headers.End(); ++i) { diff --git a/src/library/http/server/response_ut.cpp b/src/library/http/server/response_ut.cpp index 8d6f030b59d..e897e1d1aee 100644 --- a/src/library/http/server/response_ut.cpp +++ b/src/library/http/server/response_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include Y_UNIT_TEST_SUITE(TestHttpResponse) { Y_UNIT_TEST(TestCodeOnly) { diff --git a/src/library/http/simple/http_client.h b/src/library/http/simple/http_client.h index cf3a33ff211..6e0b4057c59 100644 --- a/src/library/http/simple/http_client.h +++ b/src/library/http/simple/http_client.h @@ -4,8 +4,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/http/simple/ut/http_ut.cpp b/src/library/http/simple/ut/http_ut.cpp index 7df47f33817..bec65ea192c 100644 --- a/src/library/http/simple/ut/http_ut.cpp +++ b/src/library/http/simple/ut/http_ut.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/iterator/cartesian_product.h b/src/library/iterator/cartesian_product.h index 2ea524f8d41..6e1315f3f6d 100644 --- a/src/library/iterator/cartesian_product.h +++ b/src/library/iterator/cartesian_product.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/library/iterator/concatenate.h b/src/library/iterator/concatenate.h index bfdc645b3c9..701eac50744 100644 --- a/src/library/iterator/concatenate.h +++ b/src/library/iterator/concatenate.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/iterator/enumerate.h b/src/library/iterator/enumerate.h index 9efee9fabd1..109f150e139 100644 --- a/src/library/iterator/enumerate.h +++ b/src/library/iterator/enumerate.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/iterator/filtering.h b/src/library/iterator/filtering.h index 325bb0bb516..4ef3e3d7648 100644 --- a/src/library/iterator/filtering.h +++ b/src/library/iterator/filtering.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/src/library/iterator/functools.h b/src/library/iterator/functools.h index 5d62cdbf40b..bf43db4cd11 100644 --- a/src/library/iterator/functools.h +++ b/src/library/iterator/functools.h @@ -8,7 +8,7 @@ #include "zip.h" #include -#include +#include #include #include diff --git a/src/library/iterator/ut/functools_ut.cpp b/src/library/iterator/ut/functools_ut.cpp index e73822d0250..a95a1787f42 100644 --- a/src/library/iterator/ut/functools_ut.cpp +++ b/src/library/iterator/ut/functools_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/src/library/iterator/ut/iterate_values_ut.cpp b/src/library/iterator/ut/iterate_values_ut.cpp index 7c16743c714..ffaa6fbfe96 100644 --- a/src/library/iterator/ut/iterate_values_ut.cpp +++ b/src/library/iterator/ut/iterate_values_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/iterator/zip.h b/src/library/iterator/zip.h index c40a302d2ea..32dd0de7e01 100644 --- a/src/library/iterator/zip.h +++ b/src/library/iterator/zip.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/json/fast_sax/parser.rl6 b/src/library/json/fast_sax/parser.rl6 index 67ddb3bb073..abb1fbaa36a 100644 --- a/src/library/json/fast_sax/parser.rl6 +++ b/src/library/json/fast_sax/parser.rl6 @@ -1,8 +1,8 @@ #include #include -#include +#include -#include +#include #include #include #include diff --git a/src/library/json/fast_sax/unescape.cpp b/src/library/json/fast_sax/unescape.cpp index 6d2b88ab729..b47900a7723 100644 --- a/src/library/json/fast_sax/unescape.cpp +++ b/src/library/json/fast_sax/unescape.cpp @@ -1,6 +1,6 @@ #include "unescape.h" -#include +#include std::string_view UnescapeJsonUnicode(std::string_view data, char* scratch) { return std::string_view(scratch, UnescapeC(data.data(), data.size(), scratch)); diff --git a/src/library/json/fuzzy_test/main.cpp b/src/library/json/fuzzy_test/main.cpp index 01e01e50b01..accd5e66eb6 100644 --- a/src/library/json/fuzzy_test/main.cpp +++ b/src/library/json/fuzzy_test/main.cpp @@ -1,7 +1,7 @@ #include -#include -#include +#include +#include extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) { const auto json = std::string((const char*)data, size); diff --git a/src/library/json/json_prettifier.cpp b/src/library/json/json_prettifier.cpp index c40ae7929dd..798c04fd2af 100644 --- a/src/library/json/json_prettifier.cpp +++ b/src/library/json/json_prettifier.cpp @@ -1,8 +1,8 @@ #include "json_prettifier.h" -#include +#include #include -#include +#include #include #include diff --git a/src/library/json/json_reader.cpp b/src/library/json/json_reader.cpp index 3fd1bfad34e..280367ffd05 100644 --- a/src/library/json/json_reader.cpp +++ b/src/library/json/json_reader.cpp @@ -6,10 +6,10 @@ #include #include -#include +#include #include -#include +#include namespace NJson { namespace { diff --git a/src/library/json/json_writer.cpp b/src/library/json/json_writer.cpp index 2d4c5337343..4483d8b67c2 100644 --- a/src/library/json/json_writer.cpp +++ b/src/library/json/json_writer.cpp @@ -1,6 +1,6 @@ #include "json_writer.h" -#include +#include #include diff --git a/src/library/json/json_writer.h b/src/library/json/json_writer.h index 08530dfda23..28ceadd16bb 100644 --- a/src/library/json/json_writer.h +++ b/src/library/json/json_writer.h @@ -6,7 +6,7 @@ #include -#include +#include #include #include diff --git a/src/library/json/rapidjson_helpers.h b/src/library/json/rapidjson_helpers.h index b4f907fc081..a199f51f0f4 100644 --- a/src/library/json/rapidjson_helpers.h +++ b/src/library/json/rapidjson_helpers.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/src/library/json/ut/json_reader_fast_ut.cpp b/src/library/json/ut/json_reader_fast_ut.cpp index 7c8d3ba0cd5..6837d7c72bd 100644 --- a/src/library/json/ut/json_reader_fast_ut.cpp +++ b/src/library/json/ut/json_reader_fast_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include diff --git a/src/library/json/ut/json_reader_ut.cpp b/src/library/json/ut/json_reader_ut.cpp index 24a4c3321ae..22533b8009a 100644 --- a/src/library/json/ut/json_reader_ut.cpp +++ b/src/library/json/ut/json_reader_ut.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include using namespace NJson; diff --git a/src/library/json/ut/json_saveload_ut.cpp b/src/library/json/ut/json_saveload_ut.cpp index 385c9e21f5a..843d11fbe8a 100644 --- a/src/library/json/ut/json_saveload_ut.cpp +++ b/src/library/json/ut/json_saveload_ut.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include Y_UNIT_TEST_SUITE(JsonSaveLoad) { Y_UNIT_TEST(Serialize) { diff --git a/src/library/json/ut/json_writer_ut.cpp b/src/library/json/ut/json_writer_ut.cpp index f8952050736..c34b352997c 100644 --- a/src/library/json/ut/json_writer_ut.cpp +++ b/src/library/json/ut/json_writer_ut.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include using namespace NJson; diff --git a/src/library/json/writer/json.cpp b/src/library/json/writer/json.cpp index 141ec969ab8..54fc0751004 100644 --- a/src/library/json/writer/json.cpp +++ b/src/library/json/writer/json.cpp @@ -1,9 +1,9 @@ #include #include -#include +#include -#include +#include #include #include diff --git a/src/library/json/writer/json_value.cpp b/src/library/json/writer/json_value.cpp index b8e9f1fd734..db7505ccf72 100644 --- a/src/library/json/writer/json_value.cpp +++ b/src/library/json/writer/json_value.cpp @@ -1,20 +1,20 @@ #include #include -#include +#include #include #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include -#include -#include -#include +#include +#include +#include static bool AreJsonMapsEqual(const NJson::TJsonValue& lhs, const NJson::TJsonValue& rhs) { diff --git a/src/library/json/writer/json_value_ut.cpp b/src/library/json/writer/json_value_ut.cpp index b9c8a94ecd5..c3425a823fb 100644 --- a/src/library/json/writer/json_value_ut.cpp +++ b/src/library/json/writer/json_value_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include using namespace NJson; diff --git a/src/library/jwt/jwt.cpp b/src/library/jwt/jwt.cpp index fd0a9b13fed..c30b44024ee 100644 --- a/src/library/jwt/jwt.cpp +++ b/src/library/jwt/jwt.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NYdb { diff --git a/src/library/lcs/lcs_via_lis.h b/src/library/lcs/lcs_via_lis.h index e1f8708299c..7452048d7c7 100644 --- a/src/library/lcs/lcs_via_lis.h +++ b/src/library/lcs/lcs_via_lis.h @@ -2,10 +2,10 @@ #include -#include +#include #include -#include +#include #include namespace NLCS { diff --git a/src/library/lcs/lcs_via_lis_ut.cpp b/src/library/lcs/lcs_via_lis_ut.cpp index 858bdc18334..d7c066d370b 100644 --- a/src/library/lcs/lcs_via_lis_ut.cpp +++ b/src/library/lcs/lcs_via_lis_ut.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include "lcs_via_lis.h" diff --git a/src/library/logger/backend.cpp b/src/library/logger/backend.cpp index 9e89a34089f..d33f388d879 100644 --- a/src/library/logger/backend.cpp +++ b/src/library/logger/backend.cpp @@ -1,7 +1,7 @@ #include -#include -#include +#include +#include #include diff --git a/src/library/logger/backend_creator.cpp b/src/library/logger/backend_creator.cpp index 4764b1951ca..ce548888d99 100644 --- a/src/library/logger/backend_creator.cpp +++ b/src/library/logger/backend_creator.cpp @@ -1,9 +1,9 @@ #include "backend_creator.h" #include "stream.h" #include "uninitialized_creator.h" -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/logger/backend_creator.h b/src/library/logger/backend_creator.h index b9f2a1ab110..24cbca855af 100644 --- a/src/library/logger/backend_creator.h +++ b/src/library/logger/backend_creator.h @@ -4,8 +4,8 @@ #include #include -#include -#include +#include +#include class ILogBackendCreator { public: diff --git a/src/library/logger/composite.h b/src/library/logger/composite.h index a9367aaa0fd..518a15f5b7a 100644 --- a/src/library/logger/composite.h +++ b/src/library/logger/composite.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include class TCompositeLogBackend: public TLogBackend { diff --git a/src/library/logger/element_ut.cpp b/src/library/logger/element_ut.cpp index ec2d457faa7..1489f048e3f 100644 --- a/src/library/logger/element_ut.cpp +++ b/src/library/logger/element_ut.cpp @@ -3,8 +3,8 @@ #include "stream.h" #include -#include -#include +#include +#include #include #include diff --git a/src/library/logger/file.cpp b/src/library/logger/file.cpp index 62227393838..86640416ddf 100644 --- a/src/library/logger/file.cpp +++ b/src/library/logger/file.cpp @@ -1,8 +1,8 @@ #include "file.h" #include -#include -#include +#include +#include /* * file log diff --git a/src/library/logger/file.h b/src/library/logger/file.h index 405dc572b95..a7586cf6209 100644 --- a/src/library/logger/file.h +++ b/src/library/logger/file.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include class TFileLogBackend: public TLogBackend { public: diff --git a/src/library/logger/filter.h b/src/library/logger/filter.h index 356de2526f7..787956bd67d 100644 --- a/src/library/logger/filter.h +++ b/src/library/logger/filter.h @@ -4,7 +4,7 @@ #include #include -#include +#include class TFilteredLogBackend: public TLogBackend { THolder Backend; diff --git a/src/library/logger/log.cpp b/src/library/logger/log.cpp index f599070b390..4d9723316b5 100644 --- a/src/library/logger/log.cpp +++ b/src/library/logger/log.cpp @@ -5,7 +5,7 @@ #include "stream.h" #include -#include +#include #include #include diff --git a/src/library/logger/log_ut.cpp b/src/library/logger/log_ut.cpp index 55c6f8f05ed..80223208587 100644 --- a/src/library/logger/log_ut.cpp +++ b/src/library/logger/log_ut.cpp @@ -3,9 +3,9 @@ #include #include -#include +#include #include -#include +#include #include #include diff --git a/src/library/logger/reopen.h b/src/library/logger/reopen.h index d71ef819129..0294cdae404 100644 --- a/src/library/logger/reopen.h +++ b/src/library/logger/reopen.h @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/logger/rotating_file.cpp b/src/library/logger/rotating_file.cpp index c389b364ee2..87817f0591c 100644 --- a/src/library/logger/rotating_file.cpp +++ b/src/library/logger/rotating_file.cpp @@ -2,11 +2,11 @@ #include "file.h" #include -#include +#include -#include +#include #include -#include +#include #include #include diff --git a/src/library/logger/rotating_file.h b/src/library/logger/rotating_file.h index eec889916c5..437f16da5c4 100644 --- a/src/library/logger/rotating_file.h +++ b/src/library/logger/rotating_file.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include class TRotatingFileLogBackend: public TLogBackend { public: diff --git a/src/library/logger/stream.cpp b/src/library/logger/stream.cpp index 46aec0e16c1..1913a867b4c 100644 --- a/src/library/logger/stream.cpp +++ b/src/library/logger/stream.cpp @@ -1,9 +1,9 @@ #include "stream.h" #include -#include +#include -#include +#include #include diff --git a/src/library/logger/sync_page_cache_file.cpp b/src/library/logger/sync_page_cache_file.cpp index 6846d22754d..43cba8bab3b 100644 --- a/src/library/logger/sync_page_cache_file.cpp +++ b/src/library/logger/sync_page_cache_file.cpp @@ -2,8 +2,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/logger/sync_page_cache_file.h b/src/library/logger/sync_page_cache_file.h index 30bfbc57cc3..32e756f193d 100644 --- a/src/library/logger/sync_page_cache_file.h +++ b/src/library/logger/sync_page_cache_file.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include class TSyncPageCacheFileLogBackend final: public TLogBackend { public: diff --git a/src/library/logger/system.cpp b/src/library/logger/system.cpp index fadcd0f61ce..309824b32d6 100644 --- a/src/library/logger/system.cpp +++ b/src/library/logger/system.cpp @@ -1,9 +1,9 @@ -#include +#include #include -#include +#include #include -#include -#include +#include +#include #if defined(_unix_) #include diff --git a/src/library/logger/thread.cpp b/src/library/logger/thread.cpp index 3f434fe671d..e060ee3c10f 100644 --- a/src/library/logger/thread.cpp +++ b/src/library/logger/thread.cpp @@ -1,11 +1,11 @@ #include #include -#include -#include +#include +#include #include -#include -#include +#include +#include class TThreadedLogBackend::TImpl { class TRec: public IObjectInQueue, public TAdditionalStorage, public TLogRecord { diff --git a/src/library/logger/uninitialized_creator.cpp b/src/library/logger/uninitialized_creator.cpp index abbd7c52a2d..6a9d77663b9 100644 --- a/src/library/logger/uninitialized_creator.cpp +++ b/src/library/logger/uninitialized_creator.cpp @@ -3,7 +3,7 @@ #include "thread_creator.h" #include "file_creator.h" #include "null_creator.h" -#include +#include THolder TLogBackendCreatorUninitialized::DoCreateLogBackend() const { return Slave->CreateLogBackend(); diff --git a/src/library/login/login.cpp b/src/library/login/login.cpp index 0bf2640fb10..a82f5356e8b 100644 --- a/src/library/login/login.cpp +++ b/src/library/login/login.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include @@ -9,9 +9,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/monlib/dynamic_counters/contention_ut.cpp b/src/library/monlib/dynamic_counters/contention_ut.cpp index ca0e2d97fae..de5178063af 100644 --- a/src/library/monlib/dynamic_counters/contention_ut.cpp +++ b/src/library/monlib/dynamic_counters/contention_ut.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include using namespace NMonitoring; diff --git a/src/library/monlib/dynamic_counters/counters.cpp b/src/library/monlib/dynamic_counters/counters.cpp index c7556890867..2da780710af 100644 --- a/src/library/monlib/dynamic_counters/counters.cpp +++ b/src/library/monlib/dynamic_counters/counters.cpp @@ -1,9 +1,9 @@ #include #include -#include +#include -#include +#include using namespace NMonitoring; diff --git a/src/library/monlib/dynamic_counters/encode.cpp b/src/library/monlib/dynamic_counters/encode.cpp index 958f113e8d9..e2c6a1606cd 100644 --- a/src/library/monlib/dynamic_counters/encode.cpp +++ b/src/library/monlib/dynamic_counters/encode.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include namespace NMonitoring { namespace { diff --git a/src/library/monlib/dynamic_counters/golovan_page.h b/src/library/monlib/dynamic_counters/golovan_page.h index 179c1373cf6..2e0085e665f 100644 --- a/src/library/monlib/dynamic_counters/golovan_page.h +++ b/src/library/monlib/dynamic_counters/golovan_page.h @@ -4,7 +4,7 @@ #include -#include +#include #include diff --git a/src/library/monlib/dynamic_counters/page.h b/src/library/monlib/dynamic_counters/page.h index 28f8a1bdda2..5187a2d1b9d 100644 --- a/src/library/monlib/dynamic_counters/page.h +++ b/src/library/monlib/dynamic_counters/page.h @@ -4,7 +4,7 @@ #include -#include +#include #include diff --git a/src/library/monlib/encode/buffered/buffered_encoder_base.cpp b/src/library/monlib/encode/buffered/buffered_encoder_base.cpp index fcdad1fd697..c4d529bd843 100644 --- a/src/library/monlib/encode/buffered/buffered_encoder_base.cpp +++ b/src/library/monlib/encode/buffered/buffered_encoder_base.cpp @@ -1,9 +1,9 @@ #include "buffered_encoder_base.h" -#include +#include #include -#include +#include namespace NMonitoring { diff --git a/src/library/monlib/encode/buffered/buffered_encoder_base.h b/src/library/monlib/encode/buffered/buffered_encoder_base.h index 509ff602883..e1a1afe4905 100644 --- a/src/library/monlib/encode/buffered/buffered_encoder_base.h +++ b/src/library/monlib/encode/buffered/buffered_encoder_base.h @@ -8,7 +8,7 @@ #include #include -#include +#include namespace NMonitoring { diff --git a/src/library/monlib/encode/encoder_state.h b/src/library/monlib/encode/encoder_state.h index 8480f581f90..f2ef94c1b43 100644 --- a/src/library/monlib/encode/encoder_state.h +++ b/src/library/monlib/encode/encoder_state.h @@ -3,7 +3,7 @@ #include "encoder_state_enum.h" #include -#include +#include namespace NMonitoring { diff --git a/src/library/monlib/encode/format.cpp b/src/library/monlib/encode/format.cpp index 859ed4db11f..df83ae7f700 100644 --- a/src/library/monlib/encode/format.cpp +++ b/src/library/monlib/encode/format.cpp @@ -2,11 +2,11 @@ #include -#include +#include #include -#include -#include -#include +#include +#include +#include namespace NMonitoring { static ECompression CompressionFromHeader(std::string_view value) { diff --git a/src/library/monlib/encode/format_ut.cpp b/src/library/monlib/encode/format_ut.cpp index e48da09aa2d..049740d032e 100644 --- a/src/library/monlib/encode/format_ut.cpp +++ b/src/library/monlib/encode/format_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include diff --git a/src/library/monlib/encode/json/json_decoder.cpp b/src/library/monlib/encode/json/json_decoder.cpp index 3b3a7e4fcd0..a0ad1d40188 100644 --- a/src/library/monlib/encode/json/json_decoder.cpp +++ b/src/library/monlib/encode/json/json_decoder.cpp @@ -7,10 +7,10 @@ #include -#include +#include #include -#include +#include #include diff --git a/src/library/monlib/encode/json/json_encoder.cpp b/src/library/monlib/encode/json/json_encoder.cpp index 2db02497a00..5ea85bb4957 100644 --- a/src/library/monlib/encode/json/json_encoder.cpp +++ b/src/library/monlib/encode/json/json_encoder.cpp @@ -10,7 +10,7 @@ #include #include -#include +#include namespace NMonitoring { namespace { diff --git a/src/library/monlib/encode/json/json_ut.cpp b/src/library/monlib/encode/json/json_ut.cpp index 22921d3794d..8e1af07ebc4 100644 --- a/src/library/monlib/encode/json/json_ut.cpp +++ b/src/library/monlib/encode/json/json_ut.cpp @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/monlib/encode/prometheus/fuzz/main.cpp b/src/library/monlib/encode/prometheus/fuzz/main.cpp index 07edcbb65ac..f7064321a3a 100644 --- a/src/library/monlib/encode/prometheus/fuzz/main.cpp +++ b/src/library/monlib/encode/prometheus/fuzz/main.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include extern "C" int LLVMFuzzerTestOneInput(const ui8* buf, size_t size) { diff --git a/src/library/monlib/encode/prometheus/prometheus.h b/src/library/monlib/encode/prometheus/prometheus.h index 663b8685e7e..7a0f8b8cddd 100644 --- a/src/library/monlib/encode/prometheus/prometheus.h +++ b/src/library/monlib/encode/prometheus/prometheus.h @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NMonitoring { diff --git a/src/library/monlib/encode/prometheus/prometheus_decoder.cpp b/src/library/monlib/encode/prometheus/prometheus_decoder.cpp index 63703dbd228..4e11f8a33c4 100644 --- a/src/library/monlib/encode/prometheus/prometheus_decoder.cpp +++ b/src/library/monlib/encode/prometheus/prometheus_decoder.cpp @@ -4,12 +4,12 @@ #include #include -#include +#include #include #include -#include -#include +#include +#include #include diff --git a/src/library/monlib/encode/prometheus/prometheus_encoder.cpp b/src/library/monlib/encode/prometheus/prometheus_encoder.cpp index f1a13cbc364..727a6cddcce 100644 --- a/src/library/monlib/encode/prometheus/prometheus_encoder.cpp +++ b/src/library/monlib/encode/prometheus/prometheus_encoder.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include diff --git a/src/library/monlib/encode/prometheus/prometheus_encoder_ut.cpp b/src/library/monlib/encode/prometheus/prometheus_encoder_ut.cpp index f5e9b5411fb..93363d94c91 100644 --- a/src/library/monlib/encode/prometheus/prometheus_encoder_ut.cpp +++ b/src/library/monlib/encode/prometheus/prometheus_encoder_ut.cpp @@ -6,7 +6,7 @@ #include -#include +#include using namespace NMonitoring; diff --git a/src/library/monlib/encode/spack/compression.cpp b/src/library/monlib/encode/spack/compression.cpp index d7b29bba1cf..71a95d61d7e 100644 --- a/src/library/monlib/encode/spack/compression.cpp +++ b/src/library/monlib/encode/spack/compression.cpp @@ -1,12 +1,12 @@ #include "compression.h" #include -#include -#include +#include +#include #include #include #include -#include +#include #include #include diff --git a/src/library/monlib/encode/spack/compression.h b/src/library/monlib/encode/spack/compression.h index 267ae0a1e71..eb8b79a418d 100644 --- a/src/library/monlib/encode/spack/compression.h +++ b/src/library/monlib/encode/spack/compression.h @@ -2,8 +2,8 @@ #include "spack_v1.h" -#include -#include +#include +#include namespace NMonitoring { diff --git a/src/library/monlib/encode/spack/fuzz/main.cpp b/src/library/monlib/encode/spack/fuzz/main.cpp index db5f9b93ef1..230de4ddd88 100644 --- a/src/library/monlib/encode/spack/fuzz/main.cpp +++ b/src/library/monlib/encode/spack/fuzz/main.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) { diff --git a/src/library/monlib/encode/spack/spack_v1.h b/src/library/monlib/encode/spack/spack_v1.h index 77575ac1b6b..cadfbdad9da 100644 --- a/src/library/monlib/encode/spack/spack_v1.h +++ b/src/library/monlib/encode/spack/spack_v1.h @@ -4,7 +4,7 @@ #include #include -#include +#include // // format specification available here: diff --git a/src/library/monlib/encode/spack/spack_v1_decoder.cpp b/src/library/monlib/encode/spack/spack_v1_decoder.cpp index fe416beaa44..a9f6ed8ad0e 100644 --- a/src/library/monlib/encode/spack/spack_v1_decoder.cpp +++ b/src/library/monlib/encode/spack/spack_v1_decoder.cpp @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/library/monlib/encode/spack/spack_v1_encoder.cpp b/src/library/monlib/encode/spack/spack_v1_encoder.cpp index 8ca9de7d206..98893884610 100644 --- a/src/library/monlib/encode/spack/spack_v1_encoder.cpp +++ b/src/library/monlib/encode/spack/spack_v1_encoder.cpp @@ -4,9 +4,9 @@ #include -#include +#include #include -#include +#include #ifndef _little_endian_ #error Unsupported platform diff --git a/src/library/monlib/encode/spack/varint.cpp b/src/library/monlib/encode/spack/varint.cpp index 98cd6bb0654..4f0d4a81942 100644 --- a/src/library/monlib/encode/spack/varint.cpp +++ b/src/library/monlib/encode/spack/varint.cpp @@ -1,8 +1,8 @@ #include "varint.h" -#include -#include -#include +#include +#include +#include namespace NMonitoring { ui32 WriteVarUInt32(IOutputStream* output, ui32 value) { diff --git a/src/library/monlib/metrics/atomics_array.h b/src/library/monlib/metrics/atomics_array.h index ba0b5ce21af..c4dfce017a8 100644 --- a/src/library/monlib/metrics/atomics_array.h +++ b/src/library/monlib/metrics/atomics_array.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/library/monlib/metrics/ewma.h b/src/library/monlib/metrics/ewma.h index 8a57547d7fc..100fda7b6d4 100644 --- a/src/library/monlib/metrics/ewma.h +++ b/src/library/monlib/metrics/ewma.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include diff --git a/src/library/monlib/metrics/fake.h b/src/library/monlib/metrics/fake.h index 26460b0e52b..be72dfc62cd 100644 --- a/src/library/monlib/metrics/fake.h +++ b/src/library/monlib/metrics/fake.h @@ -3,6 +3,8 @@ #include #include +#include + namespace NMonitoring { class TFakeMetricRegistry: public IMetricRegistry { public: diff --git a/src/library/monlib/metrics/fake_ut.cpp b/src/library/monlib/metrics/fake_ut.cpp index b3a84f52828..a86686802e5 100644 --- a/src/library/monlib/metrics/fake_ut.cpp +++ b/src/library/monlib/metrics/fake_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include using namespace NMonitoring; diff --git a/src/library/monlib/metrics/histogram_collector_explicit.cpp b/src/library/monlib/metrics/histogram_collector_explicit.cpp index 83a12a11d90..82607b1988c 100644 --- a/src/library/monlib/metrics/histogram_collector_explicit.cpp +++ b/src/library/monlib/metrics/histogram_collector_explicit.cpp @@ -1,9 +1,9 @@ #include #include "atomics_array.h" -#include +#include -#include +#include #include namespace NMonitoring { diff --git a/src/library/monlib/metrics/histogram_collector_exponential.cpp b/src/library/monlib/metrics/histogram_collector_exponential.cpp index 0943fedda08..8a2969098c1 100644 --- a/src/library/monlib/metrics/histogram_collector_exponential.cpp +++ b/src/library/monlib/metrics/histogram_collector_exponential.cpp @@ -1,9 +1,9 @@ #include #include "atomics_array.h" -#include +#include -#include +#include #include namespace NMonitoring { diff --git a/src/library/monlib/metrics/histogram_collector_linear.cpp b/src/library/monlib/metrics/histogram_collector_linear.cpp index b458b66c6f0..cb3caf3160a 100644 --- a/src/library/monlib/metrics/histogram_collector_linear.cpp +++ b/src/library/monlib/metrics/histogram_collector_linear.cpp @@ -1,9 +1,9 @@ #include #include "atomics_array.h" -#include +#include -#include +#include #include #include diff --git a/src/library/monlib/metrics/histogram_snapshot.cpp b/src/library/monlib/metrics/histogram_snapshot.cpp index 894b327e5b5..59e4b20dae0 100644 --- a/src/library/monlib/metrics/histogram_snapshot.cpp +++ b/src/library/monlib/metrics/histogram_snapshot.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include diff --git a/src/library/monlib/metrics/labels.cpp b/src/library/monlib/metrics/labels.cpp index 77538c2dcf8..34e60e76bb4 100644 --- a/src/library/monlib/metrics/labels.cpp +++ b/src/library/monlib/metrics/labels.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include static void OutputLabels(IOutputStream& out, const NMonitoring::ILabels& labels) { diff --git a/src/library/monlib/metrics/log_histogram_collector.h b/src/library/monlib/metrics/log_histogram_collector.h index 714a704875b..b2d3b62f97e 100644 --- a/src/library/monlib/metrics/log_histogram_collector.h +++ b/src/library/monlib/metrics/log_histogram_collector.h @@ -2,9 +2,9 @@ #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/monlib/metrics/log_histogram_snapshot.cpp b/src/library/monlib/metrics/log_histogram_snapshot.cpp index 0a426c2bed3..19f192473ad 100644 --- a/src/library/monlib/metrics/log_histogram_snapshot.cpp +++ b/src/library/monlib/metrics/log_histogram_snapshot.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include diff --git a/src/library/monlib/metrics/metric_consumer.cpp b/src/library/monlib/metrics/metric_consumer.cpp index ac3f73f7cf4..7ca90d0a9e7 100644 --- a/src/library/monlib/metrics/metric_consumer.cpp +++ b/src/library/monlib/metrics/metric_consumer.cpp @@ -1,6 +1,6 @@ #include -#include +#include namespace NMonitoring { void IMetricConsumer::OnLabel(ui32 name, ui32 value) { diff --git a/src/library/monlib/metrics/metric_registry.cpp b/src/library/monlib/metrics/metric_registry.cpp index fdb51c69753..d974e41d706 100644 --- a/src/library/monlib/metrics/metric_registry.cpp +++ b/src/library/monlib/metrics/metric_registry.cpp @@ -202,7 +202,7 @@ namespace NMonitoring { TWriteGuard g{*Lock_}; // decltype(Metrics_)::iterator breaks build on windows - THashMap::iterator it; + TMapType::iterator it; if constexpr (!std::is_convertible_v) { it = Metrics_.emplace(new TLabels{std::forward(labels)}, std::move(metric)).first; } else { @@ -215,7 +215,10 @@ namespace NMonitoring { void TMetricRegistry::RemoveMetric(const ILabels& labels) noexcept { TWriteGuard g{*Lock_}; - Metrics_.erase(labels); + auto it = Metrics_.find(labels); + if (it != Metrics_.end()) { + Metrics_.erase(it); + } } void TMetricRegistry::Accept(TInstant time, IMetricConsumer* consumer) const { diff --git a/src/library/monlib/metrics/metric_registry_ut.cpp b/src/library/monlib/metrics/metric_registry_ut.cpp index 4d248e71561..1c512ebeec0 100644 --- a/src/library/monlib/metrics/metric_registry_ut.cpp +++ b/src/library/monlib/metrics/metric_registry_ut.cpp @@ -6,7 +6,7 @@ #include -#include +#include using namespace NMonitoring; diff --git a/src/library/monlib/metrics/metric_type.cpp b/src/library/monlib/metrics/metric_type.cpp index f8458a208df..b0cff6f8438 100644 --- a/src/library/monlib/metrics/metric_type.cpp +++ b/src/library/monlib/metrics/metric_type.cpp @@ -1,8 +1,8 @@ #include #include -#include -#include +#include +#include namespace NMonitoring { std::string_view MetricTypeToStr(EMetricType type) { diff --git a/src/library/monlib/metrics/metric_value.h b/src/library/monlib/metrics/metric_value.h index 6eba150369d..03a16a3296d 100644 --- a/src/library/monlib/metrics/metric_value.h +++ b/src/library/monlib/metrics/metric_value.h @@ -6,9 +6,9 @@ #include #include -#include +#include -#include +#include #include namespace NMonitoring { diff --git a/src/library/monlib/metrics/summary_collector_ut.cpp b/src/library/monlib/metrics/summary_collector_ut.cpp index 74db3132b64..bf61638af3d 100644 --- a/src/library/monlib/metrics/summary_collector_ut.cpp +++ b/src/library/monlib/metrics/summary_collector_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/monlib/metrics/summary_snapshot.cpp b/src/library/monlib/metrics/summary_snapshot.cpp index 2b06332ccdf..bef73ee8a56 100644 --- a/src/library/monlib/metrics/summary_snapshot.cpp +++ b/src/library/monlib/metrics/summary_snapshot.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include diff --git a/src/library/monlib/service/format.h b/src/library/monlib/service/format.h index 86908c4d102..08a7e578fd1 100644 --- a/src/library/monlib/service/format.h +++ b/src/library/monlib/service/format.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include namespace NMonitoring { diff --git a/src/library/monlib/service/monservice.cpp b/src/library/monlib/service/monservice.cpp index a087d799e55..464f6f6dbf8 100644 --- a/src/library/monlib/service/monservice.cpp +++ b/src/library/monlib/service/monservice.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/src/library/monlib/service/pages/index_mon_page.cpp b/src/library/monlib/service/pages/index_mon_page.cpp index 1bd5bd9584b..837bdc7b7b1 100644 --- a/src/library/monlib/service/pages/index_mon_page.cpp +++ b/src/library/monlib/service/pages/index_mon_page.cpp @@ -1,7 +1,7 @@ #include -#include -#include +#include +#include using namespace NMonitoring; diff --git a/src/library/monlib/service/pages/templates.h b/src/library/monlib/service/pages/templates.h index e20f71c4412..33504ba9df4 100644 --- a/src/library/monlib/service/pages/templates.h +++ b/src/library/monlib/service/pages/templates.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #define WITH_SCOPED(var, value) WITH_SCOPED_I(var, value, Y_GENERATE_UNIQUE_ID(WITH_SCOPED_LABEL_)) diff --git a/src/library/monlib/service/service.cpp b/src/library/monlib/service/service.cpp index 6d2c15bb1b7..89cde77b5b7 100644 --- a/src/library/monlib/service/service.cpp +++ b/src/library/monlib/service/service.cpp @@ -8,9 +8,9 @@ #include #include -#include +#include #include -#include +#include #include namespace NMonitoring { diff --git a/src/library/object_factory/object_factory.h b/src/library/object_factory/object_factory.h index 02f03a1c6bb..6e51861b85c 100644 --- a/src/library/object_factory/object_factory.h +++ b/src/library/object_factory/object_factory.h @@ -1,10 +1,10 @@ #pragma once -#include -#include +#include +#include #include -#include -#include +#include +#include #include #include diff --git a/src/library/openssl/holders/holder.h b/src/library/openssl/holders/holder.h index 7ef2b03a25b..9f985fb97e5 100644 --- a/src/library/openssl/holders/holder.h +++ b/src/library/openssl/holders/holder.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NOpenSSL { diff --git a/src/library/openssl/init/init.cpp b/src/library/openssl/init/init.cpp index c04eb53824f..2395720e83c 100644 --- a/src/library/openssl/init/init.cpp +++ b/src/library/openssl/init/init.cpp @@ -1,15 +1,15 @@ #include "init.h" -#include +#include -#include +#include #include -#include +#include #include #include -#include +#include #include #include diff --git a/src/library/openssl/io/stream.cpp b/src/library/openssl/io/stream.cpp index f84b42547ee..27d7a200389 100644 --- a/src/library/openssl/io/stream.cpp +++ b/src/library/openssl/io/stream.cpp @@ -1,7 +1,7 @@ #include "stream.h" -#include -#include +#include +#include #include #include diff --git a/src/library/openssl/io/stream.h b/src/library/openssl/io/stream.h index 3c5dae617da..c3f93123ed5 100644 --- a/src/library/openssl/io/stream.h +++ b/src/library/openssl/io/stream.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/openssl/method/io.cpp b/src/library/openssl/method/io.cpp index d42a62c60b6..c2106af5a7c 100644 --- a/src/library/openssl/method/io.cpp +++ b/src/library/openssl/method/io.cpp @@ -1,9 +1,9 @@ #include "io.h" -#include -#include +#include +#include #include -#include +#include namespace { using NOpenSSL::TAbstractIO; diff --git a/src/library/operation_id/operation_id.cpp b/src/library/operation_id/operation_id.cpp index d7bb78bc1c8..0c2d12b4bfa 100644 --- a/src/library/operation_id/operation_id.cpp +++ b/src/library/operation_id/operation_id.cpp @@ -5,8 +5,8 @@ #include #include -#include -#include +#include +#include namespace NKikimr { namespace NOperationId { diff --git a/src/library/persqueue/obfuscate/obfuscate.cpp b/src/library/persqueue/obfuscate/obfuscate.cpp index 6053a70e090..501ec12dfe0 100644 --- a/src/library/persqueue/obfuscate/obfuscate.cpp +++ b/src/library/persqueue/obfuscate/obfuscate.cpp @@ -1,6 +1,6 @@ #include "obfuscate.h" -#include +#include namespace NPersQueue { diff --git a/src/library/persqueue/topic_parser_public/topic_parser.cpp b/src/library/persqueue/topic_parser_public/topic_parser.cpp index 4d1b01d0cdb..0358748cfef 100644 --- a/src/library/persqueue/topic_parser_public/topic_parser.cpp +++ b/src/library/persqueue/topic_parser_public/topic_parser.cpp @@ -1,6 +1,6 @@ #include "topic_parser.h" -#include +#include #include diff --git a/src/library/resource/registry.cpp b/src/library/resource/registry.cpp index 3507460fbf5..61942a2e092 100644 --- a/src/library/resource/registry.cpp +++ b/src/library/resource/registry.cpp @@ -3,10 +3,10 @@ #include #include -#include +#include #include -#include -#include +#include +#include #include diff --git a/src/library/resource/resource.cpp b/src/library/resource/resource.cpp index cd9c125de72..ea89f871aca 100644 --- a/src/library/resource/resource.cpp +++ b/src/library/resource/resource.cpp @@ -2,8 +2,8 @@ #include "registry.h" -#include -#include +#include +#include using namespace NResource; diff --git a/src/library/retry/retry.cpp b/src/library/retry/retry.cpp index 5a1ed509037..0d3d0f2b45d 100644 --- a/src/library/retry/retry.cpp +++ b/src/library/retry/retry.cpp @@ -1,6 +1,6 @@ #include "retry.h" -#include +#include namespace { class TRetryOptionsWithRetCodePolicy : public IRetryPolicy { diff --git a/src/library/retry/retry.h b/src/library/retry/retry.h index 9b1c986272e..ab64aa5a778 100644 --- a/src/library/retry/retry.h +++ b/src/library/retry/retry.h @@ -7,7 +7,7 @@ #include #include -#include +#include #include diff --git a/src/library/retry/utils.cpp b/src/library/retry/utils.cpp index c020dd5d6b1..9cd8d06e441 100644 --- a/src/library/retry/utils.cpp +++ b/src/library/retry/utils.cpp @@ -1,6 +1,6 @@ #include "utils.h" -#include +#include TDuration NRetryPrivate::AddRandomDelta(TDuration maxDelta) { if (maxDelta == TDuration::Zero()) { diff --git a/src/library/security/util.h b/src/library/security/util.h index 2dd0044bfd2..c364fbf3dfa 100644 --- a/src/library/security/util.h +++ b/src/library/security/util.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include namespace NKikimr { diff --git a/src/library/streams/brotli/brotli.cpp b/src/library/streams/brotli/brotli.cpp index ed9715e36f0..53c04e38d18 100644 --- a/src/library/streams/brotli/brotli.cpp +++ b/src/library/streams/brotli/brotli.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include namespace { diff --git a/src/library/streams/brotli/brotli.h b/src/library/streams/brotli/brotli.h index dac484fa032..cbb9dada0ff 100644 --- a/src/library/streams/brotli/brotli.h +++ b/src/library/streams/brotli/brotli.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include /** * @addtogroup Streams_Archs diff --git a/src/library/streams/bzip2/bzip2.h b/src/library/streams/bzip2/bzip2.h index 3fdef27de03..889d8349b6c 100644 --- a/src/library/streams/bzip2/bzip2.h +++ b/src/library/streams/bzip2/bzip2.h @@ -1,9 +1,9 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include +#include #define BZIP_BUF_LEN (8 * 1024) #define BZIP_COMPRESSION_LEVEL 6 diff --git a/src/library/streams/lz/common/error.h b/src/library/streams/lz/common/error.h index 20be71e719f..af44c649d3b 100644 --- a/src/library/streams/lz/common/error.h +++ b/src/library/streams/lz/common/error.h @@ -1,6 +1,6 @@ #pragma once -#include +#include struct TDecompressorError: public yexception { }; diff --git a/src/library/streams/lz/lz.h b/src/library/streams/lz/lz.h index 4ef41718341..10be1da2701 100644 --- a/src/library/streams/lz/lz.h +++ b/src/library/streams/lz/lz.h @@ -1,9 +1,9 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/src/library/streams/lz/lz4/lz4.h b/src/library/streams/lz/lz4/lz4.h index d6296c9bb8f..a67943d653b 100644 --- a/src/library/streams/lz/lz4/lz4.h +++ b/src/library/streams/lz/lz4/lz4.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include /** * @addtogroup Streams_Archs diff --git a/src/library/streams/lz/snappy/snappy.h b/src/library/streams/lz/snappy/snappy.h index 03b6b248c10..af4cd58b60f 100644 --- a/src/library/streams/lz/snappy/snappy.h +++ b/src/library/streams/lz/snappy/snappy.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include /** * @addtogroup Streams_Archs diff --git a/src/library/streams/lzma/lzma.cpp b/src/library/streams/lzma/lzma.cpp index b649eba8f3e..517142260a3 100644 --- a/src/library/streams/lzma/lzma.cpp +++ b/src/library/streams/lzma/lzma.cpp @@ -1,10 +1,10 @@ #include "lzma.h" -#include +#include #include -#include +#include #include -#include +#include #include #include diff --git a/src/library/streams/lzma/lzma.h b/src/library/streams/lzma/lzma.h index 5a5abbe9673..a21ad845e42 100644 --- a/src/library/streams/lzma/lzma.h +++ b/src/library/streams/lzma/lzma.h @@ -1,10 +1,10 @@ #pragma once -#include -#include -#include +#include +#include +#include -#include +#include class TLzmaCompress: public IOutputStream { public: diff --git a/src/library/streams/lzma/lzma_ut.cpp b/src/library/streams/lzma/lzma_ut.cpp index 9d99f0ce46d..cb43a95e531 100644 --- a/src/library/streams/lzma/lzma_ut.cpp +++ b/src/library/streams/lzma/lzma_ut.cpp @@ -2,9 +2,9 @@ #include -#include +#include #include -#include +#include class TStrokaByOneByte: public IZeroCopyInput { public: diff --git a/src/library/streams/zstd/zstd.cpp b/src/library/streams/zstd/zstd.cpp index b71922847f6..313da08f9f5 100644 --- a/src/library/streams/zstd/zstd.cpp +++ b/src/library/streams/zstd/zstd.cpp @@ -1,7 +1,7 @@ #include "zstd.h" #include -#include +#include #define ZSTD_STATIC_LINKING_ONLY #include diff --git a/src/library/streams/zstd/zstd.h b/src/library/streams/zstd/zstd.h index e6698207502..c422411e907 100644 --- a/src/library/streams/zstd/zstd.h +++ b/src/library/streams/zstd/zstd.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include /** * @addtogroup Streams_Archs diff --git a/src/library/streams/zstd/zstd_ut.cpp b/src/library/streams/zstd/zstd_ut.cpp index d158fdbe002..491cd2d77fb 100644 --- a/src/library/streams/zstd/zstd_ut.cpp +++ b/src/library/streams/zstd/zstd_ut.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include Y_UNIT_TEST_SUITE(TZstdTestSuite) { std::string Compress(std::string data, int quality = -1) { diff --git a/src/library/string_utils/base64/base64.cpp b/src/library/string_utils/base64/base64.cpp index cf621846e12..e36f249a33e 100644 --- a/src/library/string_utils/base64/base64.cpp +++ b/src/library/string_utils/base64/base64.cpp @@ -1,7 +1,7 @@ #include "base64.h" #include -#include +#include #include #include diff --git a/src/library/string_utils/quote/quote.cpp b/src/library/string_utils/quote/quote.cpp index 351520c661d..977e807b56c 100644 --- a/src/library/string_utils/quote/quote.cpp +++ b/src/library/string_utils/quote/quote.cpp @@ -1,7 +1,7 @@ #include "quote.h" -#include -#include +#include +#include #include /* note: (x & 0xdf) makes x upper case */ diff --git a/src/library/string_utils/relaxed_escaper/relaxed_escaper.h b/src/library/string_utils/relaxed_escaper/relaxed_escaper.h index 6c5873827d4..5d11a4b7c68 100644 --- a/src/library/string_utils/relaxed_escaper/relaxed_escaper.h +++ b/src/library/string_utils/relaxed_escaper/relaxed_escaper.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include #include namespace NEscJ { diff --git a/src/library/string_utils/stream/stream.h b/src/library/string_utils/stream/stream.h index 51b4ae17b4a..ec45d9e0cdf 100644 --- a/src/library/string_utils/stream/stream.h +++ b/src/library/string_utils/stream/stream.h @@ -1,4 +1,4 @@ -#include +#include namespace NUtils { diff --git a/src/library/string_utils/url/url.cpp b/src/library/string_utils/url/url.cpp index 974200c9395..0cdadbdffe0 100644 --- a/src/library/string_utils/url/url.cpp +++ b/src/library/string_utils/url/url.cpp @@ -1,19 +1,19 @@ #include "url.h" -#include +#include #include -#include +#include #include #include -#include -#include +#include +#include #include // for ToLower #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/string_utils/url/url.h b/src/library/string_utils/url/url.h index 9ff0b169dc2..8457dc562bd 100644 --- a/src/library/string_utils/url/url.h +++ b/src/library/string_utils/url/url.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include namespace NUrl { diff --git a/src/library/string_utils/url/url_ut.cpp b/src/library/string_utils/url/url_ut.cpp index b68ffb32ed4..cd1de1cdb26 100644 --- a/src/library/string_utils/url/url_ut.cpp +++ b/src/library/string_utils/url/url_ut.cpp @@ -1,6 +1,6 @@ #include "url.h" -#include +#include #include diff --git a/src/library/terminate_handler/sample/exception/main.cpp b/src/library/terminate_handler/sample/exception/main.cpp index cee44b23032..0b1425b05cc 100644 --- a/src/library/terminate_handler/sample/exception/main.cpp +++ b/src/library/terminate_handler/sample/exception/main.cpp @@ -1,4 +1,4 @@ -#include +#include void Foo(unsigned i = 0) { diff --git a/src/library/terminate_handler/sample/rethrow/main.cpp b/src/library/terminate_handler/sample/rethrow/main.cpp index 007919cc2a6..8000a11efdd 100644 --- a/src/library/terminate_handler/sample/rethrow/main.cpp +++ b/src/library/terminate_handler/sample/rethrow/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include diff --git a/src/library/terminate_handler/segv_handler.cpp b/src/library/terminate_handler/segv_handler.cpp index 8cff0b5a4e2..b099b0001de 100644 --- a/src/library/terminate_handler/segv_handler.cpp +++ b/src/library/terminate_handler/segv_handler.cpp @@ -1,7 +1,7 @@ #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/terminate_handler/terminate_handler.cpp b/src/library/terminate_handler/terminate_handler.cpp index 4a7cdadb70a..9251e57eb8f 100644 --- a/src/library/terminate_handler/terminate_handler.cpp +++ b/src/library/terminate_handler/terminate_handler.cpp @@ -1,9 +1,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/testing/common/env.cpp b/src/library/testing/common/env.cpp index 41ea1aca24a..e50945c7daa 100644 --- a/src/library/testing/common/env.cpp +++ b/src/library/testing/common/env.cpp @@ -4,12 +4,12 @@ #include #include -#include +#include #include -#include -#include +#include +#include #include -#include +#include #include #include diff --git a/src/library/testing/common/env.h b/src/library/testing/common/env.h index f06174f3609..99a677590b7 100644 --- a/src/library/testing/common/env.h +++ b/src/library/testing/common/env.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include #include diff --git a/src/library/testing/common/env_var.cpp b/src/library/testing/common/env_var.cpp index e91c2dfecd2..5b7d1bffe1e 100644 --- a/src/library/testing/common/env_var.cpp +++ b/src/library/testing/common/env_var.cpp @@ -1,6 +1,6 @@ #include "env_var.h" -#include +#include #include diff --git a/src/library/testing/common/network.cpp b/src/library/testing/common/network.cpp index beda41bea94..a407459a0ad 100644 --- a/src/library/testing/common/network.cpp +++ b/src/library/testing/common/network.cpp @@ -4,16 +4,16 @@ #include #include -#include -#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include -#include +#include #include #include diff --git a/src/library/testing/common/network.h b/src/library/testing/common/network.h index b66e0685057..13da1752989 100644 --- a/src/library/testing/common/network.h +++ b/src/library/testing/common/network.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NTesting { diff --git a/src/library/testing/common/probe.h b/src/library/testing/common/probe.h index dca290df55a..cd0c4064d05 100644 --- a/src/library/testing/common/probe.h +++ b/src/library/testing/common/probe.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NTesting { //////////////////////////////////////////////////////////////////////////////// diff --git a/src/library/testing/gmock_in_unittest/events.cpp b/src/library/testing/gmock_in_unittest/events.cpp index 9d2a1ca4b96..d9976a96cc4 100644 --- a/src/library/testing/gmock_in_unittest/events.cpp +++ b/src/library/testing/gmock_in_unittest/events.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/testing/gtest/main.cpp b/src/library/testing/gtest/main.cpp index ec547e0ae51..0d36e54be5a 100644 --- a/src/library/testing/gtest/main.cpp +++ b/src/library/testing/gtest/main.cpp @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include diff --git a/src/library/testing/gtest_extensions/assertions.cpp b/src/library/testing/gtest_extensions/assertions.cpp index cf9edd2ae71..8c2faea5b66 100644 --- a/src/library/testing/gtest_extensions/assertions.cpp +++ b/src/library/testing/gtest_extensions/assertions.cpp @@ -1,9 +1,9 @@ #include "assertions.h" -#include -#include +#include +#include #include -#include +#include namespace NGTest::NInternal { namespace { diff --git a/src/library/testing/gtest_extensions/pretty_printers.h b/src/library/testing/gtest_extensions/pretty_printers.h index 2b55066e69e..ae41bbb5e5e 100644 --- a/src/library/testing/gtest_extensions/pretty_printers.h +++ b/src/library/testing/gtest_extensions/pretty_printers.h @@ -1,9 +1,9 @@ #pragma once #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/testing/gtest_extensions/probe.h b/src/library/testing/gtest_extensions/probe.h index 40a6f7bd336..78aa2adf790 100644 --- a/src/library/testing/gtest_extensions/probe.h +++ b/src/library/testing/gtest_extensions/probe.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/library/testing/unittest/gtest.cpp b/src/library/testing/unittest/gtest.cpp index e094941efeb..1fb11bb4949 100644 --- a/src/library/testing/unittest/gtest.cpp +++ b/src/library/testing/unittest/gtest.cpp @@ -1,7 +1,7 @@ #include "gtest.h" #include "simple.h" -#include +#include using namespace NUnitTest; using namespace NUnitTest::NPrivate; diff --git a/src/library/testing/unittest/junit.cpp b/src/library/testing/unittest/junit.cpp index 00f7c2971ff..728739882be 100644 --- a/src/library/testing/unittest/junit.cpp +++ b/src/library/testing/unittest/junit.cpp @@ -10,11 +10,11 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include -#include +#include #include #include diff --git a/src/library/testing/unittest/plugin.cpp b/src/library/testing/unittest/plugin.cpp index 3878dc8984b..94ec09c768a 100644 --- a/src/library/testing/unittest/plugin.cpp +++ b/src/library/testing/unittest/plugin.cpp @@ -1,7 +1,7 @@ #include "plugin.h" -#include -#include +#include +#include #include namespace NUnitTest::NPlugin { diff --git a/src/library/testing/unittest/plugin.h b/src/library/testing/unittest/plugin.h index 20915d16867..e11583aee48 100644 --- a/src/library/testing/unittest/plugin.h +++ b/src/library/testing/unittest/plugin.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NUnitTest { // Plugins are deprecated, please use Y_TEST_HOOK_* from src/library/hook/hook.h diff --git a/src/library/testing/unittest/registar.cpp b/src/library/testing/unittest/registar.cpp index c88e31d781e..85f1f1e9de7 100644 --- a/src/library/testing/unittest/registar.cpp +++ b/src/library/testing/unittest/registar.cpp @@ -3,13 +3,13 @@ #include #include -#include +#include #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include diff --git a/src/library/testing/unittest/registar.h b/src/library/testing/unittest/registar.h index 492da4c1e39..2b7d1a54827 100644 --- a/src/library/testing/unittest/registar.h +++ b/src/library/testing/unittest/registar.h @@ -2,23 +2,23 @@ #include -#include +#include #include #include -#include +#include #include #include #include -#include +#include -#include -#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/testing/unittest/tests_data.h b/src/library/testing/unittest/tests_data.h index 6569fdc5d9c..aafe9044c8b 100644 --- a/src/library/testing/unittest/tests_data.h +++ b/src/library/testing/unittest/tests_data.h @@ -2,9 +2,9 @@ #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/testing/unittest/utmain.cpp b/src/library/testing/unittest/utmain.cpp index 317b330a630..94a0423906b 100644 --- a/src/library/testing/unittest/utmain.cpp +++ b/src/library/testing/unittest/utmain.cpp @@ -16,12 +16,12 @@ #include #include -#include +#include -#include +#include #include -#include +#include #include #include diff --git a/src/library/threading/cancellation/operation_cancelled_exception.h b/src/library/threading/cancellation/operation_cancelled_exception.h index 43540b55a14..4d755013cd3 100644 --- a/src/library/threading/cancellation/operation_cancelled_exception.h +++ b/src/library/threading/cancellation/operation_cancelled_exception.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NThreading { diff --git a/src/library/threading/chunk_queue/queue.h b/src/library/threading/chunk_queue/queue.h index ae1afa9ab6d..3e5c74bff38 100644 --- a/src/library/threading/chunk_queue/queue.h +++ b/src/library/threading/chunk_queue/queue.h @@ -1,16 +1,16 @@ #pragma once #include -#include -#include +#include +#include #include #include #include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/threading/equeue/equeue.h b/src/library/threading/equeue/equeue.h index ef9a365b2ae..719597985bc 100644 --- a/src/library/threading/equeue/equeue.h +++ b/src/library/threading/equeue/equeue.h @@ -1,8 +1,8 @@ #pragma once -#include +#include #include -#include +#include //actual queue limit will be (maxQueueSize - numBusyThreads) or 0 class TElasticQueue: public IThreadPool { diff --git a/src/library/threading/equeue/equeue_ut.cpp b/src/library/threading/equeue/equeue_ut.cpp index 89c25d13558..6ebe27c244f 100644 --- a/src/library/threading/equeue/equeue_ut.cpp +++ b/src/library/threading/equeue/equeue_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include diff --git a/src/library/threading/future/async.h b/src/library/threading/future/async.h index 70f064b3014..522a925fe7a 100644 --- a/src/library/threading/future/async.h +++ b/src/library/threading/future/async.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include namespace NThreading { /** diff --git a/src/library/threading/future/async_semaphore.cpp b/src/library/threading/future/async_semaphore.cpp index e2d1a3c904b..503af33bb56 100644 --- a/src/library/threading/future/async_semaphore.cpp +++ b/src/library/threading/future/async_semaphore.cpp @@ -1,7 +1,7 @@ #include "async_semaphore.h" -#include -#include +#include +#include #include diff --git a/src/library/threading/future/async_semaphore.h b/src/library/threading/future/async_semaphore.h index b82abe82341..c864e92b5fd 100644 --- a/src/library/threading/future/async_semaphore.h +++ b/src/library/threading/future/async_semaphore.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/src/library/threading/future/async_semaphore_ut.cpp b/src/library/threading/future/async_semaphore_ut.cpp index dbe9d90194c..e0e38aedaba 100644 --- a/src/library/threading/future/async_semaphore_ut.cpp +++ b/src/library/threading/future/async_semaphore_ut.cpp @@ -6,7 +6,7 @@ #include -#include +#include using namespace NThreading; diff --git a/src/library/threading/future/async_ut.cpp b/src/library/threading/future/async_ut.cpp index 690fabdac31..bba447e0da4 100644 --- a/src/library/threading/future/async_ut.cpp +++ b/src/library/threading/future/async_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include namespace { diff --git a/src/library/threading/future/future_mt_ut.cpp b/src/library/threading/future/future_mt_ut.cpp index 23e211c38a7..fdfea96fee5 100644 --- a/src/library/threading/future/future_mt_ut.cpp +++ b/src/library/threading/future/future_mt_ut.cpp @@ -2,9 +2,9 @@ #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/library/threading/future/legacy_future.h b/src/library/threading/future/legacy_future.h index b9c3449be83..5769a31c041 100644 --- a/src/library/threading/future/legacy_future.h +++ b/src/library/threading/future/legacy_future.h @@ -2,7 +2,7 @@ #include -#include +#include #include diff --git a/src/library/threading/future/perf/main.cpp b/src/library/threading/future/perf/main.cpp index 1bb41c402b1..4527b44f26c 100644 --- a/src/library/threading/future/perf/main.cpp +++ b/src/library/threading/future/perf/main.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include using namespace NThreading; diff --git a/src/library/threading/light_rw_lock/bench/lightrwlock_test.cpp b/src/library/threading/light_rw_lock/bench/lightrwlock_test.cpp index 6be551dcbe2..0b4c69a63b7 100644 --- a/src/library/threading/light_rw_lock/bench/lightrwlock_test.cpp +++ b/src/library/threading/light_rw_lock/bench/lightrwlock_test.cpp @@ -1,5 +1,5 @@ #include -#include +#include #ifdef _linux_ // Light rw lock is implemented only for linux diff --git a/src/library/threading/light_rw_lock/lightrwlock.cpp b/src/library/threading/light_rw_lock/lightrwlock.cpp index 7034853ec86..02680d54358 100644 --- a/src/library/threading/light_rw_lock/lightrwlock.cpp +++ b/src/library/threading/light_rw_lock/lightrwlock.cpp @@ -1,5 +1,5 @@ #include "lightrwlock.h" -#include +#include #if defined(_linux_) && !defined(_tsan_enabled_) diff --git a/src/library/threading/light_rw_lock/lightrwlock.h b/src/library/threading/light_rw_lock/lightrwlock.h index 58d8590ecb8..ff9c364b566 100644 --- a/src/library/threading/light_rw_lock/lightrwlock.h +++ b/src/library/threading/light_rw_lock/lightrwlock.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include // TLightRWLock and TSAN are not friends... diff --git a/src/library/threading/light_rw_lock/ut/rwlock_ut.cpp b/src/library/threading/light_rw_lock/ut/rwlock_ut.cpp index ac34bc8b502..8802597ffc6 100644 --- a/src/library/threading/light_rw_lock/ut/rwlock_ut.cpp +++ b/src/library/threading/light_rw_lock/ut/rwlock_ut.cpp @@ -1,8 +1,8 @@ #include #include -#include -#include -#include +#include +#include +#include class TRWMutexTest: public TTestBase { UNIT_TEST_SUITE(TRWMutexTest); diff --git a/src/library/threading/poor_man_openmp/thread_helper.cpp b/src/library/threading/poor_man_openmp/thread_helper.cpp index 5cfb65a5d7a..b694aee51ed 100644 --- a/src/library/threading/poor_man_openmp/thread_helper.cpp +++ b/src/library/threading/poor_man_openmp/thread_helper.cpp @@ -1,6 +1,6 @@ #include "thread_helper.h" -#include +#include TMtpQueueHelper& TMtpQueueHelper::Instance() { return *Singleton(); diff --git a/src/library/threading/poor_man_openmp/thread_helper.h b/src/library/threading/poor_man_openmp/thread_helper.h index fa1b79a2a8c..f0bb5cccbe4 100644 --- a/src/library/threading/poor_man_openmp/thread_helper.h +++ b/src/library/threading/poor_man_openmp/thread_helper.h @@ -1,11 +1,11 @@ #pragma once -#include -#include -#include +#include +#include +#include #include #include -#include +#include #include #include diff --git a/src/library/threading/poor_man_openmp/thread_helper_ut.cpp b/src/library/threading/poor_man_openmp/thread_helper_ut.cpp index 6716e3c9d42..f788e643621 100644 --- a/src/library/threading/poor_man_openmp/thread_helper_ut.cpp +++ b/src/library/threading/poor_man_openmp/thread_helper_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include Y_UNIT_TEST_SUITE(TestMP) { Y_UNIT_TEST(TestErr) { diff --git a/src/library/unicode_normalization/normalization.h b/src/library/unicode_normalization/normalization.h index dda94194835..614fd448e93 100644 --- a/src/library/unicode_normalization/normalization.h +++ b/src/library/unicode_normalization/normalization.h @@ -5,9 +5,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include #include namespace NUnicode { diff --git a/src/library/uri/assign.cpp b/src/library/uri/assign.cpp index 590ddcf56a8..f0fccd328ed 100644 --- a/src/library/uri/assign.cpp +++ b/src/library/uri/assign.cpp @@ -5,9 +5,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include namespace NUri { diff --git a/src/library/uri/common.cpp b/src/library/uri/common.cpp index 747bb62e839..b6f1fd43069 100644 --- a/src/library/uri/common.cpp +++ b/src/library/uri/common.cpp @@ -1,6 +1,6 @@ #include "common.h" -#include +#include #include diff --git a/src/library/uri/common.h b/src/library/uri/common.h index 95703627112..04aa79f03d7 100644 --- a/src/library/uri/common.h +++ b/src/library/uri/common.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include namespace NUri { diff --git a/src/library/uri/encode.cpp b/src/library/uri/encode.cpp index cf679caf66e..83c2f5ff8a5 100644 --- a/src/library/uri/encode.cpp +++ b/src/library/uri/encode.cpp @@ -1,6 +1,6 @@ #include "encode.h" -#include +#include namespace NUri { namespace NEncode { diff --git a/src/library/uri/encode.h b/src/library/uri/encode.h index fde6e15c626..7e01f20486b 100644 --- a/src/library/uri/encode.h +++ b/src/library/uri/encode.h @@ -2,7 +2,7 @@ #include "common.h" -#include +#include namespace NUri { namespace NEncode { diff --git a/src/library/uri/other.cpp b/src/library/uri/other.cpp index 00b3660141c..2b73306c4fa 100644 --- a/src/library/uri/other.cpp +++ b/src/library/uri/other.cpp @@ -2,9 +2,9 @@ #include -#include +#include #include -#include +#include /********************************************************/ /********************************************************/ diff --git a/src/library/uri/parse.h b/src/library/uri/parse.h index 5dba3a27c3d..8c58f514e66 100644 --- a/src/library/uri/parse.h +++ b/src/library/uri/parse.h @@ -8,9 +8,9 @@ #include #include -#include -#include -#include +#include +#include +#include namespace NUri { class TParser; diff --git a/src/library/uri/uri-ru_ut.cpp b/src/library/uri/uri-ru_ut.cpp index 26b737dfc95..e87ebea7a21 100644 --- a/src/library/uri/uri-ru_ut.cpp +++ b/src/library/uri/uri-ru_ut.cpp @@ -1,7 +1,7 @@ #include "uri_ut.h" #include #include -#include +#include namespace NUri { namespace { diff --git a/src/library/uri/uri.cpp b/src/library/uri/uri.cpp index 334ef899e6c..ba68c923f8c 100644 --- a/src/library/uri/uri.cpp +++ b/src/library/uri/uri.cpp @@ -1,8 +1,8 @@ #include "uri.h" -#include +#include #include -#include +#include namespace NUri { TState::EParsed TUri::CheckHost(const std::string_view& host) { diff --git a/src/library/uri/uri.h b/src/library/uri/uri.h index 48fda8a4578..17348738976 100644 --- a/src/library/uri/uri.h +++ b/src/library/uri/uri.h @@ -5,11 +5,11 @@ #include -#include +#include #include -#include -#include -#include +#include +#include +#include #include diff --git a/src/library/uri/uri_ut.cpp b/src/library/uri/uri_ut.cpp index 58ec07ff734..43fe4cf56e9 100644 --- a/src/library/uri/uri_ut.cpp +++ b/src/library/uri/uri_ut.cpp @@ -3,7 +3,7 @@ #include "qargs.h" #include -#include +#include namespace NUri { Y_UNIT_TEST_SUITE(URLTest) { diff --git a/src/library/uuid/uuid.cpp b/src/library/uuid/uuid.cpp index 858c9965462..e00ae9bfcd5 100644 --- a/src/library/uuid/uuid.cpp +++ b/src/library/uuid/uuid.cpp @@ -1,6 +1,6 @@ #include "uuid.h" -#include +#include namespace NKikimr { namespace NUuid { diff --git a/src/library/uuid/uuid.h b/src/library/uuid/uuid.h index cd25c801367..da7512073c6 100644 --- a/src/library/uuid/uuid.h +++ b/src/library/uuid/uuid.h @@ -1,6 +1,6 @@ #pragma once #include -#include +#include #include #include diff --git a/src/library/yql/public/issue/yql_issue.cpp b/src/library/yql/public/issue/yql_issue.cpp index 3f5241268ed..cd6178e91c6 100644 --- a/src/library/yql/public/issue/yql_issue.cpp +++ b/src/library/yql/public/issue/yql_issue.cpp @@ -6,10 +6,10 @@ #include #include -#include +#include #include -#include -#include +#include +#include #include #include #include diff --git a/src/library/yql/public/issue/yql_issue_message.cpp b/src/library/yql/public/issue/yql_issue_message.cpp index 63cd8bbbef2..3de1cf92830 100644 --- a/src/library/yql/public/issue/yql_issue_message.cpp +++ b/src/library/yql/public/issue/yql_issue_message.cpp @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/library/yson/detail.h b/src/library/yson/detail.h index 93998a74d6c..d32932ba892 100644 --- a/src/library/yson/detail.h +++ b/src/library/yson/detail.h @@ -4,9 +4,9 @@ #include "zigzag.h" #include -#include -#include -#include +#include +#include +#include namespace NYson { namespace NDetail { diff --git a/src/library/yson/json/json_writer.cpp b/src/library/yson/json/json_writer.cpp index 11200f20287..38529d7cbba 100644 --- a/src/library/yson/json/json_writer.cpp +++ b/src/library/yson/json/json_writer.cpp @@ -1,7 +1,7 @@ #include "json_writer.h" #include -#include +#include namespace NYT { //////////////////////////////////////////////////////////////////////////////// diff --git a/src/library/yson/lexer.cpp b/src/library/yson/lexer.cpp index 349ab8f5710..06fed63e007 100644 --- a/src/library/yson/lexer.cpp +++ b/src/library/yson/lexer.cpp @@ -2,7 +2,7 @@ #include "lexer_detail.h" #include -#include +#include namespace NYson { //////////////////////////////////////////////////////////////////////////////// diff --git a/src/library/yson/lexer.h b/src/library/yson/lexer.h index 1c6ff3eb7fa..f26191180f2 100644 --- a/src/library/yson/lexer.h +++ b/src/library/yson/lexer.h @@ -3,7 +3,7 @@ #include #include -#include +#include namespace NYson { //////////////////////////////////////////////////////////////////////////////// diff --git a/src/library/yson/node/node.cpp b/src/library/yson/node/node.cpp index 504c2e26378..64580c374a0 100644 --- a/src/library/yson/node/node.cpp +++ b/src/library/yson/node/node.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include diff --git a/src/library/yson/node/node_io.cpp b/src/library/yson/node/node_io.cpp index 2a50cd32e4e..7c2a3740e08 100644 --- a/src/library/yson/node/node_io.cpp +++ b/src/library/yson/node/node_io.cpp @@ -11,10 +11,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include namespace NYT { diff --git a/src/library/yson/node/node_io_ut.cpp b/src/library/yson/node/node_io_ut.cpp index 686be8d4032..aff82febdf4 100644 --- a/src/library/yson/node/node_io_ut.cpp +++ b/src/library/yson/node/node_io_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include using namespace NYson; diff --git a/src/library/yson/node/node_ut.cpp b/src/library/yson/node/node_ut.cpp index 764e8058d8c..3125c4a89fe 100644 --- a/src/library/yson/node/node_ut.cpp +++ b/src/library/yson/node/node_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include using namespace NYT; diff --git a/src/library/yson/node/node_visitor.cpp b/src/library/yson/node/node_visitor.cpp index a08678b8dba..8b4293a9fd0 100644 --- a/src/library/yson/node/node_visitor.cpp +++ b/src/library/yson/node/node_visitor.cpp @@ -1,6 +1,6 @@ #include "node_visitor.h" -#include +#include namespace NYT { diff --git a/src/library/yson/parser.cpp b/src/library/yson/parser.cpp index f0db53aaf50..d80ecb259aa 100644 --- a/src/library/yson/parser.cpp +++ b/src/library/yson/parser.cpp @@ -3,7 +3,7 @@ #include "format.h" #include "parser_detail.h" -#include +#include #include namespace NYson { diff --git a/src/library/yson/parser.h b/src/library/yson/parser.h index b2739e53775..a30edfe2ec8 100644 --- a/src/library/yson/parser.h +++ b/src/library/yson/parser.h @@ -2,7 +2,7 @@ #include -#include +#include class IInputStream; diff --git a/src/library/yson/ut/yson_ut.cpp b/src/library/yson/ut/yson_ut.cpp index acb12b20a77..8494de43a63 100644 --- a/src/library/yson/ut/yson_ut.cpp +++ b/src/library/yson/ut/yson_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include using namespace NYson; diff --git a/src/library/yson/varint.cpp b/src/library/yson/varint.cpp index bf84da36603..221f70f797a 100644 --- a/src/library/yson/varint.cpp +++ b/src/library/yson/varint.cpp @@ -2,7 +2,7 @@ #include "zigzag.h" -#include +#include #include namespace NYson { diff --git a/src/library/yson/varint.h b/src/library/yson/varint.h index 7a3c8a9b30a..3ed7a3a4adf 100644 --- a/src/library/yson/varint.h +++ b/src/library/yson/varint.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include namespace NYson { diff --git a/src/library/yson/writer.cpp b/src/library/yson/writer.cpp index c7a7d629d64..bff189bc477 100644 --- a/src/library/yson/writer.cpp +++ b/src/library/yson/writer.cpp @@ -6,7 +6,7 @@ #include "varint.h" #include "zigzag.h" -#include +#include #include diff --git a/src/library/yt/assert/assert.cpp b/src/library/yt/assert/assert.cpp index 289b06c6123..e26e75b1696 100644 --- a/src/library/yt/assert/assert.cpp +++ b/src/library/yt/assert/assert.cpp @@ -1,6 +1,6 @@ #include "assert.h" -#include +#include #include namespace NYT::NDetail { diff --git a/src/library/yt/assert/assert.h b/src/library/yt/assert/assert.h index 810d5442e63..738c90adbbb 100644 --- a/src/library/yt/assert/assert.h +++ b/src/library/yt/assert/assert.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include diff --git a/src/library/yt/coding/unittests/varint_ut.cpp b/src/library/yt/coding/unittests/varint_ut.cpp index bd23301a840..149aebda200 100644 --- a/src/library/yt/coding/unittests/varint_ut.cpp +++ b/src/library/yt/coding/unittests/varint_ut.cpp @@ -2,9 +2,9 @@ #include -#include +#include -#include +#include #include diff --git a/src/library/yt/coding/varint.h b/src/library/yt/coding/varint.h index d3e26771fcf..a1db1b3c359 100644 --- a/src/library/yt/coding/varint.h +++ b/src/library/yt/coding/varint.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include namespace NYT { diff --git a/src/library/yt/memory/atomic_intrusive_ptr-inl.h b/src/library/yt/memory/atomic_intrusive_ptr-inl.h index b67972e9faa..fc7f969a0df 100644 --- a/src/library/yt/memory/atomic_intrusive_ptr-inl.h +++ b/src/library/yt/memory/atomic_intrusive_ptr-inl.h @@ -5,7 +5,7 @@ #endif #undef ATOMIC_INTRUSIVE_PTR_INL_H_ -#include +#include namespace NYT { diff --git a/src/library/yt/memory/chunked_input_stream.h b/src/library/yt/memory/chunked_input_stream.h index 6d82a35dcc2..dd37150f960 100644 --- a/src/library/yt/memory/chunked_input_stream.h +++ b/src/library/yt/memory/chunked_input_stream.h @@ -2,7 +2,7 @@ #include "ref.h" -#include +#include namespace NYT { diff --git a/src/library/yt/memory/chunked_memory_pool_output.h b/src/library/yt/memory/chunked_memory_pool_output.h index dcb3d70b202..13d773c2183 100644 --- a/src/library/yt/memory/chunked_memory_pool_output.h +++ b/src/library/yt/memory/chunked_memory_pool_output.h @@ -3,7 +3,7 @@ #include "public.h" #include "ref.h" -#include +#include #include diff --git a/src/library/yt/memory/chunked_output_stream.h b/src/library/yt/memory/chunked_output_stream.h index e8df6668050..23b3fabe10c 100644 --- a/src/library/yt/memory/chunked_output_stream.h +++ b/src/library/yt/memory/chunked_output_stream.h @@ -4,7 +4,7 @@ #include -#include +#include #include diff --git a/src/library/yt/memory/intrusive_ptr.h b/src/library/yt/memory/intrusive_ptr.h index c555eaad4f4..41955a08869 100644 --- a/src/library/yt/memory/intrusive_ptr.h +++ b/src/library/yt/memory/intrusive_ptr.h @@ -3,7 +3,7 @@ #include "ref_counted.h" #include -#include +#include #include #include diff --git a/src/library/yt/memory/serialize.h b/src/library/yt/memory/serialize.h index b2d378c8b34..d4728e80e9f 100644 --- a/src/library/yt/memory/serialize.h +++ b/src/library/yt/memory/serialize.h @@ -2,7 +2,7 @@ #include "intrusive_ptr.h" -#include +#include //////////////////////////////////////////////////////////////////////////////// diff --git a/src/library/yt/memory/shared_range.h b/src/library/yt/memory/shared_range.h index 3d04ef51d02..ea9b6667ac4 100644 --- a/src/library/yt/memory/shared_range.h +++ b/src/library/yt/memory/shared_range.h @@ -7,7 +7,7 @@ #include -#include +#include #include diff --git a/src/library/yt/memory/unittests/chunked_memory_pool_ut.cpp b/src/library/yt/memory/unittests/chunked_memory_pool_ut.cpp index e26ebe2724b..76db7cc20fc 100644 --- a/src/library/yt/memory/unittests/chunked_memory_pool_ut.cpp +++ b/src/library/yt/memory/unittests/chunked_memory_pool_ut.cpp @@ -1,4 +1,4 @@ -#include +#include #include diff --git a/src/library/yt/memory/unittests/free_list_ut.cpp b/src/library/yt/memory/unittests/free_list_ut.cpp index ba500c8ba6f..308f49ead75 100644 --- a/src/library/yt/memory/unittests/free_list_ut.cpp +++ b/src/library/yt/memory/unittests/free_list_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/library/yt/memory/unittests/intrusive_ptr_ut.cpp b/src/library/yt/memory/unittests/intrusive_ptr_ut.cpp index 8528d94fb6c..3e8b8e81b45 100644 --- a/src/library/yt/memory/unittests/intrusive_ptr_ut.cpp +++ b/src/library/yt/memory/unittests/intrusive_ptr_ut.cpp @@ -8,7 +8,7 @@ #include -#include +#include namespace NYT { namespace { diff --git a/src/library/yt/misc/arcadia_enum-inl.h b/src/library/yt/misc/arcadia_enum-inl.h index 33e4c5eb49d..42d7244e1be 100644 --- a/src/library/yt/misc/arcadia_enum-inl.h +++ b/src/library/yt/misc/arcadia_enum-inl.h @@ -5,7 +5,7 @@ #include "arcadia_enum.h" #endif -#include +#include namespace NYT::NDetail { diff --git a/src/library/yt/misc/cast-inl.h b/src/library/yt/misc/cast-inl.h index 172726f2bdb..fe1b753df62 100644 --- a/src/library/yt/misc/cast-inl.h +++ b/src/library/yt/misc/cast-inl.h @@ -6,9 +6,9 @@ #include -#include +#include -#include +#include #include #include diff --git a/src/library/yt/misc/guid.cpp b/src/library/yt/misc/guid.cpp index 2d2e1abdb81..c116c32d904 100644 --- a/src/library/yt/misc/guid.cpp +++ b/src/library/yt/misc/guid.cpp @@ -1,7 +1,7 @@ #include "guid.h" #include -#include +#include #include #include diff --git a/src/library/yt/misc/guid.h b/src/library/yt/misc/guid.h index 8c7c1defd08..ddd28e2dba4 100644 --- a/src/library/yt/misc/guid.h +++ b/src/library/yt/misc/guid.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/library/yt/misc/hash.h b/src/library/yt/misc/hash.h index addfa1afa73..7dfba7bb4d1 100644 --- a/src/library/yt/misc/hash.h +++ b/src/library/yt/misc/hash.h @@ -2,7 +2,7 @@ #include -#include +#include namespace NYT { diff --git a/src/library/yt/misc/strong_typedef-inl.h b/src/library/yt/misc/strong_typedef-inl.h index c2a7e647b31..240f077fa96 100644 --- a/src/library/yt/misc/strong_typedef-inl.h +++ b/src/library/yt/misc/strong_typedef-inl.h @@ -4,8 +4,8 @@ #include "strong_typedef.h" #endif -#include -#include +#include +#include #include "wrapper_traits.h" diff --git a/src/library/yt/small_containers/unittests/compact_vector_ut.cpp b/src/library/yt/small_containers/unittests/compact_vector_ut.cpp index 3c2681c52c5..612fae5d0a2 100644 --- a/src/library/yt/small_containers/unittests/compact_vector_ut.cpp +++ b/src/library/yt/small_containers/unittests/compact_vector_ut.cpp @@ -16,7 +16,7 @@ #include -#include +#include #include #include diff --git a/src/library/yt/string/guid.h b/src/library/yt/string/guid.h index 668f411358d..85e6c5837df 100644 --- a/src/library/yt/string/guid.h +++ b/src/library/yt/string/guid.h @@ -1,4 +1,4 @@ -#include +#include #include diff --git a/src/library/yt/string/string.cpp b/src/library/yt/string/string.cpp index 2b2631ea3b5..9fec6aec1d3 100644 --- a/src/library/yt/string/string.cpp +++ b/src/library/yt/string/string.cpp @@ -5,7 +5,7 @@ #include -#include +#include namespace NYT { diff --git a/src/library/yt/string/string.h b/src/library/yt/string/string.h index 8f3cf465611..a33cf25d6f9 100644 --- a/src/library/yt/string/string.h +++ b/src/library/yt/string/string.h @@ -8,7 +8,7 @@ #include -#include +#include #include #include diff --git a/src/library/yt/string/string_builder.h b/src/library/yt/string/string_builder.h index a883c6fd8d4..5107d6a8b24 100644 --- a/src/library/yt/string/string_builder.h +++ b/src/library/yt/string/string_builder.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/library/yt/yson_string/convert.cpp b/src/library/yt/yson_string/convert.cpp index d8b7de06bff..38b3083824a 100644 --- a/src/library/yt/yson_string/convert.cpp +++ b/src/library/yt/yson_string/convert.cpp @@ -11,7 +11,7 @@ #include -#include +#include namespace NYT::NYson { diff --git a/src/util/charset/unicode_table.h b/src/util/charset/unicode_table.h index a7e9ac57a90..81c2bbef52a 100644 --- a/src/util/charset/unicode_table.h +++ b/src/util/charset/unicode_table.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/charset/utf8.h b/src/util/charset/utf8.h index 86d830d6f2c..b7109926af4 100644 --- a/src/util/charset/utf8.h +++ b/src/util/charset/utf8.h @@ -2,10 +2,10 @@ #include "recode_result.h" -#include -#include +#include +#include #include -#include +#include extern const wchar32 BROKEN_RUNE; diff --git a/src/util/charset/utf8_ut.cpp b/src/util/charset/utf8_ut.cpp index 4106fa86def..b3765b7bf1b 100644 --- a/src/util/charset/utf8_ut.cpp +++ b/src/util/charset/utf8_ut.cpp @@ -2,7 +2,7 @@ #include "wide.h" #include -#include +#include #include #include diff --git a/src/util/charset/wide.cpp b/src/util/charset/wide.cpp index e9b9625db09..e47073aab81 100644 --- a/src/util/charset/wide.cpp +++ b/src/util/charset/wide.cpp @@ -1,7 +1,7 @@ #include "wide.h" #include -#include +#include namespace { //! the constants are not zero-terminated diff --git a/src/util/charset/wide.h b/src/util/charset/wide.h index 98e96198442..72221fe78c8 100644 --- a/src/util/charset/wide.h +++ b/src/util/charset/wide.h @@ -5,13 +5,13 @@ #include "utf8.h" #include "wide_specific.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include -#include +#include #include diff --git a/src/util/charset/wide_specific.h b/src/util/charset/wide_specific.h index d1507cec19e..770d7493653 100644 --- a/src/util/charset/wide_specific.h +++ b/src/util/charset/wide_specific.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include inline constexpr bool IsW16SurrogateLead(wchar16 c) noexcept { return 0xD800 <= c && c <= 0xDBFF; diff --git a/src/util/datetime/base.cpp b/src/util/datetime/base.cpp index 27283cbafd6..37f562308f0 100644 --- a/src/util/datetime/base.cpp +++ b/src/util/datetime/base.cpp @@ -1,11 +1,11 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include -#include +#include std::string Strftime(const char* format, const struct tm* tm) { size_t size = Max(strlen(format) * 2 + 1, 107); diff --git a/src/util/datetime/base_ut.cpp b/src/util/datetime/base_ut.cpp index daaf299d867..6934daaa3ed 100644 --- a/src/util/datetime/base_ut.cpp +++ b/src/util/datetime/base_ut.cpp @@ -2,13 +2,13 @@ #include -#include +#include #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include diff --git a/src/util/datetime/cputimer.cpp b/src/util/datetime/cputimer.cpp index 2452def884d..f5b782d400d 100644 --- a/src/util/datetime/cputimer.cpp +++ b/src/util/datetime/cputimer.cpp @@ -2,8 +2,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/src/util/datetime/strptime.cpp b/src/util/datetime/strptime.cpp index f1ef2566fb0..ad1c289f772 100644 --- a/src/util/datetime/strptime.cpp +++ b/src/util/datetime/strptime.cpp @@ -54,7 +54,7 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include #include "systime.h" #ifdef _win32_ #ifndef lint diff --git a/src/util/datetime/systime.cpp b/src/util/datetime/systime.cpp index e1ba089b0e8..b905f873009 100644 --- a/src/util/datetime/systime.cpp +++ b/src/util/datetime/systime.cpp @@ -1,6 +1,6 @@ #include -#include +#include #include #ifdef _win_ diff --git a/src/util/datetime/uptime.cpp b/src/util/datetime/uptime.cpp index 68f3b8575f5..7bb3bef0c6d 100644 --- a/src/util/datetime/uptime.cpp +++ b/src/util/datetime/uptime.cpp @@ -1,10 +1,10 @@ #include "uptime.h" #if defined(_win_) - #include + #include #elif defined(_linux_) #include - #include + #include #elif defined(_darwin_) #include #endif diff --git a/src/util/digest/city.cpp b/src/util/digest/city.cpp index bf5d1ac6cc1..f47dc827c87 100644 --- a/src/util/digest/city.cpp +++ b/src/util/digest/city.cpp @@ -33,8 +33,8 @@ using uint8 = ui8; using uint32 = ui32; using uint64 = ui64; -#include -#include +#include +#include using namespace std; diff --git a/src/util/digest/city.h b/src/util/digest/city.h index 2f5d6ffa888..07bfd218a78 100644 --- a/src/util/digest/city.h +++ b/src/util/digest/city.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/src/util/digest/multi.cpp b/src/util/digest/multi.cpp index e4a59f0e674..fac1fd90625 100644 --- a/src/util/digest/multi.cpp +++ b/src/util/digest/multi.cpp @@ -1 +1 @@ -#include "multi.h" +#include diff --git a/src/util/digest/multi_ut.cpp b/src/util/digest/multi_ut.cpp index 29ef04b43a9..5bf54d3d8c2 100644 --- a/src/util/digest/multi_ut.cpp +++ b/src/util/digest/multi_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include class TMultiHashTest: public TTestBase { UNIT_TEST_SUITE(TMultiHashTest); diff --git a/src/util/digest/murmur.cpp b/src/util/digest/murmur.cpp index f73936005ea..4ac2d8bdfbd 100644 --- a/src/util/digest/murmur.cpp +++ b/src/util/digest/murmur.cpp @@ -1,6 +1,6 @@ #include "murmur.h" -#include +#include namespace NMurmurPrivate { //----------------------------------------------------------------------------- diff --git a/src/util/digest/numeric.cpp b/src/util/digest/numeric.cpp index d4d3f063fa4..3c463771e23 100644 --- a/src/util/digest/numeric.cpp +++ b/src/util/digest/numeric.cpp @@ -1 +1 @@ -#include "numeric.h" +#include diff --git a/src/util/digest/sequence.cpp b/src/util/digest/sequence.cpp index 5ab731f9bdf..64d95f69de3 100644 --- a/src/util/digest/sequence.cpp +++ b/src/util/digest/sequence.cpp @@ -1 +1 @@ -#include "sequence.h" +#include diff --git a/src/util/folder/dirent_win.h b/src/util/folder/dirent_win.h index 9238f6599e8..36ad554ed91 100644 --- a/src/util/folder/dirent_win.h +++ b/src/util/folder/dirent_win.h @@ -4,7 +4,7 @@ #ifdef _win_ - #include + #include #ifdef __cplusplus extern "C" { diff --git a/src/util/folder/dirut.cpp b/src/util/folder/dirut.cpp index 541150c2b51..0b5b5c8d010 100644 --- a/src/util/folder/dirut.cpp +++ b/src/util/folder/dirut.cpp @@ -5,11 +5,11 @@ #include "pathsplit.h" #include "path.h" -#include +#include #include #include -#include -#include +#include +#include namespace NStringPrivate { template diff --git a/src/util/folder/dirut.h b/src/util/folder/dirut.h index 173f36b0038..09b66a7dd97 100644 --- a/src/util/folder/dirut.h +++ b/src/util/folder/dirut.h @@ -1,9 +1,9 @@ #pragma once #include -#include +#include #include -#include +#include #include @@ -11,7 +11,7 @@ #include #ifdef _win32_ - #include + #include #include #include #include diff --git a/src/util/folder/dirut_ut.cpp b/src/util/folder/dirut_ut.cpp index 47d1d7a0c09..212a5e2ca85 100644 --- a/src/util/folder/dirut_ut.cpp +++ b/src/util/folder/dirut_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include Y_UNIT_TEST_SUITE(TDirutTest) { diff --git a/src/util/folder/filelist.h b/src/util/folder/filelist.h index 28c3d9d4e5d..65d3c31e18a 100644 --- a/src/util/folder/filelist.h +++ b/src/util/folder/filelist.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include diff --git a/src/util/folder/filelist_ut.cpp b/src/util/folder/filelist_ut.cpp index bacff7a92a1..9c6e94cdb0a 100644 --- a/src/util/folder/filelist_ut.cpp +++ b/src/util/folder/filelist_ut.cpp @@ -4,7 +4,7 @@ #include -#include +#include class TFileListTest: public TTestBase { UNIT_TEST_SUITE(TFileListTest); diff --git a/src/util/folder/fts.cpp b/src/util/folder/fts.cpp index 05d556fb6a9..38833c7d782 100644 --- a/src/util/folder/fts.cpp +++ b/src/util/folder/fts.cpp @@ -33,11 +33,11 @@ * $OpenBSD: fts.c,v 1.22 1999/10/03 19:22:22 millert Exp $ */ -#include -#include +#include +#include #include #include -#include +#include #include #ifndef _win_ diff --git a/src/util/folder/fts_ut.cpp b/src/util/folder/fts_ut.cpp index a98b852a9f0..4dd66223e64 100644 --- a/src/util/folder/fts_ut.cpp +++ b/src/util/folder/fts_ut.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include class TFtsTest: public TTestBase { diff --git a/src/util/folder/iterator.h b/src/util/folder/iterator.h index 648026fe699..98ebe9c04f8 100644 --- a/src/util/folder/iterator.h +++ b/src/util/folder/iterator.h @@ -2,10 +2,10 @@ #include "fts.h" -#include -#include +#include +#include #include -#include +#include #include #include diff --git a/src/util/folder/iterator_ut.cpp b/src/util/folder/iterator_ut.cpp index 150f16a2fed..0be1f644551 100644 --- a/src/util/folder/iterator_ut.cpp +++ b/src/util/folder/iterator_ut.cpp @@ -4,9 +4,9 @@ #include #include -#include +#include #include -#include +#include #include static std::string JoinWithNewline(const std::vector& strings) { diff --git a/src/util/folder/lstat_win.c b/src/util/folder/lstat_win.c index e88168dcfd2..fd65cd98311 100644 --- a/src/util/folder/lstat_win.c +++ b/src/util/folder/lstat_win.c @@ -1,7 +1,7 @@ #include #ifdef _win_ - #include + #include #include "lstat_win.h" int lstat(const char* fileName, stat_struct* fileStat) { diff --git a/src/util/folder/path.cpp b/src/util/folder/path.cpp index e0dfe17778a..8b3c43c88b0 100644 --- a/src/util/folder/path.cpp +++ b/src/util/folder/path.cpp @@ -2,11 +2,11 @@ #include "path.h" #include "pathsplit.h" -#include -#include -#include +#include +#include +#include #include -#include +#include #include struct TFsPath::TSplit: public TAtomicRefCount, public TPathSplit { diff --git a/src/util/folder/path.h b/src/util/folder/path.h index 1f6297365ee..37a8877dcd7 100644 --- a/src/util/folder/path.h +++ b/src/util/folder/path.h @@ -3,12 +3,12 @@ #include "fwd.h" #include "pathsplit.h" -#include -#include +#include +#include #include #include -#include -#include +#include +#include #include diff --git a/src/util/folder/path_ut.cpp b/src/util/folder/path_ut.cpp index 0e70f9f84c9..fd4c7c5278a 100644 --- a/src/util/folder/path_ut.cpp +++ b/src/util/folder/path_ut.cpp @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/util/folder/pathsplit.cpp b/src/util/folder/pathsplit.cpp index 0092c06d5fc..31518103246 100644 --- a/src/util/folder/pathsplit.cpp +++ b/src/util/folder/pathsplit.cpp @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include template static inline size_t ToReserve(const T& t) { diff --git a/src/util/folder/pathsplit.h b/src/util/folder/pathsplit.h index d282cde5504..030bd32e437 100644 --- a/src/util/folder/pathsplit.h +++ b/src/util/folder/pathsplit.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/util/folder/tempdir.cpp b/src/util/folder/tempdir.cpp index a2b5789d814..4925544f514 100644 --- a/src/util/folder/tempdir.cpp +++ b/src/util/folder/tempdir.cpp @@ -3,7 +3,7 @@ #include "dirut.h" #include -#include +#include TTempDir::TTempDir() : TTempDir(nullptr, TCreationToken{}) diff --git a/src/util/generic/adaptor.h b/src/util/generic/adaptor.h index 3041c0217de..7ca23275b45 100644 --- a/src/util/generic/adaptor.h +++ b/src/util/generic/adaptor.h @@ -1,6 +1,6 @@ #pragma once -#include "store_policy.h" +#include #include namespace NPrivate { diff --git a/src/util/generic/adaptor_ut.cpp b/src/util/generic/adaptor_ut.cpp index 2a013e974d6..c0832a5ec7a 100644 --- a/src/util/generic/adaptor_ut.cpp +++ b/src/util/generic/adaptor_ut.cpp @@ -1,5 +1,5 @@ #include "adaptor.h" -#include "yexception.h" +#include #include diff --git a/src/util/generic/algorithm.cpp b/src/util/generic/algorithm.cpp index d89586737e1..6436dc90d1b 100644 --- a/src/util/generic/algorithm.cpp +++ b/src/util/generic/algorithm.cpp @@ -1 +1 @@ -#include "algorithm.h" +#include diff --git a/src/util/generic/algorithm_ut.cpp b/src/util/generic/algorithm_ut.cpp index 15d6d4741c5..7efc237a532 100644 --- a/src/util/generic/algorithm_ut.cpp +++ b/src/util/generic/algorithm_ut.cpp @@ -1,6 +1,6 @@ #include -#include "algorithm.h" +#include #include "hash.h" #include "hash_multi_map.h" #include "string.h" diff --git a/src/util/generic/bitmap.h b/src/util/generic/bitmap.h index f5198b60df3..07198d44844 100644 --- a/src/util/generic/bitmap.h +++ b/src/util/generic/bitmap.h @@ -1,16 +1,16 @@ #pragma once -#include "fwd.h" -#include "ptr.h" +#include +#include #include "bitops.h" #include -#include "algorithm.h" -#include "utility.h" +#include +#include -#include +#include #include -#include -#include +#include +#include namespace NBitMapPrivate { // Returns number of bits set; result is in most significatnt byte diff --git a/src/util/generic/bitops.h b/src/util/generic/bitops.h index 68c6f6621cb..7b42f7ed1f1 100644 --- a/src/util/generic/bitops.h +++ b/src/util/generic/bitops.h @@ -1,10 +1,10 @@ #pragma once #include -#include "typelist.h" +#include #include -#include +#include #ifdef _MSC_VER #include diff --git a/src/util/generic/bitops_ut.cpp b/src/util/generic/bitops_ut.cpp index 3a02a0c43bf..5baf794d877 100644 --- a/src/util/generic/bitops_ut.cpp +++ b/src/util/generic/bitops_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include template static void TestCTZ() { diff --git a/src/util/generic/bt_exception.cpp b/src/util/generic/bt_exception.cpp index 609870c4c00..a64278721de 100644 --- a/src/util/generic/bt_exception.cpp +++ b/src/util/generic/bt_exception.cpp @@ -1 +1 @@ -#include "bt_exception.h" +#include diff --git a/src/util/generic/buffer.h b/src/util/generic/buffer.h index 581e0e82d3a..a8e1ff72c8c 100644 --- a/src/util/generic/buffer.h +++ b/src/util/generic/buffer.h @@ -1,11 +1,11 @@ #pragma once -#include "utility.h" +#include -#include +#include #include #include -#include +#include #include diff --git a/src/util/generic/cast.cpp b/src/util/generic/cast.cpp index 11f82364d39..2e46cd4a397 100644 --- a/src/util/generic/cast.cpp +++ b/src/util/generic/cast.cpp @@ -1 +1 @@ -#include "cast.h" +#include diff --git a/src/util/generic/fastqueue.h b/src/util/generic/fastqueue.h index 76d598a418e..f7129c47c15 100644 --- a/src/util/generic/fastqueue.h +++ b/src/util/generic/fastqueue.h @@ -1,7 +1,7 @@ #pragma once #include -#include "ptr.h" +#include template class TFastQueue { diff --git a/src/util/generic/flags.cpp b/src/util/generic/flags.cpp index ae923eb33c2..f56bce672b2 100644 --- a/src/util/generic/flags.cpp +++ b/src/util/generic/flags.cpp @@ -1,7 +1,7 @@ -#include "flags.h" +#include #include -#include +#include void ::NPrivate::PrintFlags(IOutputStream& stream, ui64 value, size_t size) { /* Note that this function is in cpp because we need to break circular diff --git a/src/util/generic/function.cpp b/src/util/generic/function.cpp index d4b693e3fa7..91b70d9eb73 100644 --- a/src/util/generic/function.cpp +++ b/src/util/generic/function.cpp @@ -1 +1 @@ -#include "function.h" +#include diff --git a/src/util/generic/function_ref.h b/src/util/generic/function_ref.h index f20307c023f..17cb90a06fb 100644 --- a/src/util/generic/function_ref.h +++ b/src/util/generic/function_ref.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/src/util/generic/fwd.cpp b/src/util/generic/fwd.cpp index 4214b6df83e..0a8e9bb6782 100644 --- a/src/util/generic/fwd.cpp +++ b/src/util/generic/fwd.cpp @@ -1 +1 @@ -#include "fwd.h" +#include diff --git a/src/util/generic/guid.cpp b/src/util/generic/guid.cpp index d9e310dc9e9..cb68633ba87 100644 --- a/src/util/generic/guid.cpp +++ b/src/util/generic/guid.cpp @@ -3,10 +3,10 @@ #include -#include -#include +#include +#include #include -#include +#include #include namespace { diff --git a/src/util/generic/guid.h b/src/util/generic/guid.h index 269b326a2f9..d05509800de 100644 --- a/src/util/generic/guid.h +++ b/src/util/generic/guid.h @@ -1,8 +1,8 @@ #pragma once -#include "fwd.h" +#include -#include +#include /** * UUID generation diff --git a/src/util/generic/hash.h b/src/util/generic/hash.h index 8b4666f5667..bd5e1442d92 100644 --- a/src/util/generic/hash.h +++ b/src/util/generic/hash.h @@ -1,6 +1,6 @@ #pragma once -#include "fwd.h" +#include #include "hash_table.h" diff --git a/src/util/generic/hash_multi_map.h b/src/util/generic/hash_multi_map.h index 6b027073cb0..edc25092f4a 100644 --- a/src/util/generic/hash_multi_map.h +++ b/src/util/generic/hash_multi_map.h @@ -1,6 +1,6 @@ #pragma once -#include "fwd.h" +#include #include "hash_table.h" template diff --git a/src/util/generic/hash_primes.cpp b/src/util/generic/hash_primes.cpp index 4c259124e44..848bb84ef65 100644 --- a/src/util/generic/hash_primes.cpp +++ b/src/util/generic/hash_primes.cpp @@ -1,6 +1,6 @@ #include "hash_primes.h" #include -#include "algorithm.h" +#include /// Order of fields: reciprocal, reciprocal shift, adjacent hint, divisor #if defined(_32_) diff --git a/src/util/generic/hash_primes_ut.cpp b/src/util/generic/hash_primes_ut.cpp index bbd85c7553f..ec26489381a 100644 --- a/src/util/generic/hash_primes_ut.cpp +++ b/src/util/generic/hash_primes_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include Y_UNIT_TEST_SUITE(TestHashPrimes) { diff --git a/src/util/generic/hash_table.cpp b/src/util/generic/hash_table.cpp index 0aa2589200c..6f1e9658394 100644 --- a/src/util/generic/hash_table.cpp +++ b/src/util/generic/hash_table.cpp @@ -1,7 +1,7 @@ #include "hash_table.h" -#include -#include +#include +#include const void* const _yhashtable_empty_data[] = {(void*)3, nullptr, (void*)1}; diff --git a/src/util/generic/hash_table.h b/src/util/generic/hash_table.h index 81217d0761f..d4002016266 100644 --- a/src/util/generic/hash_table.h +++ b/src/util/generic/hash_table.h @@ -1,16 +1,16 @@ #pragma once -#include "fwd.h" +#include #include "mapfindptr.h" -#include +#include #include -#include -#include -#include -#include "yexception.h" +#include +#include +#include +#include #include -#include "utility.h" +#include #include #include diff --git a/src/util/generic/hash_ut.cpp b/src/util/generic/hash_ut.cpp index cf64e54180e..227a5d81a7f 100644 --- a/src/util/generic/hash_ut.cpp +++ b/src/util/generic/hash_ut.cpp @@ -6,8 +6,8 @@ #include #include -#include -#include +#include +#include static const char star = 42; diff --git a/src/util/generic/intrlist.h b/src/util/generic/intrlist.h index 46ea944e024..337ef45d6fc 100644 --- a/src/util/generic/intrlist.h +++ b/src/util/generic/intrlist.h @@ -1,8 +1,8 @@ #pragma once -#include "utility.h" +#include -#include +#include #include struct TIntrusiveListDefaultTag {}; diff --git a/src/util/generic/intrlist_ut.cpp b/src/util/generic/intrlist_ut.cpp index 84f0bca4afe..e4a9216effc 100644 --- a/src/util/generic/intrlist_ut.cpp +++ b/src/util/generic/intrlist_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include class TListTest: public TTestBase { UNIT_TEST_SUITE(TListTest); diff --git a/src/util/generic/is_in.cpp b/src/util/generic/is_in.cpp index 4edfd1fe100..fd7e2859c1f 100644 --- a/src/util/generic/is_in.cpp +++ b/src/util/generic/is_in.cpp @@ -1 +1 @@ -#include "is_in.h" +#include diff --git a/src/util/generic/is_in_ut.cpp b/src/util/generic/is_in_ut.cpp index 0e08e768cb5..e9d6b103432 100644 --- a/src/util/generic/is_in_ut.cpp +++ b/src/util/generic/is_in_ut.cpp @@ -1,6 +1,6 @@ #include -#include "algorithm.h" +#include #include "hash.h" #include "hash_multi_map.h" #include "is_in.h" diff --git a/src/util/generic/iterator_range.cpp b/src/util/generic/iterator_range.cpp index bd8d7ff81bf..d494744c3fd 100644 --- a/src/util/generic/iterator_range.cpp +++ b/src/util/generic/iterator_range.cpp @@ -1 +1 @@ -#include "iterator_range.h" +#include diff --git a/src/util/generic/iterator_range_ut.cpp b/src/util/generic/iterator_range_ut.cpp index b42878ea82b..75bf4a81fcb 100644 --- a/src/util/generic/iterator_range_ut.cpp +++ b/src/util/generic/iterator_range_ut.cpp @@ -1,7 +1,7 @@ -#include "iterator_range.h" +#include #include -#include +#include #include Y_UNIT_TEST_SUITE(IteratorRange) { diff --git a/src/util/generic/lazy_value.h b/src/util/generic/lazy_value.h index c3a8eb26004..fa9f1c33b54 100644 --- a/src/util/generic/lazy_value.h +++ b/src/util/generic/lazy_value.h @@ -1,6 +1,6 @@ #pragma once -#include "function.h" +#include template class TLazyValueBase { diff --git a/src/util/generic/mapfindptr.h b/src/util/generic/mapfindptr.h index 3b1a5d26258..926467bf305 100644 --- a/src/util/generic/mapfindptr.h +++ b/src/util/generic/mapfindptr.h @@ -27,6 +27,12 @@ inline auto MapFindPtr(const Map& map Y_LIFETIME_BOUND, const K& key) { return (i == map.end() ? nullptr : &i->second); } +template +inline auto MapValue(const Map& map Y_LIFETIME_BOUND, const K& key, DefaultValue&& defaultValue) { + auto found = MapFindPtr(map, key); + return found ? *found : std::forward(defaultValue); +} + /** helper for THashMap/TMap */ template struct TMapOps { @@ -42,8 +48,7 @@ struct TMapOps { template inline auto Value(const K& key, DefaultValue&& defaultValue) const { - auto found = FindPtr(key); - return found ? *found : std::forward(defaultValue); + return MapValue(key, defaultValue); } template diff --git a/src/util/generic/noncopyable.cpp b/src/util/generic/noncopyable.cpp index a614dca34fa..9a7fc4c502b 100644 --- a/src/util/generic/noncopyable.cpp +++ b/src/util/generic/noncopyable.cpp @@ -1 +1 @@ -#include "noncopyable.h" +#include diff --git a/src/util/generic/overloaded_ut.cpp b/src/util/generic/overloaded_ut.cpp index ed0761e9147..1ab27b98bc5 100644 --- a/src/util/generic/overloaded_ut.cpp +++ b/src/util/generic/overloaded_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include diff --git a/src/util/generic/ptr.cpp b/src/util/generic/ptr.cpp index 8b41a1f46ef..3992cd01008 100644 --- a/src/util/generic/ptr.cpp +++ b/src/util/generic/ptr.cpp @@ -1,7 +1,7 @@ -#include "ptr.h" +#include #include -#include +#include #include #include diff --git a/src/util/generic/ptr_ut.cpp b/src/util/generic/ptr_ut.cpp index 6f690dc14fc..be8a95d4c74 100644 --- a/src/util/generic/ptr_ut.cpp +++ b/src/util/generic/ptr_ut.cpp @@ -1,4 +1,4 @@ -#include "ptr.h" +#include #include "vector.h" #include "noncopyable.h" diff --git a/src/util/generic/refcount.cpp b/src/util/generic/refcount.cpp index 4174858ff98..89f7c5b539d 100644 --- a/src/util/generic/refcount.cpp +++ b/src/util/generic/refcount.cpp @@ -1 +1 @@ -#include "refcount.h" +#include diff --git a/src/util/generic/scope_ut.cpp b/src/util/generic/scope_ut.cpp index 93c43bf823d..566dbb56235 100644 --- a/src/util/generic/scope_ut.cpp +++ b/src/util/generic/scope_ut.cpp @@ -1,6 +1,6 @@ #include "scope.h" -#include +#include #include Y_UNIT_TEST_SUITE(ScopeToolsTest) { diff --git a/src/util/generic/set.h b/src/util/generic/set.h index aa401cdfcee..e19fbad2654 100644 --- a/src/util/generic/set.h +++ b/src/util/generic/set.h @@ -1,9 +1,9 @@ #pragma once -#include "fwd.h" +#include -#include -#include +#include +#include #include #include diff --git a/src/util/generic/singleton.cpp b/src/util/generic/singleton.cpp index 5ef4405d96a..ff18e7fa4b7 100644 --- a/src/util/generic/singleton.cpp +++ b/src/util/generic/singleton.cpp @@ -1,6 +1,6 @@ -#include "singleton.h" +#include -#include +#include #include #include diff --git a/src/util/generic/stack.h b/src/util/generic/stack.h index d45bfbfb481..aa5032cce74 100644 --- a/src/util/generic/stack.h +++ b/src/util/generic/stack.h @@ -1,6 +1,6 @@ #pragma once -#include "fwd.h" +#include #include #include diff --git a/src/util/generic/store_policy.cpp b/src/util/generic/store_policy.cpp index bd445c891fd..052cd36ec5d 100644 --- a/src/util/generic/store_policy.cpp +++ b/src/util/generic/store_policy.cpp @@ -1 +1 @@ -#include "store_policy.h" +#include diff --git a/src/util/generic/string_transparent_hash_ut.cpp b/src/util/generic/string_transparent_hash_ut.cpp index b919fb3141f..cd6e2413e3b 100644 --- a/src/util/generic/string_transparent_hash_ut.cpp +++ b/src/util/generic/string_transparent_hash_ut.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include Y_UNIT_TEST_SUITE(StringHashFunctorTests) { Y_UNIT_TEST(TestTransparencyWithUnorderedSet) { diff --git a/src/util/generic/typelist.cpp b/src/util/generic/typelist.cpp index 275b565ddbf..d79309f99e8 100644 --- a/src/util/generic/typelist.cpp +++ b/src/util/generic/typelist.cpp @@ -1,4 +1,4 @@ -#include "typelist.h" +#include static_assert( TSignedInts::THave::value, diff --git a/src/util/generic/typelist_ut.cpp b/src/util/generic/typelist_ut.cpp index 1f825a7b662..b43f8487e75 100644 --- a/src/util/generic/typelist_ut.cpp +++ b/src/util/generic/typelist_ut.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include "typelist.h" #include "vector.h" diff --git a/src/util/generic/utility.cpp b/src/util/generic/utility.cpp index e1ed101c76f..24ce0b13045 100644 --- a/src/util/generic/utility.cpp +++ b/src/util/generic/utility.cpp @@ -1,4 +1,4 @@ -#include "utility.h" +#include #ifdef _MSC_VER #include diff --git a/src/util/generic/utility_ut.cpp b/src/util/generic/utility_ut.cpp index 98e133de097..baa2fa56353 100644 --- a/src/util/generic/utility_ut.cpp +++ b/src/util/generic/utility_ut.cpp @@ -1,4 +1,4 @@ -#include "utility.h" +#include #include "ymath.h" #include diff --git a/src/util/generic/xrange.cpp b/src/util/generic/xrange.cpp index 74ee8a40fe4..58c78aa0fc3 100644 --- a/src/util/generic/xrange.cpp +++ b/src/util/generic/xrange.cpp @@ -1 +1 @@ -#include "xrange.h" +#include diff --git a/src/util/generic/xrange_ut.cpp b/src/util/generic/xrange_ut.cpp index da35caf665e..16f46a20c9c 100644 --- a/src/util/generic/xrange_ut.cpp +++ b/src/util/generic/xrange_ut.cpp @@ -1,9 +1,9 @@ -#include "xrange.h" +#include -#include "algorithm.h" +#include #include "vector.h" #include -#include +#include Y_UNIT_TEST_SUITE(XRange) { void TestXRangeImpl(size_t begin, size_t end) { diff --git a/src/util/generic/yexception.cpp b/src/util/generic/yexception.cpp index 3fcbaeec386..7a23ef1842c 100644 --- a/src/util/generic/yexception.cpp +++ b/src/util/generic/yexception.cpp @@ -1,11 +1,11 @@ -#include "bt_exception.h" -#include "yexception.h" +#include +#include #include -#include -#include -#include +#include +#include +#include #if defined(_linux_) || defined(_android_) || defined(_darwin_) #include diff --git a/src/util/generic/yexception_ut.cpp b/src/util/generic/yexception_ut.cpp index 7e6cabbe70f..09f86936b1d 100644 --- a/src/util/generic/yexception_ut.cpp +++ b/src/util/generic/yexception_ut.cpp @@ -1,4 +1,4 @@ -#include "yexception.h" +#include static inline void Throw1DontMove() { ythrow yexception() << "blabla"; // don't move this line @@ -10,11 +10,11 @@ static inline void Throw2DontMove() { #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include #include "yexception_ut.h" diff --git a/src/util/generic/ymath.h b/src/util/generic/ymath.h index 5c18b375a8e..8141b6ce440 100644 --- a/src/util/generic/ymath.h +++ b/src/util/generic/ymath.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include @@ -8,7 +8,7 @@ #include #include -#include "utility.h" +#include constexpr double PI = M_PI; constexpr double M_LOG2_10 = 3.32192809488736234787; // log2(10) diff --git a/src/util/generic/ymath_ut.cpp b/src/util/generic/ymath_ut.cpp index fb91f163cd6..79db49fc9ea 100644 --- a/src/util/generic/ymath_ut.cpp +++ b/src/util/generic/ymath_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include #include diff --git a/src/util/memory/alloc.cpp b/src/util/memory/alloc.cpp index cc4f3ad2b0c..051da5e5070 100644 --- a/src/util/memory/alloc.cpp +++ b/src/util/memory/alloc.cpp @@ -1,6 +1,6 @@ -#include "alloc.h" +#include -#include +#include #include using TBlock = TDefaultAllocator::TBlock; diff --git a/src/util/memory/blob.cpp b/src/util/memory/blob.cpp index 42c761f76e4..7363db162e2 100644 --- a/src/util/memory/blob.cpp +++ b/src/util/memory/blob.cpp @@ -1,15 +1,15 @@ -#include "blob.h" +#include #include "addstorage.h" -#include +#include #include #include #include -#include +#include #include #include -#include -#include +#include +#include template class TDynamicBlobBase: public TBlob::TBase, diff --git a/src/util/memory/blob_ut.cpp b/src/util/memory/blob_ut.cpp index 977f82c6479..b85f36a69ec 100644 --- a/src/util/memory/blob_ut.cpp +++ b/src/util/memory/blob_ut.cpp @@ -1,10 +1,10 @@ -#include "blob.h" +#include #include #include #include -#include +#include #include #include diff --git a/src/util/memory/mmapalloc.cpp b/src/util/memory/mmapalloc.cpp index bb0eb79ae9d..b55fec07bb8 100644 --- a/src/util/memory/mmapalloc.cpp +++ b/src/util/memory/mmapalloc.cpp @@ -1,8 +1,8 @@ -#include "alloc.h" +#include #include "mmapalloc.h" #include -#include +#include namespace { class TMmapAllocator: public IAllocator { diff --git a/src/util/memory/pool.h b/src/util/memory/pool.h index 05f14683b4f..5e2ce7f1846 100644 --- a/src/util/memory/pool.h +++ b/src/util/memory/pool.h @@ -1,13 +1,13 @@ #pragma once -#include "alloc.h" +#include #include -#include +#include #include -#include +#include #include -#include +#include #include #include diff --git a/src/util/memory/pool_ut.cpp b/src/util/memory/pool_ut.cpp index 919adc31962..2146548a6ce 100644 --- a/src/util/memory/pool_ut.cpp +++ b/src/util/memory/pool_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include class TCheckedAllocator: public TDefaultAllocator { public: diff --git a/src/util/memory/segmented_string_pool.h b/src/util/memory/segmented_string_pool.h index 23d658507b0..5ee1679ee65 100644 --- a/src/util/memory/segmented_string_pool.h +++ b/src/util/memory/segmented_string_pool.h @@ -1,9 +1,9 @@ #pragma once #include -#include +#include #include -#include +#include #include #include diff --git a/src/util/memory/smallobj.h b/src/util/memory/smallobj.h index a5e4e414770..61f298c7a9b 100644 --- a/src/util/memory/smallobj.h +++ b/src/util/memory/smallobj.h @@ -1,9 +1,9 @@ #pragma once #include "pool.h" -#include "alloc.h" +#include -#include +#include #include class TFixedSizeAllocator { diff --git a/src/util/memory/tempbuf.cpp b/src/util/memory/tempbuf.cpp index 7757a1821e6..bbbef7b4970 100644 --- a/src/util/memory/tempbuf.cpp +++ b/src/util/memory/tempbuf.cpp @@ -1,11 +1,11 @@ -#include "tempbuf.h" +#include #include "addstorage.h" -#include +#include #include #include -#include -#include +#include +#include #include #include diff --git a/src/util/network/address.cpp b/src/util/network/address.cpp index fa2596f685c..2b1a3df79c7 100644 --- a/src/util/network/address.cpp +++ b/src/util/network/address.cpp @@ -1,6 +1,6 @@ -#include +#include -#include "address.h" +#include #if defined(_unix_) #include diff --git a/src/util/network/endpoint.cpp b/src/util/network/endpoint.cpp index 8843dd588af..47e16a92965 100644 --- a/src/util/network/endpoint.cpp +++ b/src/util/network/endpoint.cpp @@ -1,5 +1,5 @@ #include "endpoint.h" -#include "sock.h" +#include TEndpoint::TEndpoint(const TEndpoint::TAddrRef& addr) : Addr_(addr) diff --git a/src/util/network/endpoint.h b/src/util/network/endpoint.h index 0c06f64e212..b9d8cc4bea6 100644 --- a/src/util/network/endpoint.h +++ b/src/util/network/endpoint.h @@ -1,8 +1,8 @@ #pragma once -#include "address.h" +#include -#include +#include //some equivalent boost::asio::ip::endpoint (easy for using pair ip:port) class TEndpoint { diff --git a/src/util/network/hostip.cpp b/src/util/network/hostip.cpp index 2b8e6af45bf..a0fc89e35cb 100644 --- a/src/util/network/hostip.cpp +++ b/src/util/network/hostip.cpp @@ -1,8 +1,8 @@ -#include "socket.h" -#include "hostip.h" +#include +#include #include -#include +#include #if defined(_unix_) || defined(_cygwin_) #include diff --git a/src/util/network/init.cpp b/src/util/network/init.cpp index d5d823f3839..9a2dcb938f9 100644 --- a/src/util/network/init.cpp +++ b/src/util/network/init.cpp @@ -1,7 +1,7 @@ -#include "init.h" +#include #include -#include +#include namespace { class TNetworkInit { diff --git a/src/util/network/interface.cpp b/src/util/network/interface.cpp index 2b2387d3408..83a431ea159 100644 --- a/src/util/network/interface.cpp +++ b/src/util/network/interface.cpp @@ -1,6 +1,6 @@ #include "interface.h" -#include +#include #if defined(_unix_) #include diff --git a/src/util/network/interface.h b/src/util/network/interface.h index db49edcd772..723ba9c5716 100644 --- a/src/util/network/interface.h +++ b/src/util/network/interface.h @@ -1,6 +1,6 @@ #pragma once -#include "address.h" +#include #include diff --git a/src/util/network/iovec.h b/src/util/network/iovec.h index 913a258e28d..2c2a485b85b 100644 --- a/src/util/network/iovec.h +++ b/src/util/network/iovec.h @@ -1,8 +1,8 @@ #pragma once -#include +#include #include -#include +#include class TContIOVector { using TPart = IOutputStream::TPart; diff --git a/src/util/network/ip.cpp b/src/util/network/ip.cpp index a43bcdadcf2..3a080b5ace5 100644 --- a/src/util/network/ip.cpp +++ b/src/util/network/ip.cpp @@ -1 +1 @@ -#include "ip.h" +#include diff --git a/src/util/network/ip_ut.cpp b/src/util/network/ip_ut.cpp index 0f35814cbcd..3f5958c71a6 100644 --- a/src/util/network/ip_ut.cpp +++ b/src/util/network/ip_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include class TSysIpTest: public TTestBase { UNIT_TEST_SUITE(TSysIpTest); diff --git a/src/util/network/nonblock.cpp b/src/util/network/nonblock.cpp index 2de13fe51c3..64dca279015 100644 --- a/src/util/network/nonblock.cpp +++ b/src/util/network/nonblock.cpp @@ -2,7 +2,7 @@ #include -#include +#include #if defined(_unix_) #include diff --git a/src/util/network/nonblock.h b/src/util/network/nonblock.h index 54e5e44ae36..1cb43d15967 100644 --- a/src/util/network/nonblock.h +++ b/src/util/network/nonblock.h @@ -1,6 +1,6 @@ #pragma once -#include "socket.h" +#include //assume s is non-blocking, return non-blocking socket SOCKET Accept4(SOCKET s, struct sockaddr* addr, socklen_t* addrlen); diff --git a/src/util/network/pair.h b/src/util/network/pair.h index 0d4506f880d..ef6d1765f64 100644 --- a/src/util/network/pair.h +++ b/src/util/network/pair.h @@ -1,6 +1,6 @@ #pragma once -#include "init.h" +#include int SocketPair(SOCKET socks[2], bool overlapped, bool cloexec = false); diff --git a/src/util/network/poller.cpp b/src/util/network/poller.cpp index a319eeeddae..822e1b1e0a9 100644 --- a/src/util/network/poller.cpp +++ b/src/util/network/poller.cpp @@ -1,7 +1,7 @@ #include "poller.h" #include "pollerimpl.h" -#include +#include #include diff --git a/src/util/network/poller.h b/src/util/network/poller.h index 6e77eac1629..47963f438e3 100644 --- a/src/util/network/poller.h +++ b/src/util/network/poller.h @@ -1,8 +1,8 @@ #pragma once -#include "socket.h" +#include -#include +#include #include class TSocketPoller { diff --git a/src/util/network/poller_ut.cpp b/src/util/network/poller_ut.cpp index 8a901448b90..e261eeffed0 100644 --- a/src/util/network/poller_ut.cpp +++ b/src/util/network/poller_ut.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include "pair.h" #include "poller.h" diff --git a/src/util/network/pollerimpl.h b/src/util/network/pollerimpl.h index 8f271604694..a301c51bb03 100644 --- a/src/util/network/pollerimpl.h +++ b/src/util/network/pollerimpl.h @@ -1,13 +1,13 @@ #pragma once -#include "socket.h" +#include -#include +#include #include #include #include -#include -#include +#include +#include #include #include @@ -319,7 +319,7 @@ class TEpollPoller { #endif #if defined(HAVE_SELECT_POLLER) - #include + #include #include #include "pair.h" diff --git a/src/util/network/sock.cpp b/src/util/network/sock.cpp index d4864a9c1c4..974ac2baad5 100644 --- a/src/util/network/sock.cpp +++ b/src/util/network/sock.cpp @@ -1 +1 @@ -#include "sock.h" +#include diff --git a/src/util/network/socket.cpp b/src/util/network/socket.cpp index abbdb90be02..31b4110327f 100644 --- a/src/util/network/socket.cpp +++ b/src/util/network/socket.cpp @@ -1,11 +1,11 @@ -#include "ip.h" -#include "socket.h" -#include "address.h" +#include +#include +#include #include "pollerimpl.h" #include "iovec.h" #include -#include +#include #include #if defined(_unix_) @@ -31,17 +31,17 @@ #include #include - #include + #include #endif #include -#include -#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/util/network/socket_ut.cpp b/src/util/network/socket_ut.cpp index a7fbb237e94..d371df4a69d 100644 --- a/src/util/network/socket_ut.cpp +++ b/src/util/network/socket_ut.cpp @@ -4,7 +4,7 @@ #include -#include +#include #include #include diff --git a/src/util/random/common_ops.h b/src/util/random/common_ops.h index c61694e5d93..fc6c034c0dd 100644 --- a/src/util/random/common_ops.h +++ b/src/util/random/common_ops.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include namespace NPrivate { constexpr double ToRandReal1(const ui32 x) noexcept { diff --git a/src/util/random/common_ops_ut.cpp b/src/util/random/common_ops_ut.cpp index 06f5206c00e..2b1922f559d 100644 --- a/src/util/random/common_ops_ut.cpp +++ b/src/util/random/common_ops_ut.cpp @@ -3,7 +3,7 @@ #include -#include +#include #include diff --git a/src/util/random/easy.h b/src/util/random/easy.h index fd5b826fbe8..cf857f3a997 100644 --- a/src/util/random/easy.h +++ b/src/util/random/easy.h @@ -1,6 +1,6 @@ #pragma once -#include "random.h" +#include namespace NPrivate { struct TRandom { diff --git a/src/util/random/entropy.cpp b/src/util/random/entropy.cpp index a255423f176..88e682b4c76 100644 --- a/src/util/random/entropy.cpp +++ b/src/util/random/entropy.cpp @@ -1,18 +1,18 @@ #include "fast.h" -#include "random.h" +#include #include "entropy.h" #include "mersenne.h" #include "shuffle.h" #include "init_atfork.h" -#include -#include +#include +#include #include #include #include #include -#include +#include #include #include #include @@ -21,15 +21,15 @@ #include #include #include -#include +#include #include -#include +#include #include #include -#include +#include namespace { inline void Permute(char* buf, size_t len, ui32 seed) noexcept { diff --git a/src/util/random/fast.cpp b/src/util/random/fast.cpp index 5f857fcebcc..aa27301f7b2 100644 --- a/src/util/random/fast.cpp +++ b/src/util/random/fast.cpp @@ -1,6 +1,6 @@ #include "fast.h" -#include +#include static inline ui32 FixSeq(ui32 seq1, ui32 seq2) noexcept { const ui32 mask = (~(ui32)(0)) >> 1; diff --git a/src/util/random/init_atfork.cpp b/src/util/random/init_atfork.cpp index 5ab54d2cbc4..68478f2b010 100644 --- a/src/util/random/init_atfork.cpp +++ b/src/util/random/init_atfork.cpp @@ -1,8 +1,8 @@ #include "init_atfork.h" -#include "random.h" +#include -#include -#include +#include +#include #if defined(_unix_) #include diff --git a/src/util/random/mersenne32.cpp b/src/util/random/mersenne32.cpp index d8a63d479f7..9d72fff4e2e 100644 --- a/src/util/random/mersenne32.cpp +++ b/src/util/random/mersenne32.cpp @@ -1,7 +1,7 @@ #include "mersenne32.h" #include -#include +#include using namespace NPrivate; diff --git a/src/util/random/mersenne64.cpp b/src/util/random/mersenne64.cpp index 5cbd09cf32e..b937ef60128 100644 --- a/src/util/random/mersenne64.cpp +++ b/src/util/random/mersenne64.cpp @@ -1,7 +1,7 @@ #include "mersenne64.h" #include -#include +#include #define MM 156 #define MATRIX_A ULL(0xB5026F5AA96619E9) diff --git a/src/util/random/mersenne_ut.cpp b/src/util/random/mersenne_ut.cpp index 6f12429ae97..bbbe71cd9d7 100644 --- a/src/util/random/mersenne_ut.cpp +++ b/src/util/random/mersenne_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #define UI32(x) x##ul diff --git a/src/util/random/normal.cpp b/src/util/random/normal.cpp index 478b38fd250..29c00bc47f2 100644 --- a/src/util/random/normal.cpp +++ b/src/util/random/normal.cpp @@ -1,6 +1,6 @@ #include "normal.h" #include "common_ops.h" -#include "random.h" +#include namespace { template diff --git a/src/util/random/random.cpp b/src/util/random/random.cpp index 33b5d0ef95c..0509778ce07 100644 --- a/src/util/random/random.cpp +++ b/src/util/random/random.cpp @@ -1,12 +1,12 @@ -#include "random.h" +#include #include "entropy.h" #include "mersenne.h" #include #include #include -#include -#include +#include +#include namespace { struct TProcStream { diff --git a/src/util/random/shuffle.h b/src/util/random/shuffle.h index 85b374d83d1..617abe66b84 100644 --- a/src/util/random/shuffle.h +++ b/src/util/random/shuffle.h @@ -3,8 +3,8 @@ #include "fast.h" #include "entropy.h" -#include -#include +#include +#include // some kind of https://en.wikipedia.org/wiki/Fisher–Yates_shuffle#The_modern_algorithm diff --git a/src/util/str_stl.cpp b/src/util/str_stl.cpp index 535b8e01efa..6d5453f3b4c 100644 --- a/src/util/str_stl.cpp +++ b/src/util/str_stl.cpp @@ -1 +1 @@ -#include "str_stl.h" +#include diff --git a/src/util/stream/buffer.h b/src/util/stream/buffer.h index e7982eaf06e..c7dac6a8eee 100644 --- a/src/util/stream/buffer.h +++ b/src/util/stream/buffer.h @@ -1,9 +1,9 @@ #pragma once -#include "zerocopy.h" -#include "zerocopy_output.h" +#include +#include -#include +#include class TBuffer; diff --git a/src/util/stream/buffered.cpp b/src/util/stream/buffered.cpp index 9e09d1c5eda..a4c7d1a2108 100644 --- a/src/util/stream/buffered.cpp +++ b/src/util/stream/buffered.cpp @@ -1,8 +1,8 @@ -#include "mem.h" +#include #include "buffered.h" #include -#include +#include #include #include diff --git a/src/util/stream/buffered.h b/src/util/stream/buffered.h index f627ebb4fb2..9b34a9cc3d6 100644 --- a/src/util/stream/buffered.h +++ b/src/util/stream/buffered.h @@ -1,12 +1,12 @@ #pragma once -#include "zerocopy.h" -#include "zerocopy_output.h" +#include +#include #include -#include +#include #include -#include +#include /** * @addtogroup Streams_Buffered diff --git a/src/util/stream/debug.cpp b/src/util/stream/debug.cpp index 90845156abb..ae2dbe15e44 100644 --- a/src/util/stream/debug.cpp +++ b/src/util/stream/debug.cpp @@ -1,9 +1,9 @@ #include "null.h" -#include "debug.h" +#include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/util/stream/file.cpp b/src/util/stream/file.cpp index 58c25415fab..4a859cd7cf9 100644 --- a/src/util/stream/file.cpp +++ b/src/util/stream/file.cpp @@ -1,7 +1,7 @@ #include "file.h" -#include -#include +#include +#include TUnbufferedFileInput::TUnbufferedFileInput(const char* path) : TUnbufferedFileInput(TFile(path, OPEN_MODE)) diff --git a/src/util/stream/file.h b/src/util/stream/file.h index 0709d8a671f..7fbcd53e22a 100644 --- a/src/util/stream/file.h +++ b/src/util/stream/file.h @@ -1,12 +1,12 @@ #pragma once -#include "fwd.h" -#include "input.h" -#include "output.h" +#include +#include +#include #include "buffered.h" -#include "mem.h" +#include -#include +#include #include diff --git a/src/util/stream/format.cpp b/src/util/stream/format.cpp index 0ec57a3c4be..b268159f658 100644 --- a/src/util/stream/format.cpp +++ b/src/util/stream/format.cpp @@ -1,8 +1,8 @@ #include "format.h" -#include "output.h" +#include #include -#include +#include #include namespace NFormatPrivate { diff --git a/src/util/stream/format.h b/src/util/stream/format.h index fe74387caa8..3258abaa2bb 100644 --- a/src/util/stream/format.h +++ b/src/util/stream/format.h @@ -1,12 +1,12 @@ #pragma once -#include "mem.h" -#include "output.h" +#include +#include #include -#include -#include -#include +#include +#include +#include enum ENumberFormatFlag { HF_FULL = 0x01, /**< Output number with leading zeros. */ diff --git a/src/util/stream/fwd.cpp b/src/util/stream/fwd.cpp index 4214b6df83e..6e48df3f88c 100644 --- a/src/util/stream/fwd.cpp +++ b/src/util/stream/fwd.cpp @@ -1 +1 @@ -#include "fwd.h" +#include diff --git a/src/util/stream/hex.cpp b/src/util/stream/hex.cpp index 0f7ccd7f44c..9aac6278769 100644 --- a/src/util/stream/hex.cpp +++ b/src/util/stream/hex.cpp @@ -1,6 +1,6 @@ #include "hex.h" -#include "output.h" +#include #include void HexEncode(const void* in, size_t len, IOutputStream& out) { diff --git a/src/util/stream/input.cpp b/src/util/stream/input.cpp index 8b6dd6326c0..59ad872f7de 100644 --- a/src/util/stream/input.cpp +++ b/src/util/stream/input.cpp @@ -1,14 +1,14 @@ -#include "input.h" -#include "output.h" -#include "str.h" +#include +#include +#include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/util/stream/input_ut.cpp b/src/util/stream/input_ut.cpp index fc07012fb38..01bcfc162c7 100644 --- a/src/util/stream/input_ut.cpp +++ b/src/util/stream/input_ut.cpp @@ -3,8 +3,8 @@ #include -#include -#include +#include +#include #ifdef _win_ #include diff --git a/src/util/stream/ios_ut.cpp b/src/util/stream/ios_ut.cpp index 14aa05cf8c5..fb0d369caf9 100644 --- a/src/util/stream/ios_ut.cpp +++ b/src/util/stream/ios_ut.cpp @@ -6,8 +6,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/src/util/stream/length.h b/src/util/stream/length.h index 399cf97ae5e..fa52efd053d 100644 --- a/src/util/stream/length.h +++ b/src/util/stream/length.h @@ -1,9 +1,9 @@ #pragma once -#include "input.h" -#include "output.h" +#include +#include -#include +#include /** * Proxy input stream that can read a limited number of characters from a slave diff --git a/src/util/stream/mem.cpp b/src/util/stream/mem.cpp index ed4375012c2..0fdb18f8c3e 100644 --- a/src/util/stream/mem.cpp +++ b/src/util/stream/mem.cpp @@ -1,6 +1,6 @@ -#include "mem.h" +#include -#include +#include TMemoryInput::TMemoryInput() noexcept : Buf_(nullptr) diff --git a/src/util/stream/multi.h b/src/util/stream/multi.h index 3fbdc6b2d6e..17dd0f2d165 100644 --- a/src/util/stream/multi.h +++ b/src/util/stream/multi.h @@ -1,6 +1,6 @@ #pragma once -#include "input.h" +#include /** * @addtogroup Streams_Multi diff --git a/src/util/stream/null.cpp b/src/util/stream/null.cpp index 54578339e12..1855528fd66 100644 --- a/src/util/stream/null.cpp +++ b/src/util/stream/null.cpp @@ -1,6 +1,6 @@ #include "null.h" -#include +#include TNullIO& NPrivate::UtilNullStream() noexcept { return *SingletonWithPriority(); diff --git a/src/util/stream/null.h b/src/util/stream/null.h index e97a1676ba9..32b0f003e84 100644 --- a/src/util/stream/null.h +++ b/src/util/stream/null.h @@ -1,7 +1,7 @@ #pragma once -#include "zerocopy.h" -#include "output.h" +#include +#include #include diff --git a/src/util/stream/output.cpp b/src/util/stream/output.cpp index 47d8f59e0ba..7eba8938bad 100644 --- a/src/util/stream/output.cpp +++ b/src/util/stream/output.cpp @@ -1,16 +1,16 @@ -#include "output.h" +#include -#include +#include #include "format.h" -#include -#include -#include +#include +#include +#include #include #include #if defined(_android_) #include - #include + #include #include #include #endif diff --git a/src/util/stream/str.cpp b/src/util/stream/str.cpp index 30fa1bbaf57..5525ebfc1fe 100644 --- a/src/util/stream/str.cpp +++ b/src/util/stream/str.cpp @@ -1,4 +1,4 @@ -#include "str.h" +#include #include diff --git a/src/util/stream/tee.h b/src/util/stream/tee.h index c69e232fb9f..3124acfb1e4 100644 --- a/src/util/stream/tee.h +++ b/src/util/stream/tee.h @@ -1,6 +1,6 @@ #pragma once -#include "output.h" +#include /** * @addtogroup Streams_Multi diff --git a/src/util/stream/tempbuf.cpp b/src/util/stream/tempbuf.cpp index 801a1fabb05..dc825fd7e1a 100644 --- a/src/util/stream/tempbuf.cpp +++ b/src/util/stream/tempbuf.cpp @@ -1,4 +1,4 @@ -#include "tempbuf.h" +#include namespace { static inline size_t Next(size_t size) noexcept { diff --git a/src/util/stream/walk.h b/src/util/stream/walk.h index 7e62cb44dc9..f6275849e3e 100644 --- a/src/util/stream/walk.h +++ b/src/util/stream/walk.h @@ -1,6 +1,6 @@ #pragma once -#include "zerocopy.h" +#include /** * Zero-copy stream that simplifies implementation of derived classes. diff --git a/src/util/stream/zerocopy.cpp b/src/util/stream/zerocopy.cpp index 1b4387bf07f..57e4930b66c 100644 --- a/src/util/stream/zerocopy.cpp +++ b/src/util/stream/zerocopy.cpp @@ -1,5 +1,5 @@ -#include "zerocopy.h" -#include "output.h" +#include +#include IZeroCopyInput::~IZeroCopyInput() = default; diff --git a/src/util/stream/zerocopy_output.cpp b/src/util/stream/zerocopy_output.cpp index cb7fb6f5b2c..1a985e1c921 100644 --- a/src/util/stream/zerocopy_output.cpp +++ b/src/util/stream/zerocopy_output.cpp @@ -1,6 +1,6 @@ -#include "zerocopy_output.h" +#include -#include +#include void IZeroCopyOutput::DoWrite(const void* buf, size_t len) { void* ptr = nullptr; diff --git a/src/util/stream/zlib.cpp b/src/util/stream/zlib.cpp index 4a076a0304f..54a1349a748 100644 --- a/src/util/stream/zlib.cpp +++ b/src/util/stream/zlib.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include diff --git a/src/util/stream/zlib.h b/src/util/stream/zlib.h index b6504370617..e9af9ce73d2 100644 --- a/src/util/stream/zlib.h +++ b/src/util/stream/zlib.h @@ -1,13 +1,13 @@ #pragma once -#include "fwd.h" -#include "input.h" -#include "output.h" +#include +#include +#include #include "buffered.h" #include -#include -#include +#include +#include /** * @addtogroup Streams_Archs diff --git a/src/util/string/ascii.cpp b/src/util/string/ascii.cpp index fe24395ead0..0538e3bbc42 100644 --- a/src/util/string/ascii.cpp +++ b/src/util/string/ascii.cpp @@ -1,7 +1,7 @@ -#include "ascii.h" +#include -#include -#include +#include +#include // clang-format off extern const unsigned char NPrivate::ASCII_CLASS[256] = { diff --git a/src/util/string/builder.cpp b/src/util/string/builder.cpp index 9e5c94ef48e..2bf31936e12 100644 --- a/src/util/string/builder.cpp +++ b/src/util/string/builder.cpp @@ -1,6 +1,6 @@ -#include "builder.h" +#include -#include +#include template <> void Out(IOutputStream& os, const TStringBuilder& sb) { diff --git a/src/util/string/cast.cpp b/src/util/string/cast.cpp index 90b065cc246..1fbb8740cf0 100644 --- a/src/util/string/cast.cpp +++ b/src/util/string/cast.cpp @@ -10,17 +10,17 @@ #include #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include #include -#include -#include +#include +#include using double_conversion::DoubleToStringConverter; using double_conversion::StringBuilder; diff --git a/src/util/string/escape.cpp b/src/util/string/escape.cpp index 5ddfbc12cbd..08ae0100e45 100644 --- a/src/util/string/escape.cpp +++ b/src/util/string/escape.cpp @@ -1,5 +1,5 @@ -#include "escape.h" -#include "cast.h" +#include +#include #include #include diff --git a/src/util/string/hex.h b/src/util/string/hex.h index 449fcb72546..7a7dac74a8c 100644 --- a/src/util/string/hex.h +++ b/src/util/string/hex.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include inline static char DigitToChar(unsigned char digit) { if (digit < 10) { diff --git a/src/util/string/join.h b/src/util/string/join.h index d39a9381419..272fb5b987f 100644 --- a/src/util/string/join.h +++ b/src/util/string/join.h @@ -1,8 +1,7 @@ #pragma once #include -#include -#include "cast.h" +#include /* * Default implementation of AppendToString uses a temporary std::string object which is inefficient. You can overload it diff --git a/src/util/string/join_ut.cpp b/src/util/string/join_ut.cpp index 6617518206b..c9270426bcb 100644 --- a/src/util/string/join_ut.cpp +++ b/src/util/string/join_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include struct TCustomData { std::vector Ints; diff --git a/src/util/string/reverse.h b/src/util/string/reverse.h index e439dd132de..0a1e5f30006 100644 --- a/src/util/string/reverse.h +++ b/src/util/string/reverse.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include diff --git a/src/util/string/split.h b/src/util/string/split.h index aae06b67ff6..dd2440312ca 100644 --- a/src/util/string/split.h +++ b/src/util/string/split.h @@ -1,18 +1,18 @@ #pragma once #include "strspn.h" -#include "cast.h" +#include #include -#include -#include +#include +#include #include -#include -#include +#include +#include #include #include -#include +#include #include #include diff --git a/src/util/string/split_ut.cpp b/src/util/string/split_ut.cpp index b1412042ac7..0c293859f81 100644 --- a/src/util/string/split_ut.cpp +++ b/src/util/string/split_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/src/util/string/strip.cpp b/src/util/string/strip.cpp index c9c9d6e46fe..0cc9ee3189a 100644 --- a/src/util/string/strip.cpp +++ b/src/util/string/strip.cpp @@ -1,5 +1,4 @@ -#include "strip.h" -#include "ascii.h" +#include #include diff --git a/src/util/string/subst.cpp b/src/util/string/subst.cpp index f9523fe287a..37fe5f73ee0 100644 --- a/src/util/string/subst.cpp +++ b/src/util/string/subst.cpp @@ -1,4 +1,4 @@ -#include "subst.h" +#include #include diff --git a/src/util/string/subst_ut.cpp b/src/util/string/subst_ut.cpp index f8461dd023c..79a939d06e7 100644 --- a/src/util/string/subst_ut.cpp +++ b/src/util/string/subst_ut.cpp @@ -1,5 +1,5 @@ #include "join.h" -#include "subst.h" +#include #include #include diff --git a/src/util/string/type.cpp b/src/util/string/type.cpp index 27b28a3bdf9..0cf7b7c3680 100644 --- a/src/util/string/type.cpp +++ b/src/util/string/type.cpp @@ -1,5 +1,5 @@ #include "type.h" -#include "ascii.h" +#include #include diff --git a/src/util/string/util.cpp b/src/util/string/util.cpp index 1254d767d0d..05d88cbfedd 100644 --- a/src/util/string/util.cpp +++ b/src/util/string/util.cpp @@ -1,6 +1,6 @@ #include "util.h" -#include +#include #include #include diff --git a/src/util/string/vector.h b/src/util/string/vector.h index f46d22a4546..f1a8046c158 100644 --- a/src/util/string/vector.h +++ b/src/util/string/vector.h @@ -1,10 +1,10 @@ #pragma once -#include "cast.h" +#include #include "split.h" -#include -#include +#include +#include #define KEEP_EMPTY_TOKENS 0x01 diff --git a/src/util/system/align.h b/src/util/system/align.h index 47b8d81f081..ac23c93c735 100644 --- a/src/util/system/align.h +++ b/src/util/system/align.h @@ -1,6 +1,6 @@ #pragma once -#include "yassert.h" +#include #include #include diff --git a/src/util/system/atexit.cpp b/src/util/system/atexit.cpp index 5e33427c4a6..50d5109d659 100644 --- a/src/util/system/atexit.cpp +++ b/src/util/system/atexit.cpp @@ -1,11 +1,11 @@ -#include "atexit.h" -#include "yassert.h" -#include "spinlock.h" +#include +#include +#include #include "thread.h" #include #include -#include +#include #include #include diff --git a/src/util/system/atexit_ut.cpp b/src/util/system/atexit_ut.cpp index 680eeb213ba..58382a06a4d 100644 --- a/src/util/system/atexit_ut.cpp +++ b/src/util/system/atexit_ut.cpp @@ -1,7 +1,7 @@ #include -#include "atexit.h" -#include +#include +#include #include diff --git a/src/util/system/backtrace.cpp b/src/util/system/backtrace.cpp index 043ecba6101..57cf7645ea0 100644 --- a/src/util/system/backtrace.cpp +++ b/src/util/system/backtrace.cpp @@ -1,8 +1,8 @@ #include "demangle_impl.h" #include -#include "backtrace.h" +#include -#include +#include #include #ifdef _win_ @@ -146,7 +146,7 @@ TResolvedSymbol ResolveSymbol(void* sym, char* buf, size_t len) { return ret; } #elif defined(_win_) - #include + #include namespace { struct TWinSymbolResolverImpl { diff --git a/src/util/system/backtrace_ut.cpp b/src/util/system/backtrace_ut.cpp index 580c83586ee..fc8c8f3b0b2 100644 --- a/src/util/system/backtrace_ut.cpp +++ b/src/util/system/backtrace_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include using PFunc = int (*)(void**, size_t); diff --git a/src/util/system/byteorder.cpp b/src/util/system/byteorder.cpp index 5db3d302976..a7f3f669f6b 100644 --- a/src/util/system/byteorder.cpp +++ b/src/util/system/byteorder.cpp @@ -1 +1 @@ -#include "byteorder.h" +#include diff --git a/src/util/system/compat.cpp b/src/util/system/compat.cpp index 585a64092bc..730bb455fb8 100644 --- a/src/util/system/compat.cpp +++ b/src/util/system/compat.cpp @@ -1,5 +1,5 @@ -#include "compat.h" -#include "progname.h" +#include +#include #ifdef _win_ diff --git a/src/util/system/compat_ut.cpp b/src/util/system/compat_ut.cpp index ca38b8c196a..3770ad43969 100644 --- a/src/util/system/compat_ut.cpp +++ b/src/util/system/compat_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include Y_UNIT_TEST_SUITE(TCompatTest) { Y_UNIT_TEST(TestGetprogname) { diff --git a/src/util/system/context.cpp b/src/util/system/context.cpp index 23bc58363da..89c276528e5 100644 --- a/src/util/system/context.cpp +++ b/src/util/system/context.cpp @@ -1,6 +1,6 @@ #include #include -#include "event.h" +#include #include "thread.h" #include //for abort() @@ -25,8 +25,8 @@ namespace __cxxabiv1 { #endif #endif -#include -#include +#include +#include #define FROM_CONTEXT_IMPL #include "context.h" diff --git a/src/util/system/context.h b/src/util/system/context.h index 109c529dfa3..77d6723feb8 100644 --- a/src/util/system/context.h +++ b/src/util/system/context.h @@ -6,8 +6,8 @@ #include "sanitizers.h" #include -#include -#include +#include +#include #define STACK_ALIGN (8 * PLATFORM_DATA_ALIGN) diff --git a/src/util/system/context_ut.cpp b/src/util/system/context_ut.cpp index 77f450d2156..aa60bd762fa 100644 --- a/src/util/system/context_ut.cpp +++ b/src/util/system/context_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include Y_UNIT_TEST_SUITE(TestContext) { template diff --git a/src/util/system/cpu_id.cpp b/src/util/system/cpu_id.cpp index 5bd704e6812..e3d3e80c16c 100644 --- a/src/util/system/cpu_id.cpp +++ b/src/util/system/cpu_id.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #if defined(_win_) #include diff --git a/src/util/system/cpu_id.h b/src/util/system/cpu_id.h index a21bb0724a9..edceaf19c00 100644 --- a/src/util/system/cpu_id.h +++ b/src/util/system/cpu_id.h @@ -2,7 +2,7 @@ #include #include -#include +#include #define Y_CPU_ID_ENUMERATE(F) \ F(SSE) \ diff --git a/src/util/system/daemon.cpp b/src/util/system/daemon.cpp index 38a869a70d8..bef5a50ad9b 100644 --- a/src/util/system/daemon.cpp +++ b/src/util/system/daemon.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/src/util/system/daemon_ut.cpp b/src/util/system/daemon_ut.cpp index 92af78dae26..6299babb545 100644 --- a/src/util/system/daemon_ut.cpp +++ b/src/util/system/daemon_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include Y_UNIT_TEST_SUITE(TDaemonTest) { diff --git a/src/util/system/datetime.cpp b/src/util/system/datetime.cpp index 22648f6e427..36bcffa2edf 100644 --- a/src/util/system/datetime.cpp +++ b/src/util/system/datetime.cpp @@ -1,5 +1,5 @@ #include "datetime.h" -#include "yassert.h" +#include #include "cpu_id.h" #include diff --git a/src/util/system/demangle_impl.h b/src/util/system/demangle_impl.h index 9360c8bd277..139cef81fa3 100644 --- a/src/util/system/demangle_impl.h +++ b/src/util/system/demangle_impl.h @@ -1,6 +1,6 @@ #pragma once -#include +#include namespace NPrivate { diff --git a/src/util/system/direct_io.cpp b/src/util/system/direct_io.cpp index 2445c27e284..1371a8ad731 100644 --- a/src/util/system/direct_io.cpp +++ b/src/util/system/direct_io.cpp @@ -2,13 +2,13 @@ #include -#include -#include +#include +#include #include #include "align.h" #ifdef _linux_ - #include + #include #include #include #endif diff --git a/src/util/system/direct_io.h b/src/util/system/direct_io.h index 8dcebc755a4..db97b2bba0d 100644 --- a/src/util/system/direct_io.h +++ b/src/util/system/direct_io.h @@ -2,7 +2,7 @@ #include "align.h" -#include "file.h" +#include #include // Supports Linux Direct-IO: diff --git a/src/util/system/direct_io_ut.cpp b/src/util/system/direct_io_ut.cpp index 503c5d60567..597c0885392 100644 --- a/src/util/system/direct_io_ut.cpp +++ b/src/util/system/direct_io_ut.cpp @@ -1,9 +1,9 @@ #include -#include +#include #include #include -#include +#include #include "direct_io.h" diff --git a/src/util/system/dynlib.cpp b/src/util/system/dynlib.cpp index d5919e34003..4967188918d 100644 --- a/src/util/system/dynlib.cpp +++ b/src/util/system/dynlib.cpp @@ -1,8 +1,8 @@ #include "dynlib.h" -#include "guard.h" -#include -#include +#include +#include +#include #include diff --git a/src/util/system/dynlib.h b/src/util/system/dynlib.h index abaab2dbd02..089ba0c55ea 100644 --- a/src/util/system/dynlib.h +++ b/src/util/system/dynlib.h @@ -2,7 +2,7 @@ #include -#include +#include #define Y_GET_FUNC(dll, name) FUNC_##name((dll).Sym(#name)) #define Y_GET_FUNC_OPTIONAL(dll, name) FUNC_##name((dll).SymOptional(#name)) diff --git a/src/util/system/err.cpp b/src/util/system/err.cpp index 19bccb4fbec..d1833f5e53c 100644 --- a/src/util/system/err.cpp +++ b/src/util/system/err.cpp @@ -1,11 +1,11 @@ #include -#include "progname.h" +#include #include "compat.h" #include "error.h" #include -#include +#include #include diff --git a/src/util/system/error.cpp b/src/util/system/error.cpp index 1219d81afbd..d78c286d11e 100644 --- a/src/util/system/error.cpp +++ b/src/util/system/error.cpp @@ -1,4 +1,4 @@ -#include "error.h" +#include #include @@ -6,9 +6,9 @@ #include #if defined(_win_) - #include - #include - #include + #include + #include + #include #include "winint.h" #endif diff --git a/src/util/system/event.cpp b/src/util/system/event.cpp index 04a70bbc5cc..34fd2c9e915 100644 --- a/src/util/system/event.cpp +++ b/src/util/system/event.cpp @@ -1,6 +1,6 @@ #include -#include "event.h" +#include #include #include diff --git a/src/util/system/event_ut.cpp b/src/util/system/event_ut.cpp index ab275610a77..b573e5745f5 100644 --- a/src/util/system/event_ut.cpp +++ b/src/util/system/event_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include diff --git a/src/util/system/execpath.cpp b/src/util/system/execpath.cpp index df842a7ac34..3ef483f91b5 100644 --- a/src/util/system/execpath.cpp +++ b/src/util/system/execpath.cpp @@ -4,7 +4,7 @@ #include #elif defined(_darwin_) #include - #include + #include #elif defined(_win_) #include "winint.h" #include @@ -16,7 +16,7 @@ #include #endif -#include +#include #include "execpath.h" #include "fs.h" diff --git a/src/util/system/execpath.h b/src/util/system/execpath.h index d75444e32f0..d00ba3e649a 100644 --- a/src/util/system/execpath.h +++ b/src/util/system/execpath.h @@ -1,6 +1,6 @@ #pragma once -#include +#include // NOTE: This function has rare sporadic failures (throws exceptions) on FreeBSD. See REVIEW:54297 const std::string& GetExecPath(); diff --git a/src/util/system/fake_mutex.h b/src/util/system/fake_mutex.h index 4ab8d60b137..4e3767815b4 100644 --- a/src/util/system/fake_mutex.h +++ b/src/util/system/fake_mutex.h @@ -1,6 +1,6 @@ #pragma once -#include +#include class TFakeMutex: public TNonCopyable { public: diff --git a/src/util/system/fasttime.cpp b/src/util/system/fasttime.cpp index b12e5dc86e9..99ead088ccc 100644 --- a/src/util/system/fasttime.cpp +++ b/src/util/system/fasttime.cpp @@ -1,8 +1,8 @@ #include "dynlib.h" #include "fasttime.h" -#include -#include +#include +#include #include #include diff --git a/src/util/system/fhandle.cpp b/src/util/system/fhandle.cpp index 67250ae1e58..fa30f96458a 100644 --- a/src/util/system/fhandle.cpp +++ b/src/util/system/fhandle.cpp @@ -1 +1 @@ -#include "fhandle.h" +#include diff --git a/src/util/system/file.cpp b/src/util/system/file.cpp index 6255fb1505f..382b4278e5c 100644 --- a/src/util/system/file.cpp +++ b/src/util/system/file.cpp @@ -1,26 +1,26 @@ -#include "file.h" -#include "flock.h" +#include +#include #include "fstat.h" -#include "sysstat.h" +#include #include "align.h" #include "info.h" #include #include -#include +#include #include -#include -#include +#include +#include #include #include -#include +#include #include #include -#include +#include #include diff --git a/src/util/system/file_lock.cpp b/src/util/system/file_lock.cpp index e6c3c110ef0..f0dd5b755d8 100644 --- a/src/util/system/file_lock.cpp +++ b/src/util/system/file_lock.cpp @@ -1,7 +1,7 @@ #include "file_lock.h" -#include "flock.h" +#include -#include +#include #include diff --git a/src/util/system/file_lock.h b/src/util/system/file_lock.h index dcfabad0cd3..cef0e27b3fc 100644 --- a/src/util/system/file_lock.h +++ b/src/util/system/file_lock.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include enum class EFileLockType { Exclusive, diff --git a/src/util/system/file_ut.cpp b/src/util/system/file_ut.cpp index b921b6b46e7..cedb4e0e252 100644 --- a/src/util/system/file_ut.cpp +++ b/src/util/system/file_ut.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include class TFileTest: public TTestBase { UNIT_TEST_SUITE(TFileTest); diff --git a/src/util/system/filemap.cpp b/src/util/system/filemap.cpp index f1105446c27..5ff4d5ba120 100644 --- a/src/util/system/filemap.cpp +++ b/src/util/system/filemap.cpp @@ -3,8 +3,8 @@ #include #include "hi_lo.h" -#include -#include +#include +#include #if defined(_win_) #include "winint.h" @@ -29,7 +29,7 @@ #error todo #endif -#include +#include #include #include "filemap.h" diff --git a/src/util/system/filemap.h b/src/util/system/filemap.h index 2a1980f5e64..b38c6804259 100644 --- a/src/util/system/filemap.h +++ b/src/util/system/filemap.h @@ -1,15 +1,15 @@ #pragma once -#include "file.h" +#include #include "align.h" -#include "yassert.h" - -#include -#include -#include -#include -#include -#include +#include + +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/util/system/flock.cpp b/src/util/system/flock.cpp index e35023bcade..55f618f40d8 100644 --- a/src/util/system/flock.cpp +++ b/src/util/system/flock.cpp @@ -1,8 +1,8 @@ -#include "flock.h" +#include #ifndef _unix_ - #include + #include #include "winint.h" #include diff --git a/src/util/system/fs.cpp b/src/util/system/fs.cpp index 154ad503a5a..158a87275f8 100644 --- a/src/util/system/fs.cpp +++ b/src/util/system/fs.cpp @@ -8,9 +8,9 @@ #include #endif -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/src/util/system/fs.h b/src/util/system/fs.h index 4ed2f90d976..d863f3599e2 100644 --- a/src/util/system/fs.h +++ b/src/util/system/fs.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include diff --git a/src/util/system/fstat.cpp b/src/util/system/fstat.cpp index 79cf41965cf..401c94d00fc 100644 --- a/src/util/system/fstat.cpp +++ b/src/util/system/fstat.cpp @@ -1,5 +1,5 @@ #include "fstat.h" -#include "file.h" +#include #include diff --git a/src/util/system/fstat.h b/src/util/system/fstat.h index 1d49f5d3621..d42ebdb9519 100644 --- a/src/util/system/fstat.h +++ b/src/util/system/fstat.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include class TFile; class TFsPath; diff --git a/src/util/system/guard.cpp b/src/util/system/guard.cpp index 29d14dd2277..7e0686677f1 100644 --- a/src/util/system/guard.cpp +++ b/src/util/system/guard.cpp @@ -1 +1 @@ -#include "guard.h" +#include diff --git a/src/util/system/guard_ut.cpp b/src/util/system/guard_ut.cpp index 86170fa9ad7..ad7d1abe812 100644 --- a/src/util/system/guard_ut.cpp +++ b/src/util/system/guard_ut.cpp @@ -1,9 +1,9 @@ -#include "guard.h" +#include #include "rwlock.h" #include -#include +#include struct TTestGuard: public TTestBase { UNIT_TEST_SUITE(TTestGuard); diff --git a/src/util/system/hi_lo.h b/src/util/system/hi_lo.h index f86870534fb..c58609bdfeb 100644 --- a/src/util/system/hi_lo.h +++ b/src/util/system/hi_lo.h @@ -1,6 +1,6 @@ #pragma once -#include "unaligned_mem.h" +#include #include diff --git a/src/util/system/hostname.cpp b/src/util/system/hostname.cpp index 982dbe5d884..6a3d6bf32b1 100644 --- a/src/util/system/hostname.cpp +++ b/src/util/system/hostname.cpp @@ -1,9 +1,9 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #if defined(_unix_) #include @@ -16,7 +16,7 @@ #endif #include -#include "yassert.h" +#include #include "hostname.h" namespace { diff --git a/src/util/system/hostname.h b/src/util/system/hostname.h index afd53179168..e239972a43f 100644 --- a/src/util/system/hostname.h +++ b/src/util/system/hostname.h @@ -1,6 +1,6 @@ #pragma once -#include +#include const char* GetHostName(); const std::string& HostName(); diff --git a/src/util/system/hp_timer.cpp b/src/util/system/hp_timer.cpp index 29fad1554ad..41b57b9ee31 100644 --- a/src/util/system/hp_timer.cpp +++ b/src/util/system/hp_timer.cpp @@ -1,7 +1,7 @@ #include "hp_timer.h" -#include -#include +#include +#include #include using namespace NHPTimer; diff --git a/src/util/system/info.cpp b/src/util/system/info.cpp index 9241f7f4b5a..f8db9ce485b 100644 --- a/src/util/system/info.cpp +++ b/src/util/system/info.cpp @@ -36,12 +36,12 @@ static int getloadavg(double* loadavg, int nelem) { #include #endif -#include -#include -#include +#include +#include +#include #include #include -#include +#include #if defined(_linux_) /* diff --git a/src/util/system/interrupt_signals.cpp b/src/util/system/interrupt_signals.cpp index 4b88f8e3811..f4dbac6a23e 100644 --- a/src/util/system/interrupt_signals.cpp +++ b/src/util/system/interrupt_signals.cpp @@ -1,6 +1,6 @@ #include "interrupt_signals.h" -#include +#include #include diff --git a/src/util/system/madvise.cpp b/src/util/system/madvise.cpp index 82f119fb7f6..20b30560583 100644 --- a/src/util/system/madvise.cpp +++ b/src/util/system/madvise.cpp @@ -2,12 +2,12 @@ #include "align.h" #include "info.h" -#include +#include #include #if defined(_win_) - #include + #include #else #include #endif diff --git a/src/util/system/maxlen.cpp b/src/util/system/maxlen.cpp index bcc9d72a4f7..42e26828c56 100644 --- a/src/util/system/maxlen.cpp +++ b/src/util/system/maxlen.cpp @@ -1 +1 @@ -#include "maxlen.h" +#include diff --git a/src/util/system/mem_info.cpp b/src/util/system/mem_info.cpp index 3989bc46bfd..285d909b962 100644 --- a/src/util/system/mem_info.cpp +++ b/src/util/system/mem_info.cpp @@ -3,8 +3,8 @@ #include #include -#include -#include +#include +#include #include "error.h" #include "info.h" @@ -20,7 +20,7 @@ #endif #elif defined(_win_) #include - #include + #include using NTSTATUS = LONG; #define STATUS_INFO_LENGTH_MISMATCH 0xC0000004 diff --git a/src/util/system/mem_info.h b/src/util/system/mem_info.h index f303d491970..017999a39af 100644 --- a/src/util/system/mem_info.h +++ b/src/util/system/mem_info.h @@ -1,6 +1,6 @@ #pragma once -#include "compat.h" +#include namespace NMemInfo { struct TMemInfo { diff --git a/src/util/system/mincore.cpp b/src/util/system/mincore.cpp index 3a156e39d73..7ec489f67a3 100644 --- a/src/util/system/mincore.cpp +++ b/src/util/system/mincore.cpp @@ -2,7 +2,7 @@ #include "info.h" #include "mincore.h" -#include +#include #include diff --git a/src/util/system/mktemp.cpp b/src/util/system/mktemp.cpp index 87004132151..cd4fdd80edc 100644 --- a/src/util/system/mktemp.cpp +++ b/src/util/system/mktemp.cpp @@ -1,7 +1,7 @@ #include "tempfile.h" #include -#include +#include #include diff --git a/src/util/system/mktemp_system.cpp b/src/util/system/mktemp_system.cpp index 4a7b1eaefa4..18dd7408263 100644 --- a/src/util/system/mktemp_system.cpp +++ b/src/util/system/mktemp_system.cpp @@ -42,8 +42,8 @@ #include #endif -#include -#include "sysstat.h" +#include +#include static const unsigned char padchar[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; diff --git a/src/util/system/mlock.cpp b/src/util/system/mlock.cpp index c3eefea47f0..5c5b4edd18e 100644 --- a/src/util/system/mlock.cpp +++ b/src/util/system/mlock.cpp @@ -1,4 +1,4 @@ -#include +#include #include "align.h" #include "error.h" #include "info.h" diff --git a/src/util/system/mlock.h b/src/util/system/mlock.h index e1d901f13bb..a23513f8c50 100644 --- a/src/util/system/mlock.h +++ b/src/util/system/mlock.h @@ -2,7 +2,7 @@ #include -#include +#include //on some systems (not win, freebd, linux, but darwin (Mac OS X) //multiple mlock calls on the same address range diff --git a/src/util/system/pipe.cpp b/src/util/system/pipe.cpp index 43e5792f818..cd4103ca37d 100644 --- a/src/util/system/pipe.cpp +++ b/src/util/system/pipe.cpp @@ -1,6 +1,6 @@ #include "pipe.h" -#include +#include ssize_t TPipeHandle::Read(void* buffer, size_t byteCount) const noexcept { #ifdef _win_ diff --git a/src/util/system/pipe.h b/src/util/system/pipe.h index db5c93ead9e..9c765298c6f 100644 --- a/src/util/system/pipe.h +++ b/src/util/system/pipe.h @@ -6,10 +6,10 @@ #endif #include -#include "file.h" -#include +#include +#include #include -#include +#include using PIPEHANDLE = SOCKET; #define INVALID_PIPEHANDLE INVALID_SOCKET diff --git a/src/util/system/progname.cpp b/src/util/system/progname.cpp index b412a3a3f2c..4ba8bc38288 100644 --- a/src/util/system/progname.cpp +++ b/src/util/system/progname.cpp @@ -1,8 +1,8 @@ #include "execpath.h" -#include "progname.h" +#include #include -#include +#include static const char* Argv0; diff --git a/src/util/system/progname_ut.cpp b/src/util/system/progname_ut.cpp index 5b5dfb7c4da..0a20ff144dd 100644 --- a/src/util/system/progname_ut.cpp +++ b/src/util/system/progname_ut.cpp @@ -1,4 +1,4 @@ -#include "progname.h" +#include #include diff --git a/src/util/system/protect.cpp b/src/util/system/protect.cpp index 606fc19ca24..152c79bf6a2 100644 --- a/src/util/system/protect.cpp +++ b/src/util/system/protect.cpp @@ -1,8 +1,8 @@ #include "protect.h" -#include +#include -#include "yassert.h" +#include #if defined(_unix_) || defined(_darwin_) #include diff --git a/src/util/system/protect.h b/src/util/system/protect.h index 06b4b10e7f9..d2ab833e180 100644 --- a/src/util/system/protect.h +++ b/src/util/system/protect.h @@ -2,7 +2,7 @@ #include -#include +#include enum EProtectMemoryMode { PM_NONE = 0x00, // no access allowed diff --git a/src/util/system/rusage.cpp b/src/util/system/rusage.cpp index a95d25221d2..8f73de49e94 100644 --- a/src/util/system/rusage.cpp +++ b/src/util/system/rusage.cpp @@ -15,7 +15,7 @@ #endif -#include +#include #include "info.h" diff --git a/src/util/system/rusage.h b/src/util/system/rusage.h index 30bfae1b79b..ac91fb7914c 100644 --- a/src/util/system/rusage.h +++ b/src/util/system/rusage.h @@ -1,7 +1,7 @@ #pragma once #include -#include +#include #include /// portable getrusage diff --git a/src/util/system/rwlock.cpp b/src/util/system/rwlock.cpp index c3da4c4a4ad..c1ef34546e2 100644 --- a/src/util/system/rwlock.cpp +++ b/src/util/system/rwlock.cpp @@ -1,6 +1,6 @@ -#include "rwlock.h" +#include -#include +#include #if defined(_unix_) #include diff --git a/src/util/system/rwlock_ut.cpp b/src/util/system/rwlock_ut.cpp index 83a2566e5b4..723378fbcc7 100644 --- a/src/util/system/rwlock_ut.cpp +++ b/src/util/system/rwlock_ut.cpp @@ -1,9 +1,9 @@ -#include "rwlock.h" +#include #include -#include -#include +#include +#include #include diff --git a/src/util/system/sem.cpp b/src/util/system/sem.cpp index 113f31edbee..5c7436389ca 100644 --- a/src/util/system/sem.cpp +++ b/src/util/system/sem.cpp @@ -38,11 +38,11 @@ union semun arg; #endif #include -#include +#include #include #if !defined(_unix_) || defined(_darwin_) - #include + #include #endif namespace { diff --git a/src/util/system/sem.h b/src/util/system/sem.h index b3bbe57aa72..b34258e0ae3 100644 --- a/src/util/system/sem.h +++ b/src/util/system/sem.h @@ -2,7 +2,7 @@ #include -#include +#include //named sempahore class TSemaphore { diff --git a/src/util/system/shellcommand.cpp b/src/util/system/shellcommand.cpp index 003b5b83448..967a9effa51 100644 --- a/src/util/system/shellcommand.cpp +++ b/src/util/system/shellcommand.cpp @@ -6,13 +6,13 @@ #include #include -#include +#include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/src/util/system/shellcommand.h b/src/util/system/shellcommand.h index 233c34d2e82..fde30a2351c 100644 --- a/src/util/system/shellcommand.h +++ b/src/util/system/shellcommand.h @@ -1,10 +1,10 @@ #pragma once -#include +#include #include -#include -#include -#include "file.h" +#include +#include +#include #include "getpid.h" #include "thread.h" #include diff --git a/src/util/system/shellcommand_ut.cpp b/src/util/system/shellcommand_ut.cpp index fc5acdf04f9..2076a9649f4 100644 --- a/src/util/system/shellcommand_ut.cpp +++ b/src/util/system/shellcommand_ut.cpp @@ -9,11 +9,11 @@ #include #include -#include +#include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/util/system/shmat.h b/src/util/system/shmat.h index 7e9268b288b..a6109762085 100644 --- a/src/util/system/shmat.h +++ b/src/util/system/shmat.h @@ -1,8 +1,8 @@ #pragma once -#include "fhandle.h" +#include -#include +#include #include class TSharedMemory: public TThrRefBase { diff --git a/src/util/system/sigset.h b/src/util/system/sigset.h index 8dd02fd8171..2117dfddca1 100644 --- a/src/util/system/sigset.h +++ b/src/util/system/sigset.h @@ -2,7 +2,7 @@ // Functions for manipulating signal sets -#include "compat.h" +#include #if defined _unix_ #include diff --git a/src/util/system/spin_wait.cpp b/src/util/system/spin_wait.cpp index 421cbd94101..d82912fd332 100644 --- a/src/util/system/spin_wait.cpp +++ b/src/util/system/spin_wait.cpp @@ -1,10 +1,10 @@ -#include "spin_wait.h" +#include #include "yield.h" -#include "compat.h" -#include "spinlock.h" +#include +#include -#include -#include +#include +#include #include diff --git a/src/util/system/spinlock.cpp b/src/util/system/spinlock.cpp index 63a803a30e4..4eed971cee6 100644 --- a/src/util/system/spinlock.cpp +++ b/src/util/system/spinlock.cpp @@ -1 +1 @@ -#include "spinlock.h" +#include diff --git a/src/util/system/src_location.cpp b/src/util/system/src_location.cpp index c93a93ecee7..00467a2d6b7 100644 --- a/src/util/system/src_location.cpp +++ b/src/util/system/src_location.cpp @@ -1,6 +1,6 @@ -#include "src_location.h" +#include -#include +#include template <> void Out(IOutputStream& o, const TSourceLocation& t) { diff --git a/src/util/system/src_location_ut.cpp b/src/util/system/src_location_ut.cpp index f31c36dadcf..64e9b61f22d 100644 --- a/src/util/system/src_location_ut.cpp +++ b/src/util/system/src_location_ut.cpp @@ -1,6 +1,6 @@ #include "src_location.h" -#include +#include #include diff --git a/src/util/system/src_root_ut.cpp b/src/util/system/src_root_ut.cpp index 4182523e65e..344cf626e7a 100644 --- a/src/util/system/src_root_ut.cpp +++ b/src/util/system/src_root_ut.cpp @@ -1,4 +1,4 @@ -#include "src_root.h" +#include #include #include diff --git a/src/util/system/sysstat.cpp b/src/util/system/sysstat.cpp index db3338b02e4..0e99e996611 100644 --- a/src/util/system/sysstat.cpp +++ b/src/util/system/sysstat.cpp @@ -1,4 +1,4 @@ -#include "sysstat.h" +#include #ifdef _win_ diff --git a/src/util/system/tempfile.h b/src/util/system/tempfile.h index da6d386641e..e9e7b101541 100644 --- a/src/util/system/tempfile.h +++ b/src/util/system/tempfile.h @@ -1,7 +1,7 @@ #pragma once #include "fs.h" -#include "file.h" +#include #include diff --git a/src/util/system/tempfile_ut.cpp b/src/util/system/tempfile_ut.cpp index 6e4cf6fb8a2..7042420e00a 100644 --- a/src/util/system/tempfile_ut.cpp +++ b/src/util/system/tempfile_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/src/util/system/thread.cpp b/src/util/system/thread.cpp index d0a00af6c6d..6b27ae6f97e 100644 --- a/src/util/system/thread.cpp +++ b/src/util/system/thread.cpp @@ -4,11 +4,11 @@ #include "thread.h" #include "thread.i" -#include +#include #include #include -#include -#include "yassert.h" +#include +#include #include #if defined(_linux_) diff --git a/src/util/system/thread.h b/src/util/system/thread.h index 3874216fe74..760cdbeba9c 100644 --- a/src/util/system/thread.h +++ b/src/util/system/thread.h @@ -4,12 +4,12 @@ /// If you need threads, use thread pool functionality in /// @see SystemThreadFactory() -#include +#include #include #include -#include "progname.h" +#include bool SetHighestThreadPriority(); bool SetLowestThreadPriority(); diff --git a/src/util/system/thread.i b/src/util/system/thread.i index 471b9422f1e..959c1657b3f 100644 --- a/src/util/system/thread.i +++ b/src/util/system/thread.i @@ -17,7 +17,7 @@ #include #endif -#include +#include static inline size_t SystemCurrentThreadIdImpl() noexcept { #if defined(_unix_) diff --git a/src/util/system/tls.cpp b/src/util/system/tls.cpp index 8e42fe66aca..c44a51ccefc 100644 --- a/src/util/system/tls.cpp +++ b/src/util/system/tls.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include diff --git a/src/util/system/tls.h b/src/util/system/tls.h index cb9bdf4f982..bb295be1de8 100644 --- a/src/util/system/tls.h +++ b/src/util/system/tls.h @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include diff --git a/src/util/system/type_name.cpp b/src/util/system/type_name.cpp index a7e20398493..70ab912532f 100644 --- a/src/util/system/type_name.cpp +++ b/src/util/system/type_name.cpp @@ -5,7 +5,7 @@ #include #endif -#include "type_name.h" +#include namespace { diff --git a/src/util/system/type_name_ut.cpp b/src/util/system/type_name_ut.cpp index f5009a79338..7f048307ef8 100644 --- a/src/util/system/type_name_ut.cpp +++ b/src/util/system/type_name_ut.cpp @@ -2,8 +2,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/src/util/system/types.cpp b/src/util/system/types.cpp index f2e06d65194..46b5c2f1e29 100644 --- a/src/util/system/types.cpp +++ b/src/util/system/types.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include static_assert(sizeof(ui8) == 1, "incorrect ui8 type"); static_assert(sizeof(ui16) == 2, "incorrect ui16 type"); diff --git a/src/util/system/unaligned_mem.cpp b/src/util/system/unaligned_mem.cpp index b683ea9aae7..e50eea3399e 100644 --- a/src/util/system/unaligned_mem.cpp +++ b/src/util/system/unaligned_mem.cpp @@ -1 +1 @@ -#include "unaligned_mem.h" +#include diff --git a/src/util/system/user.cpp b/src/util/system/user.cpp index 5640b4a0db7..f65e3476043 100644 --- a/src/util/system/user.cpp +++ b/src/util/system/user.cpp @@ -1,6 +1,6 @@ #include "user.h" -#include +#include #ifdef _win_ #include "winint.h" diff --git a/src/util/system/user.h b/src/util/system/user.h index 07197a5dc2a..188b80c40eb 100644 --- a/src/util/system/user.h +++ b/src/util/system/user.h @@ -1,5 +1,5 @@ #pragma once -#include +#include std::string GetUsername(); diff --git a/src/util/system/winint.cpp b/src/util/system/winint.cpp index b13033bdee9..c68dd13d5ce 100644 --- a/src/util/system/winint.cpp +++ b/src/util/system/winint.cpp @@ -1 +1 @@ -#include "winint.h" +#include diff --git a/src/util/system/yassert.cpp b/src/util/system/yassert.cpp index 26bccd79c17..b34d0f433ec 100644 --- a/src/util/system/yassert.cpp +++ b/src/util/system/yassert.cpp @@ -1,14 +1,14 @@ -#include "yassert.h" +#include -#include "backtrace.h" -#include "guard.h" -#include "spinlock.h" -#include "src_root.h" +#include +#include +#include +#include #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/src/util/thread/factory.cpp b/src/util/thread/factory.cpp index 5e968766b92..49e850d984a 100644 --- a/src/util/thread/factory.cpp +++ b/src/util/thread/factory.cpp @@ -1,7 +1,7 @@ -#include "factory.h" +#include #include -#include +#include using IThread = IThreadFactory::IThread; diff --git a/src/util/thread/factory_ut.cpp b/src/util/thread/factory_ut.cpp index 171bf61dcb4..fb2f5fbe602 100644 --- a/src/util/thread/factory_ut.cpp +++ b/src/util/thread/factory_ut.cpp @@ -1,4 +1,4 @@ -#include "factory.h" +#include #include "pool.h" #include diff --git a/src/util/thread/pool.cpp b/src/util/thread/pool.cpp index d178c1866c9..8723593796e 100644 --- a/src/util/thread/pool.cpp +++ b/src/util/thread/pool.cpp @@ -7,21 +7,21 @@ #endif #include -#include +#include #include -#include +#include #include -#include -#include +#include +#include -#include +#include #include #include -#include "factory.h" -#include "pool.h" +#include +#include #include #include diff --git a/src/util/thread/pool_ut.cpp b/src/util/thread/pool_ut.cpp index f137c9ef380..3f0471ce03f 100644 --- a/src/util/thread/pool_ut.cpp +++ b/src/util/thread/pool_ut.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include diff --git a/src/util/thread/singleton.h b/src/util/thread/singleton.h index 48bd5777d86..ee23cda0be7 100644 --- a/src/util/thread/singleton.h +++ b/src/util/thread/singleton.h @@ -1,8 +1,8 @@ #pragma once #include -#include -#include +#include +#include namespace NPrivate { template diff --git a/src/util/ysafeptr.h b/src/util/ysafeptr.h index 70b983bd596..e75fb7c9ee7 100644 --- a/src/util/ysafeptr.h +++ b/src/util/ysafeptr.h @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include @@ -22,7 +22,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////// #if defined(_MSC_VER) && defined(_DEBUG) - #include + #include #define CHECK_YPTR2 #endif diff --git a/src/util/ysaveload.cpp b/src/util/ysaveload.cpp index 5b8cb0cb2c7..4a046d2b5a7 100644 --- a/src/util/ysaveload.cpp +++ b/src/util/ysaveload.cpp @@ -1,4 +1,4 @@ -#include "ysaveload.h" +#include #include diff --git a/src/util/ysaveload_ut.cpp b/src/util/ysaveload_ut.cpp index 6cbe428d814..c427be77b88 100644 --- a/src/util/ysaveload_ut.cpp +++ b/src/util/ysaveload_ut.cpp @@ -4,7 +4,7 @@ #include #include -#include +#include #include diff --git a/src/yson_value/ydb_yson_value.cpp b/src/yson_value/ydb_yson_value.cpp index 075afb1aa2f..0f39d33a924 100644 --- a/src/yson_value/ydb_yson_value.cpp +++ b/src/yson_value/ydb_yson_value.cpp @@ -1,11 +1,11 @@ #include -#include +#include #include #include -#include +#include namespace NYdb { diff --git a/tests/client/endpoints_ut.cpp b/tests/client/endpoints_ut.cpp index eef6e8728c5..dcceae531e8 100644 --- a/tests/client/endpoints_ut.cpp +++ b/tests/client/endpoints_ut.cpp @@ -5,7 +5,7 @@ #include #include -#include +#include #include diff --git a/tests/library/login/login_ut.cpp b/tests/library/login/login_ut.cpp index 05551190e85..83c6fc23f21 100644 --- a/tests/library/login/login_ut.cpp +++ b/tests/library/login/login_ut.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include "login.h" using namespace NLogin; diff --git a/tests/library/testing/common/network_ut.cpp b/tests/library/testing/common/network_ut.cpp index 21731802c2e..2157a978c0a 100644 --- a/tests/library/testing/common/network_ut.cpp +++ b/tests/library/testing/common/network_ut.cpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include diff --git a/tests/library/testing/gtest_extensions/gtest_extensions_ut.cpp b/tests/library/testing/gtest_extensions/gtest_extensions_ut.cpp index 82897fa2c4f..261cc0dc444 100644 --- a/tests/library/testing/gtest_extensions/gtest_extensions_ut.cpp +++ b/tests/library/testing/gtest_extensions/gtest_extensions_ut.cpp @@ -1,7 +1,7 @@ #include -#include -#include +#include +#include #include diff --git a/tests/library/testing/unittest/main.cpp b/tests/library/testing/unittest/main.cpp index 746d88979fa..646306151d7 100644 --- a/tests/library/testing/unittest/main.cpp +++ b/tests/library/testing/unittest/main.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include #include TEST(GTest, Test1) { diff --git a/tests/library/yql/yql_issue_ut.cpp b/tests/library/yql/yql_issue_ut.cpp index 563690ba240..5be6e998fef 100644 --- a/tests/library/yql/yql_issue_ut.cpp +++ b/tests/library/yql/yql_issue_ut.cpp @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include diff --git a/tools/enum_parser/enum_parser/main.cpp b/tools/enum_parser/enum_parser/main.cpp index e9f755b0145..3f7c0a5d93e 100644 --- a/tools/enum_parser/enum_parser/main.cpp +++ b/tools/enum_parser/enum_parser/main.cpp @@ -5,21 +5,21 @@ #include #include -#include -#include -#include +#include +#include +#include #include -#include -#include -#include -#include +#include +#include +#include +#include #include -#include +#include #include -#include -#include +#include +#include #include #include @@ -31,13 +31,13 @@ void WriteHeader(const std::string& headerName, std::ostream& out, std::ostream* out << "#include \n\n"; out << "#include \n\n"; out << "#include \n"; - out << "#include \n"; + out << "#include \n"; out << "#include \n"; out << "#include \n"; out << "#include \n"; out << "#include \n"; - out << "#include \n"; - out << "#include \n\n"; + out << "#include \n"; + out << "#include \n\n"; if (headerOutPtr) { auto& outHeader = *headerOutPtr; diff --git a/tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp b/tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp index 345abc4d677..e0ca62271bd 100644 --- a/tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp +++ b/tools/enum_parser/enum_serialization_runtime/enum_runtime.cpp @@ -1,8 +1,8 @@ #include "enum_runtime.h" -#include +#include -#include +#include namespace NEnumSerializationRuntime { template diff --git a/tools/enum_parser/enum_serialization_runtime/ordered_pairs.h b/tools/enum_parser/enum_serialization_runtime/ordered_pairs.h index 9c273e47628..ec341b54d2e 100644 --- a/tools/enum_parser/enum_serialization_runtime/ordered_pairs.h +++ b/tools/enum_parser/enum_serialization_runtime/ordered_pairs.h @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/tools/enum_parser/enum_serialization_runtime/serialized_enum.h b/tools/enum_parser/enum_serialization_runtime/serialized_enum.h index 5241de3036b..d50fe3c7bbb 100644 --- a/tools/enum_parser/enum_serialization_runtime/serialized_enum.h +++ b/tools/enum_parser/enum_serialization_runtime/serialized_enum.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include diff --git a/tools/enum_parser/enum_serialization_runtime/serialized_enum_ut.cpp b/tools/enum_parser/enum_serialization_runtime/serialized_enum_ut.cpp index 80c86facdce..bc3f8bf59bd 100644 --- a/tools/enum_parser/enum_serialization_runtime/serialized_enum_ut.cpp +++ b/tools/enum_parser/enum_serialization_runtime/serialized_enum_ut.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #include diff --git a/tools/enum_parser/parse_enum/benchmark/main.cpp b/tools/enum_parser/parse_enum/benchmark/main.cpp index 714242f0b32..2f77dd028e8 100644 --- a/tools/enum_parser/parse_enum/benchmark/main.cpp +++ b/tools/enum_parser/parse_enum/benchmark/main.cpp @@ -1,10 +1,10 @@ #include #include -#include +#include #include -#include +#include #include -#include +#include namespace { diff --git a/tools/enum_parser/parse_enum/benchmark_build/ut/huge_enums_fallback_ut.cpp b/tools/enum_parser/parse_enum/benchmark_build/ut/huge_enums_fallback_ut.cpp index 2b9847cc787..15f9d1b1e20 100644 --- a/tools/enum_parser/parse_enum/benchmark_build/ut/huge_enums_fallback_ut.cpp +++ b/tools/enum_parser/parse_enum/benchmark_build/ut/huge_enums_fallback_ut.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include namespace { diff --git a/tools/enum_parser/parse_enum/parse_enum.cpp b/tools/enum_parser/parse_enum/parse_enum.cpp index 4a94e0f63d1..1896455c47c 100644 --- a/tools/enum_parser/parse_enum/parse_enum.cpp +++ b/tools/enum_parser/parse_enum/parse_enum.cpp @@ -2,9 +2,9 @@ #include -#include +#include #include -#include +#include #include diff --git a/tools/enum_parser/parse_enum/parse_enum.h b/tools/enum_parser/parse_enum/parse_enum.h index 7f8f84258b6..71671ba9169 100644 --- a/tools/enum_parser/parse_enum/parse_enum.h +++ b/tools/enum_parser/parse_enum/parse_enum.h @@ -1,7 +1,7 @@ #pragma once -#include -#include +#include +#include #include #include diff --git a/tools/enum_parser/parse_enum/ut/enums.cpp b/tools/enum_parser/parse_enum/ut/enums.cpp index c2dfcae0038..81800bf3f89 100644 --- a/tools/enum_parser/parse_enum/ut/enums.cpp +++ b/tools/enum_parser/parse_enum/ut/enums.cpp @@ -8,8 +8,8 @@ #include #include -#include -#include +#include +#include void FunctionUsingEFwdEnum(EFwdEnum) { diff --git a/tools/enum_parser/parse_enum/ut/enums.h b/tools/enum_parser/parse_enum/ut/enums.h index b1159bc7252..d43b2799075 100644 --- a/tools/enum_parser/parse_enum/ut/enums.h +++ b/tools/enum_parser/parse_enum/ut/enums.h @@ -1,7 +1,7 @@ #pragma once // Sample file for parse_enum unittests -#include +#include #include // Test template declarations diff --git a/tools/rescompiler/main.cpp b/tools/rescompiler/main.cpp index 45704a76c52..16b782f744a 100644 --- a/tools/rescompiler/main.cpp +++ b/tools/rescompiler/main.cpp @@ -1,9 +1,9 @@ #include -#include +#include #include #include -#include +#include #include #include #include