Просмотр исходного кода

Restoring authorship annotation for <romanoved@yandex-team.ru>. Commit 1 of 2.

romanoved 3 лет назад
Родитель
Сommit
90132a2ca5

+ 3 - 3
build/rules/contrib_restricted.policy

@@ -89,9 +89,9 @@ ALLOW yandex_io -> contrib/restricted/spdlog
 ALLOW smart_devices/tools/launcher2 -> contrib/restricted/spdlog
 ALLOW smart_devices/tools/updater -> contrib/restricted/spdlog
 
-# cmph is a limited-use library
-ALLOW ads/yacontext -> contrib/restricted/cmph
-
+# cmph is a limited-use library 
+ALLOW ads/yacontext -> contrib/restricted/cmph 
+ 
 # http-parser is a low-level parser for http bytestream.
 # Consider using high-level alternatives.
 ALLOW mds -> contrib/restricted/http-parser

+ 1 - 1
build/scripts/clang_wrapper.py

@@ -18,7 +18,7 @@ def fix(s):
         return None
 
     # remove arguments unknown to clang-cl
-    if s == '-fcase-insensitive-paths':  # or s == '-fno-lto':  # DEVTOOLSSUPPORT-3966
+    if s == '-fcase-insensitive-paths':  # or s == '-fno-lto':  # DEVTOOLSSUPPORT-3966 
         return None
 
     # Paths under .ya/tools/v3/.../msvc/include are divided with '\'

+ 8 - 8
build/ymake.core.conf

