aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmcf <rmcf@yandex-team.ru>2022-02-10 16:51:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:02 +0300
commit1f6a6eecc76bc32831570c7c438dc43e229b09aa (patch)
tree77620f70e620e13543e994119453235e2c498002
parent459ffdc863dea09f4686b9c427f49ad2c04fddc3 (diff)
downloadydb-1f6a6eecc76bc32831570c7c438dc43e229b09aa.tar.gz
Restoring authorship annotation for <rmcf@yandex-team.ru>. Commit 1 of 2.
-rw-r--r--build/rules/go/vendor.policy6
-rw-r--r--library/python/ya.make4
-rw-r--r--util/string/cast.h4
-rw-r--r--util/system/madvise.cpp10
-rw-r--r--util/system/madvise.h6
5 files changed, 15 insertions, 15 deletions
diff --git a/build/rules/go/vendor.policy b/build/rules/go/vendor.policy
index 3e9c0acada..304203374f 100644
--- a/build/rules/go/vendor.policy
+++ b/build/rules/go/vendor.policy
@@ -548,9 +548,9 @@ ALLOW .* -> vendor/google.golang.org/api/option
# CONTRIB-1899 Firebase Remote Config client library
ALLOW .* -> vendor/google.golang.org/api/firebaseremoteconfig/v1
-# CONTRIB-1497 Go package to encode and decode ITU-T G.711 sound data
-ALLOW .* -> vendor/github.com/zaf/g711
-
+# CONTRIB-1497 Go package to encode and decode ITU-T G.711 sound data
+ALLOW .* -> vendor/github.com/zaf/g711
+
# CONTRIB-1505 The exponential backoff algorithm & retry library
ALLOW .* -> vendor/github.com/cenkalti/backoff/v4
diff --git a/library/python/ya.make b/library/python/ya.make
index 2e1eb6e0e1..68bee7ad85 100644
--- a/library/python/ya.make
+++ b/library/python/ya.make
@@ -77,8 +77,8 @@ RECURSE(
flask_passport
fnvhash
fnvhash/test
- framing
- framing/ut
+ framing
+ framing/ut
func
func/ut
fs
diff --git a/util/string/cast.h b/util/string/cast.h
index 90e925c194..0597026c03 100644
--- a/util/string/cast.h
+++ b/util/string/cast.h
@@ -339,8 +339,8 @@ inline TInt IntFromString(const TChar* str) {
return IntFromString<TInt, base>(str, std::char_traits<TChar>::length(str));
}
-template <class TInt, int base, class TStringType>
-inline TInt IntFromString(const TStringType& str) {
+template <class TInt, int base, class TStringType>
+inline TInt IntFromString(const TStringType& str) {
return IntFromString<TInt, base>(str.data(), str.size());
}
diff --git a/util/system/madvise.cpp b/util/system/madvise.cpp
index 58c894e3ef..e7ae74731b 100644
--- a/util/system/madvise.cpp
+++ b/util/system/madvise.cpp
@@ -14,8 +14,8 @@
#ifndef MADV_DONTDUMP /* This flag is defined in sys/mman.h since Linux 3.4, but currently old libc header is in use \
for capability with Ubuntu 12.04, so we need to define it here manually */
#define MADV_DONTDUMP 16 /* Explicity exclude from the core dump, overrides the coredump filter bits */
-#endif
-
+#endif
+
#ifndef MADV_DODUMP /* This flag is defined in sys/mman.h since Linux 3.4, but currently old libc header is in use \
for capability with Ubuntu 12.04, so we need to define it here manually */
#define MADV_DODUMP 17 /* Undo the effect of an earlier MADV_DONTDUMP */
@@ -80,7 +80,7 @@ void MadviseEvict(const void* begin, size_t size) {
Madvise(MADV_FREE, begin, size);
#endif
}
-
+
void MadviseEvict(TArrayRef<const char> data) {
MadviseEvict(data.data(), data.size());
}
@@ -89,7 +89,7 @@ void MadviseEvict(TArrayRef<const ui8> data) {
MadviseEvict(data.data(), data.size());
}
-void MadviseExcludeFromCoreDump(const void* begin, size_t size) {
+void MadviseExcludeFromCoreDump(const void* begin, size_t size) {
#if defined(_darwin_)
// Don't try to call function with flag which doesn't work
// https://st.yandex-team.ru/PASSP-31755#6050bbafc68f501f2c22caab
@@ -98,7 +98,7 @@ void MadviseExcludeFromCoreDump(const void* begin, size_t size) {
#elif !defined(_win_)
Madvise(MADV_DONTDUMP, begin, size);
#endif
-}
+}
void MadviseExcludeFromCoreDump(TArrayRef<const char> data) {
MadviseExcludeFromCoreDump(data.data(), data.size());
diff --git a/util/system/madvise.h b/util/system/madvise.h
index 606733152e..524167ca32 100644
--- a/util/system/madvise.h
+++ b/util/system/madvise.h
@@ -18,9 +18,9 @@ void MadviseRandomAccess(TArrayRef<const ui8> data);
void MadviseEvict(const void* begin, size_t size);
void MadviseEvict(TArrayRef<const char> data);
void MadviseEvict(TArrayRef<const ui8> data);
-
-/// see linux madvise(MADV_DONTDUMP)
-void MadviseExcludeFromCoreDump(const void* begin, size_t size);
+
+/// see linux madvise(MADV_DONTDUMP)
+void MadviseExcludeFromCoreDump(const void* begin, size_t size);
void MadviseExcludeFromCoreDump(TArrayRef<const char> data);
void MadviseExcludeFromCoreDump(TArrayRef<const ui8> data);