Browse Source

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

dvorkanton 3 years ago
parent
commit
110a978b66

+ 2 - 2
build/sysincl/android.yml

@@ -1,7 +1,7 @@
 - includes:
   - android/asset_manager.h
   - android/asset_manager_jni.h
-  - android/dlext.h 
+  - android/dlext.h
   - android/log.h
   - android/native_window_jni.h
   - cpu-features.h: contrib/libs/android_cpufeatures/cpu-features.h
@@ -19,7 +19,7 @@
   - SLES/OpenSLES_AndroidConfiguration.h
   - SLES/OpenSLES_AndroidMetadata.h
   - SLES/OpenSLES_Platform.h
-  - linux/ashmem.h 
+  - linux/ashmem.h
 
 - source_filter: "^contrib/libs/breakpad/src"
   includes:

+ 10 - 10
build/ymake.core.conf

@@ -907,26 +907,26 @@ macro _PY_PROTO_CMD_INTERNAL(File) {
 }
 
 # tag:proto tag:java-specific
-JAVA_PROTO_RUNTIME= 
+JAVA_PROTO_RUNTIME=
 
 # tag:proto tag:java-specific
-### @usage: USE_JAVALITE() 
-### Use protobuf-javalite for Java 
+### @usage: USE_JAVALITE()
+### Use protobuf-javalite for Java
 macro USE_JAVALITE() {
-    SET(JAVA_PROTO_RUNTIME javalite) 
+    SET(JAVA_PROTO_RUNTIME javalite)
 }
 
 # tag:proto tag:java-specific
 JAVA_PROTO_RUNTIME_VERSION = 3.18.2
 JAVA_PROTO_COMMON_VERSION = 1.12.0
-when ($JAVA_PROTO_RUNTIME == "javalite") { 
-    _JAVA_PROTO_OUT_ARG=--java_out=lite: 
+when ($JAVA_PROTO_RUNTIME == "javalite") {
+    _JAVA_PROTO_OUT_ARG=--java_out=lite:
     JAVA_PROTOBUF_PEERS=contrib/java/com/google/protobuf/protobuf-javalite/${JAVA_PROTO_RUNTIME_VERSION}
-    JAVA_GRPC_STUB=contrib/java/io/grpc/grpc-stub/1.19.0 
-    JAVA_GRPC_PROTOBUF=contrib/java/io/grpc/grpc-protobuf/1.19.0 
-} 
+    JAVA_GRPC_STUB=contrib/java/io/grpc/grpc-stub/1.19.0
+    JAVA_GRPC_PROTOBUF=contrib/java/io/grpc/grpc-protobuf/1.19.0
+}
 otherwise {
-    _JAVA_PROTO_OUT_ARG=--java_out= 
+    _JAVA_PROTO_OUT_ARG=--java_out=
     JAVA_PROTOBUF_PEERS=contrib/java/com/google/protobuf/protobuf-java/${JAVA_PROTO_RUNTIME_VERSION}
     JAVA_GRPC_STUB=contrib/java/io/grpc/grpc-stub/1.26.0
     JAVA_GRPC_PROTOBUF=contrib/java/io/grpc/grpc-protobuf/1.26.0

+ 7 - 7
contrib/libs/crcutil/ya.make

@@ -22,13 +22,13 @@ IF (GCC AND USE_LTO)
 ENDIF()
 
 IF (ARCH_I386 OR ARCH_X86_64)
-    IF (OS_WINDOWS) 
+    IF (OS_WINDOWS)
         SRCS(
             multiword_64_64_cl_i386_mmx.cc
         )
     ELSEIF (OS_ANDROID AND ARCH_I386)
-        # 32-bit Android has some problems with register allocation, so we fall back to default implementation 
-    ELSE() 
+        # 32-bit Android has some problems with register allocation, so we fall back to default implementation
+    ELSE()
         IF (CLANG)
             CFLAGS(-DCRCUTIL_USE_MM_CRC32=1)
             IF (ARCH_I386)
@@ -53,13 +53,13 @@ IF (ARCH_I386 OR ARCH_X86_64)
             multiword_64_64_gcc_amd64_asm.cc
         )
     ENDIF()
-    IF (OS_WINDOWS) 
+    IF (OS_WINDOWS)
         SRCS(
             crc32c_sse4.cc
         )