@@ -2945,10 +2945,10 @@ multimodule DYNAMIC_LIBRARY {
 ###     END()
 ###
 ### @see: [SRCS()](#macro_SRCS)
-macro GLOBAL_SRCS(Files...) {
-    SRCS(${pre=GLOBAL :Files})
-}
-
+macro GLOBAL_SRCS(Files...) { 
+    SRCS(${pre=GLOBAL :Files}) 
+} 
+ 
 ### @usage: ALL_SRCS([GLOBAL] filenames...)
 ###
 ### Make all source files listed as GLOBAL or not depending on the keyword GLOBAL
@@ -2973,11 +2973,11 @@ macro ALL_SRCS(GLOBAL?"GLOBAL":"", Files...) {
 ### In order to function properly all modules in multimodule shall have the
 ### same set of arguments. So this module is just library that accepts but
 ### ignores all DLL arguments.
-module _DLL_COMPATIBLE_LIBRARY: LIBRARY {
-}
-
+module _DLL_COMPATIBLE_LIBRARY: LIBRARY { 
+} 
+ 
 @import "${CONF_ROOT}/conf/project_specific/yql_udf.conf"
-
+ 
 # as SRCS in packages use macro BUNDLE_SRCS!
 
 PACKED_PACKAGE_ARGS=

+ 11 - 11
contrib/python/ya.make

@@ -68,7 +68,7 @@ RECURSE(
     asciitree
     asgiref
     asn1crypto
-    astroid
+    astroid 
     asttokens
     astunparse
     async-generator
@@ -330,7 +330,7 @@ RECURSE(
     easywebdav
     ecdsa
     edera
-    editdistance
+    editdistance 
     elasticsearch
     elasticsearch-dsl
     email-validator
@@ -373,10 +373,10 @@ RECURSE(
     filelock
     fingerprints
     fire
-    flake8
+    flake8 
     flake8-bandit
-    flake8-commas
-    flake8-docstrings
+    flake8-commas 
+    flake8-docstrings 
     flake8-polyfill
     flake8-quotes
     flake8-string-format
@@ -495,7 +495,7 @@ RECURSE(
     humanize
     humongous
     hurry.filesize
-    Hydra
+    Hydra 
     hypercorn
     hyperframe
     hyperlink
@@ -536,7 +536,7 @@ RECURSE(
     iso3166
     iso8601
     isodate
-    isort
+    isort 
     itsdangerous
     jaeger-client
     janus
@@ -615,7 +615,7 @@ RECURSE(
     marshmallow-union
     matplotlib
     matplotlib-inline
-    mccabe
+    mccabe 
     mecab-python3
     meld3
     memory-profiler
@@ -807,7 +807,7 @@ RECURSE(
     pydash
     PyDispatcher
     pyDOE
-    pydocstyle
+    pydocstyle 
     pydot
     pydub
     pyelftools
@@ -826,7 +826,7 @@ RECURSE(
     pykdtree
     pyketama
     pylev
-    pylint
+    pylint 
     pylxd
     pylzma
     pymaven-patch
@@ -1042,7 +1042,7 @@ RECURSE(
     subword-nmt
     suds-jurko
     supervenn
-    supervisor
+    supervisor 
     svn
     swagger-spec-validator
     sympy

+ 1 - 1
contrib/restricted/ya.make

@@ -12,7 +12,7 @@ RECURSE(
     blis
     boost
     cityhash-1.0.2
-    cmph
+    cmph 
     cpuinfo
     exiv2
     expected-lite

+ 1 - 1
contrib/tools/ya.make

@@ -60,6 +60,6 @@ IF (NOT OS_WINDOWS)
     RECURSE(
         ag
         lftp
-        make
+        make 
     )
 ENDIF ()

+ 1 - 1
library/cpp/actors/helpers/ya.make

@@ -8,7 +8,7 @@ SRCS(
     flow_controlled_queue.cpp
     flow_controlled_queue.h
     future_callback.h
-    mon_histogram_helper.h
+    mon_histogram_helper.h 
     selfping_actor.cpp
 )
 

+ 1 - 1
library/cpp/actors/interconnect/interconnect_tcp_session.h

@@ -268,7 +268,7 @@ namespace NActors {
         const TDuration DeadPeerTimeout;
         TInstant LastReceiveTimestamp;
         void HandleCheckDeadPeer();
-
+ 
         ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
         // pinger logic
 

+ 15 - 15
library/cpp/digest/md5/md5.cpp

@@ -201,17 +201,17 @@ char* MD5::End_b64(char* buf) {
     return buf;
 }
 
-ui64 MD5::EndHalfMix() {
+ui64 MD5::EndHalfMix() { 
     ui8 digest[16];
-    Final(digest);
-    ui64 res = 0;
-    for (int i = 3; i >= 0; i--) {
-        res |= (ui64)(digest[0 + i] ^ digest[8 + i]) << ((3 - i) << 3);
-        res |= (ui64)(digest[4 + i] ^ digest[12 + i]) << ((7 - i) << 3);
-    }
-    return res;
-}
-
+    Final(digest); 
+    ui64 res = 0; 
+    for (int i = 3; i >= 0; i--) { 
+        res |= (ui64)(digest[0 + i] ^ digest[8 + i]) << ((3 - i) << 3); 
+        res |= (ui64)(digest[4 + i] ^ digest[12 + i]) << ((7 - i) << 3); 
+    } 
+    return res; 
+} 
+ 
 TString MD5::Calc(TStringBuf data) {
     return Calc(MakeUnsignedArrayRef(data));
 }
@@ -231,14 +231,14 @@ TString MD5::CalcRaw(const TArrayRef<const ui8>& data) {
     return result;
 }
 
-ui64 MD5::CalcHalfMix(const char* data, size_t len) {
+ui64 MD5::CalcHalfMix(const char* data, size_t len) { 
     return CalcHalfMix(MakeUnsignedArrayRef(data, len));
-}
-
+} 
+ 
 ui64 MD5::CalcHalfMix(TStringBuf data) {
     return CalcHalfMix(MakeUnsignedArrayRef(data));
-}
-
+} 
+ 
 ui64 MD5::CalcHalfMix(const TArrayRef<const ui8>& data) {
     return MD5().Update(data).EndHalfMix();
 }

+ 5 - 5
library/cpp/digest/md5/md5.h

@@ -35,9 +35,9 @@ public:
     // buf must be char[25];
     char* End_b64(char* buf);
 
-    // 8-byte xor-based mix
-    ui64 EndHalfMix();
-
+    // 8-byte xor-based mix 
+    ui64 EndHalfMix(); 
+ 
     MD5& Update(IInputStream* in);
 
     /*
@@ -61,8 +61,8 @@ public:
 
     static ui64 CalcHalfMix(TStringBuf data);
     static ui64 CalcHalfMix(const TArrayRef<const ui8>& data);
-    static ui64 CalcHalfMix(const char* data, size_t len);
-
+    static ui64 CalcHalfMix(const char* data, size_t len); 
+ 
     static bool IsMD5(TStringBuf data);
     static bool IsMD5(const TArrayRef<const ui8>& data);
 

Некоторые файлы не были показаны из-за большого количества измененных файлов