aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbuf.h
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/generic/strbuf.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/strbuf.h')
-rw-r--r--util/generic/strbuf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/strbuf.h b/util/generic/strbuf.h
index 3c046ea8a3..70b9360d58 100644
--- a/util/generic/strbuf.h
+++ b/util/generic/strbuf.h
@@ -153,9 +153,9 @@ public:
inline TBasicStringBuf(const TBasicStringBuf& src, size_t pos) noexcept
: TBasicStringBuf(src, pos, TBase::npos)
- {
- }
-
+ {
+ }
+
Y_PURE_FUNCTION inline TBasicStringBuf SubString(size_t pos, size_t n) const noexcept {
pos = Min(pos, size());
n = Min(n, size() - pos);
@@ -290,7 +290,7 @@ public:
SplitOn(pos, l, r, 0);
}
- /*
+ /*
// Not implemented intentionally, use TrySplitOn() instead
void RSplitOn(size_t pos, TdSelf& l, TdSelf& r) const noexcept;
void RSplitAt(size_t pos, TdSelf& l, TdSelf& r) const noexcept;
@@ -319,7 +319,7 @@ public:
public:
inline bool AfterPrefix(const TdSelf& prefix, TdSelf& result) const noexcept {
- if (this->StartsWith(prefix)) {
+ if (this->StartsWith(prefix)) {
result = Tail(prefix.size());
return true;
}
@@ -327,7 +327,7 @@ public:
}
inline bool BeforeSuffix(const TdSelf& suffix, TdSelf& result) const noexcept {
- if (this->EndsWith(suffix)) {
+ if (this->EndsWith(suffix)) {
result = Head(size() - suffix.size());
return true;
}
@@ -370,7 +370,7 @@ public:
SplitOn(pos, tok, *this);
return tok;
}
- /*
+ /*
// See comment on RSplitOn() above
TdSelf RSplitOffOn(size_t pos);
TdSelf RNextTokOn(size_t pos);