diff options
author | realtim <realtim@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
commit | 1977f1c7bcb225f59f789f5f8735e03eb0c87e1c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | b422b6e4645219a4002219ae77f5c4a83ac80b59 (diff) | |
download | ydb-1977f1c7bcb225f59f789f5f8735e03eb0c87e1c.tar.gz |
Restoring authorship annotation for <realtim@yandex-team.ru>. Commit 2 of 2.
-rw-r--r-- | library/cpp/coroutine/engine/poller.cpp | 12 | ||||
-rw-r--r-- | library/cpp/threading/poor_man_openmp/thread_helper.cpp | 2 | ||||
-rw-r--r-- | library/cpp/threading/poor_man_openmp/thread_helper.h | 2 | ||||
-rw-r--r-- | library/cpp/threading/poor_man_openmp/ya.make | 18 | ||||
-rw-r--r-- | util/stream/str.h | 2 |
5 files changed, 18 insertions, 18 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp index b955aad6d0..61164fa56b 100644 --- a/library/cpp/coroutine/engine/poller.cpp +++ b/library/cpp/coroutine/engine/poller.cpp @@ -118,12 +118,12 @@ namespace { public TIntrusiveListItem<TVal>, public TObjectFromPool<TVal> { - // NOTE Constructor must be user-defined (and not =default) here - // because TVal objects are created in the UB-capable placement - // TObjectFromPool::new operator that stores data in a memory - // allocated for the object. Without user defined constructor - // zero-initialization takes place in TVal() expression and the - // data is overwritten. + // NOTE Constructor must be user-defined (and not =default) here + // because TVal objects are created in the UB-capable placement + // TObjectFromPool::new operator that stores data in a memory + // allocated for the object. Without user defined constructor + // zero-initialization takes place in TVal() expression and the + // data is overwritten. TVal() { } }; diff --git a/library/cpp/threading/poor_man_openmp/thread_helper.cpp b/library/cpp/threading/poor_man_openmp/thread_helper.cpp index 30970d4fd1..34cb6507b9 100644 --- a/library/cpp/threading/poor_man_openmp/thread_helper.cpp +++ b/library/cpp/threading/poor_man_openmp/thread_helper.cpp @@ -1,4 +1,4 @@ -#include "thread_helper.h" +#include "thread_helper.h" #include <util/generic/singleton.h> diff --git a/library/cpp/threading/poor_man_openmp/thread_helper.h b/library/cpp/threading/poor_man_openmp/thread_helper.h index e9dc1e2e89..0ecee0590b 100644 --- a/library/cpp/threading/poor_man_openmp/thread_helper.h +++ b/library/cpp/threading/poor_man_openmp/thread_helper.h @@ -14,7 +14,7 @@ class TMtpQueueHelper { public: - TMtpQueueHelper() { + TMtpQueueHelper() { SetThreadCount(NSystemInfo::CachedNumberOfCpus()); } IThreadPool* Get() { diff --git a/library/cpp/threading/poor_man_openmp/ya.make b/library/cpp/threading/poor_man_openmp/ya.make index b09ece2d97..241b61dead 100644 --- a/library/cpp/threading/poor_man_openmp/ya.make +++ b/library/cpp/threading/poor_man_openmp/ya.make @@ -1,9 +1,9 @@ -LIBRARY() - -OWNER(agorodilov) - -SRCS( - thread_helper.cpp -) - -END() +LIBRARY() + +OWNER(agorodilov) + +SRCS( + thread_helper.cpp +) + +END() diff --git a/util/stream/str.h b/util/stream/str.h index 9c660af101..028bd572c0 100644 --- a/util/stream/str.h +++ b/util/stream/str.h @@ -64,7 +64,7 @@ private: class TStringOutput: public IZeroCopyOutput { public: /** - * Constructs a string output stream that appends character data to the + * Constructs a string output stream that appends character data to the * provided string. * * Note that this stream keeps a reference to the provided string, so it's |