aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrealtim <realtim@yandex-team.ru>2022-02-10 16:50:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:07 +0300
commitb422b6e4645219a4002219ae77f5c4a83ac80b59 (patch)
treeafc6c25ec86991448a260fdf0e8c606f0e495e64
parent5d4dd6ff046150f3e5e4608ea4ce1a30b4dfee4f (diff)
downloadydb-b422b6e4645219a4002219ae77f5c4a83ac80b59.tar.gz
Restoring authorship annotation for <realtim@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--library/cpp/coroutine/engine/poller.cpp12
-rw-r--r--library/cpp/threading/poor_man_openmp/thread_helper.cpp2
-rw-r--r--library/cpp/threading/poor_man_openmp/thread_helper.h2
-rw-r--r--library/cpp/threading/poor_man_openmp/ya.make18
-rw-r--r--util/stream/str.h2
5 files changed, 18 insertions, 18 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp
index 61164fa56b..b955aad6d0 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 34cb6507b9..30970d4fd1 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 0ecee0590b..e9dc1e2e89 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 241b61dead..b09ece2d97 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 028bd572c0..9c660af101 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