-    ELSE() 
-        SRC_CPP_SSE4(crc32c_sse4.cc) 
-    ENDIF() 
+    ELSE()
+        SRC_CPP_SSE4(crc32c_sse4.cc)
+    ENDIF()
 ENDIF()
 
 SRCS(

+ 2 - 2
contrib/libs/grpc/src/core/ext/filters/http/http_filters_plugin.cc

@@ -29,10 +29,10 @@
 #include "src/core/lib/surface/channel_init.h"
 #include "src/core/lib/transport/transport_impl.h"
 
-struct optional_filter { 
+struct optional_filter {
   const grpc_channel_filter* filter;
   const char* control_channel_arg;
-}; 
+};
 
 static optional_filter compress_filter = {
     &grpc_message_compress_filter, GRPC_ARG_ENABLE_PER_MESSAGE_COMPRESSION};

+ 1 - 1
contrib/libs/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc

@@ -125,7 +125,7 @@ class Chttp2ServerListener : public Server::ListenerInterface {
   grpc_closure* on_destroy_done_ = nullptr;
   HandshakeManager* pending_handshake_mgrs_ = nullptr;
   RefCountedPtr<channelz::ListenSocketNode> channelz_listen_socket_;
-}; 
+};
 
 //
 // Chttp2ServerListener::ConnectionState

+ 4 - 4
contrib/libs/grpc/src/core/ext/transport/chttp2/transport/bin_encoder.cc

@@ -28,10 +28,10 @@
 static const char alphabet[] =
     "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 
-struct b64_huff_sym { 
+struct b64_huff_sym {
   uint16_t bits;
   uint8_t length;
-}; 
+};
 static const b64_huff_sym huff_alphabet[64] = {
     {0x21, 6}, {0x5d, 7}, {0x5e, 7},   {0x5f, 7}, {0x60, 7}, {0x61, 7},
     {0x62, 7}, {0x63, 7}, {0x64, 7},   {0x65, 7}, {0x66, 7}, {0x67, 7},
@@ -135,11 +135,11 @@ grpc_slice grpc_chttp2_huffman_compress(const grpc_slice& input) {
   return output;
 }
 
-struct huff_out { 
+struct huff_out {
   uint32_t temp;
   uint32_t temp_length;
   uint8_t* out;
-}; 
+};
 static void enc_flush_some(huff_out* out) {
   while (out->temp_length > 8) {
     out->temp_length -= 8;

+ 2 - 2
contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc

@@ -2373,10 +2373,10 @@ static void close_from_api(grpc_chttp2_transport* t, grpc_chttp2_stream* s,
   grpc_chttp2_initiate_write(t, GRPC_CHTTP2_INITIATE_WRITE_CLOSE_FROM_API);
 }
 
-struct cancel_stream_cb_args { 
+struct cancel_stream_cb_args {
   grpc_error* error;
   grpc_chttp2_transport* t;
-}; 
+};
 
 static void cancel_stream_cb(void* user_data, uint32_t /*key*/, void* stream) {
   cancel_stream_cb_args* args = static_cast<cancel_stream_cb_args*>(user_data);

+ 2 - 2
contrib/libs/grpc/src/core/ext/transport/chttp2/transport/frame_goaway.h

@@ -37,14 +37,14 @@ typedef enum {
   GRPC_CHTTP2_GOAWAY_DEBUG
 } grpc_chttp2_goaway_parse_state;
 
-struct grpc_chttp2_goaway_parser { 
+struct grpc_chttp2_goaway_parser {
   grpc_chttp2_goaway_parse_state state;
   uint32_t last_stream_id;
   uint32_t error_code;
   char* debug_data;
   uint32_t debug_length;
   uint32_t debug_pos;
-}; 
+};
 void grpc_chttp2_goaway_parser_init(grpc_chttp2_goaway_parser* p);
 void grpc_chttp2_goaway_parser_destroy(grpc_chttp2_goaway_parser* p);
 grpc_error* grpc_chttp2_goaway_parser_begin_frame(

+ 2 - 2
contrib/libs/grpc/src/core/ext/transport/chttp2/transport/frame_ping.h

@@ -24,11 +24,11 @@
 #include <grpc/slice.h>
 #include "src/core/ext/transport/chttp2/transport/frame.h"
 
-struct grpc_chttp2_ping_parser { 
+struct grpc_chttp2_ping_parser {
   uint8_t byte;
   uint8_t is_ack;
   uint64_t opaque_8bytes;
-}; 
+};
 grpc_slice grpc_chttp2_ping_create(uint8_t ack, uint64_t opaque_8bytes);
 
 grpc_error* grpc_chttp2_ping_parser_begin_frame(grpc_chttp2_ping_parser* parser,

+ 2 - 2
contrib/libs/grpc/src/core/ext/transport/chttp2/transport/frame_rst_stream.h

@@ -25,10 +25,10 @@
 #include "src/core/ext/transport/chttp2/transport/frame.h"
 #include "src/core/lib/transport/transport.h"
 
-struct grpc_chttp2_rst_stream_parser { 
+struct grpc_chttp2_rst_stream_parser {
   uint8_t byte;
   uint8_t reason_bytes[4];
-}; 
+};
 grpc_slice grpc_chttp2_rst_stream_create(uint32_t stream_id, uint32_t code,
                                          grpc_transport_one_way_stats* stats);
 

Some files were not shown because too many files changed in this diff