diff options
author | anelyubin <anelyubin@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | 8d333d5e773f6b0ef31e7b3c92339af7e71413f6 (patch) | |
tree | be79c5bb4a39ab3410c17c33f1aff87810558f54 /library | |
parent | ad8c15be8c1a4f48a52390f23cb735060461684e (diff) | |
download | ydb-8d333d5e773f6b0ef31e7b3c92339af7e71413f6.tar.gz |
Restoring authorship annotation for <anelyubin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/containers/comptrie/comptrie_trie.h | 2 | ||||
-rw-r--r-- | library/cpp/getopt/small/last_getopt_handlers.h | 4 | ||||
-rw-r--r-- | library/cpp/http/server/http.cpp | 34 | ||||
-rw-r--r-- | library/cpp/http/server/http.h | 2 | ||||
-rw-r--r-- | library/cpp/monlib/encode/encoder_state.h | 2 | ||||
-rw-r--r-- | library/cpp/openssl/ya.make | 4 | ||||
-rw-r--r-- | library/cpp/protobuf/util/simple_reflection.h | 2 |
7 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/containers/comptrie/comptrie_trie.h b/library/cpp/containers/comptrie/comptrie_trie.h index 40ec1e52b3..e4ce94a6e9 100644 --- a/library/cpp/containers/comptrie/comptrie_trie.h +++ b/library/cpp/containers/comptrie/comptrie_trie.h @@ -233,7 +233,7 @@ template <class T, class D, class S> TCompactTrie<T, D, S>::TCompactTrie(const char* d, size_t len, TPacker packer) : Packer(packer) { - Init(d, len, packer); + Init(d, len, packer); } template <class T, class D, class S> diff --git a/library/cpp/getopt/small/last_getopt_handlers.h b/library/cpp/getopt/small/last_getopt_handlers.h index d35456ef34..1728aef015 100644 --- a/library/cpp/getopt/small/last_getopt_handlers.h +++ b/library/cpp/getopt/small/last_getopt_handlers.h @@ -18,7 +18,7 @@ namespace NLastGetopt { template <class TpFunc> struct TOptKVHandler; - [[noreturn]] void PrintUsageAndExit(const TOptsParser* parser); - [[noreturn]] void PrintVersionAndExit(const TOptsParser* parser); + [[noreturn]] void PrintUsageAndExit(const TOptsParser* parser); + [[noreturn]] void PrintVersionAndExit(const TOptsParser* parser); [[noreturn]] void PrintShortVersionAndExit(const TString& appName); } diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp index 128583bdd7..05da4d9f97 100644 --- a/library/cpp/http/server/http.cpp +++ b/library/cpp/http/server/http.cpp @@ -397,15 +397,15 @@ public: Requests->Start(Options_.nThreads, Options_.MaxQueueSize); } - TImpl(THttpServer* parent, ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options_) + TImpl(THttpServer* parent, ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options_) : Requests(mainWorkers) - , FailRequests(failWorkers) - , Options_(options_) - , Cb_(cb) - , Parent_(parent) - { - } - + , FailRequests(failWorkers) + , Options_(options_) + , Cb_(cb) + , Parent_(parent) + { + } + TImpl(THttpServer* parent, ICallBack* cb, const TOptions& options, IThreadFactory* factory) : TImpl( parent, @@ -413,8 +413,8 @@ public: MakeThreadPool<TSimpleThreadPool>(factory, options.UseElasticQueues, cb, options.RequestsThreadName), MakeThreadPool<TThreadPool>(factory, options.UseElasticQueues, nullptr, options.FailRequestsThreadName), options) { - } - + } + ~TImpl() { try { Stop(); @@ -446,8 +446,8 @@ public: TPipeHandle ListenWakeupReadFd; TPipeHandle ListenWakeupWriteFd; TSystemEvent ListenStartEvent; - TMtpQueueRef Requests; - TMtpQueueRef FailRequests; + TMtpQueueRef Requests; + TMtpQueueRef FailRequests; TAtomic ConnectionCount = 0; THolder<TSocketPoller> Poller; THolder<TConnections> Connections; @@ -487,11 +487,11 @@ THttpServer::THttpServer(ICallBack* cb, const TOptions& options, IThreadFactory* { } -THttpServer::THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options) - : Impl_(new TImpl(this, cb, mainWorkers, failWorkers, options)) -{ -} - +THttpServer::THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options) + : Impl_(new TImpl(this, cb, mainWorkers, failWorkers, options)) +{ +} + THttpServer::~THttpServer() { } diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index b292d38f27..274f9c2d02 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -65,7 +65,7 @@ public: typedef TSimpleSharedPtr<IThreadPool> TMtpQueueRef; THttpServer(ICallBack* cb, const TOptions& options = TOptions(), IThreadFactory* pool = nullptr); - THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options = TOptions()); + THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options = TOptions()); virtual ~THttpServer(); bool Start(); diff --git a/library/cpp/monlib/encode/encoder_state.h b/library/cpp/monlib/encode/encoder_state.h index e6a098f404..64c9fea6cb 100644 --- a/library/cpp/monlib/encode/encoder_state.h +++ b/library/cpp/monlib/encode/encoder_state.h @@ -31,7 +31,7 @@ namespace NMonitoring { return !operator==(rhs); } - [[noreturn]] inline void ThrowInvalid(TStringBuf message) const { + [[noreturn]] inline void ThrowInvalid(TStringBuf message) const { ythrow yexception() << "invalid encoder state: " << ToStr() << ", " << message; } diff --git a/library/cpp/openssl/ya.make b/library/cpp/openssl/ya.make index 7c10963e26..b0d489a630 100644 --- a/library/cpp/openssl/ya.make +++ b/library/cpp/openssl/ya.make @@ -1,8 +1,8 @@ RECURSE( big_integer big_integer/ut - crypto - crypto/ut + crypto + crypto/ut holders holders/ut io diff --git a/library/cpp/protobuf/util/simple_reflection.h b/library/cpp/protobuf/util/simple_reflection.h index 61e877a787..e39b0416d6 100644 --- a/library/cpp/protobuf/util/simple_reflection.h +++ b/library/cpp/protobuf/util/simple_reflection.h @@ -104,7 +104,7 @@ namespace NProtoBuf { return *Msg.GetReflection(); } - [[noreturn]] void RaiseUnknown() const { + [[noreturn]] void RaiseUnknown() const { ythrow yexception() << "Unknown field cpp-type: " << (size_t)CppType(); } |