diff options
author | ndnuriev <ndnuriev@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
commit | 28045de07753ee182fc8e5ca778469d7a7c5bb20 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library | |
parent | 3659e5861440ac98d0380de7698601ad14655a7a (diff) | |
download | ydb-28045de07753ee182fc8e5ca778469d7a7c5bb20.tar.gz |
Restoring authorship annotation for <ndnuriev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/http/fetch/httpfsm.h | 2 | ||||
-rw-r--r-- | library/cpp/http/fetch/httpfsm_ut.cpp | 4 | ||||
-rw-r--r-- | library/cpp/http/misc/httpdate.h | 2 | ||||
-rw-r--r-- | library/cpp/logger/backend.cpp | 2 | ||||
-rw-r--r-- | library/cpp/logger/backend.h | 2 | ||||
-rw-r--r-- | library/cpp/logger/element.cpp | 2 | ||||
-rw-r--r-- | library/cpp/logger/element.h | 8 | ||||
-rw-r--r-- | library/cpp/logger/filter.h | 6 | ||||
-rw-r--r-- | library/cpp/logger/global/common.h | 2 | ||||
-rw-r--r-- | library/cpp/logger/global/global.h | 4 | ||||
-rw-r--r-- | library/cpp/logger/global/rty_formater_ut.cpp | 8 | ||||
-rw-r--r-- | library/cpp/logger/log.cpp | 24 | ||||
-rw-r--r-- | library/cpp/logger/log.h | 12 | ||||
-rw-r--r-- | library/cpp/logger/priority.h | 2 | ||||
-rw-r--r-- | library/cpp/logger/record.h | 4 | ||||
-rw-r--r-- | library/cpp/logger/system.cpp | 4 | ||||
-rw-r--r-- | library/cpp/logger/system.h | 2 | ||||
-rw-r--r-- | library/cpp/monlib/encode/json/json_ut.cpp | 8 | ||||
-rw-r--r-- | library/cpp/monlib/encode/spack/spack_v1_ut.cpp | 2 | ||||
-rw-r--r-- | library/cpp/monlib/encode/text/text_encoder_ut.cpp | 18 | ||||
-rw-r--r-- | library/cpp/streams/ya.make | 4 |
21 files changed, 61 insertions, 61 deletions
diff --git a/library/cpp/http/fetch/httpfsm.h b/library/cpp/http/fetch/httpfsm.h index 9d7e595620..c4abdcd0d2 100644 --- a/library/cpp/http/fetch/httpfsm.h +++ b/library/cpp/http/fetch/httpfsm.h @@ -47,7 +47,7 @@ struct THttpHeaderParser { THttpHeader* hd; long I; int Dc; - TDateTimeFieldsDeprecated DateTimeFields; + TDateTimeFieldsDeprecated DateTimeFields; char buf[FETCHER_URL_MAX]; size_t buflen; char* lastchar; diff --git a/library/cpp/http/fetch/httpfsm_ut.cpp b/library/cpp/http/fetch/httpfsm_ut.cpp index bab1ceb4a9..b018e80101 100644 --- a/library/cpp/http/fetch/httpfsm_ut.cpp +++ b/library/cpp/http/fetch/httpfsm_ut.cpp @@ -177,7 +177,7 @@ void THttpHeaderParserTestSuite::TestProxyRequestHeader() { UNIT_ASSERT_EQUAL(strcmp(httpRequestHeader.x_yandex_fetchoptions, "d;c"), 0); UNIT_ASSERT_EQUAL(httpRequestHeader.max_age, 100); UNIT_ASSERT_VALUES_EQUAL(httpRequestHeader.if_modified_since, - TInstant::ParseIso8601Deprecated("1994-10-29 19:43:31Z").TimeT()); + TInstant::ParseIso8601Deprecated("1994-10-29 19:43:31Z").TimeT()); UNIT_ASSERT_EQUAL(httpRequestHeader.request_uri, "http://www.google.ru:8080/search?q=hi"); UNIT_ASSERT(httpRequestHeader.GetUrl() == @@ -213,7 +213,7 @@ void THttpHeaderParserTestSuite::TestLastModified() { "Last-Modified: Thu, 13 Aug 2009 14:27:08 GMT\r\n\r\n"; UNIT_ASSERT(2 == httpHeaderParser->Execute(headers, strlen(headers))); UNIT_ASSERT_VALUES_EQUAL( - TInstant::ParseIso8601Deprecated("2009-08-13 14:27:08Z").TimeT(), + TInstant::ParseIso8601Deprecated("2009-08-13 14:27:08Z").TimeT(), h.http_time); TestFinish(); } diff --git a/library/cpp/http/misc/httpdate.h b/library/cpp/http/misc/httpdate.h index c21e1a17d1..04876f38fe 100644 --- a/library/cpp/http/misc/httpdate.h +++ b/library/cpp/http/misc/httpdate.h @@ -9,7 +9,7 @@ inline time_t parse_http_date(const TStringBuf& datestring) { try { - return TInstant::ParseHttpDeprecated(datestring).TimeT(); + return TInstant::ParseHttpDeprecated(datestring).TimeT(); } catch (const TDateTimeParseException&) { return BAD_DATE; } diff --git a/library/cpp/logger/backend.cpp b/library/cpp/logger/backend.cpp index af05a212af..b26bf5e88c 100644 --- a/library/cpp/logger/backend.cpp +++ b/library/cpp/logger/backend.cpp @@ -46,7 +46,7 @@ public: static const size_t Priority = 50; }; -ELogPriority TLogBackend::FiltrationLevel() const { +ELogPriority TLogBackend::FiltrationLevel() const { return LOG_MAX_PRIORITY; } diff --git a/library/cpp/logger/backend.h b/library/cpp/logger/backend.h index b351f360a6..d088726d6d 100644 --- a/library/cpp/logger/backend.h +++ b/library/cpp/logger/backend.h @@ -22,7 +22,7 @@ public: // buffering effects. virtual void ReopenLogNoFlush(); - virtual ELogPriority FiltrationLevel() const; + virtual ELogPriority FiltrationLevel() const; static void ReopenAllBackends(bool flush = true); diff --git a/library/cpp/logger/element.cpp b/library/cpp/logger/element.cpp index 0dd249adcb..b510fe16e1 100644 --- a/library/cpp/logger/element.cpp +++ b/library/cpp/logger/element.cpp @@ -10,7 +10,7 @@ TLogElement::TLogElement(const TLog* parent) Reset(); } -TLogElement::TLogElement(const TLog* parent, ELogPriority priority) +TLogElement::TLogElement(const TLog* parent, ELogPriority priority) : Parent_(parent) , Priority_(priority) { diff --git a/library/cpp/logger/element.h b/library/cpp/logger/element.h index dad0886c2c..fc9bff851f 100644 --- a/library/cpp/logger/element.h +++ b/library/cpp/logger/element.h @@ -12,7 +12,7 @@ class TLog; class TLogElement: public TTempBufOutput { public: TLogElement(const TLog* parent); - TLogElement(const TLog* parent, ELogPriority priority); + TLogElement(const TLog* parent, ELogPriority priority); TLogElement(TLogElement&&) noexcept = default; TLogElement& operator=(TLogElement&&) noexcept = default; @@ -29,13 +29,13 @@ public: /* * for pretty usage: logger << TLOG_ERROR << "Error description"; */ - inline TLogElement& operator<<(ELogPriority priority) { + inline TLogElement& operator<<(ELogPriority priority) { Flush(); Priority_ = priority; return *this; } - ELogPriority Priority() const noexcept { + ELogPriority Priority() const noexcept { return Priority_; } @@ -44,5 +44,5 @@ protected: protected: const TLog* Parent_; - ELogPriority Priority_; + ELogPriority Priority_; }; diff --git a/library/cpp/logger/filter.h b/library/cpp/logger/filter.h index 7166f727da..9ef83fb58c 100644 --- a/library/cpp/logger/filter.h +++ b/library/cpp/logger/filter.h @@ -7,7 +7,7 @@ class TFilteredLogBackend: public TLogBackend { THolder<TLogBackend> Backend; - ELogPriority Level; + ELogPriority Level; public: TFilteredLogBackend(THolder<TLogBackend>&& t, ELogPriority level = LOG_MAX_PRIORITY) noexcept @@ -16,7 +16,7 @@ public: { } - ELogPriority FiltrationLevel() const override { + ELogPriority FiltrationLevel() const override { return Level; } @@ -25,7 +25,7 @@ public: } void WriteData(const TLogRecord& rec) override { - if (rec.Priority <= (ELogPriority)Level) { + if (rec.Priority <= (ELogPriority)Level) { Backend->WriteData(rec); } } diff --git a/library/cpp/logger/global/common.h b/library/cpp/logger/global/common.h index 53006589a0..7dcf650dec 100644 --- a/library/cpp/logger/global/common.h +++ b/library/cpp/logger/global/common.h @@ -86,7 +86,7 @@ struct TLogRecordContext { TSourceLocation SourceLocation; TStringBuf CustomMessage; - ELogPriority Priority; + ELogPriority Priority; }; template <class... R> diff --git a/library/cpp/logger/global/global.h b/library/cpp/logger/global/global.h index cac6d0811e..cbe71b16ea 100644 --- a/library/cpp/logger/global/global.h +++ b/library/cpp/logger/global/global.h @@ -19,7 +19,7 @@ inline void InitGlobalLog2Console(int loglevel = TLOG_INFO) { class TGlobalLog: public TLog { public: - TGlobalLog(const TString& logType, ELogPriority priority = LOG_MAX_PRIORITY) + TGlobalLog(const TString& logType, ELogPriority priority = LOG_MAX_PRIORITY) : TLog(logType, priority) { } @@ -35,7 +35,7 @@ TGlobalLog* CreateDefaultLogger<TGlobalLog>(); class TNullLog: public TLog { public: - TNullLog(const TString& logType, ELogPriority priority = LOG_MAX_PRIORITY) + TNullLog(const TString& logType, ELogPriority priority = LOG_MAX_PRIORITY) : TLog(logType, priority) { } diff --git a/library/cpp/logger/global/rty_formater_ut.cpp b/library/cpp/logger/global/rty_formater_ut.cpp index 9c9b3bbbb1..551a97c5bf 100644 --- a/library/cpp/logger/global/rty_formater_ut.cpp +++ b/library/cpp/logger/global/rty_formater_ut.cpp @@ -9,22 +9,22 @@ namespace { Y_UNIT_TEST_SUITE(NLoggingImplTest) { Y_UNIT_TEST(TestTLocalTimeSToStream) { - NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); + NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); TStringStream ss; ss << lt; UNIT_ASSERT_EQUAL(ss.Str(), SampleRtyLog); } Y_UNIT_TEST(TestTLocalTimeSToString) { - NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); + NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); UNIT_ASSERT_EQUAL(TString(lt), SampleRtyLog); } Y_UNIT_TEST(TestTLocalTimeSAddLeft) { - NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); + NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); TStringBuf suffix("suffix"); UNIT_ASSERT_EQUAL(lt + suffix, TString(SampleRtyLog) + suffix); } Y_UNIT_TEST(TestTLocalTimeSAddRight) { - NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); + NLoggingImpl::TLocalTimeS lt(TInstant::ParseIso8601Deprecated(SampleISO8601)); TString prefix("prefix"); UNIT_ASSERT_EQUAL(prefix + lt, prefix + SampleRtyLog); } diff --git a/library/cpp/logger/log.cpp b/library/cpp/logger/log.cpp index 01cc4e5734..e1d70cc3d2 100644 --- a/library/cpp/logger/log.cpp +++ b/library/cpp/logger/log.cpp @@ -29,7 +29,7 @@ THolder<TOwningThreadedLogBackend> CreateOwningThreadedLogBackend(const TString& class TLog::TImpl: public TAtomicRefCount<TImpl> { class TPriorityLogStream final: public IOutputStream { public: - inline TPriorityLogStream(ELogPriority p, const TImpl* parent) + inline TPriorityLogStream(ELogPriority p, const TImpl* parent) : Priority_(p) , Parent_(parent) { @@ -66,7 +66,7 @@ public: Backend_->ReopenLogNoFlush(); } - inline void AddLog(ELogPriority priority, const char* format, va_list args) const { + inline void AddLog(ELogPriority priority, const char* format, va_list args) const { if (!IsOpen()) { return; } @@ -98,21 +98,21 @@ public: Y_ASSERT(!IsOpen()); } - inline void WriteData(ELogPriority priority, const char* data, size_t len) const { + inline void WriteData(ELogPriority priority, const char* data, size_t len) const { if (IsOpen()) { Backend_->WriteData(TLogRecord(priority, data, len)); } } - inline ELogPriority DefaultPriority() noexcept { + inline ELogPriority DefaultPriority() noexcept { return DefaultPriority_; } - inline void SetDefaultPriority(ELogPriority priority) noexcept { + inline void SetDefaultPriority(ELogPriority priority) noexcept { DefaultPriority_ = priority; } - inline ELogPriority FiltrationLevel() const noexcept { + inline ELogPriority FiltrationLevel() const noexcept { return Backend_->FiltrationLevel(); } @@ -161,7 +161,7 @@ void TLog::AddLog(const char* format, ...) const { Impl_->AddLog(Impl_->DefaultPriority(), format, args); } -void TLog::AddLog(ELogPriority priority, const char* format, ...) const { +void TLog::AddLog(ELogPriority priority, const char* format, ...) const { va_list args; va_start(args, format); @@ -192,19 +192,19 @@ void TLog::CloseLog() { Impl_->CloseLog(); } -void TLog::SetDefaultPriority(ELogPriority priority) noexcept { +void TLog::SetDefaultPriority(ELogPriority priority) noexcept { Impl_->SetDefaultPriority(priority); } -ELogPriority TLog::FiltrationLevel() const noexcept { +ELogPriority TLog::FiltrationLevel() const noexcept { return Impl_->FiltrationLevel(); } -ELogPriority TLog::DefaultPriority() const noexcept { +ELogPriority TLog::DefaultPriority() const noexcept { return Impl_->DefaultPriority(); } -bool TLog::OpenLog(const char* path, ELogPriority lp) { +bool TLog::OpenLog(const char* path, ELogPriority lp) { if (path) { ResetBackend(CreateLogBackend(path, lp)); } else { @@ -226,7 +226,7 @@ THolder<TLogBackend> TLog::ReleaseBackend() noexcept { return Impl_->ReleaseBackend(); } -void TLog::Write(ELogPriority priority, const char* data, size_t len) const { +void TLog::Write(ELogPriority priority, const char* data, size_t len) const { if (Formatter_) { const auto formated = Formatter_(priority, TStringBuf{data, len}); Impl_->WriteData(priority, formated.data(), formated.size()); diff --git a/library/cpp/logger/log.h b/library/cpp/logger/log.h index 5fedf3a823..8be984ccc8 100644 --- a/library/cpp/logger/log.h +++ b/library/cpp/logger/log.h @@ -12,7 +12,7 @@ #include <functional> #include <cstdarg> -using TLogFormatter = std::function<TString(ELogPriority priority, TStringBuf)>; +using TLogFormatter = std::function<TString(ELogPriority priority, TStringBuf)>; // Logging facilities interface. // @@ -35,7 +35,7 @@ public: // Construct empty logger all writes will be spilled. TLog(); // Construct file logger. - TLog(const TString& fname, ELogPriority priority = LOG_MAX_PRIORITY); + TLog(const TString& fname, ELogPriority priority = LOG_MAX_PRIORITY); // Construct any type of logger TLog(THolder<TLogBackend> backend); @@ -63,7 +63,7 @@ public: // Write message to the log using `DefaultPriority()`. void Write(const char* data, size_t len) const; // Write message to the log, but pass the message in a c-style. - void Write(ELogPriority priority, const char* data, size_t len) const; + void Write(ELogPriority priority, const char* data, size_t len) const; // Write message to the log in a c-like printf style. void Y_PRINTF_FORMAT(3, 4) AddLog(ELogPriority priority, const char* format, ...) const; @@ -79,12 +79,12 @@ public: // Set log default priority. // NOTE: not thread safe. - void SetDefaultPriority(ELogPriority priority) noexcept; + void SetDefaultPriority(ELogPriority priority) noexcept; // Get default priority - ELogPriority DefaultPriority() const noexcept; + ELogPriority DefaultPriority() const noexcept; // Call `FiltrationLevel()` of the underlying backend. - ELogPriority FiltrationLevel() const noexcept; + ELogPriority FiltrationLevel() const noexcept; // Set current log formatter. void SetFormatter(TLogFormatter formatter) noexcept; diff --git a/library/cpp/logger/priority.h b/library/cpp/logger/priority.h index 839dac66d5..d2a9fa0a07 100644 --- a/library/cpp/logger/priority.h +++ b/library/cpp/logger/priority.h @@ -1,6 +1,6 @@ #pragma once -enum ELogPriority { +enum ELogPriority { TLOG_EMERG = 0 /* "EMERG" */, TLOG_ALERT = 1 /* "ALERT" */, TLOG_CRIT = 2 /* "CRITICAL_INFO" */, diff --git a/library/cpp/logger/record.h b/library/cpp/logger/record.h index d8febe44c9..c28a7785fd 100644 --- a/library/cpp/logger/record.h +++ b/library/cpp/logger/record.h @@ -7,9 +7,9 @@ struct TLogRecord { const char* Data; size_t Len; - ELogPriority Priority; + ELogPriority Priority; - inline TLogRecord(ELogPriority priority, const char* data, size_t len) noexcept + inline TLogRecord(ELogPriority priority, const char* data, size_t len) noexcept : Data(data) , Len(len) , Priority(priority) diff --git a/library/cpp/logger/system.cpp b/library/cpp/logger/system.cpp index 86c5a23d2a..42233f63d2 100644 --- a/library/cpp/logger/system.cpp +++ b/library/cpp/logger/system.cpp @@ -54,7 +54,7 @@ TSysLogBackend::~TSysLogBackend() { void TSysLogBackend::WriteData(const TLogRecord& rec) { #if defined(_unix_) - syslog(ELogPriority2SyslogPriority(rec.Priority), "%.*s", (int)rec.Len, rec.Data); + syslog(ELogPriority2SyslogPriority(rec.Priority), "%.*s", (int)rec.Len, rec.Data); #else Y_UNUSED(rec); #endif @@ -63,7 +63,7 @@ void TSysLogBackend::WriteData(const TLogRecord& rec) { void TSysLogBackend::ReopenLog() { } -int TSysLogBackend::ELogPriority2SyslogPriority(ELogPriority priority) { +int TSysLogBackend::ELogPriority2SyslogPriority(ELogPriority priority) { #if defined(_unix_) return Min(int(priority), (int)LOG_PRIMASK); #else diff --git a/library/cpp/logger/system.h b/library/cpp/logger/system.h index 14fefbf78e..b8c60b3023 100644 --- a/library/cpp/logger/system.h +++ b/library/cpp/logger/system.h @@ -52,7 +52,7 @@ public: } protected: - int ELogPriority2SyslogPriority(ELogPriority priority); + int ELogPriority2SyslogPriority(ELogPriority priority); TString Ident; EFacility Facility; diff --git a/library/cpp/monlib/encode/json/json_ut.cpp b/library/cpp/monlib/encode/json/json_ut.cpp index 4532342cb9..09e7909289 100644 --- a/library/cpp/monlib/encode/json/json_ut.cpp +++ b/library/cpp/monlib/encode/json/json_ut.cpp @@ -133,7 +133,7 @@ namespace { Y_UNIT_TEST_SUITE(TJsonTest) { - const TInstant now = TInstant::ParseIso8601Deprecated("2017-11-05T01:02:03Z"); + const TInstant now = TInstant::ParseIso8601Deprecated("2017-11-05T01:02:03Z"); Y_UNIT_TEST(Encode) { auto check = [](bool cloud, bool buffered, TStringBuf expectedResourceKey) { @@ -446,7 +446,7 @@ Y_UNIT_TEST_SUITE(TJsonTest) { UNIT_ASSERT_VALUES_EQUAL( TInstant::MilliSeconds(samples.GetCommonTime()), - TInstant::ParseIso8601Deprecated("2017-08-27T12:34:56Z")); + TInstant::ParseIso8601Deprecated("2017-08-27T12:34:56Z")); UNIT_ASSERT_VALUES_EQUAL(samples.CommonLabelsSize(), 3); AssertLabelEqual(samples.GetCommonLabels(0), "project", "solomon"); @@ -480,7 +480,7 @@ Y_UNIT_TEST_SUITE(TJsonTest) { AssertLabelEqual(s.GetLabels(1), "metric", "QueueSize"); UNIT_ASSERT_VALUES_EQUAL(s.PointsSize(), 1); - auto ts = TInstant::ParseIso8601Deprecated("2017-11-05T12:34:56.000Z"); + auto ts = TInstant::ParseIso8601Deprecated("2017-11-05T12:34:56.000Z"); AssertPointEqual(s.GetPoints(0), ts, 3.14159); } { @@ -490,7 +490,7 @@ Y_UNIT_TEST_SUITE(TJsonTest) { AssertLabelEqual(s.GetLabels(0), "metric", "Writes"); UNIT_ASSERT_VALUES_EQUAL(s.PointsSize(), 2); - auto ts1 = TInstant::ParseIso8601Deprecated("2017-08-28T12:32:11Z"); + auto ts1 = TInstant::ParseIso8601Deprecated("2017-08-28T12:32:11Z"); AssertPointEqual(s.GetPoints(0), ts1, -10.0); auto ts2 = TInstant::Seconds(1503923187); AssertPointEqual(s.GetPoints(1), ts2, 20.0); diff --git a/library/cpp/monlib/encode/spack/spack_v1_ut.cpp b/library/cpp/monlib/encode/spack/spack_v1_ut.cpp index 62a0cae2d4..fe778eb7e0 100644 --- a/library/cpp/monlib/encode/spack/spack_v1_ut.cpp +++ b/library/cpp/monlib/encode/spack/spack_v1_ut.cpp @@ -241,7 +241,7 @@ Y_UNIT_TEST_SUITE(TSpackTest) { Y_ARRAY_SIZE(expectedMetric7) + Y_ARRAY_SIZE(expectedMetric8); - const TInstant now = TInstant::ParseIso8601Deprecated("2017-11-05T01:02:03Z"); + const TInstant now = TInstant::ParseIso8601Deprecated("2017-11-05T01:02:03Z"); // {1: 1, 2: 1, 4: 2, 8: 4, 16: 8, inf: 83} IHistogramSnapshotPtr TestHistogram() { diff --git a/library/cpp/monlib/encode/text/text_encoder_ut.cpp b/library/cpp/monlib/encode/text/text_encoder_ut.cpp index 9840489097..554b6f5fa9 100644 --- a/library/cpp/monlib/encode/text/text_encoder_ut.cpp +++ b/library/cpp/monlib/encode/text/text_encoder_ut.cpp @@ -26,7 +26,7 @@ Y_UNIT_TEST_SUITE(TTextText) { Y_UNIT_TEST(CommonPart) { auto result = EncodeToString(true, [](IMetricEncoder* e) { e->OnStreamBegin(); - e->OnCommonTime(TInstant::ParseIso8601Deprecated("2017-01-02T03:04:05.006Z")); + e->OnCommonTime(TInstant::ParseIso8601Deprecated("2017-01-02T03:04:05.006Z")); { e->OnLabelsBegin(); e->OnLabel("project", "solomon"); @@ -73,7 +73,7 @@ Y_UNIT_TEST_SUITE(TTextText) { e->OnLabel("dc", "man"); e->OnLabelsEnd(); } - e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 1000); + e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 1000); e->OnMetricEnd(); } { // many values @@ -85,9 +85,9 @@ Y_UNIT_TEST_SUITE(TTextText) { e->OnLabel("dc", "sas"); e->OnLabelsEnd(); } - e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 2); - e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:05Z"), 4); - e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:10Z"), 8); + e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 2); + e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:05Z"), 4); + e->OnDouble(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:10Z"), 8); e->OnMetricEnd(); } e->OnStreamEnd(); @@ -189,7 +189,7 @@ Y_UNIT_TEST_SUITE(TTextText) { e->OnLabel("dc", "man"); e->OnLabelsEnd(); } - e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 1000); + e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 1000); e->OnMetricEnd(); } { // many values @@ -201,9 +201,9 @@ Y_UNIT_TEST_SUITE(TTextText) { e->OnLabel("dc", "sas"); e->OnLabelsEnd(); } - e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 2); - e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:05Z"), 4); - e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:10Z"), 8); + e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:00Z"), 2); + e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:05Z"), 4); + e->OnUint64(TInstant::ParseIso8601Deprecated("2017-12-02T12:00:10Z"), 8); e->OnMetricEnd(); } e->OnStreamEnd(); diff --git a/library/cpp/streams/ya.make b/library/cpp/streams/ya.make index f2f625b062..7426a874ee 100644 --- a/library/cpp/streams/ya.make +++ b/library/cpp/streams/ya.make @@ -9,8 +9,8 @@ RECURSE( factory/ut fields_io fields_io/ut - growing_file_input - growing_file_input/ut + growing_file_input + growing_file_input/ut lz lz/ut lzma |