aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors
diff options
context:
space:
mode:
authorVitalii Gridnev <gridnevvvit@gmail.com>2022-02-10 16:47:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:25 +0300
commitdc5feacd15e76abe98d23fe0d4ea3c02cb8de60f (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/actors
parent30ed3937ab02d1b3c4dec4d93fb86c683217d9be (diff)
downloadydb-dc5feacd15e76abe98d23fe0d4ea3c02cb8de60f.tar.gz
Restoring authorship annotation for Vitalii Gridnev <gridnevvvit@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/actors')
-rw-r--r--library/cpp/actors/core/event_pb_payload_ut.cpp4
-rw-r--r--library/cpp/actors/core/scheduler_cookie.cpp4
-rw-r--r--library/cpp/actors/core/ut/ya.make32
-rw-r--r--library/cpp/actors/dnscachelib/dnscache.cpp8
-rw-r--r--library/cpp/actors/dnscachelib/dnscache.h8
-rw-r--r--library/cpp/actors/interconnect/mock/tsan.supp2
-rw-r--r--library/cpp/actors/interconnect/mock/ya.make4
-rw-r--r--library/cpp/actors/interconnect/ut/ya.make16
-rw-r--r--library/cpp/actors/ya.make4
9 files changed, 41 insertions, 41 deletions
diff --git a/library/cpp/actors/core/event_pb_payload_ut.cpp b/library/cpp/actors/core/event_pb_payload_ut.cpp
index 17597c6292..eab007bc15 100644
--- a/library/cpp/actors/core/event_pb_payload_ut.cpp
+++ b/library/cpp/actors/core/event_pb_payload_ut.cpp
@@ -82,11 +82,11 @@ Y_UNIT_TEST_SUITE(TEventProtoWithPayload) {
}
}
-#if (!defined(_tsan_enabled_))
+#if (!defined(_tsan_enabled_))
Y_UNIT_TEST(SerializeDeserialize) {
TestAllSizes<TEvMessageWithPayload>();
}
-#endif
+#endif
struct TEvArenaMessage : TEventPBWithArena<TEvArenaMessage, TMessageWithPayload, EvArenaMessage> {
diff --git a/library/cpp/actors/core/scheduler_cookie.cpp b/library/cpp/actors/core/scheduler_cookie.cpp
index 822a074790..0fa6f543a7 100644
--- a/library/cpp/actors/core/scheduler_cookie.cpp
+++ b/library/cpp/actors/core/scheduler_cookie.cpp
@@ -11,7 +11,7 @@ namespace NActors {
}
bool IsArmed() noexcept override {
- return (AtomicGet(Value) == 2);
+ return (AtomicGet(Value) == 2);
}
bool Detach() noexcept override {
@@ -46,7 +46,7 @@ namespace NActors {
}
bool IsArmed() noexcept override {
- return (AtomicGet(Value) == 3);
+ return (AtomicGet(Value) == 3);
}
bool Detach() noexcept override {
diff --git a/library/cpp/actors/core/ut/ya.make b/library/cpp/actors/core/ut/ya.make
index 93e09f51cf..3ee28d5850 100644
--- a/library/cpp/actors/core/ut/ya.make
+++ b/library/cpp/actors/core/ut/ya.make
@@ -6,23 +6,23 @@ OWNER(
)
FORK_SUBTESTS()
-IF (SANITIZER_TYPE)
- SIZE(LARGE)
- TIMEOUT(1200)
- TAG(ya:fat)
- SPLIT_FACTOR(20)
- REQUIREMENTS(
- ram:32
- )
-ELSE()
- SIZE(MEDIUM)
- TIMEOUT(600)
- REQUIREMENTS(
- ram:16
- )
-ENDIF()
+IF (SANITIZER_TYPE)
+ SIZE(LARGE)
+ TIMEOUT(1200)
+ TAG(ya:fat)
+ SPLIT_FACTOR(20)
+ REQUIREMENTS(
+ ram:32
+ )
+ELSE()
+ SIZE(MEDIUM)
+ TIMEOUT(600)
+ REQUIREMENTS(
+ ram:16
+ )
+ENDIF()
+
-
PEERDIR(
library/cpp/actors/interconnect
library/cpp/actors/testlib
diff --git a/library/cpp/actors/dnscachelib/dnscache.cpp b/library/cpp/actors/dnscachelib/dnscache.cpp
index 7ca665bb80..649339ddb2 100644
--- a/library/cpp/actors/dnscachelib/dnscache.cpp
+++ b/library/cpp/actors/dnscachelib/dnscache.cpp
@@ -23,12 +23,12 @@ TDnsCache::TDnsCache(bool allowIpv4, bool allowIpv6, time_t lifetime, time_t neg
, PtrCacheHits(0)
, PtrCacheMisses(0)
{
-#ifdef _win_
+#ifdef _win_
if (ares_library_init(ARES_LIB_INIT_WIN32) != ARES_SUCCESS) {
LWPROBE(AresInitFailed);
ythrow yexception() << "ares_init() failed";
}
-#endif
+#endif
ares_channel chan;
@@ -47,9 +47,9 @@ TDnsCache::~TDnsCache(void) {
ares_destroy(chan);
LWPROBE(Destroyed);
-#ifdef _win_
+#ifdef _win_
ares_library_cleanup();
-#endif
+#endif
}
TString TDnsCache::GetHostByAddr(const NAddr::IRemoteAddr& addr) {
diff --git a/library/cpp/actors/dnscachelib/dnscache.h b/library/cpp/actors/dnscachelib/dnscache.h
index 58159c1080..3313a251a1 100644
--- a/library/cpp/actors/dnscachelib/dnscache.h
+++ b/library/cpp/actors/dnscachelib/dnscache.h
@@ -131,16 +131,16 @@ private:
struct TAresLibInit {
TAresLibInit() {
-#ifdef _win_
+#ifdef _win_
const auto res = ares_library_init(ARES_LIB_INIT_ALL);
Y_VERIFY(res == 0);
-#endif
+#endif
}
~TAresLibInit() {
-#ifdef _win_
+#ifdef _win_
ares_library_cleanup();
-#endif
+#endif
}
};
diff --git a/library/cpp/actors/interconnect/mock/tsan.supp b/library/cpp/actors/interconnect/mock/tsan.supp
index 92cd9fb73c..19fd059419 100644
--- a/library/cpp/actors/interconnect/mock/tsan.supp
+++ b/library/cpp/actors/interconnect/mock/tsan.supp
@@ -1 +1 @@
-deadlock:Attach
+deadlock:Attach
diff --git a/library/cpp/actors/interconnect/mock/ya.make b/library/cpp/actors/interconnect/mock/ya.make
index 4687195d78..19a2834162 100644
--- a/library/cpp/actors/interconnect/mock/ya.make
+++ b/library/cpp/actors/interconnect/mock/ya.make
@@ -7,8 +7,8 @@ SRCS(
ic_mock.h
)
-SUPPRESSIONS(tsan.supp)
-
+SUPPRESSIONS(tsan.supp)
+
PEERDIR(
library/cpp/actors/interconnect
)
diff --git a/library/cpp/actors/interconnect/ut/ya.make b/library/cpp/actors/interconnect/ut/ya.make
index 9213d51339..2f5b13352e 100644
--- a/library/cpp/actors/interconnect/ut/ya.make
+++ b/library/cpp/actors/interconnect/ut/ya.make
@@ -6,14 +6,14 @@ OWNER(
)
IF (SANITIZER_TYPE == "thread")
- TIMEOUT(1200)
- SIZE(LARGE)
- TAG(ya:fat)
-ELSE()
- TIMEOUT(600)
- SIZE(MEDIUM)
-ENDIF()
-
+ TIMEOUT(1200)
+ SIZE(LARGE)
+ TAG(ya:fat)
+ELSE()
+ TIMEOUT(600)
+ SIZE(MEDIUM)
+ENDIF()
+
SRCS(
channel_scheduler_ut.cpp
event_holder_pool_ut.cpp
diff --git a/library/cpp/actors/ya.make b/library/cpp/actors/ya.make
index d07bf1659d..737c7fbc18 100644
--- a/library/cpp/actors/ya.make
+++ b/library/cpp/actors/ya.make
@@ -1,5 +1,5 @@
-RECURSE_FOR_TESTS(ut)
-
+RECURSE_FOR_TESTS(ut)
+
RECURSE(
log_backend
core