Browse Source

Restoring authorship annotation for <realtim@yandex-team.ru>. Commit 1 of 2.

realtim 3 years ago
parent
commit
b422b6e464

+ 6 - 6
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() {
             }
         };

+ 1 - 1
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>
 

+ 1 - 1
library/cpp/threading/poor_man_openmp/thread_helper.h

@@ -14,7 +14,7 @@
 
 class TMtpQueueHelper {
 public:
-    TMtpQueueHelper() {
+    TMtpQueueHelper() { 
         SetThreadCount(NSystemInfo::CachedNumberOfCpus());
     }
     IThreadPool* Get() {

+ 9 - 9
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() 

+ 1 - 1
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