aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/blob.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/memory/blob.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/memory/blob.cpp')
-rw-r--r--util/memory/blob.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/memory/blob.cpp b/util/memory/blob.cpp
index e9936c2bcb..91da5cadca 100644
--- a/util/memory/blob.cpp
+++ b/util/memory/blob.cpp
@@ -4,7 +4,7 @@
#include <util/system/yassert.h>
#include <util/system/filemap.h>
#include <util/system/mlock.h>
-#include <util/stream/buffer.h>
+#include <util/stream/buffer.h>
#include <util/generic/ptr.h>
#include <util/generic/string.h>
#include <util/generic/buffer.h>
@@ -174,7 +174,7 @@ static inline TBlob CopyConstruct(const void* data, size_t len) {
using Base = TDynamicBlobBase<TCounter>;
THolder<Base> base(new (len) Base);
- Y_ASSERT(base->Length() == len);
+ Y_ASSERT(base->Length() == len);
memcpy(base->Data(), data, len);
@@ -305,7 +305,7 @@ static inline TBlob ReadFromFile(const TFile& file, ui64 offset, size_t length)
using TBase = TDynamicBlobBase<TCounter>;
THolder<TBase> base(new (length) TBase);
- Y_ASSERT(base->Length() == length);
+ Y_ASSERT(base->Length() == length);
file.Pload(base->Data(), length, offset);
@@ -362,7 +362,7 @@ static inline TBlob ConstructFromBuffer(TBuffer& in) {
}
template <class TCounter>
-static inline TBlob ConstructFromStream(IInputStream& in) {
+static inline TBlob ConstructFromStream(IInputStream& in) {
TBuffer buf;
{
@@ -374,11 +374,11 @@ static inline TBlob ConstructFromStream(IInputStream& in) {
return ConstructFromBuffer<TCounter>(buf);
}
-TBlob TBlob::FromStreamSingleThreaded(IInputStream& in) {
+TBlob TBlob::FromStreamSingleThreaded(IInputStream& in) {
return ConstructFromStream<TSimpleCounter>(in);
}
-TBlob TBlob::FromStream(IInputStream& in) {
+TBlob TBlob::FromStream(IInputStream& in) {
return ConstructFromStream<TAtomicCounter>(in);
}