aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorkaikash7 <kaikash7@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commitbc8cd6e33446225b5dabbc681c5d24adc11a2943 (patch)
tree62c7804c8ce872a5e528613018495e4bf7828b0c /library/cpp
parentc707901605d7b7c6cba0998cd52e1ae619c97762 (diff)
downloadydb-bc8cd6e33446225b5dabbc681c5d24adc11a2943.tar.gz
Restoring authorship annotation for <kaikash7@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/mime/types/mime.cpp18
-rw-r--r--library/cpp/mime/types/mime.h8
-rw-r--r--library/cpp/regex/pire/pire.h48
3 files changed, 37 insertions, 37 deletions
diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp
index 706d776b24..8ccbd39b2a 100644
--- a/library/cpp/mime/types/mime.cpp
+++ b/library/cpp/mime/types/mime.cpp
@@ -27,7 +27,7 @@ public:
// Constants
public:
- static const size_t MAX_EXT_LEN = 11; // max length of supported extensions
+ static const size_t MAX_EXT_LEN = 11; // max length of supported extensions
// Helper methods
private:
@@ -95,10 +95,10 @@ const TMimeTypes::TRecord TMimeTypes::Records[] = {
{MIME_IMAGE_PNM, "image/x-portable-anymap\0", "pnm\0pgm\0ppm\0pbm\0"},
{MIME_IMAGE_SVG, "image/svg+xml\0", "svg\0"},
{MIME_IMAGE_ICON, "image/x-icon\0image/vnd.microsoft.icon\0", "ico\0"},
- {MIME_WOFF, "font/woff\0", "woff\0"},
- {MIME_WOFF2, "font/woff2\0", "woff2\0"},
- {MIME_TTF, "font/ttf\0", "ttf\0"},
- {MIME_WEBMANIFEST, "application/manifest+json\0", "webmanifest\0"},
+ {MIME_WOFF, "font/woff\0", "woff\0"},
+ {MIME_WOFF2, "font/woff2\0", "woff2\0"},
+ {MIME_TTF, "font/ttf\0", "ttf\0"},
+ {MIME_WEBMANIFEST, "application/manifest+json\0", "webmanifest\0"},
{MIME_MAX, nullptr, nullptr},
// Additional records
@@ -246,8 +246,8 @@ const char* MimeNames[MIME_MAX] = {
"pnm", // MIME_IMAGE_PNM // 40
"svg", // MIME_IMAGE_SVG // 41
"ico", // MIME_IMAGE_ICON // 42
- "woff", // MIME_WOFF // 43
- "woff2", // MIME_WOFF2 // 44
- "ttf", // MIME_TTF // 45
- "webmanifest" // MIME_WEBMANIFEST // 46
+ "woff", // MIME_WOFF // 43
+ "woff2", // MIME_WOFF2 // 44
+ "ttf", // MIME_TTF // 45
+ "webmanifest" // MIME_WEBMANIFEST // 46
};
diff --git a/library/cpp/mime/types/mime.h b/library/cpp/mime/types/mime.h
index 05da389ea9..a75f950bdc 100644
--- a/library/cpp/mime/types/mime.h
+++ b/library/cpp/mime/types/mime.h
@@ -54,10 +54,10 @@ enum MimeTypes {
MIME_IMAGE_PNM = 40,
MIME_IMAGE_SVG = 41,
MIME_IMAGE_ICON = 42,
- MIME_WOFF = 43,
- MIME_WOFF2 = 44,
- MIME_TTF = 45,
- MIME_WEBMANIFEST = 46,
+ MIME_WOFF = 43,
+ MIME_WOFF2 = 44,
+ MIME_TTF = 45,
+ MIME_WEBMANIFEST = 46,
MIME_MAX
};
diff --git a/library/cpp/regex/pire/pire.h b/library/cpp/regex/pire/pire.h
index 286fecd693..daf78cc4d4 100644
--- a/library/cpp/regex/pire/pire.h
+++ b/library/cpp/regex/pire/pire.h
@@ -10,35 +10,35 @@
#include <library/cpp/charset/doccodes.h>
namespace NPire {
- using TChar = Pire::Char;
+ using TChar = Pire::Char;
using Pire::MaxChar;
// Scanner classes
- using TScanner = Pire::Scanner;
- using TNonrelocScanner = Pire::NonrelocScanner;
- using TScannerNoMask = Pire::ScannerNoMask;
- using TNonrelocScannerNoMask = Pire::NonrelocScannerNoMask;
- using THalfFinalScanner = Pire::HalfFinalScanner;
- using TNonrelocHalfFinalScanner = Pire::NonrelocHalfFinalScanner;
- using THalfFinalScannerNoMask = Pire::HalfFinalScannerNoMask;
- using TNonrelocHalfFinalScannerNoMask = Pire::NonrelocHalfFinalScannerNoMask;
- using TSimpleScanner = Pire::SimpleScanner;
- using TSlowScanner = Pire::SlowScanner;
- using TCapturingScanner = Pire::CapturingScanner;
- using TSlowCapturingScanner = Pire::SlowCapturingScanner;
- using TCountingScanner = Pire::CountingScanner;
-
- template <typename T1, typename T2>
- using TScannerPair = Pire::ScannerPair<T1, T2>;
+ using TScanner = Pire::Scanner;
+ using TNonrelocScanner = Pire::NonrelocScanner;
+ using TScannerNoMask = Pire::ScannerNoMask;
+ using TNonrelocScannerNoMask = Pire::NonrelocScannerNoMask;
+ using THalfFinalScanner = Pire::HalfFinalScanner;
+ using TNonrelocHalfFinalScanner = Pire::NonrelocHalfFinalScanner;
+ using THalfFinalScannerNoMask = Pire::HalfFinalScannerNoMask;
+ using TNonrelocHalfFinalScannerNoMask = Pire::NonrelocHalfFinalScannerNoMask;
+ using TSimpleScanner = Pire::SimpleScanner;
+ using TSlowScanner = Pire::SlowScanner;
+ using TCapturingScanner = Pire::CapturingScanner;
+ using TSlowCapturingScanner = Pire::SlowCapturingScanner;
+ using TCountingScanner = Pire::CountingScanner;
+ template <typename T1, typename T2>
+ using TScannerPair = Pire::ScannerPair<T1, T2>;
+
// Helper classes
- using TFsm = Pire::Fsm;
- using TLexer = Pire::Lexer;
- using TTerm = Pire::Term;
- using TEncoding = Pire::Encoding;
- using TFeature = Pire::Feature;
- using TFeaturePtr = Pire::Feature::Ptr;
- using TError = Pire::Error;
+ using TFsm = Pire::Fsm;
+ using TLexer = Pire::Lexer;
+ using TTerm = Pire::Term;
+ using TEncoding = Pire::Encoding;
+ using TFeature = Pire::Feature;
+ using TFeaturePtr = Pire::Feature::Ptr;
+ using TError = Pire::Error;
// Helper functions
using Pire::LongestPrefix;