aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrachev <grachev@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commit12e3c82a4c0895fe4f03a4dc5d6f100cae665b64 (patch)
tree3c0d13da1c4a22cf2f0d49df524478efd9db32f8
parentd4f879643b9f81b7bde1412460a870e6adad49a4 (diff)
downloadydb-12e3c82a4c0895fe4f03a4dc5d6f100cae665b64.tar.gz
Restoring authorship annotation for <grachev@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--library/cpp/regex/pire/pire.h2
-rw-r--r--library/cpp/uri/other.cpp4
-rw-r--r--library/cpp/uri/parsefsm.rl64
-rw-r--r--util/system/filemap.cpp8
-rw-r--r--util/system/filemap.h2
-rw-r--r--util/system/maxlen.h2
6 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/regex/pire/pire.h b/library/cpp/regex/pire/pire.h
index 286fecd693..63ac81f177 100644
--- a/library/cpp/regex/pire/pire.h
+++ b/library/cpp/regex/pire/pire.h
@@ -46,7 +46,7 @@ namespace NPire {
using Pire::Matches;
using Pire::MmappedScanner;
using Pire::Run;
- using Pire::Runner;
+ using Pire::Runner;
using Pire::ShortestPrefix;
using Pire::ShortestSuffix;
using Pire::Step;
diff --git a/library/cpp/uri/other.cpp b/library/cpp/uri/other.cpp
index b23a5b68a9..f6f8115a43 100644
--- a/library/cpp/uri/other.cpp
+++ b/library/cpp/uri/other.cpp
@@ -34,10 +34,10 @@ void UnTrspChars(const char* s, char* d) {
}
void InvertDomain(char* begin, char* end) {
- // skip schema if it is present
+ // skip schema if it is present
const auto dotPos = TStringBuf{begin, end}.find('.');
if (dotPos == TStringBuf::npos)
- return; // no need to invert anything
+ return; // no need to invert anything
const auto schemaendPos = TStringBuf{begin, end}.find("://", 3);
if (schemaendPos < dotPos)
begin += schemaendPos + 3;
diff --git a/library/cpp/uri/parsefsm.rl6 b/library/cpp/uri/parsefsm.rl6
index 7097723650..1500525e84 100644
--- a/library/cpp/uri/parsefsm.rl6
+++ b/library/cpp/uri/parsefsm.rl6
@@ -466,7 +466,7 @@ namespace NUri {
bool TParser::doParse(const char* str_beg, size_t length)
{
- const char* p = str_beg;
+ const char* p = str_beg;
const char* pe = str_beg + length;
const char* eof = pe;
int cs;
@@ -487,7 +487,7 @@ bool TParser::doParse(const char* str_beg, size_t length)
cs = TParser_en_URI_ref_no_relpath;
}
- %% write exec;
+ %% write exec;
#undef BEG
#undef END
diff --git a/util/system/filemap.cpp b/util/system/filemap.cpp
index 7454a4cb94..b261b1512f 100644
--- a/util/system/filemap.cpp
+++ b/util/system/filemap.cpp
@@ -293,7 +293,7 @@ public:
}
#endif
}
-
+
void Evict(void* ptr, size_t len) {
MadviseEvict(ptr, len);
}
@@ -407,10 +407,10 @@ TMemoryMap::TMapResult TMemoryMap::ResizeAndRemap(i64 offset, size_t size) {
return Map(offset, size);
}
-void TMemoryMap::SetSequential() {
+void TMemoryMap::SetSequential() {
Impl_->SetSequential();
-}
-
+}
+
void TMemoryMap::Evict(void* ptr, size_t len) {
Impl_->Evict(ptr, len);
}
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 11be64bff4..7ef0888450 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -95,7 +95,7 @@ public:
void SetSequential();
void Evict(void* ptr, size_t len);
void Evict();
-
+
/*
* deprecated
*/
diff --git a/util/system/maxlen.h b/util/system/maxlen.h
index e1ff7f5008..20a3cc74d0 100644
--- a/util/system/maxlen.h
+++ b/util/system/maxlen.h
@@ -14,7 +14,7 @@
#define FULLURL_MAX (URL_MAX + HOST_MAX)
#define LINKTEXT_MAX 1024
-
+
#ifdef WIN32
#ifndef PATH_MAX
#define PATH_MAX _MAX_PATH