aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authoramatveyev <amatveyev@yandex-team.ru>2022-02-10 16:50:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:11 +0300
commit356ed1df7e093a7801a7a46639f333abfcc16397 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library
parent8bfc24a315c0a821841d2d5bb73e55268b7ecfb6 (diff)
downloadydb-356ed1df7e093a7801a7a46639f333abfcc16397.tar.gz
Restoring authorship annotation for <amatveyev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/sse/README.md14
-rw-r--r--library/cpp/uri/assign.cpp2
-rw-r--r--library/cpp/uri/uri-ru_ut.cpp24
3 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/sse/README.md b/library/cpp/sse/README.md
index 876508a4db..a82c98a1b9 100644
--- a/library/cpp/sse/README.md
+++ b/library/cpp/sse/README.md
@@ -1,7 +1,7 @@
-Overview
-===
-This library provides the implementation of Intel SSE intrinsics for other CPU architectures. Currently supports PowerPC via translation to AltiVec and ARM via NEON. In some cases, falls back to software emulation if there's no corresponding instruction in the target instruction set.
-
-Usage
-===
-Include library/cpp/sse/sse.h and use the needed intrinsics. Implementation will be selected based on the target architecture of the used toolchain.
+Overview
+===
+This library provides the implementation of Intel SSE intrinsics for other CPU architectures. Currently supports PowerPC via translation to AltiVec and ARM via NEON. In some cases, falls back to software emulation if there's no corresponding instruction in the target instruction set.
+
+Usage
+===
+Include library/cpp/sse/sse.h and use the needed intrinsics. Implementation will be selected based on the target architecture of the used toolchain.
diff --git a/library/cpp/uri/assign.cpp b/library/cpp/uri/assign.cpp
index 89c0d7cc12..ae9125c727 100644
--- a/library/cpp/uri/assign.cpp
+++ b/library/cpp/uri/assign.cpp
@@ -320,7 +320,7 @@ namespace NUri {
char* end = out.Buf();
const EField fld = convertIDN ? FieldHost : FieldHostAscii;
FldSetNoDirty(fld, TStringBuf(beg, end));
- out << '\0';
+ out << '\0';
}
Buffer.Resize(out.Len());
diff --git a/library/cpp/uri/uri-ru_ut.cpp b/library/cpp/uri/uri-ru_ut.cpp
index be7cfb5248..ec35a164d2 100644
--- a/library/cpp/uri/uri-ru_ut.cpp
+++ b/library/cpp/uri/uri-ru_ut.cpp
@@ -146,18 +146,18 @@ namespace NUri {
#undef ENC
}
}
-
- // Regression test for SEARCH-11283
- Y_UNIT_TEST(RegressionTest11283) {
- TStringBuf url = "http://xn--n1aaa.пидорасы.com/";
-
- TUri uri;
- TState::EParsed er = uri.Parse(url, NUri::TParseFlags(NUri::TFeature::FeaturesRobot | NUri::TFeature::FeatureNoRelPath));
- UNIT_ASSERT_VALUES_EQUAL(er, TState::ParsedOK);
- TStringBuf host = uri.GetHost();
- // Should be properly null-terminated
- UNIT_ASSERT_VALUES_EQUAL(host.size(), strlen(host.data()));
- }
+
+ // Regression test for SEARCH-11283
+ Y_UNIT_TEST(RegressionTest11283) {
+ TStringBuf url = "http://xn--n1aaa.пидорасы.com/";
+
+ TUri uri;
+ TState::EParsed er = uri.Parse(url, NUri::TParseFlags(NUri::TFeature::FeaturesRobot | NUri::TFeature::FeatureNoRelPath));
+ UNIT_ASSERT_VALUES_EQUAL(er, TState::ParsedOK);
+ TStringBuf host = uri.GetHost();
+ // Should be properly null-terminated
+ UNIT_ASSERT_VALUES_EQUAL(host.size(), strlen(host.data()));
+ }
}
}