diff --git a/examples/pubsub/main.cc b/examples/pubsub/main.cc index 2844d713207da8b79a34adceeb107c797f8ad450..d75268554591356a6a253ed33e95f7e780c79d70 100644 --- a/examples/pubsub/main.cc +++ b/examples/pubsub/main.cc @@ -175,4 +175,4 @@ int main(int argc, char** argv) { channel.reset(); grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/examples/pubsub/publisher.cc b/examples/pubsub/publisher.cc index f4afbc771ca261303fa6505bbab42b2d23a0f2e5..308f9a77e5715a8f35fa5150ac0f6d6137840041 100644 --- a/examples/pubsub/publisher.cc +++ b/examples/pubsub/publisher.cc @@ -121,4 +121,4 @@ Status Publisher::Publish(const grpc::string& topic, const grpc::string& data) { } // namespace pubsub } // namespace examples -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/examples/pubsub/publisher.h b/examples/pubsub/publisher.h index 55944b22f6384a84fee110d53867d6ab8f98f4f0..2d64a2abfa3d572e85e735c959df9dcef246c0ec 100644 --- a/examples/pubsub/publisher.h +++ b/examples/pubsub/publisher.h @@ -64,4 +64,4 @@ class Publisher { } // namespace examples } // namespace grpc -#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_ \ No newline at end of file +#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_ diff --git a/examples/pubsub/publisher_test.cc b/examples/pubsub/publisher_test.cc index e4e71ad922309408ba94c3dc019c6a106f318323..40b122bc7469c0e05f1bed342f23d140baf6112b 100644 --- a/examples/pubsub/publisher_test.cc +++ b/examples/pubsub/publisher_test.cc @@ -154,4 +154,4 @@ int main(int argc, char** argv) { int result = RUN_ALL_TESTS(); grpc_shutdown(); return result; -} \ No newline at end of file +} diff --git a/examples/pubsub/subscriber.cc b/examples/pubsub/subscriber.cc index e450e6cafa660b60eb7ad803d131a3c863300c87..29f6635b7c9221baf8367973c5f23ad81d986fae 100644 --- a/examples/pubsub/subscriber.cc +++ b/examples/pubsub/subscriber.cc @@ -115,4 +115,4 @@ Status Subscriber::Pull(const grpc::string& name, grpc::string* data) { } // namespace pubsub } // namespace examples -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/examples/pubsub/subscriber.h b/examples/pubsub/subscriber.h index cf846f119037656a9366458f92fafbfde63c1e71..a973cd755c7539a4c91f325ecfbe9bb52f245f4e 100644 --- a/examples/pubsub/subscriber.h +++ b/examples/pubsub/subscriber.h @@ -65,4 +65,4 @@ class Subscriber { } // namespace examples } // namespace grpc -#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_ \ No newline at end of file +#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_ diff --git a/examples/pubsub/subscriber_test.cc b/examples/pubsub/subscriber_test.cc index 55eb7be6d71c956fffde10a9a376d16f0398464c..1fdcc8f755f435978fe2b77aac087172d50808b3 100644 --- a/examples/pubsub/subscriber_test.cc +++ b/examples/pubsub/subscriber_test.cc @@ -156,4 +156,4 @@ int main(int argc, char** argv) { int result = RUN_ALL_TESTS(); grpc_shutdown(); return result; -} \ No newline at end of file +} diff --git a/include/grpc++/channel_arguments.h b/include/grpc++/channel_arguments.h index ebdb2ffd6e1399c19c421c4776cdecaff6d97cd9..75c3cf45b49add73f05f3d2c55770aa999c42626 100644 --- a/include/grpc++/channel_arguments.h +++ b/include/grpc++/channel_arguments.h @@ -82,4 +82,4 @@ class ChannelArguments { } // namespace grpc -#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_ \ No newline at end of file +#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_ diff --git a/include/grpc++/channel_interface.h b/include/grpc++/channel_interface.h index 24fc595dbd4a5456adfcba288e1870aa65dfe08d..890fd04d82448b2d8e0c7bb8911c30e6c1d2a7cd 100644 --- a/include/grpc++/channel_interface.h +++ b/include/grpc++/channel_interface.h @@ -63,4 +63,4 @@ class ChannelInterface : public CallHook { } // namespace grpc -#endif // __GRPCPP_CHANNEL_INTERFACE_H__ \ No newline at end of file +#endif // __GRPCPP_CHANNEL_INTERFACE_H__ diff --git a/include/grpc++/client_context.h b/include/grpc++/client_context.h index cc0d46cede9e6d1e90c4fbddd87621d58fc83a0c..24e67c9ee1fb5740b90a3bb3e118fa3afae008c0 100644 --- a/include/grpc++/client_context.h +++ b/include/grpc++/client_context.h @@ -147,4 +147,4 @@ class ClientContext { } // namespace grpc -#endif // __GRPCPP_CLIENT_CONTEXT_H__ \ No newline at end of file +#endif // __GRPCPP_CLIENT_CONTEXT_H__ diff --git a/include/grpc++/completion_queue.h b/include/grpc++/completion_queue.h index 3a5820bf8330f9d0429f2cde164765bc6f31759b..f1b4962d1b7fcd2c40282898f414c667e53d7c66 100644 --- a/include/grpc++/completion_queue.h +++ b/include/grpc++/completion_queue.h @@ -114,4 +114,4 @@ class CompletionQueue { } // namespace grpc -#endif // __GRPCPP_COMPLETION_QUEUE_H__ \ No newline at end of file +#endif // __GRPCPP_COMPLETION_QUEUE_H__ diff --git a/include/grpc++/config.h b/include/grpc++/config.h index 55e4318010eed79a26930b80be8f7c1c6dce83e7..2dced12e37908578d64c0ce191f6de45b38e9cb5 100644 --- a/include/grpc++/config.h +++ b/include/grpc++/config.h @@ -42,4 +42,4 @@ typedef std::string string; } // namespace grpc -#endif // __GRPCPP_CONFIG_H__ \ No newline at end of file +#endif // __GRPCPP_CONFIG_H__ diff --git a/include/grpc++/create_channel.h b/include/grpc++/create_channel.h index e8427bf4f869c6567f10fd1416bfa5baaddad5ec..eadabda3596638c9cc253bc4ee9be742d10f9124 100644 --- a/include/grpc++/create_channel.h +++ b/include/grpc++/create_channel.h @@ -53,4 +53,4 @@ std::shared_ptr<ChannelInterface> CreateChannel( } // namespace grpc -#endif // __GRPCPP_CREATE_CHANNEL_H__ \ No newline at end of file +#endif // __GRPCPP_CREATE_CHANNEL_H__ diff --git a/include/grpc++/credentials.h b/include/grpc++/credentials.h index 6f6523dedcd1edf38aa3b46b253cdfcef61dac76..ac6f394847d06ab0eded9b97314cc3a02431f706 100644 --- a/include/grpc++/credentials.h +++ b/include/grpc++/credentials.h @@ -119,4 +119,4 @@ class CredentialsFactory { } // namespace grpc -#endif // __GRPCPP_CREDENTIALS_H_ \ No newline at end of file +#endif // __GRPCPP_CREDENTIALS_H_ diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index 82eb457ae61ea6da8b033380baae36ec531d3abe..7ba5d16bf31b50fc09ae06f7738296324f7800aa 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -142,4 +142,4 @@ class Call final { } // namespace grpc -#endif // __GRPCPP_CALL_INTERFACE_H__ \ No newline at end of file +#endif // __GRPCPP_CALL_INTERFACE_H__ diff --git a/include/grpc++/impl/client_unary_call.h b/include/grpc++/impl/client_unary_call.h index 81adc274c8c29fe7c66e2210a7ff7fbaf02e2693..a29621edb3bbfe172e6e71df0ccdc2f5b53d7179 100644 --- a/include/grpc++/impl/client_unary_call.h +++ b/include/grpc++/impl/client_unary_call.h @@ -63,4 +63,4 @@ Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method, } // namespace grpc -#endif \ No newline at end of file +#endif diff --git a/include/grpc++/impl/internal_stub.h b/include/grpc++/impl/internal_stub.h index 4c33fde9ca6120576f2bca705d9ef05db0e7a29a..25290121cdfad6d076fc85c18d2ef3628d900e2e 100644 --- a/include/grpc++/impl/internal_stub.h +++ b/include/grpc++/impl/internal_stub.h @@ -57,4 +57,4 @@ class InternalStub { } // namespace grpc -#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__ \ No newline at end of file +#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__ diff --git a/include/grpc++/impl/rpc_method.h b/include/grpc++/impl/rpc_method.h index 0bb53f7abe91916f4e6befc0e4139971fc473b55..0236b1182a078a9656f213a06c80cd587f6e62a6 100644 --- a/include/grpc++/impl/rpc_method.h +++ b/include/grpc++/impl/rpc_method.h @@ -66,4 +66,4 @@ class RpcMethod { } // namespace grpc -#endif // __GRPCPP_IMPL_RPC_METHOD_H__ \ No newline at end of file +#endif // __GRPCPP_IMPL_RPC_METHOD_H__ diff --git a/include/grpc++/impl/rpc_service_method.h b/include/grpc++/impl/rpc_service_method.h index 104ff8597a8d757f1a2c56b86033e3cd6cae2c33..ffd5c34ef6dfffe7ed405ec30a41eaefa0fc269a 100644 --- a/include/grpc++/impl/rpc_service_method.h +++ b/include/grpc++/impl/rpc_service_method.h @@ -203,4 +203,4 @@ class RpcService { } // namespace grpc -#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__ \ No newline at end of file +#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__ diff --git a/include/grpc++/impl/service_type.h b/include/grpc++/impl/service_type.h index a89d9cd89ce67d2c6bc7dac02d6316b6481c9da6..cafa2696ab219fda21c5a1bafc277bbd9d2b5848 100644 --- a/include/grpc++/impl/service_type.h +++ b/include/grpc++/impl/service_type.h @@ -124,4 +124,4 @@ class AsynchronousService { } // namespace grpc -#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__ \ No newline at end of file +#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__ diff --git a/include/grpc++/server.h b/include/grpc++/server.h index 68d9ab17849c1ff4b590d3d30a1517691f90fc97..26d18d1bbe4be0c49600d1268eeb2c2d323e6646 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -125,4 +125,4 @@ class Server final : private CallHook, } // namespace grpc -#endif // __GRPCPP_SERVER_H__ \ No newline at end of file +#endif // __GRPCPP_SERVER_H__ diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index 750b4369fb120c9927482be84b3be1202b4b9438..4545c413d25f1d07e7dc09daabd1438c995c1f5d 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -88,4 +88,4 @@ class ServerBuilder { } // namespace grpc -#endif // __GRPCPP_SERVER_BUILDER_H__ \ No newline at end of file +#endif // __GRPCPP_SERVER_BUILDER_H__ diff --git a/include/grpc++/server_context.h b/include/grpc++/server_context.h index 0b7f0594f78e5f0c1c2c789ee6674c9466beec99..06744f8f4fd7ba06d8c94e06d34f52cd7e969252 100644 --- a/include/grpc++/server_context.h +++ b/include/grpc++/server_context.h @@ -110,4 +110,4 @@ class ServerContext final { } // namespace grpc -#endif // __GRPCPP_SERVER_CONTEXT_H_ \ No newline at end of file +#endif // __GRPCPP_SERVER_CONTEXT_H_ diff --git a/include/grpc++/server_credentials.h b/include/grpc++/server_credentials.h index 8e1cd9dd7539e9c2047710d8a18cdead98558907..5c6787a07705d13ef9e12c7581695f4a4d45868a 100644 --- a/include/grpc++/server_credentials.h +++ b/include/grpc++/server_credentials.h @@ -79,4 +79,4 @@ class ServerCredentialsFactory { } // namespace grpc -#endif // __GRPCPP_SERVER_CREDENTIALS_H_ \ No newline at end of file +#endif // __GRPCPP_SERVER_CREDENTIALS_H_ diff --git a/include/grpc++/status.h b/include/grpc++/status.h index cd1ff6c533e001f39c43ba71f08f73ae30d676ba..1dfb0c997ca5f608dbadeb875dc384612c84e4c7 100644 --- a/include/grpc++/status.h +++ b/include/grpc++/status.h @@ -62,4 +62,4 @@ class Status { } // namespace grpc -#endif // __GRPCPP_STATUS_H__ \ No newline at end of file +#endif // __GRPCPP_STATUS_H__ diff --git a/include/grpc++/status_code_enum.h b/include/grpc++/status_code_enum.h index 5c6ea7d0f7199345251bd4941551c64b7def7d10..0ec0a976d2253247db4829ed51c6de49f3f50512 100644 --- a/include/grpc++/status_code_enum.h +++ b/include/grpc++/status_code_enum.h @@ -195,4 +195,4 @@ enum StatusCode { } // namespace grpc -#endif // __GRPCPP_STATUS_CODE_ENUM_H_ \ No newline at end of file +#endif // __GRPCPP_STATUS_CODE_ENUM_H_ diff --git a/include/grpc++/stream.h b/include/grpc++/stream.h index c36488f96327534d4611536917d236482a6e58f5..491dfc813618775aedca4a61b6a5846f36830f9f 100644 --- a/include/grpc++/stream.h +++ b/include/grpc++/stream.h @@ -772,4 +772,4 @@ class ServerAsyncReaderWriter : public ServerAsyncStreamingInterface, } // namespace grpc -#endif // __GRPCPP_STREAM_H__ \ No newline at end of file +#endif // __GRPCPP_STREAM_H__ diff --git a/include/grpc++/thread_pool_interface.h b/include/grpc++/thread_pool_interface.h index 9927d2937210b3d374f8069627875547ddb5d73d..c83924932416cf8d6b7e67afd0e1bb66b878f78d 100644 --- a/include/grpc++/thread_pool_interface.h +++ b/include/grpc++/thread_pool_interface.h @@ -49,4 +49,4 @@ class ThreadPoolInterface { } // namespace grpc -#endif // __GRPCPP_THREAD_POOL_INTERFACE_H__ \ No newline at end of file +#endif // __GRPCPP_THREAD_POOL_INTERFACE_H__ diff --git a/include/grpc/byte_buffer.h b/include/grpc/byte_buffer.h index ef874883780ca32a059ad997176fa9214b85f1a6..89d8557edff676ab5a73673b45adfaccb199cb6b 100644 --- a/include/grpc/byte_buffer.h +++ b/include/grpc/byte_buffer.h @@ -47,4 +47,4 @@ struct grpc_byte_buffer { } data; }; -#endif /* __GRPC_BYTE_BUFFER_H__ */ \ No newline at end of file +#endif /* __GRPC_BYTE_BUFFER_H__ */ diff --git a/include/grpc/byte_buffer_reader.h b/include/grpc/byte_buffer_reader.h index e60dab51c8a0f45aa5802095aff01417e1f2a168..4446e0c6b393914066898912faaaf91d4d71d8f7 100644 --- a/include/grpc/byte_buffer_reader.h +++ b/include/grpc/byte_buffer_reader.h @@ -46,4 +46,4 @@ struct grpc_byte_buffer_reader { } current; }; -#endif /* __GRPC_BYTE_BUFFER_READER_H__ */ \ No newline at end of file +#endif /* __GRPC_BYTE_BUFFER_READER_H__ */ diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 68a1382a4f58a8b134fbbe29655ee46afcc2f6c7..b33cc3da8745c9ba7435a88ab1f9e57a66cfd23b 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -619,4 +619,4 @@ void grpc_server_destroy(grpc_server *server); } #endif -#endif /* __GRPC_GRPC_H__ */ \ No newline at end of file +#endif /* __GRPC_GRPC_H__ */ diff --git a/include/grpc/grpc_http.h b/include/grpc/grpc_http.h index a20b93bc86d90a734df16a1a1d31550684085cf4..757f53f9df12ab56d328590ff1f863ee9047b93b 100644 --- a/include/grpc/grpc_http.h +++ b/include/grpc/grpc_http.h @@ -64,4 +64,4 @@ typedef struct { } #endif -#endif /* __GRPC_GRPC_HTTP_H__ */ \ No newline at end of file +#endif /* __GRPC_GRPC_HTTP_H__ */ diff --git a/include/grpc/grpc_security.h b/include/grpc/grpc_security.h index c7d3daf221f44e7677c1b8cd55ba18f004f1cdbd..f03ac8004dad373438e4accd21aae7a8bb0f1710 100644 --- a/include/grpc/grpc_security.h +++ b/include/grpc/grpc_security.h @@ -173,4 +173,4 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr); } #endif -#endif /* GRPC_SECURITY_H_ */ \ No newline at end of file +#endif /* GRPC_SECURITY_H_ */ diff --git a/include/grpc/status.h b/include/grpc/status.h index 3096ac4c01d047f0395d00fac142298c5dab3ceb..76a71ed26fcc7e9b711ae1b39538cc518bd39f81 100644 --- a/include/grpc/status.h +++ b/include/grpc/status.h @@ -199,4 +199,4 @@ typedef enum { } #endif -#endif /* __GRPC_STATUS_H__ */ \ No newline at end of file +#endif /* __GRPC_STATUS_H__ */ diff --git a/include/grpc/support/alloc.h b/include/grpc/support/alloc.h index 739fec25b354ffc732d5cefb0539113446d58be8..c7580655761e1a51e0788c52a68904735c68d565 100644 --- a/include/grpc/support/alloc.h +++ b/include/grpc/support/alloc.h @@ -55,4 +55,4 @@ void gpr_free_aligned(void *ptr); } #endif -#endif /* __GRPC_SUPPORT_ALLOC_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ALLOC_H__ */ diff --git a/include/grpc/support/atm.h b/include/grpc/support/atm.h index 7c0ead0447f7fa96cbd3e08597dd99a0ca660230..0cac9bf5865464bd806752e92baf428f2a3b39d9 100644 --- a/include/grpc/support/atm.h +++ b/include/grpc/support/atm.h @@ -89,4 +89,4 @@ #error could not determine platform for atm #endif -#endif /* __GRPC_SUPPORT_ATM_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ATM_H__ */ diff --git a/include/grpc/support/atm_gcc_atomic.h b/include/grpc/support/atm_gcc_atomic.h index 40bcc12d6602b1d488c0317a0d461eb1b5458eed..2ae24aec06d72418fa652646134db8e04ae87bab 100644 --- a/include/grpc/support/atm_gcc_atomic.h +++ b/include/grpc/support/atm_gcc_atomic.h @@ -66,4 +66,4 @@ static __inline int gpr_atm_rel_cas(gpr_atm *p, gpr_atm o, gpr_atm n) { __ATOMIC_RELAXED); } -#endif /* __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ */ diff --git a/include/grpc/support/atm_gcc_sync.h b/include/grpc/support/atm_gcc_sync.h index 02da69add5151bd51e443b9d32317d737b9415e3..cec62e1a20d16949009c16f0d9803048799b31ac 100644 --- a/include/grpc/support/atm_gcc_sync.h +++ b/include/grpc/support/atm_gcc_sync.h @@ -70,4 +70,4 @@ static __inline void gpr_atm_rel_store(gpr_atm *p, gpr_atm value) { #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) -#endif /* __GRPC_SUPPORT_ATM_GCC_SYNC_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ATM_GCC_SYNC_H__ */ diff --git a/include/grpc/support/atm_win32.h b/include/grpc/support/atm_win32.h index 87d542595048c8c764d010dcebc90a9e56010b9e..acacf12013ce8af949df318463a944def1bdd8ec 100644 --- a/include/grpc/support/atm_win32.h +++ b/include/grpc/support/atm_win32.h @@ -103,4 +103,4 @@ static __inline gpr_atm gpr_atm_full_fetch_add(gpr_atm *p, gpr_atm delta) { return old; } -#endif /* __GRPC_SUPPORT_ATM_WIN32_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ATM_WIN32_H__ */ diff --git a/include/grpc/support/cancellable_platform.h b/include/grpc/support/cancellable_platform.h index d732b1f0adcccc6b47058c8a795b57103aa3c3a9..e77f9f15777f343e377e820f66cf3f59d756e86d 100644 --- a/include/grpc/support/cancellable_platform.h +++ b/include/grpc/support/cancellable_platform.h @@ -53,4 +53,4 @@ typedef struct { struct gpr_cancellable_list_ waiters; } gpr_cancellable; -#endif /* __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ */ diff --git a/include/grpc/support/cmdline.h b/include/grpc/support/cmdline.h index ca6d58ca4301fdf086297e41768cf76b6bbb6f36..20de12242c72b4151e8883248d43e3282099b5b6 100644 --- a/include/grpc/support/cmdline.h +++ b/include/grpc/support/cmdline.h @@ -92,4 +92,4 @@ void gpr_cmdline_destroy(gpr_cmdline *cl); } #endif -#endif /* __GRPC_SUPPORT_CMDLINE_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_CMDLINE_H__ */ diff --git a/include/grpc/support/cpu.h b/include/grpc/support/cpu.h index afb3eba2d2196bc38d3c173b87eed1de772d4131..580f12dad729b7e8e43ef3fed12e0983a7b07d38 100644 --- a/include/grpc/support/cpu.h +++ b/include/grpc/support/cpu.h @@ -54,4 +54,4 @@ unsigned gpr_cpu_current_cpu(void); } // extern "C" #endif -#endif /* __GRPC_INTERNAL_SUPPORT_CPU_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SUPPORT_CPU_H__ */ diff --git a/include/grpc/support/histogram.h b/include/grpc/support/histogram.h index 03886556c2cbc7a7249f36542874551a9db6412b..fb9d3d1691efce39e2a4e8f7ead1d758888024fb 100644 --- a/include/grpc/support/histogram.h +++ b/include/grpc/support/histogram.h @@ -63,4 +63,4 @@ double gpr_histogram_sum_of_squares(gpr_histogram *histogram); } #endif -#endif /* __GRPC_SUPPORT_HISTOGRAM_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_HISTOGRAM_H__ */ diff --git a/include/grpc/support/host_port.h b/include/grpc/support/host_port.h index 92630af8269446fe4a4bb2c39961ef92361fce17..362046cb95d266a4f2ff2121d2c25cb182685d08 100644 --- a/include/grpc/support/host_port.h +++ b/include/grpc/support/host_port.h @@ -54,4 +54,4 @@ int gpr_join_host_port(char **out, const char *host, int port); } #endif -#endif /* __GRPC_SUPPORT_HOST_PORT_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_HOST_PORT_H__ */ diff --git a/include/grpc/support/log.h b/include/grpc/support/log.h index d88ba7b2d720e5eebb33d8265187bc168cb6be5b..c142949f770ff23869611d6b7d4647881e01f31b 100644 --- a/include/grpc/support/log.h +++ b/include/grpc/support/log.h @@ -105,4 +105,4 @@ void gpr_set_log_function(gpr_log_func func); } #endif -#endif /* __GRPC_SUPPORT_LOG_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_LOG_H__ */ diff --git a/include/grpc/support/log_win32.h b/include/grpc/support/log_win32.h index 49c0ecf2b9b0fe92c5e6d6ba5eea2325ea55026d..52d6a703189a4ecb0f6025702685a5ade476ba68 100644 --- a/include/grpc/support/log_win32.h +++ b/include/grpc/support/log_win32.h @@ -50,4 +50,4 @@ char *gpr_format_message(DWORD messageid); } #endif -#endif /* __GRPC_SUPPORT_LOG_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_LOG_H__ */ diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index e98a932712723db81d95e15c5f42cda64a841401..27efa2944855926728c9977d9e79e1a8584d5dea 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -204,4 +204,4 @@ typedef uintptr_t gpr_uintptr; power of two */ #define GPR_MAX_ALIGNMENT 16 -#endif /* __GRPC_SUPPORT_PORT_PLATFORM_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_PORT_PLATFORM_H__ */ diff --git a/include/grpc/support/slice.h b/include/grpc/support/slice.h index fa7995f3f758da137c1d6c41295ded28db09fcc1..261e3baabee0bd1b26d1b98ba9201cccc1c8f24c 100644 --- a/include/grpc/support/slice.h +++ b/include/grpc/support/slice.h @@ -173,4 +173,4 @@ int gpr_slice_str_cmp(gpr_slice a, const char *b); } #endif -#endif /* __GRPC_SUPPORT_SLICE_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SLICE_H__ */ diff --git a/include/grpc/support/slice_buffer.h b/include/grpc/support/slice_buffer.h index f537472d81aeddcc676fb7e26d758d8df6e30e7e..8b57f9f0b9230f58f429a6c22c2fa87bbe16e3c7 100644 --- a/include/grpc/support/slice_buffer.h +++ b/include/grpc/support/slice_buffer.h @@ -81,4 +81,4 @@ void gpr_slice_buffer_reset_and_unref(gpr_slice_buffer *sb); } #endif -#endif /* __GRPC_SUPPORT_SLICE_BUFFER_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SLICE_BUFFER_H__ */ diff --git a/include/grpc/support/sync.h b/include/grpc/support/sync.h index 9899cccb3110ef10a136fa9c8aedb1f9ea79a207..4437375db72fba005bafe68e16ac742747ec981f 100644 --- a/include/grpc/support/sync.h +++ b/include/grpc/support/sync.h @@ -345,4 +345,4 @@ gpr_intptr gpr_stats_read(const gpr_stats_counter *c); } #endif -#endif /* __GRPC_SUPPORT_SYNC_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SYNC_H__ */ diff --git a/include/grpc/support/sync_generic.h b/include/grpc/support/sync_generic.h index e8a4ced30157cdccdae5d2d76761c71d7dce06b4..3bae222cb00afc88cfed3502b3f8f48798ff637c 100644 --- a/include/grpc/support/sync_generic.h +++ b/include/grpc/support/sync_generic.h @@ -58,4 +58,4 @@ typedef struct { #define GPR_STATS_INIT \ { 0 } -#endif /* __GRPC_SUPPORT_SYNC_GENERIC_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SYNC_GENERIC_H__ */ diff --git a/include/grpc/support/sync_posix.h b/include/grpc/support/sync_posix.h index e3e0baeb282e32587b3811324857775c64a8ec6a..413226a9e8f5e781fe60dbf2a3d5ee0d7fc3e9d2 100644 --- a/include/grpc/support/sync_posix.h +++ b/include/grpc/support/sync_posix.h @@ -45,4 +45,4 @@ typedef pthread_once_t gpr_once; #define GPR_ONCE_INIT PTHREAD_ONCE_INIT -#endif /* __GRPC_SUPPORT_SYNC_POSIX_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SYNC_POSIX_H__ */ diff --git a/include/grpc/support/sync_win32.h b/include/grpc/support/sync_win32.h index 79bb7bdd19697856a16722b0563e3796123a0b9a..5a48b52a2dc0beb3f2cc1ef06d118cbc147eb9ea 100644 --- a/include/grpc/support/sync_win32.h +++ b/include/grpc/support/sync_win32.h @@ -49,4 +49,4 @@ typedef CONDITION_VARIABLE gpr_cv; typedef INIT_ONCE gpr_once; #define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT -#endif /* __GRPC_SUPPORT_SYNC_WIN32_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_SYNC_WIN32_H__ */ diff --git a/include/grpc/support/thd.h b/include/grpc/support/thd.h index 4868130f65e96671973c211a9f91b63ebeae4916..a81e6cd3ba900c24326c9a1c825cb9f303324ee8 100644 --- a/include/grpc/support/thd.h +++ b/include/grpc/support/thd.h @@ -73,4 +73,4 @@ gpr_thd_id gpr_thd_currentid(void); } #endif -#endif /* __GRPC_SUPPORT_THD_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_THD_H__ */ diff --git a/include/grpc/support/time.h b/include/grpc/support/time.h index 22275c42b668610b7373f94aa15da315ddd47387..ebc18c91e94953049b3a7cf28270716b8637cefd 100644 --- a/include/grpc/support/time.h +++ b/include/grpc/support/time.h @@ -100,4 +100,4 @@ double gpr_timespec_to_micros(gpr_timespec t); } #endif -#endif /* __GRPC_SUPPORT_TIME_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_TIME_H__ */ diff --git a/include/grpc/support/useful.h b/include/grpc/support/useful.h index 0847d3510208a6c7308d67909afb0cd9d1274e27..8d756c37c31416b4030ff59e75502095867b98f5 100644 --- a/include/grpc/support/useful.h +++ b/include/grpc/support/useful.h @@ -45,4 +45,4 @@ #define GPR_ARRAY_SIZE(array) (sizeof(array) / sizeof(*(array))) -#endif /* __GRPC_SUPPORT_USEFUL_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_USEFUL_H__ */ diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc index 167c0a86b8685f6e3dcf900073dd60f9207f166e..aa764cbb33d2249ada248b8e4fa52dc6c9d117e5 100644 --- a/src/compiler/cpp_generator.cc +++ b/src/compiler/cpp_generator.cc @@ -703,4 +703,4 @@ std::string GetSourceServices(const google::protobuf::FileDescriptor *file) { return output; } -} // namespace grpc_cpp_generator \ No newline at end of file +} // namespace grpc_cpp_generator diff --git a/src/compiler/cpp_generator.h b/src/compiler/cpp_generator.h index 34f0e20dca397e96fa44d80ae0bff9c3fc28b466..f5b1ad23eee19d3cbfe524434cbde85a1cd63f54 100644 --- a/src/compiler/cpp_generator.h +++ b/src/compiler/cpp_generator.h @@ -58,4 +58,4 @@ std::string GetSourceServices(const google::protobuf::FileDescriptor *file); } // namespace grpc_cpp_generator -#endif // NET_GRPC_COMPILER_CPP_GENERATOR_H_ \ No newline at end of file +#endif // NET_GRPC_COMPILER_CPP_GENERATOR_H_ diff --git a/src/compiler/cpp_generator_helpers.h b/src/compiler/cpp_generator_helpers.h index 5e1b115e897dc53d3d45c625035ff875a3edcbc5..e3c76e029127e7c06c97b1a18599b2df6e2614ba 100644 --- a/src/compiler/cpp_generator_helpers.h +++ b/src/compiler/cpp_generator_helpers.h @@ -103,4 +103,4 @@ inline std::string ClassName(const google::protobuf::Descriptor *descriptor, } // namespace grpc_cpp_generator -#endif // NET_GRPC_COMPILER_CPP_GENERATOR_HELPERS_H__ \ No newline at end of file +#endif // NET_GRPC_COMPILER_CPP_GENERATOR_HELPERS_H__ diff --git a/src/compiler/cpp_plugin.cc b/src/compiler/cpp_plugin.cc index 662e6ef6ccc313b28bcad0b3d56bbd4f26c31031..a421e51b78d94e88dc8f3e4fa1309910882c5afa 100644 --- a/src/compiler/cpp_plugin.cc +++ b/src/compiler/cpp_plugin.cc @@ -94,4 +94,4 @@ class CppGrpcGenerator : public google::protobuf::compiler::CodeGenerator { int main(int argc, char *argv[]) { CppGrpcGenerator generator; return google::protobuf::compiler::PluginMain(argc, argv, &generator); -} \ No newline at end of file +} diff --git a/src/compiler/ruby_generator.cc b/src/compiler/ruby_generator.cc index ac9ff8d84793b71e4e1b7fd38ccf2ef40d270f7a..32b6a8d8e4a0537db5b62583e6040c4b4cbece36 100644 --- a/src/compiler/ruby_generator.cc +++ b/src/compiler/ruby_generator.cc @@ -169,4 +169,4 @@ std::string GetServices(const FileDescriptor *file) { return output; } -} // namespace grpc_ruby_generator \ No newline at end of file +} // namespace grpc_ruby_generator diff --git a/src/compiler/ruby_generator.h b/src/compiler/ruby_generator.h index 1d851f3210f59277fc7d4ec10ea36c78bac7e5dc..d0c568fad0f1677416ab1caa54b31e310410ef22 100644 --- a/src/compiler/ruby_generator.h +++ b/src/compiler/ruby_generator.h @@ -48,4 +48,4 @@ std::string GetServices(const google::protobuf::FileDescriptor *file); } // namespace grpc_ruby_generator -#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_H_ \ No newline at end of file +#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_H_ diff --git a/src/compiler/ruby_generator_helpers-inl.h b/src/compiler/ruby_generator_helpers-inl.h index b3c1d21eb660703ccd5bee274cf41a72b666d1d3..61d887b41cd560c49e5a90b00dcb34d068e31e71 100644 --- a/src/compiler/ruby_generator_helpers-inl.h +++ b/src/compiler/ruby_generator_helpers-inl.h @@ -64,4 +64,4 @@ inline std::string MessagesRequireName( } // namespace grpc_ruby_generator -#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_HELPERS_INL_H_ \ No newline at end of file +#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_HELPERS_INL_H_ diff --git a/src/compiler/ruby_generator_map-inl.h b/src/compiler/ruby_generator_map-inl.h index 0e65d1ed104d0a3e3b86960ba9706a4d2c7b6b23..345e4c13706a7df64bd52cdf1484c7a784fef182 100644 --- a/src/compiler/ruby_generator_map-inl.h +++ b/src/compiler/ruby_generator_map-inl.h @@ -68,4 +68,4 @@ inline std::map<std::string, std::string> ListToDict( } // namespace grpc_ruby_generator -#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_MAP_INL_H_ \ No newline at end of file +#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_MAP_INL_H_ diff --git a/src/compiler/ruby_generator_string-inl.h b/src/compiler/ruby_generator_string-inl.h index 92d3f5d3dede7933b71ad52a522c22ad54cdad4b..7c2e4e5d9d4ad9db9116c9afe540317defc6154a 100644 --- a/src/compiler/ruby_generator_string-inl.h +++ b/src/compiler/ruby_generator_string-inl.h @@ -130,4 +130,4 @@ inline std::string RubyTypeOf(const std::string &a_type, } // namespace grpc_ruby_generator -#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_STRING_INL_H_ \ No newline at end of file +#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_STRING_INL_H_ diff --git a/src/compiler/ruby_plugin.cc b/src/compiler/ruby_plugin.cc index 81c6be6b2e3b5ccff8f53c5961e98ff39de33388..6580e5ab5bec861f25288d6f6572e1dc9d1dd05e 100644 --- a/src/compiler/ruby_plugin.cc +++ b/src/compiler/ruby_plugin.cc @@ -77,4 +77,4 @@ class RubyGrpcGenerator : public google::protobuf::compiler::CodeGenerator { int main(int argc, char *argv[]) { RubyGrpcGenerator generator; return google::protobuf::compiler::PluginMain(argc, argv, &generator); -} \ No newline at end of file +} diff --git a/src/core/channel/call_op_string.c b/src/core/channel/call_op_string.c index e3471a01a1bd29590c3f276a029338a0f50620f1..08f2e95deb643f57e466411b50cf3ebcdba3dad7 100644 --- a/src/core/channel/call_op_string.c +++ b/src/core/channel/call_op_string.c @@ -131,4 +131,4 @@ void grpc_call_log_op(char *file, int line, gpr_log_severity severity, char *str = grpc_call_op_string(op); gpr_log(file, line, severity, "OP[%s:%p]: %s", elem->filter->name, elem, str); gpr_free(str); -} \ No newline at end of file +} diff --git a/src/core/channel/census_filter.c b/src/core/channel/census_filter.c index 3a2aa47d261871bad252fb1b751c0fe2d5a8ba44..ba7b7ba59caa6293138ce42aa95ba004492bfb55 100644 --- a/src/core/channel/census_filter.c +++ b/src/core/channel/census_filter.c @@ -185,4 +185,4 @@ const grpc_channel_filter grpc_client_census_filter = { const grpc_channel_filter grpc_server_census_filter = { server_call_op, channel_op, sizeof(call_data), server_init_call_elem, server_destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "census-server"}; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "census-server"}; diff --git a/src/core/channel/census_filter.h b/src/core/channel/census_filter.h index 92f0d226d5014ff6e4f9d906f967f562d0136bcb..6acf9695f47a6bd302595bd8ebbb5afbed560f48 100644 --- a/src/core/channel/census_filter.h +++ b/src/core/channel/census_filter.h @@ -41,4 +41,4 @@ extern const grpc_channel_filter grpc_client_census_filter; extern const grpc_channel_filter grpc_server_census_filter; -#endif /* __GRPC_INTERNAL_CHANNEL_CENSUS_FILTER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CENSUS_FILTER_H__ */ diff --git a/src/core/channel/channel_args.c b/src/core/channel/channel_args.c index 885e3ac4383bec41ae133e1466ba7960e29c5481..509ae0df8968ad73ca6b6c2e2fcad5b01a96c4f7 100644 --- a/src/core/channel/channel_args.c +++ b/src/core/channel/channel_args.c @@ -113,4 +113,4 @@ int grpc_channel_args_is_census_enabled(const grpc_channel_args *a) { } } return 0; -} \ No newline at end of file +} diff --git a/src/core/channel/channel_args.h b/src/core/channel/channel_args.h index 11762f7e7b0aec565ce611c4be5e1ec9251cf7b9..640bbd85a5f28ca2fcc2ac112702cb1ebbe819f5 100644 --- a/src/core/channel/channel_args.h +++ b/src/core/channel/channel_args.h @@ -51,4 +51,4 @@ void grpc_channel_args_destroy(grpc_channel_args *a); is specified in channel args, otherwise returns 0. */ int grpc_channel_args_is_census_enabled(const grpc_channel_args *a); -#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_ARGS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_ARGS_H__ */ diff --git a/src/core/channel/channel_stack.c b/src/core/channel/channel_stack.c index c637e22822df89a29003ce937bac9cfc6dd1ddfd..0382a7a2f3038b7ae6d44919ff8f9d51c85e8a82 100644 --- a/src/core/channel/channel_stack.c +++ b/src/core/channel/channel_stack.c @@ -245,4 +245,4 @@ void grpc_call_element_send_finish(grpc_call_element *cur_elem) { finish_op.user_data = NULL; finish_op.flags = 0; grpc_call_next_op(cur_elem, &finish_op); -} \ No newline at end of file +} diff --git a/src/core/channel/channel_stack.h b/src/core/channel/channel_stack.h index 8dbe28e941090d854d37a233ec323f2e53c25231..98d095fccf1624f463e09b8c334c847a22ce2910 100644 --- a/src/core/channel/channel_stack.h +++ b/src/core/channel/channel_stack.h @@ -309,4 +309,4 @@ void grpc_call_element_send_finish(grpc_call_element *cur_elem); } while (0) #endif -#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_STACK_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_STACK_H__ */ diff --git a/src/core/channel/child_channel.c b/src/core/channel/child_channel.c index d39ace87e16a34255dd28aadaef9c78972443f66..2cb03829c7903589a80227b185670bd03189d8bb 100644 --- a/src/core/channel/child_channel.c +++ b/src/core/channel/child_channel.c @@ -307,4 +307,4 @@ void grpc_child_call_destroy(grpc_child_call *call) { grpc_call_element *grpc_child_call_get_top_element(grpc_child_call *call) { return LINK_BACK_ELEM_FROM_CALL(call); -} \ No newline at end of file +} diff --git a/src/core/channel/child_channel.h b/src/core/channel/child_channel.h index 239123f27a9d8b7b0da7ab9197ab1f01273dcb95..84a11062cbe3689234828520e1348e39648ba4e9 100644 --- a/src/core/channel/child_channel.h +++ b/src/core/channel/child_channel.h @@ -61,4 +61,4 @@ grpc_child_call *grpc_child_channel_create_call(grpc_child_channel *channel, grpc_call_element *grpc_child_call_get_top_element(grpc_child_call *call); void grpc_child_call_destroy(grpc_child_call *call); -#endif /* __GRPC_INTERNAL_CHANNEL_CHILD_CHANNEL_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CHILD_CHANNEL_H_ */ diff --git a/src/core/channel/client_channel.c b/src/core/channel/client_channel.c index 170065a5c2788dd2501a17a7490aa12c7d8263f0..9791f98be88de31f17a345d0a6695711ff64b9c6 100644 --- a/src/core/channel/client_channel.c +++ b/src/core/channel/client_channel.c @@ -562,4 +562,4 @@ void grpc_client_channel_set_transport_setup(grpc_channel_stack *channel_stack, channel_data *chand = elem->channel_data; GPR_ASSERT(!chand->transport_setup); chand->transport_setup = setup; -} \ No newline at end of file +} diff --git a/src/core/channel/client_channel.h b/src/core/channel/client_channel.h index 3db8cb6c8e8b764fabb164f9dab5b1645f4362cb..7da4fc925804ce80a6eadec235e87785fefeb450 100644 --- a/src/core/channel/client_channel.h +++ b/src/core/channel/client_channel.h @@ -59,4 +59,4 @@ grpc_transport_setup_result grpc_client_channel_transport_setup_complete( grpc_channel_filter const **channel_filters, size_t num_channel_filters, grpc_mdctx *mdctx); -#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_CHANNEL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_CHANNEL_H__ */ diff --git a/src/core/channel/client_setup.c b/src/core/channel/client_setup.c index f9b28db0dcb947a34ed4e5e681379df34a6cde89..bb6d3638074d75073afc1766c63f6de9cd7fb3d6 100644 --- a/src/core/channel/client_setup.c +++ b/src/core/channel/client_setup.c @@ -237,4 +237,4 @@ const grpc_channel_args *grpc_client_setup_get_channel_args( grpc_mdctx *grpc_client_setup_get_mdctx(grpc_client_setup_request *r) { return r->setup->mdctx; -} \ No newline at end of file +} diff --git a/src/core/channel/client_setup.h b/src/core/channel/client_setup.h index c79dda412100d0edc00a7b3a8b84a13256460cc3..6ac3fe62f191f6bcc1066430604db5c373d933f3 100644 --- a/src/core/channel/client_setup.h +++ b/src/core/channel/client_setup.h @@ -64,4 +64,4 @@ gpr_timespec grpc_client_setup_request_deadline(grpc_client_setup_request *r); grpc_mdctx *grpc_client_setup_get_mdctx(grpc_client_setup_request *r); -#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_SETUP_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_SETUP_H__ */ diff --git a/src/core/channel/connected_channel.c b/src/core/channel/connected_channel.c index 9377cb26d4c5e450faf58cfaec7e2f7f93e6bc72..fa186551648e3a1839504b43d929ae1c7dc8bf48 100644 --- a/src/core/channel/connected_channel.c +++ b/src/core/channel/connected_channel.c @@ -519,4 +519,4 @@ grpc_transport_setup_result grpc_connected_channel_bind_transport( ret.user_data = elem; ret.callbacks = &connected_channel_transport_callbacks; return ret; -} \ No newline at end of file +} diff --git a/src/core/channel/connected_channel.h b/src/core/channel/connected_channel.h index cfd83bb02773e4eea8f41dada20db231df4346f9..e19de62ca9418f0a292d79ce5bdcc5379720d65b 100644 --- a/src/core/channel/connected_channel.h +++ b/src/core/channel/connected_channel.h @@ -46,4 +46,4 @@ extern const grpc_channel_filter grpc_connected_channel_filter; grpc_transport_setup_result grpc_connected_channel_bind_transport( grpc_channel_stack *channel_stack, grpc_transport *transport); -#endif /* __GRPC_INTERNAL_CHANNEL_CONNECTED_CHANNEL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_CONNECTED_CHANNEL_H__ */ diff --git a/src/core/channel/http_client_filter.c b/src/core/channel/http_client_filter.c index 2cf0648cc00b7389ce537e1b17fb0346d6f65570..3ccc39b717fa4ef836e20a438c4b64aee4c8beac 100644 --- a/src/core/channel/http_client_filter.c +++ b/src/core/channel/http_client_filter.c @@ -196,4 +196,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_http_client_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "http-client"}; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "http-client"}; diff --git a/src/core/channel/http_client_filter.h b/src/core/channel/http_client_filter.h index f230ca0f9ed11546d5c16ceb1d2b9ae0cd9d8a01..5882f8fe0574ea22a3290cba4bb0f824b58c66b4 100644 --- a/src/core/channel/http_client_filter.h +++ b/src/core/channel/http_client_filter.h @@ -41,4 +41,4 @@ extern const grpc_channel_filter grpc_http_client_filter; #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme" -#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_CLIENT_FILTER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_CLIENT_FILTER_H__ */ diff --git a/src/core/channel/http_filter.c b/src/core/channel/http_filter.c index 5276eb9bc5690ee1e44bbe4db4c8ad2795f3886d..453a0422d85a48064518fa324b3b9c724cdf886d 100644 --- a/src/core/channel/http_filter.c +++ b/src/core/channel/http_filter.c @@ -134,4 +134,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_http_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "http"}; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "http"}; diff --git a/src/core/channel/http_filter.h b/src/core/channel/http_filter.h index 1598034e031936e61f3c4e0f8f20d06fe1dcd168..b85cd3956ebae4106acc2c5f5617fe02364e66d2 100644 --- a/src/core/channel/http_filter.h +++ b/src/core/channel/http_filter.h @@ -40,4 +40,4 @@ transports. */ extern const grpc_channel_filter grpc_http_filter; -#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_FILTER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_FILTER_H__ */ diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c index 97c3c88752b6cb52735b4c9f2f0903d5c2b56cb4..d1616a3450dc0953d3afcb7cf9480da4a166a339 100644 --- a/src/core/channel/http_server_filter.c +++ b/src/core/channel/http_server_filter.c @@ -362,4 +362,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_http_server_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), init_channel_elem, destroy_channel_elem, - "http-server"}; \ No newline at end of file + "http-server"}; diff --git a/src/core/channel/http_server_filter.h b/src/core/channel/http_server_filter.h index 1ec1c7c21643e93901aa2489bb55f64e07568f80..0643c7be83c1db4c91961a9b1d35a2deb2275d2d 100644 --- a/src/core/channel/http_server_filter.h +++ b/src/core/channel/http_server_filter.h @@ -39,4 +39,4 @@ /* Processes metadata on the client side for HTTP2 transports */ extern const grpc_channel_filter grpc_http_server_filter; -#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_SERVER_FILTER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_SERVER_FILTER_H__ */ diff --git a/src/core/channel/metadata_buffer.c b/src/core/channel/metadata_buffer.c index 41f328e0d139b71f9aa9e2533e61550113bb27fa..da66a028c4d972802587efa3568a065e88b513fd 100644 --- a/src/core/channel/metadata_buffer.c +++ b/src/core/channel/metadata_buffer.c @@ -197,4 +197,4 @@ void grpc_metadata_buffer_cleanup_elements(void *elements, grpc_metadata_buffer_destroy(&hdr->impl, error); gpr_free(hdr); -} \ No newline at end of file +} diff --git a/src/core/channel/metadata_buffer.h b/src/core/channel/metadata_buffer.h index 17a2eb7414b4d46e1398860235021259149639b1..701d69df7c58c305dfc9d3a727112d22a45e2075 100644 --- a/src/core/channel/metadata_buffer.h +++ b/src/core/channel/metadata_buffer.h @@ -67,4 +67,4 @@ grpc_metadata *grpc_metadata_buffer_extract_elements( grpc_metadata_buffer *buffer); void grpc_metadata_buffer_cleanup_elements(void *elements, grpc_op_error error); -#endif /* __GRPC_INTERNAL_CHANNEL_METADATA_BUFFER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_METADATA_BUFFER_H__ */ diff --git a/src/core/channel/noop_filter.c b/src/core/channel/noop_filter.c index ea4f86a61648da839f797b3c02064efc603a4497..d987fa2bc10febe63bb5cfd428bdadbc1211d37c 100644 --- a/src/core/channel/noop_filter.c +++ b/src/core/channel/noop_filter.c @@ -133,4 +133,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_no_op_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "no-op"}; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "no-op"}; diff --git a/src/core/channel/noop_filter.h b/src/core/channel/noop_filter.h index ef26ec84e0ac21a084c13e082d4e2f85a3ed75e1..93c2bff9b02812e09818998bf7fb6f1d0473959d 100644 --- a/src/core/channel/noop_filter.h +++ b/src/core/channel/noop_filter.h @@ -41,4 +41,4 @@ customize for their own filters */ extern const grpc_channel_filter grpc_no_op_filter; -#endif /* __GRPC_INTERNAL_CHANNEL_NOOP_FILTER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_CHANNEL_NOOP_FILTER_H__ */ diff --git a/src/core/compression/algorithm.c b/src/core/compression/algorithm.c index df7c302626846b8e76a484f3436214cd0a6bf180..ca07002ff94337e1f3535cea7750b2cdc562db88 100644 --- a/src/core/compression/algorithm.c +++ b/src/core/compression/algorithm.c @@ -46,4 +46,4 @@ const char *grpc_compression_algorithm_name( return "error"; } return "error"; -} \ No newline at end of file +} diff --git a/src/core/compression/algorithm.h b/src/core/compression/algorithm.h index 2c7c38e1d8b43ba49c614a07680e325ad030fd51..e398ae34b4cb80bbd3cbb46093d759226a2b05c9 100644 --- a/src/core/compression/algorithm.h +++ b/src/core/compression/algorithm.h @@ -46,4 +46,4 @@ typedef enum { const char *grpc_compression_algorithm_name( grpc_compression_algorithm algorithm); -#endif /* __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ */ diff --git a/src/core/compression/message_compress.c b/src/core/compression/message_compress.c index b21b8ff27e1e44712ea32d88fea7e92d7bca808d..9b8100a3d6c2ae66e2297025296b9fc8fa598e3b 100644 --- a/src/core/compression/message_compress.c +++ b/src/core/compression/message_compress.c @@ -190,4 +190,4 @@ int grpc_msg_decompress(grpc_compression_algorithm algorithm, } gpr_log(GPR_ERROR, "invalid compression algorithm %d", algorithm); return 0; -} \ No newline at end of file +} diff --git a/src/core/compression/message_compress.h b/src/core/compression/message_compress.h index 454d8acd1fa4079955ffca0b391f5a4f7ff37324..666da2ed0d655d88e0a90c1dde86fe5f4dd61918 100644 --- a/src/core/compression/message_compress.h +++ b/src/core/compression/message_compress.h @@ -49,4 +49,4 @@ int grpc_msg_compress(grpc_compression_algorithm algorithm, int grpc_msg_decompress(grpc_compression_algorithm algorithm, gpr_slice_buffer *input, gpr_slice_buffer *output); -#endif /* __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ */ diff --git a/src/core/httpcli/format_request.c b/src/core/httpcli/format_request.c index 7382a29823e6cda8b7b8248fe21ff67659feae7b..af2521908472c3606bd41772b28d4ce9ba75a365 100644 --- a/src/core/httpcli/format_request.c +++ b/src/core/httpcli/format_request.c @@ -114,4 +114,4 @@ gpr_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request, } return gpr_slice_new(tmp, out_len, gpr_free); -} \ No newline at end of file +} diff --git a/src/core/httpcli/format_request.h b/src/core/httpcli/format_request.h index 6e62f8a41114b19e36053b76de0736fee6577f36..e06b632990304a4d9c06ae2506d65d2e2d3b96d6 100644 --- a/src/core/httpcli/format_request.h +++ b/src/core/httpcli/format_request.h @@ -42,4 +42,4 @@ gpr_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request, const char *body_bytes, size_t body_size); -#endif /* __GRPC_INTERNAL_HTTPCLI_FORMAT_REQUEST_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_HTTPCLI_FORMAT_REQUEST_H__ */ diff --git a/src/core/httpcli/httpcli.c b/src/core/httpcli/httpcli.c index 97c10a0134c3b85011541613506191ae7f61be05..8a1c04b631ede4d19ff7ac42777a4ab78006900c 100644 --- a/src/core/httpcli/httpcli.c +++ b/src/core/httpcli/httpcli.c @@ -270,4 +270,4 @@ void grpc_httpcli_set_override(grpc_httpcli_get_override get, grpc_httpcli_post_override post) { g_get_override = get; g_post_override = post; -} \ No newline at end of file +} diff --git a/src/core/httpcli/httpcli.h b/src/core/httpcli/httpcli.h index 012ac530ed2161458832763ec7bcbd3983772c2b..f62098776801b51e10dd6042df214e11ab1f6b85 100644 --- a/src/core/httpcli/httpcli.h +++ b/src/core/httpcli/httpcli.h @@ -115,4 +115,4 @@ typedef int (*grpc_httpcli_post_override)(const grpc_httpcli_request *request, void grpc_httpcli_set_override(grpc_httpcli_get_override get, grpc_httpcli_post_override post); -#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_H__ */ diff --git a/src/core/httpcli/httpcli_security_context.c b/src/core/httpcli/httpcli_security_context.c index 4ba5890a33d82bce62287cc47cc5a8911a2be261..e97752bbe192238018605192b20331408b70f3f0 100644 --- a/src/core/httpcli/httpcli_security_context.c +++ b/src/core/httpcli/httpcli_security_context.c @@ -128,4 +128,4 @@ grpc_security_status grpc_httpcli_ssl_channel_security_context_create( } *ctx = &c->base; return GRPC_SECURITY_OK; -} \ No newline at end of file +} diff --git a/src/core/httpcli/httpcli_security_context.h b/src/core/httpcli/httpcli_security_context.h index d2cec2f9dacd772cf8e96ea23f151afa76f15196..5a1311e7a41f145cec49585b5c79c44866663a0d 100644 --- a/src/core/httpcli/httpcli_security_context.h +++ b/src/core/httpcli/httpcli_security_context.h @@ -40,4 +40,4 @@ grpc_security_status grpc_httpcli_ssl_channel_security_context_create( const unsigned char *pem_root_certs, size_t pem_root_certs_size, const char *secure_peer_name, grpc_channel_security_context **ctx); -#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H__ */ diff --git a/src/core/httpcli/parser.c b/src/core/httpcli/parser.c index 2d1f3af5f6e2b5c1864a64f8001f6bb365a3fee2..f4decda98a97a9c73329abb03965c977f4833a06 100644 --- a/src/core/httpcli/parser.c +++ b/src/core/httpcli/parser.c @@ -209,4 +209,4 @@ int grpc_httpcli_parser_parse(grpc_httpcli_parser *parser, gpr_slice slice) { int grpc_httpcli_parser_eof(grpc_httpcli_parser *parser) { return parser->state == GRPC_HTTPCLI_BODY; -} \ No newline at end of file +} diff --git a/src/core/httpcli/parser.h b/src/core/httpcli/parser.h index 7924031e88d65b20431957c1c96ff50ca0ccc1ef..db1fa0a33c8bff2720a89906cc033cad3eb0450f 100644 --- a/src/core/httpcli/parser.h +++ b/src/core/httpcli/parser.h @@ -61,4 +61,4 @@ void grpc_httpcli_parser_destroy(grpc_httpcli_parser *parser); int grpc_httpcli_parser_parse(grpc_httpcli_parser *parser, gpr_slice slice); int grpc_httpcli_parser_eof(grpc_httpcli_parser *parser); -#endif /* __GRPC_INTERNAL_HTTPCLI_PARSER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_HTTPCLI_PARSER_H__ */ diff --git a/src/core/iomgr/alarm.c b/src/core/iomgr/alarm.c index 83b189f95b26357da2c57e57cde45d19c63e2fef..5860834de3f32b317cc8dbd0308e755fe7869155 100644 --- a/src/core/iomgr/alarm.c +++ b/src/core/iomgr/alarm.c @@ -362,4 +362,4 @@ gpr_timespec grpc_alarm_list_next_timeout(void) { out = g_shard_queue[0]->min_deadline; gpr_mu_unlock(&g_mu); return out; -} \ No newline at end of file +} diff --git a/src/core/iomgr/alarm.h b/src/core/iomgr/alarm.h index 478aa9439d67ab23f45b011c97c74d589e132526..6dcc63a6d58b2a58726169fc72ac4e2bc0eb647b 100644 --- a/src/core/iomgr/alarm.h +++ b/src/core/iomgr/alarm.h @@ -86,4 +86,4 @@ void grpc_alarm_init(grpc_alarm *alarm, gpr_timespec deadline, Requires: cancel() must happen after add() on a given alarm */ void grpc_alarm_cancel(grpc_alarm *alarm); -#endif /* __GRPC_INTERNAL_IOMGR_ALARM_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_ALARM_H__ */ diff --git a/src/core/iomgr/alarm_heap.c b/src/core/iomgr/alarm_heap.c index 8a8c9b0bf325fa86cb40e58ad3d0c80c3119e78e..d912178fda34d044d44f8944f4ba9f670f76a3f9 100644 --- a/src/core/iomgr/alarm_heap.c +++ b/src/core/iomgr/alarm_heap.c @@ -145,4 +145,4 @@ grpc_alarm *grpc_alarm_heap_top(grpc_alarm_heap *heap) { void grpc_alarm_heap_pop(grpc_alarm_heap *heap) { grpc_alarm_heap_remove(heap, grpc_alarm_heap_top(heap)); -} \ No newline at end of file +} diff --git a/src/core/iomgr/alarm_heap.h b/src/core/iomgr/alarm_heap.h index 7cf793fc81b57ab0f0fe234680e3347082632f95..bb6e5e3a899830a6420cdb9d4348431c21eeb870 100644 --- a/src/core/iomgr/alarm_heap.h +++ b/src/core/iomgr/alarm_heap.h @@ -54,4 +54,4 @@ void grpc_alarm_heap_pop(grpc_alarm_heap *heap); int grpc_alarm_heap_is_empty(grpc_alarm_heap *heap); -#endif /* __GRPC_INTERNAL_IOMGR_ALARM_HEAP_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_ALARM_HEAP_H_ */ diff --git a/src/core/iomgr/alarm_internal.h b/src/core/iomgr/alarm_internal.h index b87d3b57639dc7fbc65a24e29caf63b58aca82f0..cbd8fa9421f2b2c7bcccf2d5b0748be54764a46f 100644 --- a/src/core/iomgr/alarm_internal.h +++ b/src/core/iomgr/alarm_internal.h @@ -59,4 +59,4 @@ gpr_timespec grpc_alarm_list_next_timeout(void); void grpc_kick_poller(void); -#endif /* __GRPC_INTERNAL_IOMGR_ALARM_INTERNAL_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_ALARM_INTERNAL_H_ */ diff --git a/src/core/iomgr/endpoint.c b/src/core/iomgr/endpoint.c index 796d89706e769219f8e4b81f60fb92ee5c43270a..96487958a7133245bc6d55b25ed3feb93d22b9f5 100644 --- a/src/core/iomgr/endpoint.c +++ b/src/core/iomgr/endpoint.c @@ -52,4 +52,4 @@ void grpc_endpoint_add_to_pollset(grpc_endpoint *ep, grpc_pollset *pollset) { void grpc_endpoint_shutdown(grpc_endpoint *ep) { ep->vtable->shutdown(ep); } -void grpc_endpoint_destroy(grpc_endpoint *ep) { ep->vtable->destroy(ep); } \ No newline at end of file +void grpc_endpoint_destroy(grpc_endpoint *ep) { ep->vtable->destroy(ep); } diff --git a/src/core/iomgr/endpoint.h b/src/core/iomgr/endpoint.h index bb9552eac994e69cb6567f950ff82f1c42369ad6..e89cf6691c08eff7c3029f616905b1a798f354c9 100644 --- a/src/core/iomgr/endpoint.h +++ b/src/core/iomgr/endpoint.h @@ -103,4 +103,4 @@ struct grpc_endpoint { const grpc_endpoint_vtable *vtable; }; -#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ */ diff --git a/src/core/iomgr/endpoint_pair.h b/src/core/iomgr/endpoint_pair.h index d4981063a41e7a5e00e13e2d43f6b618786220b1..2e46aab2283bcd81df0a3a5aae7ad96152956ffa 100644 --- a/src/core/iomgr/endpoint_pair.h +++ b/src/core/iomgr/endpoint_pair.h @@ -43,4 +43,4 @@ typedef struct { grpc_endpoint_pair grpc_iomgr_create_endpoint_pair(size_t read_slice_size); -#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_PAIR_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_PAIR_H_ */ diff --git a/src/core/iomgr/endpoint_pair_posix.c b/src/core/iomgr/endpoint_pair_posix.c index 1ce548f9e68fb3ae23ec8c9b2286f1f2e8debee7..ac511b97b2618fbcd7a14341afd1def1cc1a2b74 100644 --- a/src/core/iomgr/endpoint_pair_posix.c +++ b/src/core/iomgr/endpoint_pair_posix.c @@ -64,4 +64,4 @@ grpc_endpoint_pair grpc_iomgr_create_endpoint_pair(size_t read_slice_size) { return p; } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/fd_posix.c b/src/core/iomgr/fd_posix.c index b31b7b151ade9bd54d0160edd0518139e53593ec..e3571e8e280c8a8a916fecd8bad1f313c475954b 100644 --- a/src/core/iomgr/fd_posix.c +++ b/src/core/iomgr/fd_posix.c @@ -322,4 +322,4 @@ void grpc_fd_become_writable(grpc_fd *fd, int allow_synchronous_callback) { set_ready(fd, &fd->writest, allow_synchronous_callback); } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/fd_posix.h b/src/core/iomgr/fd_posix.h index 1c1def27189c59df2eb3be8c6aaf772bac37fe8b..370ab1345a04e10ee2c2dfed8f06073aa0cf6e98 100644 --- a/src/core/iomgr/fd_posix.h +++ b/src/core/iomgr/fd_posix.h @@ -147,4 +147,4 @@ void grpc_fd_unref(grpc_fd *fd); void grpc_fd_global_init(void); void grpc_fd_global_shutdown(void); -#endif /* __GRPC_INTERNAL_IOMGR_FD_POSIX_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_FD_POSIX_H_ */ diff --git a/src/core/iomgr/iocp_windows.c b/src/core/iomgr/iocp_windows.c index 1ad07c06e6e68464bad33a97e24158b3444258d4..8b019e804961c398d73cbb140763184cd1030309 100644 --- a/src/core/iomgr/iocp_windows.c +++ b/src/core/iomgr/iocp_windows.c @@ -197,4 +197,4 @@ void grpc_socket_notify_on_read(grpc_winsocket *socket, socket_notify_on_iocp(socket, cb, opaque, &socket->read_info); } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/iocp_windows.h b/src/core/iomgr/iocp_windows.h index 11b66446a9ba902afb14157b81ca4873069274e5..d0231702a16968cf4a9115029cd2119d5f65e69e 100644 --- a/src/core/iomgr/iocp_windows.h +++ b/src/core/iomgr/iocp_windows.h @@ -49,4 +49,4 @@ void grpc_socket_notify_on_write(grpc_winsocket *, void(*cb)(void *, int success void grpc_socket_notify_on_read(grpc_winsocket *, void(*cb)(void *, int success), void *opaque); -#endif /* __GRPC_INTERNAL_IOMGR_IOCP_WINDOWS_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_IOCP_WINDOWS_H_ */ diff --git a/src/core/iomgr/iomgr.c b/src/core/iomgr/iomgr.c index 41d2d58329b336bba55a46691f385fc27ba4557d..058685b295d0090bc2bd644761514d1f9bf969b2 100644 --- a/src/core/iomgr/iomgr.c +++ b/src/core/iomgr/iomgr.c @@ -205,4 +205,4 @@ int grpc_maybe_call_delayed_callbacks(gpr_mu *drop_mu, int success) { gpr_mu_lock(retake_mu); } return n; -} \ No newline at end of file +} diff --git a/src/core/iomgr/iomgr.h b/src/core/iomgr/iomgr.h index a2e11e580f15221a820a3fbc0b7f508263b0c6f7..18a7d151fc7b91d4fdc24098c83645ca2ff04a1e 100644 --- a/src/core/iomgr/iomgr.h +++ b/src/core/iomgr/iomgr.h @@ -44,4 +44,4 @@ void grpc_iomgr_shutdown(void); and causes the invocation of a callback at some point in the future */ void grpc_iomgr_add_callback(grpc_iomgr_cb_func cb, void *cb_arg); -#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_H__ */ diff --git a/src/core/iomgr/iomgr_internal.h b/src/core/iomgr/iomgr_internal.h index 5c980f8af13925d41fbfaef75a5f587143078101..7f29f44f7f98b638d7eaddd49b7e6826254f8a79 100644 --- a/src/core/iomgr/iomgr_internal.h +++ b/src/core/iomgr/iomgr_internal.h @@ -48,4 +48,4 @@ void grpc_iomgr_unref(void); void grpc_iomgr_platform_init(void); void grpc_iomgr_platform_shutdown(void); -#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_INTERNAL_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_INTERNAL_H_ */ diff --git a/src/core/iomgr/iomgr_posix.c b/src/core/iomgr/iomgr_posix.c index 9ed11a603a66b83c38ae7c73c6d005369f4a5030..14e3d182f666edb8915ccaf86fd1f17af181dfaa 100644 --- a/src/core/iomgr/iomgr_posix.c +++ b/src/core/iomgr/iomgr_posix.c @@ -48,4 +48,4 @@ void grpc_iomgr_platform_shutdown(void) { grpc_fd_global_shutdown(); } -#endif /* GRPC_POSIX_SOCKET */ \ No newline at end of file +#endif /* GRPC_POSIX_SOCKET */ diff --git a/src/core/iomgr/iomgr_posix.h b/src/core/iomgr/iomgr_posix.h index 272fc309c3d9ac8763a9c86df8733448ab243404..f9e9b3d6ee4ca4cc6f825f507a100a015fb358cf 100644 --- a/src/core/iomgr/iomgr_posix.h +++ b/src/core/iomgr/iomgr_posix.h @@ -39,4 +39,4 @@ void grpc_pollset_global_init(void); void grpc_pollset_global_shutdown(void); -#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_POSIX_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_POSIX_H_ */ diff --git a/src/core/iomgr/iomgr_windows.c b/src/core/iomgr/iomgr_windows.c index d807c6fc8a01f36ae4fbd3bf8295c2a4eb7c1c3b..f130ab9a078ead0ef81fd3ef68b2ef53d2b4eee0 100644 --- a/src/core/iomgr/iomgr_windows.c +++ b/src/core/iomgr/iomgr_windows.c @@ -64,4 +64,4 @@ void grpc_iomgr_platform_shutdown(void) { winsock_shutdown(); } -#endif /* GRPC_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GRPC_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/pollset.h b/src/core/iomgr/pollset.h index 3cd60ba6f6ac7f157c1fb892daa89bde455c2069..9d04b014ba7074603da3fad9941fbfcc82345651 100644 --- a/src/core/iomgr/pollset.h +++ b/src/core/iomgr/pollset.h @@ -66,4 +66,4 @@ int grpc_pollset_work(grpc_pollset *pollset, gpr_timespec deadline); Requires GRPC_POLLSET_MU(pollset) locked. */ void grpc_pollset_kick(grpc_pollset *pollset); -#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_H_ */ diff --git a/src/core/iomgr/pollset_multipoller_with_poll_posix.c b/src/core/iomgr/pollset_multipoller_with_poll_posix.c index 44283750b3e3e00267c55f071af5aee0a7559d25..fbacad1e99813bcfa7d6100f39e9f90755e42f54 100644 --- a/src/core/iomgr/pollset_multipoller_with_poll_posix.c +++ b/src/core/iomgr/pollset_multipoller_with_poll_posix.c @@ -248,4 +248,4 @@ void grpc_platform_become_multipoller(grpc_pollset *pollset, grpc_fd **fds, } } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/pollset_posix.c b/src/core/iomgr/pollset_posix.c index 1845d749fb95feb80fcc0b171e6f1177fcf145df..05b78adeb61dc9c13d1ca00a622e43f5ab8dbc2f 100644 --- a/src/core/iomgr/pollset_posix.c +++ b/src/core/iomgr/pollset_posix.c @@ -311,4 +311,4 @@ static void become_unary_pollset(grpc_pollset *pollset, grpc_fd *fd) { grpc_fd_ref(fd); } -#endif /* GPR_POSIX_POLLSET */ \ No newline at end of file +#endif /* GPR_POSIX_POLLSET */ diff --git a/src/core/iomgr/pollset_posix.h b/src/core/iomgr/pollset_posix.h index cc8de96f8597592da323a9ee97c0511a07747e50..03b4c775b7fc48f1ae1297edb47e5bd70b7bb1d4 100644 --- a/src/core/iomgr/pollset_posix.h +++ b/src/core/iomgr/pollset_posix.h @@ -100,4 +100,4 @@ grpc_pollset *grpc_backup_pollset(void); void grpc_platform_become_multipoller(grpc_pollset *pollset, struct grpc_fd **fds, size_t fd_count); -#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_POSIX_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_POSIX_H_ */ diff --git a/src/core/iomgr/pollset_windows.c b/src/core/iomgr/pollset_windows.c index 7dbe5f88da325e310569877073800e208a4cf037..d21072b2832b9c08c6e51a780df01de5117d0ce4 100644 --- a/src/core/iomgr/pollset_windows.c +++ b/src/core/iomgr/pollset_windows.c @@ -68,4 +68,4 @@ int grpc_pollset_work(grpc_pollset *pollset, gpr_timespec deadline) { void grpc_pollset_kick(grpc_pollset *p) { } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/pollset_windows.h b/src/core/iomgr/pollset_windows.h index 44efca739a594dd25c1325a5065bfd8123ca00a5..41c193fcad01eb1a88907bd90f308928126bf254 100644 --- a/src/core/iomgr/pollset_windows.h +++ b/src/core/iomgr/pollset_windows.h @@ -53,4 +53,4 @@ typedef struct grpc_pollset { #define GRPC_POLLSET_MU(pollset) (&(pollset)->mu) #define GRPC_POLLSET_CV(pollset) (&(pollset)->cv) -#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_WINDOWS_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_WINDOWS_H_ */ diff --git a/src/core/iomgr/resolve_address.c b/src/core/iomgr/resolve_address.c index 8da7d973c4f4446a9683ad5c66d2f66059e54bb4..6d748c86981421c314a9f8007e3fece91be5fae4 100644 --- a/src/core/iomgr/resolve_address.c +++ b/src/core/iomgr/resolve_address.c @@ -232,4 +232,4 @@ void grpc_resolve_address(const char *name, const char *default_port, r->cb = cb; r->arg = arg; gpr_thd_new(&id, do_request, r, NULL); -} \ No newline at end of file +} diff --git a/src/core/iomgr/resolve_address.h b/src/core/iomgr/resolve_address.h index ac70744964ceef743e2d3b73fa487d4b8cac703c..65432ec61aaf27cd7de2521ae3815aab9e20822f 100644 --- a/src/core/iomgr/resolve_address.h +++ b/src/core/iomgr/resolve_address.h @@ -66,4 +66,4 @@ void grpc_resolved_addresses_destroy(grpc_resolved_addresses *addresses); grpc_resolved_addresses *grpc_blocking_resolve_address( const char *addr, const char *default_port); -#endif /* __GRPC_INTERNAL_IOMGR_RESOLVE_ADDRESS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_RESOLVE_ADDRESS_H__ */ diff --git a/src/core/iomgr/sockaddr.h b/src/core/iomgr/sockaddr.h index 60512aa422700f05bbfc0afb1430271b8105c191..a5f7c546ecfb56bfd4e01d30ee6335cd2f3a171c 100644 --- a/src/core/iomgr/sockaddr.h +++ b/src/core/iomgr/sockaddr.h @@ -44,4 +44,4 @@ #include "src/core/iomgr/sockaddr_posix.h" #endif -#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_H_ */ diff --git a/src/core/iomgr/sockaddr_posix.h b/src/core/iomgr/sockaddr_posix.h index 813c6d462f7d3c3abd0a83d21207a0f10b471ea5..00115e253687489127226cdaf69c826eaa2efc11 100644 --- a/src/core/iomgr/sockaddr_posix.h +++ b/src/core/iomgr/sockaddr_posix.h @@ -41,4 +41,4 @@ #include <netdb.h> #include <unistd.h> -#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ */ diff --git a/src/core/iomgr/sockaddr_utils.c b/src/core/iomgr/sockaddr_utils.c index 5895610fdd29aabb96a6f20a0598944256917df4..740bbe716ecbb458fcafc00747871d6c389b9ff2 100644 --- a/src/core/iomgr/sockaddr_utils.c +++ b/src/core/iomgr/sockaddr_utils.c @@ -188,4 +188,4 @@ int grpc_sockaddr_set_port(const struct sockaddr *addr, int port) { __FUNCTION__); return 0; } -} \ No newline at end of file +} diff --git a/src/core/iomgr/sockaddr_utils.h b/src/core/iomgr/sockaddr_utils.h index 7f885d536bb327af6d7756c4a2dbb38984785e0a..d3a25ad373bb067451a89655b0345a33c1c7e5d6 100644 --- a/src/core/iomgr/sockaddr_utils.h +++ b/src/core/iomgr/sockaddr_utils.h @@ -84,4 +84,4 @@ int grpc_sockaddr_set_port(const struct sockaddr *addr, int port); int grpc_sockaddr_to_string(char **out, const struct sockaddr *addr, int normalize); -#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_UTILS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_UTILS_H__ */ diff --git a/src/core/iomgr/sockaddr_win32.h b/src/core/iomgr/sockaddr_win32.h index bed9e84c23075746476efc43242c94b39dbdf8bb..6ed164ced1deba2160488318123370149293f9b8 100644 --- a/src/core/iomgr/sockaddr_win32.h +++ b/src/core/iomgr/sockaddr_win32.h @@ -38,4 +38,4 @@ #include <winsock2.h> #include <mswsock.h> -#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_WIN32_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_WIN32_H_ */ diff --git a/src/core/iomgr/socket_utils_common_posix.c b/src/core/iomgr/socket_utils_common_posix.c index 07ae6b888ca90fcf5753dccd4e3692278cc4b4ca..3c8cafa31521fadd1706724b93925b3aa71ee446 100644 --- a/src/core/iomgr/socket_utils_common_posix.c +++ b/src/core/iomgr/socket_utils_common_posix.c @@ -192,4 +192,4 @@ int grpc_create_dualstack_socket(const struct sockaddr *addr, int type, return socket(family, type, protocol); } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/socket_utils_linux.c b/src/core/iomgr/socket_utils_linux.c index 81f3bfc40dc100da2b1376f2a5855a71a22ab7c0..a87625262b26d554044ea899f4aad6e155d51bdc 100644 --- a/src/core/iomgr/socket_utils_linux.c +++ b/src/core/iomgr/socket_utils_linux.c @@ -48,4 +48,4 @@ int grpc_accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, return accept4(sockfd, addr, addrlen, flags); } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/socket_utils_posix.c b/src/core/iomgr/socket_utils_posix.c index c68a07758acfb0e221f4bad9341741f5ce208444..3c56b4674431fbcc898bc9fb7d265ef1f1cc3678 100644 --- a/src/core/iomgr/socket_utils_posix.c +++ b/src/core/iomgr/socket_utils_posix.c @@ -67,4 +67,4 @@ close_and_error: return -1; } -#endif /* GPR_POSIX_SOCKETUTILS */ \ No newline at end of file +#endif /* GPR_POSIX_SOCKETUTILS */ diff --git a/src/core/iomgr/socket_utils_posix.h b/src/core/iomgr/socket_utils_posix.h index b8d5ca392a9c031cc365c37b8e0feb5bc2ccac32..b35fe785f1ac622027f7aeaca678dabc0c8f4320 100644 --- a/src/core/iomgr/socket_utils_posix.h +++ b/src/core/iomgr/socket_utils_posix.h @@ -105,4 +105,4 @@ extern int grpc_forbid_dualstack_sockets_for_testing; int grpc_create_dualstack_socket(const struct sockaddr *addr, int type, int protocol, grpc_dualstack_mode *dsmode); -#endif /* __GRPC_INTERNAL_IOMGR_SOCKET_UTILS_POSIX_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_SOCKET_UTILS_POSIX_H__ */ diff --git a/src/core/iomgr/socket_windows.c b/src/core/iomgr/socket_windows.c index 8e99f491e2e3cc9ff64b37ac2308b5eb38a71e2a..99f38b0e032b43d193db424fa7870f880ca7f6c2 100644 --- a/src/core/iomgr/socket_windows.c +++ b/src/core/iomgr/socket_windows.c @@ -74,4 +74,4 @@ void grpc_winsocket_orphan(grpc_winsocket *socket) { gpr_free(socket); } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/socket_windows.h b/src/core/iomgr/socket_windows.h index 282e8122aec7ae355322e9bdb6788bfe6c3cd8a8..de80e97e7f661a2c156de8c4802e6643c1bce079 100644 --- a/src/core/iomgr/socket_windows.h +++ b/src/core/iomgr/socket_windows.h @@ -72,4 +72,4 @@ grpc_winsocket *grpc_winsocket_create(SOCKET socket); void grpc_winsocket_shutdown(grpc_winsocket *socket); void grpc_winsocket_orphan(grpc_winsocket *socket); -#endif /* __GRPC_INTERNAL_IOMGR_HANDLE_WINDOWS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_HANDLE_WINDOWS_H__ */ diff --git a/src/core/iomgr/tcp_client.h b/src/core/iomgr/tcp_client.h index 7211921ac9459ed768993df9e4dc109014f88060..c919c02440fd4326b1ed699a3ff530f928c898ee 100644 --- a/src/core/iomgr/tcp_client.h +++ b/src/core/iomgr/tcp_client.h @@ -45,4 +45,4 @@ void grpc_tcp_client_connect(void (*cb)(void *arg, grpc_endpoint *tcp), void *arg, const struct sockaddr *addr, int addr_len, gpr_timespec deadline); -#endif /* __GRPC_INTERNAL_IOMGR_TCP_CLIENT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_TCP_CLIENT_H__ */ diff --git a/src/core/iomgr/tcp_client_posix.c b/src/core/iomgr/tcp_client_posix.c index 25bb8f1826e54b6bcfb540a5db5bf237c6ba3dc3..137aa99c7b101f9d165b712b7e9544e40483386e 100644 --- a/src/core/iomgr/tcp_client_posix.c +++ b/src/core/iomgr/tcp_client_posix.c @@ -234,4 +234,4 @@ void grpc_tcp_client_connect(void (*cb)(void *arg, grpc_endpoint *ep), grpc_fd_notify_on_write(ac->fd, on_writable, ac); } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/tcp_client_windows.c b/src/core/iomgr/tcp_client_windows.c index edbdc744160be1292c78ce25fc57a977dde61e65..2bd93c6af2c60ea23470dc31b7d8c26f581912a1 100644 --- a/src/core/iomgr/tcp_client_windows.c +++ b/src/core/iomgr/tcp_client_windows.c @@ -212,4 +212,4 @@ failure: cb(arg, NULL); } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/tcp_posix.c b/src/core/iomgr/tcp_posix.c index 02227abbf6bf96e21d7aa3e60c620237b24cea96..150a907cb105fe9b13b4b523ce96a3fc4837a749 100644 --- a/src/core/iomgr/tcp_posix.c +++ b/src/core/iomgr/tcp_posix.c @@ -544,4 +544,4 @@ grpc_endpoint *grpc_tcp_create(grpc_fd *em_fd, size_t slice_size) { return &tcp->base; } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/tcp_posix.h b/src/core/iomgr/tcp_posix.h index 7cac941f8094967952e69c52f68505696d1660c0..6ff87704efb7e845b3b31eda0b280cb6cd152a93 100644 --- a/src/core/iomgr/tcp_posix.h +++ b/src/core/iomgr/tcp_posix.h @@ -53,4 +53,4 @@ Takes ownership of fd. */ grpc_endpoint *grpc_tcp_create(grpc_fd *fd, size_t read_slice_size); -#endif /* __GRPC_INTERNAL_IOMGR_TCP_POSIX_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_TCP_POSIX_H__ */ diff --git a/src/core/iomgr/tcp_server.h b/src/core/iomgr/tcp_server.h index 2466cafbb00a58a5b4b6a333383fe0cf3d1abe15..c1e5f45208dae14711541f2f67d06f3ec0769f8c 100644 --- a/src/core/iomgr/tcp_server.h +++ b/src/core/iomgr/tcp_server.h @@ -73,4 +73,4 @@ int grpc_tcp_server_get_fd(grpc_tcp_server *s, unsigned index); void grpc_tcp_server_destroy(grpc_tcp_server *server); -#endif /* __GRPC_INTERNAL_IOMGR_TCP_SERVER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_TCP_SERVER_H__ */ diff --git a/src/core/iomgr/tcp_server_posix.c b/src/core/iomgr/tcp_server_posix.c index 659aa1e07b77fd5d0a0c6bc4f7b60d7549d781c7..b7a06259497f20780f9a05e03022c881c96bd1d8 100644 --- a/src/core/iomgr/tcp_server_posix.c +++ b/src/core/iomgr/tcp_server_posix.c @@ -399,4 +399,4 @@ void grpc_tcp_server_start(grpc_tcp_server *s, grpc_pollset **pollsets, gpr_mu_unlock(&s->mu); } -#endif \ No newline at end of file +#endif diff --git a/src/core/iomgr/tcp_server_windows.c b/src/core/iomgr/tcp_server_windows.c index cde21bddfe97364fb60263f643be85ecd5805288..c6864efdc53682e815f71765eee5296972c4d62f 100644 --- a/src/core/iomgr/tcp_server_windows.c +++ b/src/core/iomgr/tcp_server_windows.c @@ -371,4 +371,4 @@ void grpc_tcp_server_start(grpc_tcp_server *s, grpc_pollset *pollset, gpr_mu_unlock(&s->mu); } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/tcp_windows.c b/src/core/iomgr/tcp_windows.c index 06543cff8d27c9706dc9052c1f936ea2d0dbc0e6..3efd69a71b9985f0d2f40cf4a3a054a25530a106 100644 --- a/src/core/iomgr/tcp_windows.c +++ b/src/core/iomgr/tcp_windows.c @@ -370,4 +370,4 @@ grpc_endpoint *grpc_tcp_create(grpc_winsocket *socket) { return &tcp->base; } -#endif /* GPR_WINSOCK_SOCKET */ \ No newline at end of file +#endif /* GPR_WINSOCK_SOCKET */ diff --git a/src/core/iomgr/tcp_windows.h b/src/core/iomgr/tcp_windows.h index cb0344278585d4ef4264169ae8e0a475999c7f3b..565d42e5b2964bfefeba4236dffb515635687d4b 100644 --- a/src/core/iomgr/tcp_windows.h +++ b/src/core/iomgr/tcp_windows.h @@ -54,4 +54,4 @@ grpc_endpoint *grpc_tcp_create(grpc_winsocket *socket); int grpc_tcp_prepare_socket(SOCKET sock); -#endif /* __GRPC_INTERNAL_IOMGR_TCP_WINDOWS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_TCP_WINDOWS_H__ */ diff --git a/src/core/iomgr/time_averaged_stats.c b/src/core/iomgr/time_averaged_stats.c index b5f8b165a4f79045e9531656c4e7fd93b1a37cf7..f881dde9fc2b05b1b9be9b39c24a6df8204a3c28 100644 --- a/src/core/iomgr/time_averaged_stats.c +++ b/src/core/iomgr/time_averaged_stats.c @@ -74,4 +74,4 @@ double grpc_time_averaged_stats_update_average( stats->batch_num_samples = 0; stats->batch_total_value = 0; return stats->aggregate_weighted_avg; -} \ No newline at end of file +} diff --git a/src/core/iomgr/time_averaged_stats.h b/src/core/iomgr/time_averaged_stats.h index 423979a06f12ac54047581248ec2b39b0b2eed51..e901f3c33b3b079dfdb307717ce0719118fc6fd3 100644 --- a/src/core/iomgr/time_averaged_stats.h +++ b/src/core/iomgr/time_averaged_stats.h @@ -85,4 +85,4 @@ void grpc_time_averaged_stats_add_sample(grpc_time_averaged_stats *stats, value. */ double grpc_time_averaged_stats_update_average(grpc_time_averaged_stats *stats); -#endif /* __GRPC_INTERNAL_IOMGR_TIME_AVERAGED_STATS_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_IOMGR_TIME_AVERAGED_STATS_H_ */ diff --git a/src/core/json/json.c b/src/core/json/json.c index 5b7e02ebde979235aa672fe60acdcdb1c2fa7777..df7108a94de696b4ac6d0be54132f18ca673912a 100644 --- a/src/core/json/json.c +++ b/src/core/json/json.c @@ -61,4 +61,4 @@ void grpc_json_destroy(grpc_json *json) { } gpr_free(json); -} \ No newline at end of file +} diff --git a/src/core/json/json.h b/src/core/json/json.h index 78afa4c48c3a17ec634e97da178ca404d0668757..dc519e9d5ec96b6b0ec1d725cc2c4180643288a2 100644 --- a/src/core/json/json.h +++ b/src/core/json/json.h @@ -85,4 +85,4 @@ char* grpc_json_dump_to_string(grpc_json* json, int indent); grpc_json* grpc_json_create(grpc_json_type type); void grpc_json_destroy(grpc_json* json); -#endif /* __GRPC_SRC_CORE_JSON_JSON_H__ */ \ No newline at end of file +#endif /* __GRPC_SRC_CORE_JSON_JSON_H__ */ diff --git a/src/core/json/json_common.h b/src/core/json/json_common.h index ab7627bdbdc61a1f420a2870bf2ae2c0b2464a91..60763cc72ea80b021d843614fd03370c55c00c29 100644 --- a/src/core/json/json_common.h +++ b/src/core/json/json_common.h @@ -46,4 +46,4 @@ typedef enum { GRPC_JSON_TOP_LEVEL } grpc_json_type; -#endif /* __GRPC_SRC_CORE_JSON_JSON_COMMON_H__ */ \ No newline at end of file +#endif /* __GRPC_SRC_CORE_JSON_JSON_COMMON_H__ */ diff --git a/src/core/json/json_reader.c b/src/core/json/json_reader.c index 0e7a61bf2a5d70e5390a2094a430e70c451ff85a..774faa5f239bdfbaf42faadb1d3f475984ba7c6f 100644 --- a/src/core/json/json_reader.c +++ b/src/core/json/json_reader.c @@ -650,4 +650,4 @@ grpc_json_reader_status grpc_json_reader_run(grpc_json_reader* reader) { } return GRPC_JSON_INTERNAL_ERROR; -} \ No newline at end of file +} diff --git a/src/core/json/json_reader.h b/src/core/json/json_reader.h index 9c2b8e5c55e5f2c3518b74a870f9e008b8fefc3d..f7f59127f9374daf59075778bf87633305d7cf3e 100644 --- a/src/core/json/json_reader.h +++ b/src/core/json/json_reader.h @@ -157,4 +157,4 @@ void grpc_json_reader_init(grpc_json_reader* reader, */ int grpc_json_reader_is_complete(grpc_json_reader* reader); -#endif /* __GRPC_SRC_CORE_JSON_JSON_READER_H__ */ \ No newline at end of file +#endif /* __GRPC_SRC_CORE_JSON_JSON_READER_H__ */ diff --git a/src/core/json/json_string.c b/src/core/json/json_string.c index 91ae99aa478abc67fc31dd3534b9e7dfc4a97b44..13f816995b240f6cd44a4294168e3c9611bf00c9 100644 --- a/src/core/json/json_string.c +++ b/src/core/json/json_string.c @@ -388,4 +388,4 @@ char* grpc_json_dump_to_string(grpc_json* json, int indent) { json_writer_output_char(&state, 0); return state.output; -} \ No newline at end of file +} diff --git a/src/core/json/json_writer.c b/src/core/json/json_writer.c index 2e037e2ad3dfa590e76fdebdf992dccc343ea705..4c0bf30780dcd102a1466953e2f9734deaf13be0 100644 --- a/src/core/json/json_writer.c +++ b/src/core/json/json_writer.c @@ -249,4 +249,4 @@ void grpc_json_writer_value_string(grpc_json_writer* writer, const char* string) json_writer_output_indent(writer); json_writer_escape_string(writer, string); writer->got_key = 0; -} \ No newline at end of file +} diff --git a/src/core/json/json_writer.h b/src/core/json/json_writer.h index d63add50199829ae10fb90cd157bd5711aee2f73..5d5d0891a3c887b0d19c4d114c889a7cb6a4317e 100644 --- a/src/core/json/json_writer.h +++ b/src/core/json/json_writer.h @@ -90,4 +90,4 @@ void grpc_json_writer_value_raw_with_len(grpc_json_writer* writer, const char* s /* Sets a string value. It'll be escaped, and utf-8 validated. */ void grpc_json_writer_value_string(grpc_json_writer* writer, const char* string); -#endif /* __GRPC_SRC_CORE_JSON_JSON_WRITER_H__ */ \ No newline at end of file +#endif /* __GRPC_SRC_CORE_JSON_JSON_WRITER_H__ */ diff --git a/src/core/security/auth.c b/src/core/security/auth.c index 2126a2afee8abf98cc1e7d3dbc45ad5bfd2cca54..58679a87aa5509b653f08d4503fd37d34e7a7d97 100644 --- a/src/core/security/auth.c +++ b/src/core/security/auth.c @@ -251,4 +251,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_client_auth_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "auth"}; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "auth"}; diff --git a/src/core/security/auth.h b/src/core/security/auth.h index 6e2afcbfc3128b46b1333881d55dab3b6e037504..fee75c40e1c8083f5b8f4201959dcecba2f1e112 100644 --- a/src/core/security/auth.h +++ b/src/core/security/auth.h @@ -38,4 +38,4 @@ extern const grpc_channel_filter grpc_client_auth_filter; -#endif /* __GRPC_INTERNAL_SECURITY_AUTH_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_AUTH_H__ */ diff --git a/src/core/security/base64.c b/src/core/security/base64.c index f418a2a1678c1868260ec2a87a38d03fbbfa6338..3b8fea8f7371afff8a3bd027be1c3bbc83db48e4 100644 --- a/src/core/security/base64.c +++ b/src/core/security/base64.c @@ -195,4 +195,4 @@ gpr_slice grpc_base64_decode(const char *b64, int url_safe) { fail: gpr_slice_unref(result); return gpr_empty_slice(); -} \ No newline at end of file +} diff --git a/src/core/security/base64.h b/src/core/security/base64.h index 77c7ecec1c47b6537b3fe44b942024e97574703d..0eb69d0ccb35c921c8a81e42e548e5ee2445749e 100644 --- a/src/core/security/base64.h +++ b/src/core/security/base64.h @@ -45,4 +45,4 @@ char *grpc_base64_encode(const void *data, size_t data_size, int url_safe, slice in case of failure. */ gpr_slice grpc_base64_decode(const char *b64, int url_safe); -#endif /* __GRPC_INTERNAL_SECURITY_BASE64_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_BASE64_H_ */ diff --git a/src/core/security/credentials.c b/src/core/security/credentials.c index 49ccd070df39890bfb0f4172eac10f578124d95f..b2e0fd215a9772559e5aa88647ec776943b73e83 100644 --- a/src/core/security/credentials.c +++ b/src/core/security/credentials.c @@ -943,4 +943,4 @@ grpc_credentials *grpc_iam_credentials_create(const char *token, /* -- Default credentials TODO(jboeuf). -- */ -grpc_credentials *grpc_default_credentials_create(void) { return NULL; } \ No newline at end of file +grpc_credentials *grpc_default_credentials_create(void) { return NULL; } diff --git a/src/core/security/credentials.h b/src/core/security/credentials.h index a0ec11a85b65bd6718b1070ac391b3f7c162caba..614db96ad7ac705617e513f4307a42c7cd040742 100644 --- a/src/core/security/credentials.h +++ b/src/core/security/credentials.h @@ -150,4 +150,4 @@ typedef struct { const grpc_ssl_server_config *grpc_ssl_server_credentials_get_config( const grpc_server_credentials *ssl_creds); -#endif /* __GRPC_INTERNAL_SECURITY_CREDENTIALS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_CREDENTIALS_H__ */ diff --git a/src/core/security/factories.c b/src/core/security/factories.c index 3843aff6fc37c2aa247419fc62c99b6b101d4d18..c9701b9080db47e6e5a8bf2e9daa9310f49318fd 100644 --- a/src/core/security/factories.c +++ b/src/core/security/factories.c @@ -77,4 +77,4 @@ grpc_server *grpc_secure_server_create(grpc_server_credentials *creds, server = grpc_secure_server_create_internal(cq, args, ctx); grpc_security_context_unref(ctx); return server; -} \ No newline at end of file +} diff --git a/src/core/security/google_root_certs.c b/src/core/security/google_root_certs.c index 9944e8d891b2ee8104124b1b3391ddecdb15a815..1a44058a29e24c2e43ed659b079170c7dd026ae5 100644 --- a/src/core/security/google_root_certs.c +++ b/src/core/security/google_root_certs.c @@ -11274,4 +11274,4 @@ unsigned char grpc_google_root_certs[] = { 0x64, 0x64, 0x49, 0x0a, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a}; -unsigned int grpc_google_root_certs_size = 134862; \ No newline at end of file +unsigned int grpc_google_root_certs_size = 134862; diff --git a/src/core/security/google_root_certs.h b/src/core/security/google_root_certs.h index 20353a00c3c0226080c880f5cfa60dacf33af293..914e756171801d44fe2fefbb1f48e54c9faa89ff 100644 --- a/src/core/security/google_root_certs.h +++ b/src/core/security/google_root_certs.h @@ -37,4 +37,4 @@ extern unsigned char grpc_google_root_certs[]; extern unsigned int grpc_google_root_certs_size; -#endif /* __GRPC_INTERNAL_SECURITY_GOOGLE_ROOT_CERTS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_GOOGLE_ROOT_CERTS_H__ */ diff --git a/src/core/security/json_token.c b/src/core/security/json_token.c index 3bba57b574ce8e2cda1d1f58022fae9f911bb77b..c85b0cd84751331eb7de3ead3ca56398de533364 100644 --- a/src/core/security/json_token.c +++ b/src/core/security/json_token.c @@ -321,4 +321,4 @@ char *grpc_jwt_encode_and_sign(const grpc_auth_json_key *json_key, void grpc_jwt_encode_and_sign_set_override( grpc_jwt_encode_and_sign_override func) { g_jwt_encode_and_sign_override = func; -} \ No newline at end of file +} diff --git a/src/core/security/json_token.h b/src/core/security/json_token.h index 9256d028a6176512b7995f27c2c576bbf89b85ca..5a9b2dab4b3df82f48f153be865a5e23d5b6f64d 100644 --- a/src/core/security/json_token.h +++ b/src/core/security/json_token.h @@ -74,4 +74,4 @@ typedef char *(*grpc_jwt_encode_and_sign_override)( void grpc_jwt_encode_and_sign_set_override( grpc_jwt_encode_and_sign_override func); -#endif /* __GRPC_INTERNAL_SECURITY_JSON_TOKEN_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_JSON_TOKEN_H_ */ diff --git a/src/core/security/secure_endpoint.c b/src/core/security/secure_endpoint.c index 137edf378f7167f835b4f8ed1b828d96510a7334..031f23dc79d109782c8104b7a50b05501f0d2919 100644 --- a/src/core/security/secure_endpoint.c +++ b/src/core/security/secure_endpoint.c @@ -356,4 +356,4 @@ grpc_endpoint *grpc_secure_endpoint_create( gpr_mu_init(&ep->protector_mu); gpr_ref_init(&ep->ref, 1); return &ep->base; -} \ No newline at end of file +} diff --git a/src/core/security/secure_endpoint.h b/src/core/security/secure_endpoint.h index a98deba8d8f3e778a10d0ef9b4da000511ec427c..82ba4082e3268a91b68d0f7ebd3488adffc8ac2f 100644 --- a/src/core/security/secure_endpoint.h +++ b/src/core/security/secure_endpoint.h @@ -44,4 +44,4 @@ grpc_endpoint *grpc_secure_endpoint_create( struct tsi_frame_protector *protector, grpc_endpoint *to_wrap, gpr_slice *leftover_slices, size_t leftover_nslices); -#endif /* __GRPC_INTERNAL_ENDPOINT_SECURE_ENDPOINT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_ENDPOINT_SECURE_ENDPOINT_H__ */ diff --git a/src/core/security/secure_transport_setup.c b/src/core/security/secure_transport_setup.c index d227ace2af9e2944663cfe05a8bf73803e456469..f57d22109cec0843b50b42f62b2de37d33629994 100644 --- a/src/core/security/secure_transport_setup.c +++ b/src/core/security/secure_transport_setup.c @@ -283,4 +283,4 @@ void grpc_setup_secure_transport(grpc_security_context *ctx, s->cb = cb; gpr_slice_buffer_init(&s->left_overs); send_handshake_bytes_to_peer(s); -} \ No newline at end of file +} diff --git a/src/core/security/secure_transport_setup.h b/src/core/security/secure_transport_setup.h index a5882f3e026e2953d154aff119b342bce16d221a..21f41fd682255f31d3726f1555c9c50687f517de 100644 --- a/src/core/security/secure_transport_setup.h +++ b/src/core/security/secure_transport_setup.h @@ -50,4 +50,4 @@ void grpc_setup_secure_transport(grpc_security_context *ctx, grpc_secure_transport_setup_done_cb cb, void *user_data); -#endif /* __GRPC_INTERNAL_SECURITY_SECURE_TRANSPORT_SETUP_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_SECURE_TRANSPORT_SETUP_H__ */ diff --git a/src/core/security/security_context.c b/src/core/security/security_context.c index 37b36c167ec0d65fee9ccd5f174092ab6076b284..f9fb2407cf996168ee54d1067ac32cc145ff506b 100644 --- a/src/core/security/security_context.c +++ b/src/core/security/security_context.c @@ -630,4 +630,4 @@ grpc_channel *grpc_default_secure_channel_create( const char *target, const grpc_channel_args *args) { return grpc_secure_channel_create(grpc_default_credentials_create(), target, args); -} \ No newline at end of file +} diff --git a/src/core/security/security_context.h b/src/core/security/security_context.h index 5e9f943f60665fde5ac407dae09c1d85ac9888ad..e3d91139678a24dd8337706099aea1c85a6e6827 100644 --- a/src/core/security/security_context.h +++ b/src/core/security/security_context.h @@ -204,4 +204,4 @@ grpc_server *grpc_secure_server_create_internal(grpc_completion_queue *cq, const grpc_channel_args *args, grpc_security_context *ctx); -#endif /* __GRPC_INTERNAL_SECURITY_SECURITY_CONTEXT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SECURITY_SECURITY_CONTEXT_H__ */ diff --git a/src/core/security/server_secure_chttp2.c b/src/core/security/server_secure_chttp2.c index edad78152e8323ef169ec8c5cb94bb8d172496bc..c88f0726bb7a8d17efd05f2022f58a0766b0408a 100644 --- a/src/core/security/server_secure_chttp2.c +++ b/src/core/security/server_secure_chttp2.c @@ -146,4 +146,4 @@ error: grpc_tcp_server_destroy(tcp); } return 0; -} \ No newline at end of file +} diff --git a/src/core/statistics/census_init.c b/src/core/statistics/census_init.c index c81aa1524a0e6ce2116ab7fbb0f9c8371a8740c6..820d75f795eb87b8215910ce0cb5b103c3e09a17 100644 --- a/src/core/statistics/census_init.c +++ b/src/core/statistics/census_init.c @@ -47,4 +47,4 @@ void census_shutdown(void) { gpr_log(GPR_INFO, "Shutdown census library."); census_stats_store_shutdown(); census_tracing_shutdown(); -} \ No newline at end of file +} diff --git a/src/core/statistics/census_interface.h b/src/core/statistics/census_interface.h index 756e4727417c19997d5886d0dad464b73cc7283b..0bb0a9f328dc7358fb1f8f3e338ac4891e9ad891 100644 --- a/src/core/statistics/census_interface.h +++ b/src/core/statistics/census_interface.h @@ -73,4 +73,4 @@ census_op_id census_tracing_start_op(void); /* Ends tracing. Calling this function will invalidate the input op_id. */ void census_tracing_end_op(census_op_id op_id); -#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_INTERFACE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_INTERFACE_H__ */ diff --git a/src/core/statistics/census_log.c b/src/core/statistics/census_log.c index 6633b044e0c96877f1bd8a26efa7263d14fa83d6..24e46876d25a0613a9bb18862d1dcbdc321567c6 100644 --- a/src/core/statistics/census_log.c +++ b/src/core/statistics/census_log.c @@ -601,4 +601,4 @@ size_t census_log_remaining_space(void) { int census_log_out_of_space_count(void) { GPR_ASSERT(g_log.initialized); return gpr_atm_acq_load(&g_log.out_of_space_count); -} \ No newline at end of file +} diff --git a/src/core/statistics/census_log.h b/src/core/statistics/census_log.h index e1aaa05f7f14dc5b5170ce777f6aa1c159022da4..01fd63aca39d05f8b3bd0db663eeb08c0149abb1 100644 --- a/src/core/statistics/census_log.h +++ b/src/core/statistics/census_log.h @@ -88,4 +88,4 @@ size_t census_log_remaining_space(void); out-of-space. */ int census_log_out_of_space_count(void); -#endif /* __GRPC_INTERNAL_STATISTICS_LOG_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_LOG_H__ */ diff --git a/src/core/statistics/census_rpc_stats.c b/src/core/statistics/census_rpc_stats.c index 957f20d06668b13bd317e6291c4828629e9a9616..388ce4fe2c8c4334a3268a3d7850cfd058a55ec7 100644 --- a/src/core/statistics/census_rpc_stats.c +++ b/src/core/statistics/census_rpc_stats.c @@ -251,4 +251,4 @@ void census_stats_store_shutdown(void) { gpr_log(GPR_ERROR, "Census client stats store not initialized."); } gpr_mu_unlock(&g_mu); -} \ No newline at end of file +} diff --git a/src/core/statistics/census_rpc_stats.h b/src/core/statistics/census_rpc_stats.h index 9c7f32198476df3c261929523f8137ed7826f2a7..942de81b888de076dcf382287d3a7e25658bd11a 100644 --- a/src/core/statistics/census_rpc_stats.h +++ b/src/core/statistics/census_rpc_stats.h @@ -98,4 +98,4 @@ void census_stats_store_shutdown(void); } #endif -#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_RPC_STATS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_RPC_STATS_H__ */ diff --git a/src/core/statistics/census_tracing.c b/src/core/statistics/census_tracing.c index 8612d2cf7d93f09ef1ca746eb15b2099cf9f9412..adfcbecb4c8f82136f0a4a6242c455084bbfcfad 100644 --- a/src/core/statistics/census_tracing.c +++ b/src/core/statistics/census_tracing.c @@ -236,4 +236,4 @@ census_trace_obj** census_get_active_ops(int* num_active_ops) { } gpr_mu_unlock(&g_mu); return ret; -} \ No newline at end of file +} diff --git a/src/core/statistics/census_tracing.h b/src/core/statistics/census_tracing.h index 173e82c3c9714d7f7dcee9afbc2b38391fef054e..51aa578c0c16e6f30a53ba2cdefcf1dafdceeeb4 100644 --- a/src/core/statistics/census_tracing.h +++ b/src/core/statistics/census_tracing.h @@ -93,4 +93,4 @@ census_trace_obj** census_get_active_ops(int* num_active_ops); } #endif -#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_TRACING_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_TRACING_H_ */ diff --git a/src/core/statistics/hash_table.c b/src/core/statistics/hash_table.c index 0afb12c368c22e1eba9a198bd42a499c028f2b98..56bdcc2ffff6dd71e999d84a3cef51c4d94c7c6b 100644 --- a/src/core/statistics/hash_table.c +++ b/src/core/statistics/hash_table.c @@ -300,4 +300,4 @@ void census_ht_destroy(census_ht* ht) { gpr_free(ht); } -size_t census_ht_get_size(const census_ht* ht) { return ht->size; } \ No newline at end of file +size_t census_ht_get_size(const census_ht* ht) { return ht->size; } diff --git a/src/core/statistics/hash_table.h b/src/core/statistics/hash_table.h index c7f592c813acbae2ac79e5eece5ddcb58ee4c3b3..2c2386d1ab1babca231bf24de22c07cc0f5c0fab 100644 --- a/src/core/statistics/hash_table.h +++ b/src/core/statistics/hash_table.h @@ -128,4 +128,4 @@ typedef void (*census_ht_itr_cb)(census_ht_key key, const void* val_ptr, should not invalidate data entries. */ gpr_uint64 census_ht_for_all(const census_ht* ht, census_ht_itr_cb); -#endif /* __GRPC_INTERNAL_STATISTICS_HASH_TABLE_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_HASH_TABLE_H_ */ diff --git a/src/core/statistics/window_stats.c b/src/core/statistics/window_stats.c index f84b93160269c8c1f78ccdc664f2c23bbd21e8a0..a64e0805652c5dff91515bf8118f4295cbd483f1 100644 --- a/src/core/statistics/window_stats.c +++ b/src/core/statistics/window_stats.c @@ -314,4 +314,4 @@ void census_window_stats_destroy(window_stats* wstats) { /* Ensure any use-after free triggers assert. */ wstats->interval_stats = NULL; gpr_free(wstats); -} \ No newline at end of file +} diff --git a/src/core/statistics/window_stats.h b/src/core/statistics/window_stats.h index 1fd711939f0c3f902727698dd0f3973edd6818f4..98f8dac55959127abd5193aaf6aaa2afc12506ae 100644 --- a/src/core/statistics/window_stats.h +++ b/src/core/statistics/window_stats.h @@ -170,4 +170,4 @@ void census_window_stats_get_sums(const struct census_window_stats* wstats, assertion failure). This function is thread-compatible. */ void census_window_stats_destroy(struct census_window_stats* wstats); -#endif /* __GRPC_INTERNAL_STATISTICS_WINDOW_STATS_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_STATISTICS_WINDOW_STATS_H_ */ diff --git a/src/core/support/alloc.c b/src/core/support/alloc.c index 9ce78c64730fb3f273e2e96e3c48cb1494e412ad..44f343b4f400445d1f39dd203069dd18b04c4043 100644 --- a/src/core/support/alloc.c +++ b/src/core/support/alloc.c @@ -62,4 +62,4 @@ void *gpr_malloc_aligned(size_t size, size_t alignment) { return (void *)ret; } -void gpr_free_aligned(void *ptr) { free(((void **)ptr)[-1]); } \ No newline at end of file +void gpr_free_aligned(void *ptr) { free(((void **)ptr)[-1]); } diff --git a/src/core/support/cancellable.c b/src/core/support/cancellable.c index b632a3c2fdb0f6388405759fc9e54418031c43d1..5a4d488dd3cf1c0c97bab5f17091c95e6d1d78d9 100644 --- a/src/core/support/cancellable.c +++ b/src/core/support/cancellable.c @@ -153,4 +153,4 @@ int gpr_cv_cancellable_wait(gpr_cv *cv, gpr_mu *mu, gpr_timespec abs_deadline, } gpr_mu_unlock(&c->mu); return timeout; -} \ No newline at end of file +} diff --git a/src/core/support/cmdline.c b/src/core/support/cmdline.c index d2f8d3810ecfec5c0d1543c8499fe13cfc194d68..72f46c1bd72e4edb6f2c4fb1a2d5adcf6e42427e 100644 --- a/src/core/support/cmdline.c +++ b/src/core/support/cmdline.c @@ -289,4 +289,4 @@ void gpr_cmdline_parse(gpr_cmdline *cl, int argc, char **argv) { for (i = 1; i < argc; i++) { cl->state(cl, argv[i]); } -} \ No newline at end of file +} diff --git a/src/core/support/cpu_linux.c b/src/core/support/cpu_linux.c index 397fd9d68a6e5a6cdc81cada15564a3516ae6798..ef6bf9ca09641146485c9144ff6293aedbda7767 100644 --- a/src/core/support/cpu_linux.c +++ b/src/core/support/cpu_linux.c @@ -70,4 +70,4 @@ unsigned gpr_cpu_current_cpu(void) { return cpu; } -#endif /* GPR_CPU_LINUX */ \ No newline at end of file +#endif /* GPR_CPU_LINUX */ diff --git a/src/core/support/cpu_posix.c b/src/core/support/cpu_posix.c index 19c032bdc0ea944fd2aa6e44c8f78959f56682d0..91f722530ca36b64b3d44a63ca307bb46b28f80d 100644 --- a/src/core/support/cpu_posix.c +++ b/src/core/support/cpu_posix.c @@ -71,4 +71,4 @@ unsigned gpr_cpu_current_cpu(void) { return shard_ptr(&magic_thread_local); } -#endif /* GPR_CPU_LINUX */ \ No newline at end of file +#endif /* GPR_CPU_LINUX */ diff --git a/src/core/support/env.h b/src/core/support/env.h index 35ef565a24bf86b8cf9f7434ea61f5ea3c168d90..0c6091b84b8a3a47793e2e6cc9a2cec826d0853f 100644 --- a/src/core/support/env.h +++ b/src/core/support/env.h @@ -57,4 +57,4 @@ void gpr_setenv(const char *name, const char *value); } #endif -#endif /* __GRPC_SUPPORT_ENV_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_ENV_H__ */ diff --git a/src/core/support/env_linux.c b/src/core/support/env_linux.c index ffd792804049d753bed8b76c43e946440bf8d75b..bdadfb6ca4c41ecec10d9613145637027432cdb9 100644 --- a/src/core/support/env_linux.c +++ b/src/core/support/env_linux.c @@ -58,4 +58,4 @@ void gpr_setenv(const char *name, const char *value) { GPR_ASSERT(res == 0); } -#endif /* GPR_LINUX_ENV */ \ No newline at end of file +#endif /* GPR_LINUX_ENV */ diff --git a/src/core/support/env_posix.c b/src/core/support/env_posix.c index 4cc71b31523cebf89397ccba979afd2e7e30e337..45f89b673790512a7f1adc7822f551702dbb7c2c 100644 --- a/src/core/support/env_posix.c +++ b/src/core/support/env_posix.c @@ -53,4 +53,4 @@ void gpr_setenv(const char *name, const char *value) { GPR_ASSERT(res == 0); } -#endif /* GPR_POSIX_ENV */ \ No newline at end of file +#endif /* GPR_POSIX_ENV */ diff --git a/src/core/support/env_win32.c b/src/core/support/env_win32.c index f35fab25abe49b784dbb480f323ead780a751902..177cc36a30a00b4dc0254ccf0f0a7a9d30ef489d 100644 --- a/src/core/support/env_win32.c +++ b/src/core/support/env_win32.c @@ -58,4 +58,4 @@ void gpr_setenv(const char *name, const char *value) { GPR_ASSERT(res == 0); } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/file.c b/src/core/support/file.c index dfe31102821a5923beb5b330b8eb81a72633d317..70100b7e9b568707169acada30b9277fefe15f54 100644 --- a/src/core/support/file.c +++ b/src/core/support/file.c @@ -86,4 +86,4 @@ end: } if (file != NULL) fclose(file); return result; -} \ No newline at end of file +} diff --git a/src/core/support/file.h b/src/core/support/file.h index 2bb5418c17bb02592015e304bc5d3caef991bd0d..600850e03d4f88aa57eaad2ea73ece2b962672df 100644 --- a/src/core/support/file.h +++ b/src/core/support/file.h @@ -58,4 +58,4 @@ FILE *gpr_tmpfile(const char *prefix, char **tmp_filename); } #endif -#endif /* __GRPC_SUPPORT_FILE_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_FILE_H__ */ diff --git a/src/core/support/file_posix.c b/src/core/support/file_posix.c index 612a101d3d07de4b2e77d7ee7371d36a03d24d5b..11a459ad364b99f1174eac112f8f719bd7c3cd0a 100644 --- a/src/core/support/file_posix.c +++ b/src/core/support/file_posix.c @@ -81,4 +81,4 @@ end: return result; } -#endif /* GPR_POSIX_FILE */ \ No newline at end of file +#endif /* GPR_POSIX_FILE */ diff --git a/src/core/support/file_win32.c b/src/core/support/file_win32.c index d36a3af203e97107aa8c6ca3e9fc20e42d9e763b..fe209af9b2dc5c0e978ec788c0cb40beb55b6fb5 100644 --- a/src/core/support/file_win32.c +++ b/src/core/support/file_win32.c @@ -80,4 +80,4 @@ end: return result; } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/histogram.c b/src/core/support/histogram.c index 47f763f3866aad6fe5536aadd0c1b08b284f859e..eacb77082f971fcbf75ebd552fb67efaf7734c34 100644 --- a/src/core/support/histogram.c +++ b/src/core/support/histogram.c @@ -221,4 +221,4 @@ double gpr_histogram_sum(gpr_histogram *h) { return h->sum; } double gpr_histogram_sum_of_squares(gpr_histogram *h) { return h->sum_of_squares; -} \ No newline at end of file +} diff --git a/src/core/support/host_port.c b/src/core/support/host_port.c index c0e7636518a70dc8309eff567c04da1cfaf0630d..379d30b045628aec4fc106eef7aa9f2b2a136718 100644 --- a/src/core/support/host_port.c +++ b/src/core/support/host_port.c @@ -46,4 +46,4 @@ int gpr_join_host_port(char **out, const char *host, int port) { /* Ordinary non-bracketed host:port. */ return gpr_asprintf(out, "%s:%d", host, port); } -} \ No newline at end of file +} diff --git a/src/core/support/log.c b/src/core/support/log.c index d1b14bbfdbcae1493d668f1f24ae51293bd68467..f52c2035b9c21066f5c6fce8ac73f8805f3fa28b 100644 --- a/src/core/support/log.c +++ b/src/core/support/log.c @@ -62,4 +62,4 @@ void gpr_log_message(const char *file, int line, gpr_log_severity severity, g_log_func(&lfargs); } -void gpr_set_log_function(gpr_log_func f) { g_log_func = f; } \ No newline at end of file +void gpr_set_log_function(gpr_log_func f) { g_log_func = f; } diff --git a/src/core/support/log_android.c b/src/core/support/log_android.c index c2fcd469058378b091fca7201699cd00fd7bc995..5d0c7d820d82d227b2f660d01868694b43bb0967 100644 --- a/src/core/support/log_android.c +++ b/src/core/support/log_android.c @@ -84,4 +84,4 @@ void gpr_default_log(gpr_log_func_args *args) { free(output); } -#endif /* GPR_ANDROID */ \ No newline at end of file +#endif /* GPR_ANDROID */ diff --git a/src/core/support/log_linux.c b/src/core/support/log_linux.c index 72086d514d91d1ceaff5c0efade6b2b815b61a23..48349d2c8316e6ab789a232ae5a75c1f084ad4ca 100644 --- a/src/core/support/log_linux.c +++ b/src/core/support/log_linux.c @@ -95,4 +95,4 @@ void gpr_default_log(gpr_log_func_args *args) { args->message); } -#endif \ No newline at end of file +#endif diff --git a/src/core/support/log_posix.c b/src/core/support/log_posix.c index 40c75989f10615cf418a4f1de289a4a1255379c7..8f85791466db369f32e5ffa98f03da986f067791 100644 --- a/src/core/support/log_posix.c +++ b/src/core/support/log_posix.c @@ -97,4 +97,4 @@ void gpr_default_log(gpr_log_func_args *args) { args->message); } -#endif /* defined(GPR_POSIX_LOG) */ \ No newline at end of file +#endif /* defined(GPR_POSIX_LOG) */ diff --git a/src/core/support/log_win32.c b/src/core/support/log_win32.c index 39ce5c652abb8c21180fc7c069a5942f276ba0b8..cff130ae18d4ba82bc8db6a03d1e60ce55c10ad6 100644 --- a/src/core/support/log_win32.c +++ b/src/core/support/log_win32.c @@ -110,4 +110,4 @@ char *gpr_format_message(DWORD messageid) { return message; } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/murmur_hash.c b/src/core/support/murmur_hash.c index ef7ff7a9afc3e933d0310a09c6a3dc05465aba65..cc84691508fec8d2f80ec3458d06d9c23fc382c3 100644 --- a/src/core/support/murmur_hash.c +++ b/src/core/support/murmur_hash.c @@ -93,4 +93,4 @@ gpr_uint32 gpr_murmur_hash3(const void *key, size_t len, gpr_uint32 seed) { h1 ^= len; FMIX32(h1); return h1; -} \ No newline at end of file +} diff --git a/src/core/support/murmur_hash.h b/src/core/support/murmur_hash.h index 2609ccd4e68d53227b51aae2b9b87fe563c9ec6b..06c0c5607972a72f85aaafe7c7f3647b3348954b 100644 --- a/src/core/support/murmur_hash.h +++ b/src/core/support/murmur_hash.h @@ -41,4 +41,4 @@ /* compute the hash of key (length len) */ gpr_uint32 gpr_murmur_hash3(const void *key, size_t len, gpr_uint32 seed); -#endif /* __GRPC_INTERNAL_SUPPORT_MURMUR_HASH_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SUPPORT_MURMUR_HASH_H__ */ diff --git a/src/core/support/slice.c b/src/core/support/slice.c index de26136f854d83784bfc4e22809a70e0d47fa183..4cff029286c82d4453f9fd29cf5a58089fa7aa9e 100644 --- a/src/core/support/slice.c +++ b/src/core/support/slice.c @@ -322,4 +322,4 @@ int gpr_slice_str_cmp(gpr_slice a, const char *b) { int d = GPR_SLICE_LENGTH(a) - b_length; if (d != 0) return d; return memcmp(GPR_SLICE_START_PTR(a), b, b_length); -} \ No newline at end of file +} diff --git a/src/core/support/slice_buffer.c b/src/core/support/slice_buffer.c index 2560c0ffa6e37dad4c4b50e8425d021d77c7fef4..6cd51f925c3b46b083dddc19ad4d8a3b360b14e5 100644 --- a/src/core/support/slice_buffer.c +++ b/src/core/support/slice_buffer.c @@ -152,4 +152,4 @@ void gpr_slice_buffer_reset_and_unref(gpr_slice_buffer *sb) { sb->count = 0; sb->length = 0; -} \ No newline at end of file +} diff --git a/src/core/support/string.c b/src/core/support/string.c index 634c4ddcafabe0dee47b58f2c2fb389554734195..f3d26b45acf8edc2d1cb0fb819485ad2db814a29 100644 --- a/src/core/support/string.c +++ b/src/core/support/string.c @@ -197,4 +197,4 @@ void gpr_strvec_add(gpr_strvec *sv, char *str) { char *gpr_strvec_flatten(gpr_strvec *sv, size_t *final_length) { return gpr_strjoin((const char**)sv->strs, sv->count, final_length); -} \ No newline at end of file +} diff --git a/src/core/support/string.h b/src/core/support/string.h index 19cf8a0f6f8f7dc4d265b8c93c80fa2333adc514..eaa182643927e1b27d694aec389db649121d89d9 100644 --- a/src/core/support/string.h +++ b/src/core/support/string.h @@ -106,4 +106,4 @@ char *gpr_strvec_flatten(gpr_strvec *strs, size_t *total_length); } #endif -#endif /* __GRPC_SUPPORT_STRING_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_STRING_H__ */ diff --git a/src/core/support/string_posix.c b/src/core/support/string_posix.c index 32f1137dfe4aa46b0802f91e389a63a267432bbf..8a678b3103d0e951e6d60a16643550cba37164c6 100644 --- a/src/core/support/string_posix.c +++ b/src/core/support/string_posix.c @@ -83,4 +83,4 @@ int gpr_asprintf(char **strp, const char *format, ...) { return -1; } -#endif /* GPR_POSIX_STRING */ \ No newline at end of file +#endif /* GPR_POSIX_STRING */ diff --git a/src/core/support/string_win32.c b/src/core/support/string_win32.c index b853f25880dcaee74319709e01a314d170ae8685..583abd27d82f587e41eda2dae451bf5431670371 100644 --- a/src/core/support/string_win32.c +++ b/src/core/support/string_win32.c @@ -107,4 +107,4 @@ char *gpr_char_to_tchar(LPTSTR input) { } #endif -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/string_win32.h b/src/core/support/string_win32.h index ab3fe87fb4fdc3531e1c1ad21a96353070ee79c6..5dbb40dbc3b5afc13f1d2901cd0aeaa7345e14b5 100644 --- a/src/core/support/string_win32.h +++ b/src/core/support/string_win32.h @@ -46,4 +46,4 @@ LPSTR gpr_tchar_to_char(LPCTSTR input); #endif /* GPR_WIN32 */ -#endif /* __GRPC_SUPPORT_STRING_WIN32_H__ */ \ No newline at end of file +#endif /* __GRPC_SUPPORT_STRING_WIN32_H__ */ diff --git a/src/core/support/sync.c b/src/core/support/sync.c index 6d8119769deea1c8f124a927d654ff0eb24a4274..1a5cf57c4f28f7f2018370f127c65d89160a709b 100644 --- a/src/core/support/sync.c +++ b/src/core/support/sync.c @@ -132,4 +132,4 @@ void gpr_stats_inc(gpr_stats_counter *c, gpr_intptr inc) { gpr_intptr gpr_stats_read(const gpr_stats_counter *c) { /* don't need acquire-load, but we have no no-barrier load yet */ return gpr_atm_acq_load(&c->value); -} \ No newline at end of file +} diff --git a/src/core/support/sync_posix.c b/src/core/support/sync_posix.c index 9a9a5ed7d631ce8c6a54df82887abacf1544975e..0ccbd4923f8cb7f858ab6b72dc87d1b5c7ab7202 100644 --- a/src/core/support/sync_posix.c +++ b/src/core/support/sync_posix.c @@ -87,4 +87,4 @@ void gpr_once_init(gpr_once *once, void (*init_function)(void)) { GPR_ASSERT(pthread_once(once, init_function) == 0); } -#endif /* GRP_POSIX_SYNC */ \ No newline at end of file +#endif /* GRP_POSIX_SYNC */ diff --git a/src/core/support/sync_win32.c b/src/core/support/sync_win32.c index a00df07b988c162dfb45e2efaa8fe2329c404faa..c9a977cc80eed9f757f19274ed28d3dc7919204a 100644 --- a/src/core/support/sync_win32.c +++ b/src/core/support/sync_win32.c @@ -126,4 +126,4 @@ void gpr_once_init(gpr_once *once, void (*init_function)(void)) { InitOnceExecuteOnce(once, run_once_func, &arg, &dummy); } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/thd_internal.h b/src/core/support/thd_internal.h index 4358692a973d53d0b75d343a708614064c1c8f88..0fb1447e488013945618d5a9de6d46b914a0a8ec 100644 --- a/src/core/support/thd_internal.h +++ b/src/core/support/thd_internal.h @@ -36,4 +36,4 @@ /* Internal interfaces between modules within the gpr support library. */ -#endif /* __GRPC_INTERNAL_SUPPORT_THD_INTERNAL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SUPPORT_THD_INTERNAL_H__ */ diff --git a/src/core/support/thd_posix.c b/src/core/support/thd_posix.c index ad015a88f9d232eb132f92c5dac64ef120437b0a..f50ea583357169bb78841295dc8a86070f2ce2b4 100644 --- a/src/core/support/thd_posix.c +++ b/src/core/support/thd_posix.c @@ -88,4 +88,4 @@ gpr_thd_id gpr_thd_currentid(void) { return (gpr_thd_id)pthread_self(); } -#endif /* GPR_POSIX_SYNC */ \ No newline at end of file +#endif /* GPR_POSIX_SYNC */ diff --git a/src/core/support/thd_win32.c b/src/core/support/thd_win32.c index e50086c51ff561581d550c79fffeda929c958c6b..347cad57e3ad1abcd653dbedb1029997e42c6070 100644 --- a/src/core/support/thd_win32.c +++ b/src/core/support/thd_win32.c @@ -83,4 +83,4 @@ gpr_thd_id gpr_thd_currentid(void) { return (gpr_thd_id)GetCurrentThreadId(); } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/support/time.c b/src/core/support/time.c index bb67c7e836bf6ae454e299428b7179933f777986..67f76656502982daa308c017894d602d01619f60 100644 --- a/src/core/support/time.c +++ b/src/core/support/time.c @@ -251,4 +251,4 @@ gpr_int32 gpr_time_to_millis(gpr_timespec t) { double gpr_timespec_to_micros(gpr_timespec t) { return t.tv_sec * GPR_US_PER_SEC + t.tv_nsec * 1e-3; -} \ No newline at end of file +} diff --git a/src/core/support/time_posix.c b/src/core/support/time_posix.c index 314daa8ac0e9436e15f8dcc401e0cda2f11cbd68..3675f1eb229dfc85eb1ecfc7fb940bc6e6aa298c 100644 --- a/src/core/support/time_posix.c +++ b/src/core/support/time_posix.c @@ -96,4 +96,4 @@ void gpr_sleep_until(gpr_timespec until) { } } -#endif /* GPR_POSIX_TIME */ \ No newline at end of file +#endif /* GPR_POSIX_TIME */ diff --git a/src/core/support/time_win32.c b/src/core/support/time_win32.c index 5ee69cbb961d29961e12e5e8a05dc99024ba0d13..8256849655814d86a5bce846aec325a2211837bc 100644 --- a/src/core/support/time_win32.c +++ b/src/core/support/time_win32.c @@ -49,4 +49,4 @@ gpr_timespec gpr_now(void) { return now_tv; } -#endif /* GPR_WIN32 */ \ No newline at end of file +#endif /* GPR_WIN32 */ diff --git a/src/core/surface/byte_buffer.c b/src/core/surface/byte_buffer.c index 7466009b8c0f193a2051a892e0ee350f1d19d45a..12244f6644ed10364d087b4120fddd841052c44e 100644 --- a/src/core/surface/byte_buffer.c +++ b/src/core/surface/byte_buffer.c @@ -77,4 +77,4 @@ size_t grpc_byte_buffer_length(grpc_byte_buffer *bb) { } gpr_log(GPR_ERROR, "should never reach here"); abort(); -} \ No newline at end of file +} diff --git a/src/core/surface/byte_buffer_queue.c b/src/core/surface/byte_buffer_queue.c index 1541a4b3b9f78dc9ea759651a315bba1cc0262e9..7c31bfe5da2176e2d502512d59faf60859e11cb5 100644 --- a/src/core/surface/byte_buffer_queue.c +++ b/src/core/surface/byte_buffer_queue.c @@ -88,4 +88,4 @@ grpc_byte_buffer *grpc_bbq_pop(grpc_byte_buffer_queue *q) { } return q->draining.data[q->drain_pos++]; -} \ No newline at end of file +} diff --git a/src/core/surface/byte_buffer_queue.h b/src/core/surface/byte_buffer_queue.h index f3f58b698d84b2aa91542c36664b1a509973f57a..9d3b5257a7af8b799049bcf416e7b6b522e1caaa 100644 --- a/src/core/surface/byte_buffer_queue.h +++ b/src/core/surface/byte_buffer_queue.h @@ -57,4 +57,4 @@ void grpc_bbq_flush(grpc_byte_buffer_queue *q); int grpc_bbq_empty(grpc_byte_buffer_queue *q); void grpc_bbq_push(grpc_byte_buffer_queue *q, grpc_byte_buffer *bb); -#endif /* __GRPC_INTERNAL_SURFACE_BYTE_BUFFER_QUEUE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_BYTE_BUFFER_QUEUE_H__ */ diff --git a/src/core/surface/byte_buffer_reader.c b/src/core/surface/byte_buffer_reader.c index 7582cb610ef0300dfffcfac06122c8ee30537111..fd5289bac3827b42884a1aef834cc267c0847eeb 100644 --- a/src/core/surface/byte_buffer_reader.c +++ b/src/core/surface/byte_buffer_reader.c @@ -71,4 +71,4 @@ int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader) { free(reader); -} \ No newline at end of file +} diff --git a/src/core/surface/call.c b/src/core/surface/call.c index a08a8b890502aba09c536bb69a06496ff4e02f97..89a6ba63b274e3669f9ca9b87153355a5a43ffd1 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -1401,4 +1401,4 @@ grpc_call_error grpc_call_start_write_status_old(grpc_call *call, unlock(call); return err; -} \ No newline at end of file +} diff --git a/src/core/surface/call.h b/src/core/surface/call.h index 270b14f486a2495330c4d96f9d0fd9561a5664c4..dd3ad124e6da53b64d5ef838bee70c3fc10dcf11 100644 --- a/src/core/surface/call.h +++ b/src/core/surface/call.h @@ -119,4 +119,4 @@ grpc_call_stack *grpc_call_get_call_stack(grpc_call *call); /* Given the top call_element, get the call object. */ grpc_call *grpc_call_from_top_element(grpc_call_element *surface_element); -#endif /* __GRPC_INTERNAL_SURFACE_CALL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_CALL_H__ */ diff --git a/src/core/surface/channel.c b/src/core/surface/channel.c index 9dc2854969130f01974654b0cde9d25dd3944f4d..e308c60410fde73db8f5601314a4f777cb53c8d4 100644 --- a/src/core/surface/channel.c +++ b/src/core/surface/channel.c @@ -193,4 +193,4 @@ grpc_mdstr *grpc_channel_get_status_string(grpc_channel *channel) { grpc_mdstr *grpc_channel_get_message_string(grpc_channel *channel) { return channel->grpc_message_string; -} \ No newline at end of file +} diff --git a/src/core/surface/channel.h b/src/core/surface/channel.h index 0e6276ab585196d356a68a956bc538585f212504..6bdfd474d2eb97b290e0fd9cf67f307eab7f3d64 100644 --- a/src/core/surface/channel.h +++ b/src/core/surface/channel.h @@ -50,4 +50,4 @@ void grpc_client_channel_closed(grpc_channel_element *elem); void grpc_channel_internal_ref(grpc_channel *channel); void grpc_channel_internal_unref(grpc_channel *channel); -#endif /* __GRPC_INTERNAL_SURFACE_CHANNEL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_CHANNEL_H__ */ diff --git a/src/core/surface/channel_create.c b/src/core/surface/channel_create.c index 85464d56f997cfcdd0d74d00c7e33b4e266fa2a2..7a5f62ed53e09b3d933aaf0465bff4dfee2d4d95 100644 --- a/src/core/surface/channel_create.c +++ b/src/core/surface/channel_create.c @@ -209,4 +209,4 @@ grpc_channel *grpc_channel_create(const char *target, s); return channel; -} \ No newline at end of file +} diff --git a/src/core/surface/client.c b/src/core/surface/client.c index 7a63b518fa32d9a9e7a72caff89529b15fff0ba0..4d54865d1671b3ddcf5e2704b6d553de6788286a 100644 --- a/src/core/surface/client.c +++ b/src/core/surface/client.c @@ -116,4 +116,4 @@ static void destroy_channel_elem(grpc_channel_element *elem) {} const grpc_channel_filter grpc_client_surface_filter = { call_op, channel_op, sizeof(call_data), init_call_elem, destroy_call_elem, sizeof(channel_data), - init_channel_elem, destroy_channel_elem, "client", }; \ No newline at end of file + init_channel_elem, destroy_channel_elem, "client", }; diff --git a/src/core/surface/client.h b/src/core/surface/client.h index 8763441acd64abd739d6344735d551d3761ad333..06ce8f66567202804eceebb319e0c05089b9330a 100644 --- a/src/core/surface/client.h +++ b/src/core/surface/client.h @@ -38,4 +38,4 @@ extern const grpc_channel_filter grpc_client_surface_filter; -#endif /* __GRPC_INTERNAL_SURFACE_CLIENT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_CLIENT_H__ */ diff --git a/src/core/surface/completion_queue.c b/src/core/surface/completion_queue.c index f8538bf44f506ed7fd60912ba8e3ded5387a1620..2efc084d7b3a967f718d2a2b824b64e80c263c93 100644 --- a/src/core/surface/completion_queue.c +++ b/src/core/surface/completion_queue.c @@ -421,4 +421,4 @@ void grpc_cq_dump_pending_ops(grpc_completion_queue *cc) { grpc_pollset *grpc_cq_pollset(grpc_completion_queue *cc) { return &cc->pollset; -} \ No newline at end of file +} diff --git a/src/core/surface/completion_queue.h b/src/core/surface/completion_queue.h index d5f24822785b3149df7ac7ec5bc97f3b20904c59..a7688b844c6d79ea953aa94a56ff8f7b7dae0819 100644 --- a/src/core/surface/completion_queue.h +++ b/src/core/surface/completion_queue.h @@ -114,4 +114,4 @@ void grpc_cq_dump_pending_ops(grpc_completion_queue *cc); grpc_pollset *grpc_cq_pollset(grpc_completion_queue *cc); -#endif /* __GRPC_INTERNAL_SURFACE_COMPLETION_QUEUE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_COMPLETION_QUEUE_H__ */ diff --git a/src/core/surface/event_string.c b/src/core/surface/event_string.c index 8a3be6ced55cb13476af458855f80d0d52d53a3c..0fa3f166e2c56024579b4b8e1e14d23293e96434 100644 --- a/src/core/surface/event_string.c +++ b/src/core/surface/event_string.c @@ -134,4 +134,4 @@ char *grpc_event_string(grpc_event *ev) { out = gpr_strvec_flatten(&buf, NULL); gpr_strvec_destroy(&buf); return out; -} \ No newline at end of file +} diff --git a/src/core/surface/event_string.h b/src/core/surface/event_string.h index 56c32e6037ffac1829c345d721a0bded5c847b3c..d9b1e4e0747b1ff20ee1c0d8dfa6ae453c1f8be0 100644 --- a/src/core/surface/event_string.h +++ b/src/core/surface/event_string.h @@ -39,4 +39,4 @@ /* Returns a string describing an event. Must be later freed with gpr_free() */ char *grpc_event_string(grpc_event *ev); -#endif /* __GRPC_INTERNAL_SURFACE_EVENT_STRING_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_EVENT_STRING_H__ */ diff --git a/src/core/surface/lame_client.c b/src/core/surface/lame_client.c index c91936fe4a2b70bd799e21a8eadd0ff6a955fd6e..57f6ddf0f7ff6bca8b82e02946dd7cbb8a3e1bb9 100644 --- a/src/core/surface/lame_client.c +++ b/src/core/surface/lame_client.c @@ -122,4 +122,4 @@ grpc_channel *grpc_lame_client_channel_create(void) { static const grpc_channel_filter *filters[] = {&lame_filter}; return grpc_channel_create_from_filters(filters, 1, NULL, grpc_mdctx_create(), 1); -} \ No newline at end of file +} diff --git a/src/core/surface/lame_client.h b/src/core/surface/lame_client.h index dae939586dadf72f7dc87a88c1681393892bdf7b..2bd97b95eb188c257a56ffb28420f61d32c7cbb8 100644 --- a/src/core/surface/lame_client.h +++ b/src/core/surface/lame_client.h @@ -39,4 +39,4 @@ /* Create a lame client: this client fails every operation attempted on it. */ grpc_channel *grpc_lame_client_channel_create(void); -#endif /* __GRPC_INTERNAL_SURFACE_LAME_CLIENT_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_LAME_CLIENT_H_ */ diff --git a/src/core/surface/secure_channel_create.c b/src/core/surface/secure_channel_create.c index 14090883eb51fcef8b8eddf3ce56b20cd977918e..c6968f4b24be8110a302820ac2c49aa57f3d6dc1 100644 --- a/src/core/surface/secure_channel_create.c +++ b/src/core/surface/secure_channel_create.c @@ -237,4 +237,4 @@ grpc_channel *grpc_secure_channel_create_internal( args, mdctx, initiate_setup, done_setup, s); return channel; -} \ No newline at end of file +} diff --git a/src/core/surface/secure_server_create.c b/src/core/surface/secure_server_create.c index 5c402b05969f68ede48667b15609ff4b89d76d2b..1d5b9279977cbe2bd40da3082905b564d5ef9eaa 100644 --- a/src/core/surface/secure_server_create.c +++ b/src/core/surface/secure_server_create.c @@ -54,4 +54,4 @@ grpc_server *grpc_secure_server_create_internal( server = grpc_server_create_from_filters(cq, NULL, 0, args_copy); grpc_channel_args_destroy(args_copy); return server; -} \ No newline at end of file +} diff --git a/src/core/surface/server.c b/src/core/surface/server.c index c90e27008c6bf0acc446e98df57f0964532199a8..a95215c5de99fff7521389209a1731d0896f22d9 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -1124,4 +1124,4 @@ static void publish_registered_or_batch(grpc_call *call, grpc_op_error status, const grpc_channel_args *grpc_server_get_channel_args(grpc_server *server) { return server->channel_args; -} \ No newline at end of file +} diff --git a/src/core/surface/server.h b/src/core/surface/server.h index fd9761bb39677de8474c8a19e36257c5c824485d..5ae59b22554fc4c0c16e93209f8309cdbc877efc 100644 --- a/src/core/surface/server.h +++ b/src/core/surface/server.h @@ -60,4 +60,4 @@ grpc_transport_setup_result grpc_server_setup_transport( const grpc_channel_args *grpc_server_get_channel_args(grpc_server *server); -#endif /* __GRPC_INTERNAL_SURFACE_SERVER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_SERVER_H__ */ diff --git a/src/core/surface/server_chttp2.c b/src/core/surface/server_chttp2.c index c18fc90aa1425a8781c108ed5f29c8e5973959bc..fd702593b89dfdcef593f5061003ef21320070ce 100644 --- a/src/core/surface/server_chttp2.c +++ b/src/core/surface/server_chttp2.c @@ -127,4 +127,4 @@ error: grpc_tcp_server_destroy(tcp); } return 0; -} \ No newline at end of file +} diff --git a/src/core/surface/server_create.c b/src/core/surface/server_create.c index af427ac19d664e5d45353609fab59bef67bf361b..f629c7c72de87ea3d48fd22d59877241633a79df 100644 --- a/src/core/surface/server_create.c +++ b/src/core/surface/server_create.c @@ -38,4 +38,4 @@ grpc_server *grpc_server_create(grpc_completion_queue *cq, const grpc_channel_args *args) { return grpc_server_create_from_filters(cq, NULL, 0, args); -} \ No newline at end of file +} diff --git a/src/core/surface/surface_trace.h b/src/core/surface/surface_trace.h index e65c05f39650375674f9a7c60058ab45d5dfe3f5..f998de1ad6aaf8da4f9da41f8f7793b3070c397e 100644 --- a/src/core/surface/surface_trace.h +++ b/src/core/surface/surface_trace.h @@ -51,4 +51,4 @@ } while (0) #endif -#endif /* __GRPC_INTERNAL_SURFACE_SURFACE_TRACE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_SURFACE_SURFACE_TRACE_H__ */ diff --git a/src/core/transport/chttp2/alpn.c b/src/core/transport/chttp2/alpn.c index d436b655846384e1816c298c6b32a51eeeafe37e..11901a58a060f601ea096d00f3ef8594e0b16d66 100644 --- a/src/core/transport/chttp2/alpn.c +++ b/src/core/transport/chttp2/alpn.c @@ -53,4 +53,4 @@ size_t grpc_chttp2_num_alpn_versions(void) { const char *grpc_chttp2_get_alpn_version_index(size_t i) { GPR_ASSERT(i < GPR_ARRAY_SIZE(supported_versions)); return supported_versions[i]; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/alpn.h b/src/core/transport/chttp2/alpn.h index b7b5f4fe0c4fa6df91497e120f5c3ec6345955f4..796f514f19ed918fff38cb47f913c388621644bd 100644 --- a/src/core/transport/chttp2/alpn.h +++ b/src/core/transport/chttp2/alpn.h @@ -46,4 +46,4 @@ size_t grpc_chttp2_num_alpn_versions(void); * grpc_chttp2_num_alpn_versions()) */ const char *grpc_chttp2_get_alpn_version_index(size_t i); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_ALPN_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_ALPN_H_ */ diff --git a/src/core/transport/chttp2/bin_encoder.c b/src/core/transport/chttp2/bin_encoder.c index bd0a0ff8a693b658a7d9b431c23cde3a5d0f25ba..f5ca6c4e50620796f8837edf72e0fc15e00fb63c 100644 --- a/src/core/transport/chttp2/bin_encoder.c +++ b/src/core/transport/chttp2/bin_encoder.c @@ -276,4 +276,4 @@ gpr_slice grpc_chttp2_base64_encode_and_huffman_compress(gpr_slice input) { int grpc_is_binary_header(const char *key, size_t length) { if (length < 5) return 0; return 0 == memcmp(key + length - 4, "-bin", 4); -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/bin_encoder.h b/src/core/transport/chttp2/bin_encoder.h index 221f663e7cfb21d9b60cbf4e086c48e5f619e504..2368fdd738c768ca774b97723be8872428b10408 100644 --- a/src/core/transport/chttp2/bin_encoder.h +++ b/src/core/transport/chttp2/bin_encoder.h @@ -53,4 +53,4 @@ gpr_slice grpc_chttp2_base64_encode_and_huffman_compress(gpr_slice input); int grpc_is_binary_header(const char *key, size_t length); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_BIN_ENCODER_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_BIN_ENCODER_H_ */ diff --git a/src/core/transport/chttp2/frame.h b/src/core/transport/chttp2/frame.h index c76a8dffb8b3d76148d84fff846d1c85a88cf608..733dd5eec48951da1aae5433fa95c67bad1519ea 100644 --- a/src/core/transport/chttp2/frame.h +++ b/src/core/transport/chttp2/frame.h @@ -77,4 +77,4 @@ typedef struct { #define GRPC_CHTTP2_DATA_FLAG_PADDED 8 #define GRPC_CHTTP2_FLAG_HAS_PRIORITY 0x20 -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_H__ */ diff --git a/src/core/transport/chttp2/frame_data.c b/src/core/transport/chttp2/frame_data.c index e6a1b0c30a5329749ff7c1dffa25a44deca22d5d..95c27ad286a1044d2d88900c4e7a486ac989da1d 100644 --- a/src/core/transport/chttp2/frame_data.c +++ b/src/core/transport/chttp2/frame_data.c @@ -160,4 +160,4 @@ grpc_chttp2_parse_error grpc_chttp2_data_parser_parse( gpr_log(GPR_ERROR, "should never reach here"); abort(); return GRPC_CHTTP2_CONNECTION_ERROR; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_data.h b/src/core/transport/chttp2/frame_data.h index 618e22630142a109cb8b5de2641e5d9289f6cc3b..4d05a5f45291e9528957da5f1acca2cc2c9ff679 100644 --- a/src/core/transport/chttp2/frame_data.h +++ b/src/core/transport/chttp2/frame_data.h @@ -77,4 +77,4 @@ grpc_chttp2_parse_error grpc_chttp2_data_parser_parse( /* create a slice with an empty data frame and is_last set */ gpr_slice grpc_chttp2_data_frame_create_empty_close(gpr_uint32 id); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_DATA_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_DATA_H__ */ diff --git a/src/core/transport/chttp2/frame_goaway.c b/src/core/transport/chttp2/frame_goaway.c index b97d6e822e59d319016c618b684b4d23f35d02da..95b75d4fded380dfefd4fdcc6f3eb31d75d5274d 100644 --- a/src/core/transport/chttp2/frame_goaway.c +++ b/src/core/transport/chttp2/frame_goaway.c @@ -186,4 +186,4 @@ void grpc_chttp2_goaway_append(gpr_uint32 last_stream_id, gpr_uint32 error_code, GPR_ASSERT(p == GPR_SLICE_END_PTR(header)); gpr_slice_buffer_add(slice_buffer, header); gpr_slice_buffer_add(slice_buffer, debug_data); -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_goaway.h b/src/core/transport/chttp2/frame_goaway.h index 369bac85db09a73de23f8b83c1308eda4687d9b2..9ccef276346c5053405d2919cf60d67dfa863f3d 100644 --- a/src/core/transport/chttp2/frame_goaway.h +++ b/src/core/transport/chttp2/frame_goaway.h @@ -71,4 +71,4 @@ void grpc_chttp2_goaway_append(gpr_uint32 last_stream_id, gpr_uint32 error_code, gpr_slice debug_data, gpr_slice_buffer *slice_buffer); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_GOAWAY_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_GOAWAY_H_ */ diff --git a/src/core/transport/chttp2/frame_ping.c b/src/core/transport/chttp2/frame_ping.c index 915e70b9d002e5454240a57107af171efc0cebef..26004b3b7c6260b884b4987fec2fd2b9558e85dc 100644 --- a/src/core/transport/chttp2/frame_ping.c +++ b/src/core/transport/chttp2/frame_ping.c @@ -90,4 +90,4 @@ grpc_chttp2_parse_error grpc_chttp2_ping_parser_parse( } return GRPC_CHTTP2_PARSE_OK; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_ping.h b/src/core/transport/chttp2/frame_ping.h index 5e8945f1e390b0b072d0e93136d06e1cef54b7bb..d9d6f7ef15eebefd97bd49dd94aff9e4dd71534b 100644 --- a/src/core/transport/chttp2/frame_ping.h +++ b/src/core/transport/chttp2/frame_ping.h @@ -50,4 +50,4 @@ grpc_chttp2_parse_error grpc_chttp2_ping_parser_begin_frame( grpc_chttp2_parse_error grpc_chttp2_ping_parser_parse( void *parser, grpc_chttp2_parse_state *state, gpr_slice slice, int is_last); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_PING_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_PING_H__ */ diff --git a/src/core/transport/chttp2/frame_rst_stream.c b/src/core/transport/chttp2/frame_rst_stream.c index 742e037c6a988c7ae88c3da31d5f0c00cd77f113..368ca864816a368204273150d4d22917b378c04e 100644 --- a/src/core/transport/chttp2/frame_rst_stream.c +++ b/src/core/transport/chttp2/frame_rst_stream.c @@ -53,4 +53,4 @@ gpr_slice grpc_chttp2_rst_stream_create(gpr_uint32 id, gpr_uint32 code) { *p++ = code; return slice; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_rst_stream.h b/src/core/transport/chttp2/frame_rst_stream.h index 95f6b3d37db1e999340e34605dec857de62a9955..83fc3806eb21b5eaf913949b3d93b2ad2a129614 100644 --- a/src/core/transport/chttp2/frame_rst_stream.h +++ b/src/core/transport/chttp2/frame_rst_stream.h @@ -38,4 +38,4 @@ gpr_slice grpc_chttp2_rst_stream_create(gpr_uint32 stream_id, gpr_uint32 code); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_RST_STREAM_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_RST_STREAM_H__ */ diff --git a/src/core/transport/chttp2/frame_settings.c b/src/core/transport/chttp2/frame_settings.c index a8fd189f7988e7f2b89c48789c0462ed83784e46..06429e220b7f02ea06d19ca7aa02c9ebe8432b9a 100644 --- a/src/core/transport/chttp2/frame_settings.c +++ b/src/core/transport/chttp2/frame_settings.c @@ -225,4 +225,4 @@ grpc_chttp2_parse_error grpc_chttp2_settings_parser_parse( break; } } -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_settings.h b/src/core/transport/chttp2/frame_settings.h index 1d4e5e0398157fe3782b899413d514522d0c653f..6cde2c6e47e7e72a3e24ff459affa58bd2dc3eb3 100644 --- a/src/core/transport/chttp2/frame_settings.h +++ b/src/core/transport/chttp2/frame_settings.h @@ -96,4 +96,4 @@ grpc_chttp2_parse_error grpc_chttp2_settings_parser_begin_frame( grpc_chttp2_parse_error grpc_chttp2_settings_parser_parse( void *parser, grpc_chttp2_parse_state *state, gpr_slice slice, int is_last); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_SETTINGS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_SETTINGS_H__ */ diff --git a/src/core/transport/chttp2/frame_window_update.c b/src/core/transport/chttp2/frame_window_update.c index a0540bba601b72e4f5405f4def6ba32003cdfbef..a8db7d66531f93f18d53b8f381ba5b785d6174c7 100644 --- a/src/core/transport/chttp2/frame_window_update.c +++ b/src/core/transport/chttp2/frame_window_update.c @@ -96,4 +96,4 @@ grpc_chttp2_parse_error grpc_chttp2_window_update_parser_parse( } return GRPC_CHTTP2_PARSE_OK; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/frame_window_update.h b/src/core/transport/chttp2/frame_window_update.h index 132793b644d6e207bfbbbf39ea4088e0b3aa3598..093263db170f6a99b067efe0626c95821e1de640 100644 --- a/src/core/transport/chttp2/frame_window_update.h +++ b/src/core/transport/chttp2/frame_window_update.h @@ -52,4 +52,4 @@ grpc_chttp2_parse_error grpc_chttp2_window_update_parser_begin_frame( grpc_chttp2_parse_error grpc_chttp2_window_update_parser_parse( void *parser, grpc_chttp2_parse_state *state, gpr_slice slice, int is_last); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_WINDOW_UPDATE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_FRAME_WINDOW_UPDATE_H__ */ diff --git a/src/core/transport/chttp2/gen_hpack_tables.c b/src/core/transport/chttp2/gen_hpack_tables.c index ff6f948cc39bd6372ad3711c76ef589fe4c9c119..86b593129b052b873b46c1f2fea36dd558294f66 100644 --- a/src/core/transport/chttp2/gen_hpack_tables.c +++ b/src/core/transport/chttp2/gen_hpack_tables.c @@ -359,4 +359,4 @@ int main(void) { generate_base64_inverse_table(); return 0; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/hpack_parser.c b/src/core/transport/chttp2/hpack_parser.c index 823245b7e290821941a4ba3d1efa4953d34116bc..3fd8f672265a815b50191863818f6947e1790c6d 100644 --- a/src/core/transport/chttp2/hpack_parser.c +++ b/src/core/transport/chttp2/hpack_parser.c @@ -1391,4 +1391,4 @@ grpc_chttp2_parse_error grpc_chttp2_header_parser_parse( parser->is_eof = 0xde; } return GRPC_CHTTP2_PARSE_OK; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/hpack_parser.h b/src/core/transport/chttp2/hpack_parser.h index d81ffce53568469aaaa760e200f037ed4ec55da8..94acc8864f7eb77e47edda2126c0181f4bddf9a5 100644 --- a/src/core/transport/chttp2/hpack_parser.h +++ b/src/core/transport/chttp2/hpack_parser.h @@ -108,4 +108,4 @@ grpc_chttp2_parse_error grpc_chttp2_header_parser_parse( void *hpack_parser, grpc_chttp2_parse_state *state, gpr_slice slice, int is_last); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HPACK_PARSER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HPACK_PARSER_H__ */ diff --git a/src/core/transport/chttp2/hpack_table.c b/src/core/transport/chttp2/hpack_table.c index 5ba9fbff678cd796b14f609c901dd356c5a3a13a..2c0159260f5a79851b6188e9d229ef6a647f4ee0 100644 --- a/src/core/transport/chttp2/hpack_table.c +++ b/src/core/transport/chttp2/hpack_table.c @@ -220,4 +220,4 @@ grpc_chttp2_hptbl_find_result grpc_chttp2_hptbl_find( } return r; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/hpack_table.h b/src/core/transport/chttp2/hpack_table.h index b105b68db8544bd338c2b8893a5cbd11517903a1..ea0fc1d0302281e608fd8c1f31f9a82f78112478 100644 --- a/src/core/transport/chttp2/hpack_table.h +++ b/src/core/transport/chttp2/hpack_table.h @@ -94,4 +94,4 @@ typedef struct { grpc_chttp2_hptbl_find_result grpc_chttp2_hptbl_find( const grpc_chttp2_hptbl *tbl, grpc_mdelem *md); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HPACK_TABLE_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HPACK_TABLE_H__ */ diff --git a/src/core/transport/chttp2/http2_errors.h b/src/core/transport/chttp2/http2_errors.h index b957cd8f6eb7e5cd297c0c4b0493c5e7118d4226..1eecd1754016a63c3e9623cfaedf3320ca6a71e1 100644 --- a/src/core/transport/chttp2/http2_errors.h +++ b/src/core/transport/chttp2/http2_errors.h @@ -53,4 +53,4 @@ typedef enum { GRPC_CHTTP2__ERROR_DO_NOT_USE = -1 } grpc_chttp2_error_code; -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HTTP2_ERRORS_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HTTP2_ERRORS_H__ */ diff --git a/src/core/transport/chttp2/huffsyms.c b/src/core/transport/chttp2/huffsyms.c index cfd3fe8ecb69d00cb476c08f52bbfa5cbf07b1b4..0a926e7e351632f134bab3dae2cffbf0316d1c25 100644 --- a/src/core/transport/chttp2/huffsyms.c +++ b/src/core/transport/chttp2/huffsyms.c @@ -293,4 +293,4 @@ const grpc_chttp2_huffsym grpc_chttp2_huffsyms[GRPC_CHTTP2_NUM_HUFFSYMS] = { {0x7ffffef, 27}, {0x7fffff0, 27}, {0x3ffffee, 26}, - {0x3fffffff, 30}, }; \ No newline at end of file + {0x3fffffff, 30}, }; diff --git a/src/core/transport/chttp2/huffsyms.h b/src/core/transport/chttp2/huffsyms.h index f221b39b9e9329d8e05a379b804c130bfb37bb29..131c4acbebb104e5d206041d413c8fe5c182a864 100644 --- a/src/core/transport/chttp2/huffsyms.h +++ b/src/core/transport/chttp2/huffsyms.h @@ -45,4 +45,4 @@ typedef struct { extern const grpc_chttp2_huffsym grpc_chttp2_huffsyms[GRPC_CHTTP2_NUM_HUFFSYMS]; -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HUFFSYMS_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_HUFFSYMS_H_ */ diff --git a/src/core/transport/chttp2/status_conversion.c b/src/core/transport/chttp2/status_conversion.c index 9c815fa1554e988b03d91795476f076eabe87e91..bf214b017a21bcf3e5194271a697676f7bc09a26 100644 --- a/src/core/transport/chttp2/status_conversion.c +++ b/src/core/transport/chttp2/status_conversion.c @@ -106,4 +106,4 @@ grpc_status_code grpc_chttp2_http2_status_to_grpc_status(int status) { int grpc_chttp2_grpc_status_to_http2_status(grpc_status_code status) { return 200; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/status_conversion.h b/src/core/transport/chttp2/status_conversion.h index 523a50d966be093cb64caf53f17b0d721e6d8cdf..8e2672008cf8ab4da60361d10cfa3fdf5b601ac4 100644 --- a/src/core/transport/chttp2/status_conversion.h +++ b/src/core/transport/chttp2/status_conversion.h @@ -47,4 +47,4 @@ grpc_status_code grpc_chttp2_http2_error_to_grpc_status( grpc_status_code grpc_chttp2_http2_status_to_grpc_status(int status); int grpc_chttp2_grpc_status_to_http2_status(grpc_status_code status); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STATUS_CONVERSION_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STATUS_CONVERSION_H__ */ diff --git a/src/core/transport/chttp2/stream_encoder.c b/src/core/transport/chttp2/stream_encoder.c index 6f73b4955fd2de290f95d643f3bd3fb78cdcf053..79cce553fa72249641c232f33c8ba986e2a8d582 100644 --- a/src/core/transport/chttp2/stream_encoder.c +++ b/src/core/transport/chttp2/stream_encoder.c @@ -601,4 +601,4 @@ void grpc_chttp2_encode(grpc_stream_op *ops, size_t ops_count, int eof, begin_frame(&st, DATA); } finish_frame(&st, 1, eof); -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/stream_encoder.h b/src/core/transport/chttp2/stream_encoder.h index e5b1cb4cff03fe95931b4294a5bc0afd4edb8fdf..a99d61a553fd24e141464b236fc5325b0206eef6 100644 --- a/src/core/transport/chttp2/stream_encoder.h +++ b/src/core/transport/chttp2/stream_encoder.h @@ -90,4 +90,4 @@ void grpc_chttp2_encode(grpc_stream_op *ops, size_t ops_count, int eof, grpc_chttp2_hpack_compressor *compressor, gpr_slice_buffer *output); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STREAM_ENCODER_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STREAM_ENCODER_H__ */ diff --git a/src/core/transport/chttp2/stream_map.c b/src/core/transport/chttp2/stream_map.c index 053dbc3ad26efb93c6bd8c848af8dc5c29960ae3..580e32c582e6af683ba5e2f9db7c80310339d340 100644 --- a/src/core/transport/chttp2/stream_map.c +++ b/src/core/transport/chttp2/stream_map.c @@ -151,4 +151,4 @@ void grpc_chttp2_stream_map_for_each(grpc_chttp2_stream_map *map, f(user_data, map->keys[i], map->values[i]); } } -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/stream_map.h b/src/core/transport/chttp2/stream_map.h index 2d1f4c47a7b304741e9b7026dc0ab9d7225be4fd..3fb91fc88f7021018d07aaea77ca5036486bfc04 100644 --- a/src/core/transport/chttp2/stream_map.h +++ b/src/core/transport/chttp2/stream_map.h @@ -78,4 +78,4 @@ void grpc_chttp2_stream_map_for_each(grpc_chttp2_stream_map *map, void *value), void *user_data); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STREAM_MAP_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_STREAM_MAP_H__ */ diff --git a/src/core/transport/chttp2/timeout_encoding.c b/src/core/transport/chttp2/timeout_encoding.c index d9943503e2bd0a774e893617e771c387edea3a02..33915c4039f3bc51fd8defafb3c318e9ab87da8a 100644 --- a/src/core/transport/chttp2/timeout_encoding.c +++ b/src/core/transport/chttp2/timeout_encoding.c @@ -181,4 +181,4 @@ int grpc_chttp2_decode_timeout(const char *buffer, gpr_timespec *timeout) { } p++; return is_all_whitespace(p); -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/timeout_encoding.h b/src/core/transport/chttp2/timeout_encoding.h index 5028d33237bea240db845cf675420b7ab05e51f1..2bef8ba67f5a23fdb3a504c5856cf7c768e93acd 100644 --- a/src/core/transport/chttp2/timeout_encoding.h +++ b/src/core/transport/chttp2/timeout_encoding.h @@ -44,4 +44,4 @@ void grpc_chttp2_encode_timeout(gpr_timespec timeout, char *buffer); int grpc_chttp2_decode_timeout(const char *buffer, gpr_timespec *timeout); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_TIMEOUT_ENCODING_H_ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_TIMEOUT_ENCODING_H_ */ diff --git a/src/core/transport/chttp2/varint.c b/src/core/transport/chttp2/varint.c index 2efef951ed459e5587a6d49d566c046eeae9f4ae..0722c9ada9baa5579ce1bb3600016a5eb0f0a2d8 100644 --- a/src/core/transport/chttp2/varint.c +++ b/src/core/transport/chttp2/varint.c @@ -62,4 +62,4 @@ void grpc_chttp2_hpack_write_varint_tail(gpr_uint32 tail_value, target[0] = (gpr_uint8)((tail_value) | 0x80); } target[tail_length - 1] &= 0x7f; -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2/varint.h b/src/core/transport/chttp2/varint.h index 60ce84dc412d83725850e68b88813e3ebd5b2fae..8c353c66a725ea03729dd4d2a98162632e8b49e4 100644 --- a/src/core/transport/chttp2/varint.h +++ b/src/core/transport/chttp2/varint.h @@ -71,4 +71,4 @@ void grpc_chttp2_hpack_write_varint_tail(gpr_uint32 tail_value, } \ } while (0) -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_VARINT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_VARINT_H__ */ diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 9d41671b3c4be0ca9a8c628d7bb1878c49b753ca..551ae27e613c3dd582b79b5e2e02576f3aa8c8be 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -1770,4 +1770,4 @@ void grpc_create_chttp2_transport(grpc_transport_setup_callback setup, transport *t = gpr_malloc(sizeof(transport)); init_transport(t, setup, arg, channel_args, ep, slices, nslices, mdctx, is_client); -} \ No newline at end of file +} diff --git a/src/core/transport/chttp2_transport.h b/src/core/transport/chttp2_transport.h index 18edcd2919d6510c3caf7aa700c9b8c454d1f865..6fbc5961a1d2505ba0a1bb8887d85cc9c4602b3b 100644 --- a/src/core/transport/chttp2_transport.h +++ b/src/core/transport/chttp2_transport.h @@ -44,4 +44,4 @@ void grpc_create_chttp2_transport(grpc_transport_setup_callback setup, size_t nslices, grpc_mdctx *metadata_context, int is_client); -#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_TRANSPORT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_CHTTP2_TRANSPORT_H__ */ diff --git a/src/core/transport/metadata.c b/src/core/transport/metadata.c index 0f999a1d48f49f5c34fcbf1f9e248505181dd4f0..3dc23e7de239ea5f255f81dd370ac1f89e2c3958 100644 --- a/src/core/transport/metadata.c +++ b/src/core/transport/metadata.c @@ -544,4 +544,4 @@ gpr_slice grpc_mdstr_as_base64_encoded_and_huffman_compressed(grpc_mdstr *gs) { slice = s->base64_and_huffman; unlock(ctx); return slice; -} \ No newline at end of file +} diff --git a/src/core/transport/metadata.h b/src/core/transport/metadata.h index bc6839cd47054143cfabc238ab29dea84e10f0d1..430cae6847c6196589ecdf4e97c9a978e1a14943 100644 --- a/src/core/transport/metadata.h +++ b/src/core/transport/metadata.h @@ -136,4 +136,4 @@ const char *grpc_mdstr_as_c_string(grpc_mdstr *s); #define GRPC_MDSTR_KV_HASH(k_hash, v_hash) (GPR_ROTL((k_hash), 2) ^ (v_hash)) -#endif /* __GRPC_INTERNAL_TRANSPORT_METADATA_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_METADATA_H__ */ diff --git a/src/core/transport/stream_op.c b/src/core/transport/stream_op.c index f494292070d9d02b1a4431c88de978d0f1c75a34..c30e3a27f1d5ff435602ff766d5d14a3fd2d2319 100644 --- a/src/core/transport/stream_op.c +++ b/src/core/transport/stream_op.c @@ -170,4 +170,4 @@ void grpc_sopb_append(grpc_stream_op_buffer *sopb, grpc_stream_op *ops, memcpy(sopb->ops + orig_nops, ops, sizeof(grpc_stream_op) * nops); sopb->nops = new_nops; -} \ No newline at end of file +} diff --git a/src/core/transport/stream_op.h b/src/core/transport/stream_op.h index eadbfe0c32dc96d0e1d365005ca7add330ff4722..828a7f7226f36c921fbbf41a70e94c56d2779509 100644 --- a/src/core/transport/stream_op.h +++ b/src/core/transport/stream_op.h @@ -131,4 +131,4 @@ void grpc_sopb_add_flow_ctl_cb(grpc_stream_op_buffer *sopb, void grpc_sopb_append(grpc_stream_op_buffer *sopb, grpc_stream_op *ops, size_t nops); -#endif /* __GRPC_INTERNAL_TRANSPORT_STREAM_OP_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_STREAM_OP_H__ */ diff --git a/src/core/transport/transport.c b/src/core/transport/transport.c index cfd203a1f61a758e9910c5b2303880e148ad2122..ef0020dc58b665b5a34c2259c34e5d4bd62b1af7 100644 --- a/src/core/transport/transport.c +++ b/src/core/transport/transport.c @@ -92,4 +92,4 @@ void grpc_transport_setup_cancel(grpc_transport_setup *setup) { void grpc_transport_setup_initiate(grpc_transport_setup *setup) { setup->vtable->initiate(setup); -} \ No newline at end of file +} diff --git a/src/core/transport/transport.h b/src/core/transport/transport.h index 52a91f2ba781f6ff66160cf06a3b9820a5d992c7..60193b1844cfcea8af5f75480c266b5323a10a74 100644 --- a/src/core/transport/transport.h +++ b/src/core/transport/transport.h @@ -254,4 +254,4 @@ void grpc_transport_setup_initiate(grpc_transport_setup *setup); used as a destruction call by setup). */ void grpc_transport_setup_cancel(grpc_transport_setup *setup); -#endif /* __GRPC_INTERNAL_TRANSPORT_TRANSPORT_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_TRANSPORT_H__ */ diff --git a/src/core/transport/transport_impl.h b/src/core/transport/transport_impl.h index c807c4a19a42bf5b51875eb4d17c95b721be81b5..d1e0b1920ea33671747e02f21f440ed547871cf8 100644 --- a/src/core/transport/transport_impl.h +++ b/src/core/transport/transport_impl.h @@ -84,4 +84,4 @@ struct grpc_transport { const grpc_transport_vtable *vtable; }; -#endif /* __GRPC_INTERNAL_TRANSPORT_TRANSPORT_IMPL_H__ */ \ No newline at end of file +#endif /* __GRPC_INTERNAL_TRANSPORT_TRANSPORT_IMPL_H__ */ diff --git a/src/core/tsi/fake_transport_security.c b/src/core/tsi/fake_transport_security.c index dbe5ef5bafa341e2bc6a34bfe8f1ad52b2c4eb98..e8af200284ae2cb1daaea6be09cab3c0e9c2cdf6 100644 --- a/src/core/tsi/fake_transport_security.c +++ b/src/core/tsi/fake_transport_security.c @@ -511,4 +511,4 @@ tsi_frame_protector* tsi_create_fake_protector( : *max_protected_frame_size; impl->base.vtable = &frame_protector_vtable; return &impl->base; -} \ No newline at end of file +} diff --git a/src/core/tsi/fake_transport_security.h b/src/core/tsi/fake_transport_security.h index 37076bb8721ce4a7c28552c9a08ba725d8255dcc..36e62bce3dad899b5643a4fd22909fca5402fc11 100644 --- a/src/core/tsi/fake_transport_security.h +++ b/src/core/tsi/fake_transport_security.h @@ -58,4 +58,4 @@ tsi_frame_protector* tsi_create_fake_protector( } #endif -#endif /* __FAKE_TRANSPORT_SECURITY_H_ */ \ No newline at end of file +#endif /* __FAKE_TRANSPORT_SECURITY_H_ */ diff --git a/src/core/tsi/ssl_transport_security.c b/src/core/tsi/ssl_transport_security.c index 0a3739910f5eb3b04ae021df4090c369b51d00c0..2e59275ff80d55709ee2d0d82bbce5e3588b7244 100644 --- a/src/core/tsi/ssl_transport_security.c +++ b/src/core/tsi/ssl_transport_security.c @@ -1313,4 +1313,4 @@ int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name) { } } return 0; /* Not found. */ -} \ No newline at end of file +} diff --git a/src/core/tsi/ssl_transport_security.h b/src/core/tsi/ssl_transport_security.h index 4ddff5805506455cb3f6a6da92907bd0e8883e4d..3c1c4c01a2add9788266520ed415e463eb8d7395 100644 --- a/src/core/tsi/ssl_transport_security.h +++ b/src/core/tsi/ssl_transport_security.h @@ -165,4 +165,4 @@ int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name); } #endif -#endif /* __SSL_TRANSPORT_SECURITY_H_ */ \ No newline at end of file +#endif /* __SSL_TRANSPORT_SECURITY_H_ */ diff --git a/src/core/tsi/transport_security.c b/src/core/tsi/transport_security.c index da7e13eec8947ca56188ae0e2acd8d30b2d043c5..aeb9b3fc17d3779446a44724212cccf306ed5604 100644 --- a/src/core/tsi/transport_security.c +++ b/src/core/tsi/transport_security.c @@ -358,4 +358,4 @@ tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer) { peer->property_count = property_count; } return TSI_OK; -} \ No newline at end of file +} diff --git a/src/core/tsi/transport_security.h b/src/core/tsi/transport_security.h index 28f60aa1a7586c9a155991d2e969fda92a05cfb5..432da0734631b8d1798e2ce01320c7f56ea8f9ef 100644 --- a/src/core/tsi/transport_security.h +++ b/src/core/tsi/transport_security.h @@ -115,4 +115,4 @@ char* tsi_strdup(const char* src); /* Sadly, no strdup in C89. */ } #endif -#endif /* __TRANSPORT_SECURITY_H_ */ \ No newline at end of file +#endif /* __TRANSPORT_SECURITY_H_ */ diff --git a/src/core/tsi/transport_security_interface.h b/src/core/tsi/transport_security_interface.h index 5dd4a59898189aa0ca2227f16d52325cdfd5aaa3..90e119ca8e4b224b88b8e6ded56926dfc6c61529 100644 --- a/src/core/tsi/transport_security_interface.h +++ b/src/core/tsi/transport_security_interface.h @@ -361,4 +361,4 @@ void tsi_handshaker_destroy(tsi_handshaker* self); } #endif -#endif /* __TRANSPORT_SECURITY_INTERFACE_H_ */ \ No newline at end of file +#endif /* __TRANSPORT_SECURITY_INTERFACE_H_ */ diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc index 9a8ee15fdd354bdd8c491ffb3bac71a0104fd4b0..ca69d66cbbfcf541e7e0bdfde03b77052c74d929 100644 --- a/src/cpp/client/channel.cc +++ b/src/cpp/client/channel.cc @@ -99,4 +99,4 @@ void Channel::PerformOpsOnCall(CallOpBuffer *buf, Call *call) { grpc_call_start_batch(call->call(), ops, nops, buf)); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/channel.h b/src/cpp/client/channel.h index 46da754d8c2229ec5717ea0bf920d4a61aee5431..06f5a8ffdfe7052767aa508c9685fad7b9eb1691 100644 --- a/src/cpp/client/channel.h +++ b/src/cpp/client/channel.h @@ -68,4 +68,4 @@ class Channel final : public ChannelInterface { } // namespace grpc -#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__ \ No newline at end of file +#endif // __GRPCPP_INTERNAL_CLIENT_CHANNEL_H__ diff --git a/src/cpp/client/channel_arguments.cc b/src/cpp/client/channel_arguments.cc index a8c71b61960645312ace0a7029ae437bf12baf9f..abf0fc1c0ad7a44dfb59d619d66c1cdfbadfbd7d 100644 --- a/src/cpp/client/channel_arguments.cc +++ b/src/cpp/client/channel_arguments.cc @@ -79,4 +79,4 @@ void ChannelArguments::SetChannelArgs(grpc_channel_args *channel_args) const { } } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/client_context.cc b/src/cpp/client/client_context.cc index 646c45a963988d127dbbb795d49d93cb9f4b6f8b..80cbdd93accc6498b16fd9007d79a7b5047b13e0 100644 --- a/src/cpp/client/client_context.cc +++ b/src/cpp/client/client_context.cc @@ -81,4 +81,4 @@ void ClientContext::TryCancel() { } } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/client_unary_call.cc b/src/cpp/client/client_unary_call.cc index 4e71492ad00920965a3de6ac550a0251fd94033c..8fdd483474255d5900d77d64f6ca9207efc329ff 100644 --- a/src/cpp/client/client_unary_call.cc +++ b/src/cpp/client/client_unary_call.cc @@ -86,4 +86,4 @@ void AsyncUnaryCall(ChannelInterface *channel, const RpcMethod &method, call.PerformOps(buf); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc index 45502b936172b15c64b4efdc57fe7cf6d7979917..acf51cb90b194c1acff6585a73463e8618b6be63 100644 --- a/src/cpp/client/create_channel.cc +++ b/src/cpp/client/create_channel.cc @@ -50,4 +50,4 @@ std::shared_ptr<ChannelInterface> CreateChannel( const ChannelArguments &args) { return std::shared_ptr<ChannelInterface>(new Channel(target, creds, args)); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/credentials.cc b/src/cpp/client/credentials.cc index 90e278157ee45db871d4b8d559a49127f07c5ad2..66571cad73dc0cc70b9e7e9fb46234fcf9efd231 100644 --- a/src/cpp/client/credentials.cc +++ b/src/cpp/client/credentials.cc @@ -112,4 +112,4 @@ std::unique_ptr<Credentials> CredentialsFactory::ComposeCredentials( return cpp_creds; } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/client/internal_stub.cc b/src/cpp/client/internal_stub.cc index 53b66b955d353916f4d2b359adfb167e2aea7a4c..91724a4837a2a3f9d4471bf5146026a4a5777132 100644 --- a/src/cpp/client/internal_stub.cc +++ b/src/cpp/client/internal_stub.cc @@ -33,4 +33,4 @@ #include <grpc++/impl/internal_stub.h> -namespace grpc {} // namespace grpc \ No newline at end of file +namespace grpc {} // namespace grpc diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc index b7a6450d2c90c1815e9eeacefedc25c54f87beda..e29c6a053d8d57d9ac1e57d2d1fe56f47b857c68 100644 --- a/src/cpp/common/call.cc +++ b/src/cpp/common/call.cc @@ -283,4 +283,4 @@ void Call::PerformOps(CallOpBuffer* buffer) { call_hook_->PerformOpsOnCall(buffer, this); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/common/completion_queue.cc b/src/cpp/common/completion_queue.cc index f2b75b410ab1699527d39fac4db40ceec4a47620..c7d883d5b0ecc291830b5f834d6f863bb4c620de 100644 --- a/src/cpp/common/completion_queue.cc +++ b/src/cpp/common/completion_queue.cc @@ -82,4 +82,4 @@ bool CompletionQueue::Pluck(CompletionQueueTag *tag) { return ok; } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/common/rpc_method.cc b/src/cpp/common/rpc_method.cc index e536a1b1350067baaeadd9c6e358a056b4fc9d99..1654d4a262cde57ef180c23742ff8e1f2712faae 100644 --- a/src/cpp/common/rpc_method.cc +++ b/src/cpp/common/rpc_method.cc @@ -33,4 +33,4 @@ #include <grpc++/impl/rpc_method.h> -namespace grpc {} // namespace grpc \ No newline at end of file +namespace grpc {} // namespace grpc diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc index 57098b50c42ef3bec7152a71b1ab8a2914bd88ae..69a6bb080e0abed0b637ab443118955528bf9dbb 100644 --- a/src/cpp/proto/proto_utils.cc +++ b/src/cpp/proto/proto_utils.cc @@ -70,4 +70,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer, return msg->ParseFromString(msg_string); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/proto/proto_utils.h b/src/cpp/proto/proto_utils.h index b3b032899035c1dff37a72cbe7748d74e954f70c..834884d579693788fad6f0352ddffe92a2c7dfc9 100644 --- a/src/cpp/proto/proto_utils.h +++ b/src/cpp/proto/proto_utils.h @@ -54,4 +54,4 @@ bool DeserializeProto(grpc_byte_buffer *buffer, google::protobuf::Message *msg); } // namespace grpc -#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__ \ No newline at end of file +#endif // __GRPCPP_INTERNAL_PROTO_PROTO_UTILS_H__ diff --git a/src/cpp/server/async_server_context.cc b/src/cpp/server/async_server_context.cc index 84b083ead64079d2df379e7de5854615ac169de0..5f8c2ba10f4cd5511d0a3216c2d920370f48622f 100644 --- a/src/cpp/server/async_server_context.cc +++ b/src/cpp/server/async_server_context.cc @@ -92,4 +92,4 @@ bool AsyncServerContext::ParseRead(grpc_byte_buffer *read_buffer) { return success; } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc index 8c0844a31999866fc68b5407e810c622dbd93852..da98cf5ce0d3e606cf5164f11dd88c9fabdedab5 100644 --- a/src/cpp/server/server.cc +++ b/src/cpp/server/server.cc @@ -386,4 +386,4 @@ void Server::RunRpc() { } } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/server_builder.cc b/src/cpp/server/server_builder.cc index 1ca1acad944baba1accf35aefd1c1e4422124b12..3c2093c3638996e4110339b4a70e9dfe66938cd6 100644 --- a/src/cpp/server/server_builder.cc +++ b/src/cpp/server/server_builder.cc @@ -100,4 +100,4 @@ std::unique_ptr<Server> ServerBuilder::BuildAndStart() { return server; } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/server_context.cc b/src/cpp/server/server_context.cc index b9c82138f630307e24212cd20a21d79a862ee5db..10cce450d797ba691b95f32ec8e330583da6d31c 100644 --- a/src/cpp/server/server_context.cc +++ b/src/cpp/server/server_context.cc @@ -67,4 +67,4 @@ void ServerContext::AddTrailingMetadata(const grpc::string& key, trailing_metadata_.insert(std::make_pair(key, value)); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/server_credentials.cc b/src/cpp/server/server_credentials.cc index fbd606246bc3fd0e2ba59c78f2518326c1fbb207..69ad000ccc69f2d433910c52dc421466b6e193f4 100644 --- a/src/cpp/server/server_credentials.cc +++ b/src/cpp/server/server_credentials.cc @@ -59,4 +59,4 @@ std::shared_ptr<ServerCredentials> ServerCredentialsFactory::SslCredentials( return std::shared_ptr<ServerCredentials>(new ServerCredentials(c_creds)); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/thread_pool.cc b/src/cpp/server/thread_pool.cc index 410e51d8b119de6cebdc0d458309a52efd236dc7..1ca98129d3eeb385a060b67374c5d78433f65187 100644 --- a/src/cpp/server/thread_pool.cc +++ b/src/cpp/server/thread_pool.cc @@ -77,4 +77,4 @@ void ThreadPool::ScheduleCallback(const std::function<void()> &callback) { cv_.notify_one(); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/server/thread_pool.h b/src/cpp/server/thread_pool.h index 77b0f33ddc423a108291cef3f1b02b3873bfda52..283618f4b6860d2ac0f96c15d9f4ae62fa86f3bc 100644 --- a/src/cpp/server/thread_pool.h +++ b/src/cpp/server/thread_pool.h @@ -61,4 +61,4 @@ class ThreadPool final : public ThreadPoolInterface { } // namespace grpc -#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__ \ No newline at end of file +#endif // __GRPCPP_INTERNAL_SERVER_THREAD_POOL_H__ diff --git a/src/cpp/util/status.cc b/src/cpp/util/status.cc index f29415b5b8a32f48c68335f13d3fdcc49d88b869..bbf803066869500cbec90d5e0ccbd72019ff116a 100644 --- a/src/cpp/util/status.cc +++ b/src/cpp/util/status.cc @@ -38,4 +38,4 @@ namespace grpc { const Status &Status::OK = Status(); const Status &Status::Cancelled = Status(StatusCode::CANCELLED); -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/util/time.cc b/src/cpp/util/time.cc index 56ac4765164fdd37b93c4552ace7f9852be34190..919e5623fa31eb48995c23afaf58c46be9a3e3ee 100644 --- a/src/cpp/util/time.cc +++ b/src/cpp/util/time.cc @@ -63,4 +63,4 @@ system_clock::time_point Timespec2Timepoint(gpr_timespec t) { return tp; } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/cpp/util/time.h b/src/cpp/util/time.h index 59c3b9d4064559c3f177a2fdbb540d018995bae4..9f9e582d070ace021114c3167c20c0d34d6d4303 100644 --- a/src/cpp/util/time.h +++ b/src/cpp/util/time.h @@ -48,4 +48,4 @@ std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t); } // namespace grpc -#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__ \ No newline at end of file +#endif // __GRPCPP_INTERNAL_UTIL_TIME_H__ diff --git a/src/csharp/GrpcApi/Empty.cs b/src/csharp/GrpcApi/Empty.cs index dadfd151ecc739839bea2c60ba46c1d6d566b60a..7169ee2a4a5d8bf10ec6ead259d5518c1d8c0c7e 100644 --- a/src/csharp/GrpcApi/Empty.cs +++ b/src/csharp/GrpcApi/Empty.cs @@ -7,12 +7,12 @@ using pbc = global::Google.ProtocolBuffers.Collections; using pbd = global::Google.ProtocolBuffers.Descriptors; using scg = global::System.Collections.Generic; namespace grpc.testing { - + namespace Proto { - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static partial class Empty { - + #region Extension registration public static void RegisterAllExtensions(pb::ExtensionRegistry registry) { } @@ -26,7 +26,7 @@ namespace grpc.testing { get { return descriptor; } } private static pbd::FileDescriptor descriptor; - + static Empty() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( @@ -34,7 +34,7 @@ namespace grpc.testing { pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) { descriptor = root; internal__static_grpc_testing_Empty__Descriptor = Descriptor.MessageTypes[0]; - internal__static_grpc_testing_Empty__FieldAccessorTable = + internal__static_grpc_testing_Empty__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.Empty, global::grpc.testing.Empty.Builder>(internal__static_grpc_testing_Empty__Descriptor, new string[] { }); return null; @@ -44,7 +44,7 @@ namespace grpc.testing { }, assigner); } #endregion - + } } #region Messages @@ -57,48 +57,48 @@ namespace grpc.testing { public static Empty DefaultInstance { get { return defaultInstance; } } - + public override Empty DefaultInstanceForType { get { return DefaultInstance; } } - + protected override Empty ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Proto.Empty.internal__static_grpc_testing_Empty__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<Empty, Empty.Builder> InternalFieldAccessors { get { return global::grpc.testing.Proto.Empty.internal__static_grpc_testing_Empty__FieldAccessorTable; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _emptyFieldNames; UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; size += UnknownFields.SerializedSize; memoizedSerializedSize = size; return size; } } - + public static Empty ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -132,14 +132,14 @@ namespace grpc.testing { private Empty MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(Empty prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<Empty, Builder> { protected override Builder ThisBuilder { @@ -153,10 +153,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private Empty result; - + private Empty PrepareBuilder() { if (resultIsReadOnly) { Empty original = result; @@ -166,21 +166,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override Empty MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -188,15 +188,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.Empty.Descriptor; } } - + public override Empty DefaultInstanceForType { get { return global::grpc.testing.Empty.DefaultInstance; } } - + public override Empty BuildPartial() { if (resultIsReadOnly) { return result; @@ -204,7 +204,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is Empty) { return MergeFrom((Empty) other); @@ -213,18 +213,18 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(Empty other) { if (other == global::grpc.testing.Empty.DefaultInstance) return this; PrepareBuilder(); this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -262,21 +262,21 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - + } static Empty() { object.ReferenceEquals(global::grpc.testing.Proto.Empty.Descriptor, null); } } - + #endregion - + } #endregion Designer generated code diff --git a/src/csharp/GrpcApi/Math.cs b/src/csharp/GrpcApi/Math.cs index 2d700337ac7953c343353240645f12803df70130..75b1e9dbc2ab5b82922ad4386a5f0472dbf8e5b5 100644 --- a/src/csharp/GrpcApi/Math.cs +++ b/src/csharp/GrpcApi/Math.cs @@ -7,12 +7,12 @@ using pbc = global::Google.ProtocolBuffers.Collections; using pbd = global::Google.ProtocolBuffers.Descriptors; using scg = global::System.Collections.Generic; namespace math { - + namespace Proto { - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static partial class Math { - + #region Extension registration public static void RegisterAllExtensions(pb::ExtensionRegistry registry) { } @@ -34,38 +34,38 @@ namespace math { get { return descriptor; } } private static pbd::FileDescriptor descriptor; - + static Math() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "CgptYXRoLnByb3RvEgRtYXRoIiwKB0RpdkFyZ3MSEAoIZGl2aWRlbmQYASAB", - "KAMSDwoHZGl2aXNvchgCIAEoAyIvCghEaXZSZXBseRIQCghxdW90aWVudBgB", - "IAEoAxIRCglyZW1haW5kZXIYAiABKAMiGAoHRmliQXJncxINCgVsaW1pdBgB", - "IAEoAyISCgNOdW0SCwoDbnVtGAEgASgDIhkKCEZpYlJlcGx5Eg0KBWNvdW50", - "GAEgASgDMqQBCgRNYXRoEiYKA0RpdhINLm1hdGguRGl2QXJncxoOLm1hdGgu", - "RGl2UmVwbHkiABIuCgdEaXZNYW55Eg0ubWF0aC5EaXZBcmdzGg4ubWF0aC5E", - "aXZSZXBseSIAKAEwARIjCgNGaWISDS5tYXRoLkZpYkFyZ3MaCS5tYXRoLk51", + "CgptYXRoLnByb3RvEgRtYXRoIiwKB0RpdkFyZ3MSEAoIZGl2aWRlbmQYASAB", + "KAMSDwoHZGl2aXNvchgCIAEoAyIvCghEaXZSZXBseRIQCghxdW90aWVudBgB", + "IAEoAxIRCglyZW1haW5kZXIYAiABKAMiGAoHRmliQXJncxINCgVsaW1pdBgB", + "IAEoAyISCgNOdW0SCwoDbnVtGAEgASgDIhkKCEZpYlJlcGx5Eg0KBWNvdW50", + "GAEgASgDMqQBCgRNYXRoEiYKA0RpdhINLm1hdGguRGl2QXJncxoOLm1hdGgu", + "RGl2UmVwbHkiABIuCgdEaXZNYW55Eg0ubWF0aC5EaXZBcmdzGg4ubWF0aC5E", + "aXZSZXBseSIAKAEwARIjCgNGaWISDS5tYXRoLkZpYkFyZ3MaCS5tYXRoLk51", "bSIAMAESHwoDU3VtEgkubWF0aC5OdW0aCS5tYXRoLk51bSIAKAE=")); pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) { descriptor = root; internal__static_math_DivArgs__Descriptor = Descriptor.MessageTypes[0]; - internal__static_math_DivArgs__FieldAccessorTable = + internal__static_math_DivArgs__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::math.DivArgs, global::math.DivArgs.Builder>(internal__static_math_DivArgs__Descriptor, new string[] { "Dividend", "Divisor", }); internal__static_math_DivReply__Descriptor = Descriptor.MessageTypes[1]; - internal__static_math_DivReply__FieldAccessorTable = + internal__static_math_DivReply__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::math.DivReply, global::math.DivReply.Builder>(internal__static_math_DivReply__Descriptor, new string[] { "Quotient", "Remainder", }); internal__static_math_FibArgs__Descriptor = Descriptor.MessageTypes[2]; - internal__static_math_FibArgs__FieldAccessorTable = + internal__static_math_FibArgs__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::math.FibArgs, global::math.FibArgs.Builder>(internal__static_math_FibArgs__Descriptor, new string[] { "Limit", }); internal__static_math_Num__Descriptor = Descriptor.MessageTypes[3]; - internal__static_math_Num__FieldAccessorTable = + internal__static_math_Num__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::math.Num, global::math.Num.Builder>(internal__static_math_Num__Descriptor, new string[] { "Num_", }); internal__static_math_FibReply__Descriptor = Descriptor.MessageTypes[4]; - internal__static_math_FibReply__FieldAccessorTable = + internal__static_math_FibReply__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::math.FibReply, global::math.FibReply.Builder>(internal__static_math_FibReply__Descriptor, new string[] { "Count", }); pb::ExtensionRegistry registry = pb::ExtensionRegistry.CreateInstance(); @@ -77,7 +77,7 @@ namespace math { }, assigner); } #endregion - + } } #region Messages @@ -90,23 +90,23 @@ namespace math { public static DivArgs DefaultInstance { get { return defaultInstance; } } - + public override DivArgs DefaultInstanceForType { get { return DefaultInstance; } } - + protected override DivArgs ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::math.Proto.Math.internal__static_math_DivArgs__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<DivArgs, DivArgs.Builder> InternalFieldAccessors { get { return global::math.Proto.Math.internal__static_math_DivArgs__FieldAccessorTable; } } - + public const int DividendFieldNumber = 1; private bool hasDividend; private long dividend_; @@ -116,7 +116,7 @@ namespace math { public long Dividend { get { return dividend_; } } - + public const int DivisorFieldNumber = 2; private bool hasDivisor; private long divisor_; @@ -126,13 +126,13 @@ namespace math { public long Divisor { get { return divisor_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _divArgsFieldNames; @@ -144,13 +144,13 @@ namespace math { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasDividend) { size += pb::CodedOutputStream.ComputeInt64Size(1, Dividend); @@ -163,7 +163,7 @@ namespace math { return size; } } - + public static DivArgs ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -197,14 +197,14 @@ namespace math { private DivArgs MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(DivArgs prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<DivArgs, Builder> { protected override Builder ThisBuilder { @@ -218,10 +218,10 @@ namespace math { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private DivArgs result; - + private DivArgs PrepareBuilder() { if (resultIsReadOnly) { DivArgs original = result; @@ -231,21 +231,21 @@ namespace math { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override DivArgs MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -253,15 +253,15 @@ namespace math { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::math.DivArgs.Descriptor; } } - + public override DivArgs DefaultInstanceForType { get { return global::math.DivArgs.DefaultInstance; } } - + public override DivArgs BuildPartial() { if (resultIsReadOnly) { return result; @@ -269,7 +269,7 @@ namespace math { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is DivArgs) { return MergeFrom((DivArgs) other); @@ -278,7 +278,7 @@ namespace math { return this; } } - + public override Builder MergeFrom(DivArgs other) { if (other == global::math.DivArgs.DefaultInstance) return this; PrepareBuilder(); @@ -291,11 +291,11 @@ namespace math { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -341,14 +341,14 @@ namespace math { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasDividend { get { return result.hasDividend; } } @@ -368,7 +368,7 @@ namespace math { result.dividend_ = 0L; return this; } - + public bool HasDivisor { get { return result.hasDivisor; } } @@ -393,7 +393,7 @@ namespace math { object.ReferenceEquals(global::math.Proto.Math.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class DivReply : pb::GeneratedMessage<DivReply, DivReply.Builder> { private DivReply() { } @@ -403,23 +403,23 @@ namespace math { public static DivReply DefaultInstance { get { return defaultInstance; } } - + public override DivReply DefaultInstanceForType { get { return DefaultInstance; } } - + protected override DivReply ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::math.Proto.Math.internal__static_math_DivReply__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<DivReply, DivReply.Builder> InternalFieldAccessors { get { return global::math.Proto.Math.internal__static_math_DivReply__FieldAccessorTable; } } - + public const int QuotientFieldNumber = 1; private bool hasQuotient; private long quotient_; @@ -429,7 +429,7 @@ namespace math { public long Quotient { get { return quotient_; } } - + public const int RemainderFieldNumber = 2; private bool hasRemainder; private long remainder_; @@ -439,13 +439,13 @@ namespace math { public long Remainder { get { return remainder_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _divReplyFieldNames; @@ -457,13 +457,13 @@ namespace math { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasQuotient) { size += pb::CodedOutputStream.ComputeInt64Size(1, Quotient); @@ -476,7 +476,7 @@ namespace math { return size; } } - + public static DivReply ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -510,14 +510,14 @@ namespace math { private DivReply MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(DivReply prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<DivReply, Builder> { protected override Builder ThisBuilder { @@ -531,10 +531,10 @@ namespace math { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private DivReply result; - + private DivReply PrepareBuilder() { if (resultIsReadOnly) { DivReply original = result; @@ -544,21 +544,21 @@ namespace math { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override DivReply MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -566,15 +566,15 @@ namespace math { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::math.DivReply.Descriptor; } } - + public override DivReply DefaultInstanceForType { get { return global::math.DivReply.DefaultInstance; } } - + public override DivReply BuildPartial() { if (resultIsReadOnly) { return result; @@ -582,7 +582,7 @@ namespace math { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is DivReply) { return MergeFrom((DivReply) other); @@ -591,7 +591,7 @@ namespace math { return this; } } - + public override Builder MergeFrom(DivReply other) { if (other == global::math.DivReply.DefaultInstance) return this; PrepareBuilder(); @@ -604,11 +604,11 @@ namespace math { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -654,14 +654,14 @@ namespace math { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasQuotient { get { return result.hasQuotient; } } @@ -681,7 +681,7 @@ namespace math { result.quotient_ = 0L; return this; } - + public bool HasRemainder { get { return result.hasRemainder; } } @@ -706,7 +706,7 @@ namespace math { object.ReferenceEquals(global::math.Proto.Math.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class FibArgs : pb::GeneratedMessage<FibArgs, FibArgs.Builder> { private FibArgs() { } @@ -716,23 +716,23 @@ namespace math { public static FibArgs DefaultInstance { get { return defaultInstance; } } - + public override FibArgs DefaultInstanceForType { get { return DefaultInstance; } } - + protected override FibArgs ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::math.Proto.Math.internal__static_math_FibArgs__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<FibArgs, FibArgs.Builder> InternalFieldAccessors { get { return global::math.Proto.Math.internal__static_math_FibArgs__FieldAccessorTable; } } - + public const int LimitFieldNumber = 1; private bool hasLimit; private long limit_; @@ -742,13 +742,13 @@ namespace math { public long Limit { get { return limit_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _fibArgsFieldNames; @@ -757,13 +757,13 @@ namespace math { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasLimit) { size += pb::CodedOutputStream.ComputeInt64Size(1, Limit); @@ -773,7 +773,7 @@ namespace math { return size; } } - + public static FibArgs ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -807,14 +807,14 @@ namespace math { private FibArgs MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(FibArgs prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<FibArgs, Builder> { protected override Builder ThisBuilder { @@ -828,10 +828,10 @@ namespace math { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private FibArgs result; - + private FibArgs PrepareBuilder() { if (resultIsReadOnly) { FibArgs original = result; @@ -841,21 +841,21 @@ namespace math { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override FibArgs MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -863,15 +863,15 @@ namespace math { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::math.FibArgs.Descriptor; } } - + public override FibArgs DefaultInstanceForType { get { return global::math.FibArgs.DefaultInstance; } } - + public override FibArgs BuildPartial() { if (resultIsReadOnly) { return result; @@ -879,7 +879,7 @@ namespace math { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is FibArgs) { return MergeFrom((FibArgs) other); @@ -888,7 +888,7 @@ namespace math { return this; } } - + public override Builder MergeFrom(FibArgs other) { if (other == global::math.FibArgs.DefaultInstance) return this; PrepareBuilder(); @@ -898,11 +898,11 @@ namespace math { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -944,14 +944,14 @@ namespace math { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasLimit { get { return result.hasLimit; } } @@ -976,7 +976,7 @@ namespace math { object.ReferenceEquals(global::math.Proto.Math.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Num : pb::GeneratedMessage<Num, Num.Builder> { private Num() { } @@ -986,23 +986,23 @@ namespace math { public static Num DefaultInstance { get { return defaultInstance; } } - + public override Num DefaultInstanceForType { get { return DefaultInstance; } } - + protected override Num ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::math.Proto.Math.internal__static_math_Num__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<Num, Num.Builder> InternalFieldAccessors { get { return global::math.Proto.Math.internal__static_math_Num__FieldAccessorTable; } } - + public const int Num_FieldNumber = 1; private bool hasNum_; private long num_; @@ -1012,13 +1012,13 @@ namespace math { public long Num_ { get { return num_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _numFieldNames; @@ -1027,13 +1027,13 @@ namespace math { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasNum_) { size += pb::CodedOutputStream.ComputeInt64Size(1, Num_); @@ -1043,7 +1043,7 @@ namespace math { return size; } } - + public static Num ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1077,14 +1077,14 @@ namespace math { private Num MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(Num prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<Num, Builder> { protected override Builder ThisBuilder { @@ -1098,10 +1098,10 @@ namespace math { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private Num result; - + private Num PrepareBuilder() { if (resultIsReadOnly) { Num original = result; @@ -1111,21 +1111,21 @@ namespace math { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override Num MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -1133,15 +1133,15 @@ namespace math { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::math.Num.Descriptor; } } - + public override Num DefaultInstanceForType { get { return global::math.Num.DefaultInstance; } } - + public override Num BuildPartial() { if (resultIsReadOnly) { return result; @@ -1149,7 +1149,7 @@ namespace math { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is Num) { return MergeFrom((Num) other); @@ -1158,7 +1158,7 @@ namespace math { return this; } } - + public override Builder MergeFrom(Num other) { if (other == global::math.Num.DefaultInstance) return this; PrepareBuilder(); @@ -1168,11 +1168,11 @@ namespace math { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -1214,14 +1214,14 @@ namespace math { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasNum_ { get { return result.hasNum_; } } @@ -1246,7 +1246,7 @@ namespace math { object.ReferenceEquals(global::math.Proto.Math.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class FibReply : pb::GeneratedMessage<FibReply, FibReply.Builder> { private FibReply() { } @@ -1256,23 +1256,23 @@ namespace math { public static FibReply DefaultInstance { get { return defaultInstance; } } - + public override FibReply DefaultInstanceForType { get { return DefaultInstance; } } - + protected override FibReply ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::math.Proto.Math.internal__static_math_FibReply__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<FibReply, FibReply.Builder> InternalFieldAccessors { get { return global::math.Proto.Math.internal__static_math_FibReply__FieldAccessorTable; } } - + public const int CountFieldNumber = 1; private bool hasCount; private long count_; @@ -1282,13 +1282,13 @@ namespace math { public long Count { get { return count_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _fibReplyFieldNames; @@ -1297,13 +1297,13 @@ namespace math { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasCount) { size += pb::CodedOutputStream.ComputeInt64Size(1, Count); @@ -1313,7 +1313,7 @@ namespace math { return size; } } - + public static FibReply ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1347,14 +1347,14 @@ namespace math { private FibReply MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(FibReply prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<FibReply, Builder> { protected override Builder ThisBuilder { @@ -1368,10 +1368,10 @@ namespace math { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private FibReply result; - + private FibReply PrepareBuilder() { if (resultIsReadOnly) { FibReply original = result; @@ -1381,21 +1381,21 @@ namespace math { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override FibReply MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -1403,15 +1403,15 @@ namespace math { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::math.FibReply.Descriptor; } } - + public override FibReply DefaultInstanceForType { get { return global::math.FibReply.DefaultInstance; } } - + public override FibReply BuildPartial() { if (resultIsReadOnly) { return result; @@ -1419,7 +1419,7 @@ namespace math { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is FibReply) { return MergeFrom((FibReply) other); @@ -1428,7 +1428,7 @@ namespace math { return this; } } - + public override Builder MergeFrom(FibReply other) { if (other == global::math.FibReply.DefaultInstance) return this; PrepareBuilder(); @@ -1438,11 +1438,11 @@ namespace math { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -1484,14 +1484,14 @@ namespace math { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasCount { get { return result.hasCount; } } @@ -1516,16 +1516,16 @@ namespace math { object.ReferenceEquals(global::math.Proto.Math.Descriptor, null); } } - + #endregion - + #region Services /* * Service generation is now disabled by default, use the following option to enable: * option (google.protobuf.csharp_file_options).service_generator_type = GENERIC; */ #endregion - + } #endregion Designer generated code diff --git a/src/csharp/GrpcApi/MathExamples.cs b/src/csharp/GrpcApi/MathExamples.cs index 07bcc9c9cd48185b354c643aebaaac4901865ef4..2202c52a27776f5cc1f01bf80880c08cb79da942 100644 --- a/src/csharp/GrpcApi/MathExamples.cs +++ b/src/csharp/GrpcApi/MathExamples.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -72,10 +72,10 @@ namespace math public static void SumExample(MathGrpc.IMathServiceClient stub) { - List<Num> numbers = new List<Num>{new Num.Builder { Num_ = 1 }.Build(), + List<Num> numbers = new List<Num>{new Num.Builder { Num_ = 1 }.Build(), new Num.Builder { Num_ = 2 }.Build(), new Num.Builder { Num_ = 3 }.Build()}; - + var res = stub.Sum(); foreach (var num in numbers) { res.Inputs.OnNext(num); @@ -94,7 +94,7 @@ namespace math }; var recorder = new RecordingObserver<DivReply>(); - + var inputs = stub.DivMany(recorder); foreach (var input in divArgsList) { @@ -108,14 +108,14 @@ namespace math public static void DependendRequestsExample(MathGrpc.IMathServiceClient stub) { var numberList = new List<Num> - { new Num.Builder{ Num_ = 1 }.Build(), + { new Num.Builder{ Num_ = 1 }.Build(), new Num.Builder{ Num_ = 2 }.Build(), new Num.Builder{ Num_ = 3 }.Build() }; numberList.ToObservable(); //IObserver<Num> numbers; - //Task<Num> call = stub.Sum(out numbers); + //Task<Num> call = stub.Sum(out numbers); //foreach (var num in numberList) //{ // numbers.OnNext(num); diff --git a/src/csharp/GrpcApi/MathGrpc.cs b/src/csharp/GrpcApi/MathGrpc.cs index 606e7f023903de78d6e1e80260968e749c591f5a..caea1608ecf5f797aa4d64016e9fd7196d272411 100644 --- a/src/csharp/GrpcApi/MathGrpc.cs +++ b/src/csharp/GrpcApi/MathGrpc.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -154,4 +154,4 @@ namespace math return new MathServiceClientStub(channel); } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcApi/MathServiceImpl.cs b/src/csharp/GrpcApi/MathServiceImpl.cs index ffd794d6c6bfeba9f7e936c15ebb1807bffcdf3a..1a2f98f8b265e3a78278b96a0b86187db5555cbf 100644 --- a/src/csharp/GrpcApi/MathServiceImpl.cs +++ b/src/csharp/GrpcApi/MathServiceImpl.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -59,7 +59,7 @@ namespace math // TODO: support cancellation.... throw new NotImplementedException("Not implemented yet"); } - + if (request.Limit > 0) { foreach (var num in FibInternal(request.Limit)) @@ -124,7 +124,7 @@ namespace math { this.responseObserver = responseObserver; } - + public void OnCompleted() { Task.Factory.StartNew(() => @@ -143,7 +143,7 @@ namespace math // callback is called from grpc threadpool which // currently only has one thread. // Same story for OnCompleted(). - Task.Factory.StartNew(() => + Task.Factory.StartNew(() => responseObserver.OnNext(DivInternal(value))); } } diff --git a/src/csharp/GrpcApi/Messages.cs b/src/csharp/GrpcApi/Messages.cs index 78e3404d226e52e812dde9b5119027c2cfddc675..386f377f08b099b386a0303d5469a2fea41af137 100644 --- a/src/csharp/GrpcApi/Messages.cs +++ b/src/csharp/GrpcApi/Messages.cs @@ -7,10 +7,10 @@ using pbc = global::Google.ProtocolBuffers.Collections; using pbd = global::Google.ProtocolBuffers.Descriptors; using scg = global::System.Collections.Generic; namespace grpc.testing { - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static partial class Messages { - + #region Extension registration public static void RegisterAllExtensions(pb::ExtensionRegistry registry) { } @@ -38,62 +38,62 @@ namespace grpc.testing { get { return descriptor; } } private static pbd::FileDescriptor descriptor; - + static Messages() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg5tZXNzYWdlcy5wcm90bxIMZ3JwYy50ZXN0aW5nIkAKB1BheWxvYWQSJwoE", - "dHlwZRgBIAEoDjIZLmdycGMudGVzdGluZy5QYXlsb2FkVHlwZRIMCgRib2R5", - "GAIgASgMIrEBCg1TaW1wbGVSZXF1ZXN0EjAKDXJlc3BvbnNlX3R5cGUYASAB", - "KA4yGS5ncnBjLnRlc3RpbmcuUGF5bG9hZFR5cGUSFQoNcmVzcG9uc2Vfc2l6", - "ZRgCIAEoBRImCgdwYXlsb2FkGAMgASgLMhUuZ3JwYy50ZXN0aW5nLlBheWxv", - "YWQSFQoNZmlsbF91c2VybmFtZRgEIAEoCBIYChBmaWxsX29hdXRoX3Njb3Bl", - "GAUgASgIIl8KDlNpbXBsZVJlc3BvbnNlEiYKB3BheWxvYWQYASABKAsyFS5n", - "cnBjLnRlc3RpbmcuUGF5bG9hZBIQCgh1c2VybmFtZRgCIAEoCRITCgtvYXV0", - "aF9zY29wZRgDIAEoCSJDChlTdHJlYW1pbmdJbnB1dENhbGxSZXF1ZXN0EiYK", - "B3BheWxvYWQYASABKAsyFS5ncnBjLnRlc3RpbmcuUGF5bG9hZCI9ChpTdHJl", - "YW1pbmdJbnB1dENhbGxSZXNwb25zZRIfChdhZ2dyZWdhdGVkX3BheWxvYWRf", - "c2l6ZRgBIAEoBSI3ChJSZXNwb25zZVBhcmFtZXRlcnMSDAoEc2l6ZRgBIAEo", - "BRITCgtpbnRlcnZhbF91cxgCIAEoBSK1AQoaU3RyZWFtaW5nT3V0cHV0Q2Fs", - "bFJlcXVlc3QSMAoNcmVzcG9uc2VfdHlwZRgBIAEoDjIZLmdycGMudGVzdGlu", - "Zy5QYXlsb2FkVHlwZRI9ChNyZXNwb25zZV9wYXJhbWV0ZXJzGAIgAygLMiAu", - "Z3JwYy50ZXN0aW5nLlJlc3BvbnNlUGFyYW1ldGVycxImCgdwYXlsb2FkGAMg", - "ASgLMhUuZ3JwYy50ZXN0aW5nLlBheWxvYWQiRQobU3RyZWFtaW5nT3V0cHV0", - "Q2FsbFJlc3BvbnNlEiYKB3BheWxvYWQYASABKAsyFS5ncnBjLnRlc3Rpbmcu", - "UGF5bG9hZCo/CgtQYXlsb2FkVHlwZRIQCgxDT01QUkVTU0FCTEUQABISCg5V", + "Cg5tZXNzYWdlcy5wcm90bxIMZ3JwYy50ZXN0aW5nIkAKB1BheWxvYWQSJwoE", + "dHlwZRgBIAEoDjIZLmdycGMudGVzdGluZy5QYXlsb2FkVHlwZRIMCgRib2R5", + "GAIgASgMIrEBCg1TaW1wbGVSZXF1ZXN0EjAKDXJlc3BvbnNlX3R5cGUYASAB", + "KA4yGS5ncnBjLnRlc3RpbmcuUGF5bG9hZFR5cGUSFQoNcmVzcG9uc2Vfc2l6", + "ZRgCIAEoBRImCgdwYXlsb2FkGAMgASgLMhUuZ3JwYy50ZXN0aW5nLlBheWxv", + "YWQSFQoNZmlsbF91c2VybmFtZRgEIAEoCBIYChBmaWxsX29hdXRoX3Njb3Bl", + "GAUgASgIIl8KDlNpbXBsZVJlc3BvbnNlEiYKB3BheWxvYWQYASABKAsyFS5n", + "cnBjLnRlc3RpbmcuUGF5bG9hZBIQCgh1c2VybmFtZRgCIAEoCRITCgtvYXV0", + "aF9zY29wZRgDIAEoCSJDChlTdHJlYW1pbmdJbnB1dENhbGxSZXF1ZXN0EiYK", + "B3BheWxvYWQYASABKAsyFS5ncnBjLnRlc3RpbmcuUGF5bG9hZCI9ChpTdHJl", + "YW1pbmdJbnB1dENhbGxSZXNwb25zZRIfChdhZ2dyZWdhdGVkX3BheWxvYWRf", + "c2l6ZRgBIAEoBSI3ChJSZXNwb25zZVBhcmFtZXRlcnMSDAoEc2l6ZRgBIAEo", + "BRITCgtpbnRlcnZhbF91cxgCIAEoBSK1AQoaU3RyZWFtaW5nT3V0cHV0Q2Fs", + "bFJlcXVlc3QSMAoNcmVzcG9uc2VfdHlwZRgBIAEoDjIZLmdycGMudGVzdGlu", + "Zy5QYXlsb2FkVHlwZRI9ChNyZXNwb25zZV9wYXJhbWV0ZXJzGAIgAygLMiAu", + "Z3JwYy50ZXN0aW5nLlJlc3BvbnNlUGFyYW1ldGVycxImCgdwYXlsb2FkGAMg", + "ASgLMhUuZ3JwYy50ZXN0aW5nLlBheWxvYWQiRQobU3RyZWFtaW5nT3V0cHV0", + "Q2FsbFJlc3BvbnNlEiYKB3BheWxvYWQYASABKAsyFS5ncnBjLnRlc3Rpbmcu", + "UGF5bG9hZCo/CgtQYXlsb2FkVHlwZRIQCgxDT01QUkVTU0FCTEUQABISCg5V", "TkNPTVBSRVNTQUJMRRABEgoKBlJBTkRPTRAC")); pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) { descriptor = root; internal__static_grpc_testing_Payload__Descriptor = Descriptor.MessageTypes[0]; - internal__static_grpc_testing_Payload__FieldAccessorTable = + internal__static_grpc_testing_Payload__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.Payload, global::grpc.testing.Payload.Builder>(internal__static_grpc_testing_Payload__Descriptor, new string[] { "Type", "Body", }); internal__static_grpc_testing_SimpleRequest__Descriptor = Descriptor.MessageTypes[1]; - internal__static_grpc_testing_SimpleRequest__FieldAccessorTable = + internal__static_grpc_testing_SimpleRequest__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.SimpleRequest, global::grpc.testing.SimpleRequest.Builder>(internal__static_grpc_testing_SimpleRequest__Descriptor, new string[] { "ResponseType", "ResponseSize", "Payload", "FillUsername", "FillOauthScope", }); internal__static_grpc_testing_SimpleResponse__Descriptor = Descriptor.MessageTypes[2]; - internal__static_grpc_testing_SimpleResponse__FieldAccessorTable = + internal__static_grpc_testing_SimpleResponse__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.SimpleResponse, global::grpc.testing.SimpleResponse.Builder>(internal__static_grpc_testing_SimpleResponse__Descriptor, new string[] { "Payload", "Username", "OauthScope", }); internal__static_grpc_testing_StreamingInputCallRequest__Descriptor = Descriptor.MessageTypes[3]; - internal__static_grpc_testing_StreamingInputCallRequest__FieldAccessorTable = + internal__static_grpc_testing_StreamingInputCallRequest__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.StreamingInputCallRequest, global::grpc.testing.StreamingInputCallRequest.Builder>(internal__static_grpc_testing_StreamingInputCallRequest__Descriptor, new string[] { "Payload", }); internal__static_grpc_testing_StreamingInputCallResponse__Descriptor = Descriptor.MessageTypes[4]; - internal__static_grpc_testing_StreamingInputCallResponse__FieldAccessorTable = + internal__static_grpc_testing_StreamingInputCallResponse__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.StreamingInputCallResponse, global::grpc.testing.StreamingInputCallResponse.Builder>(internal__static_grpc_testing_StreamingInputCallResponse__Descriptor, new string[] { "AggregatedPayloadSize", }); internal__static_grpc_testing_ResponseParameters__Descriptor = Descriptor.MessageTypes[5]; - internal__static_grpc_testing_ResponseParameters__FieldAccessorTable = + internal__static_grpc_testing_ResponseParameters__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.ResponseParameters, global::grpc.testing.ResponseParameters.Builder>(internal__static_grpc_testing_ResponseParameters__Descriptor, new string[] { "Size", "IntervalUs", }); internal__static_grpc_testing_StreamingOutputCallRequest__Descriptor = Descriptor.MessageTypes[6]; - internal__static_grpc_testing_StreamingOutputCallRequest__FieldAccessorTable = + internal__static_grpc_testing_StreamingOutputCallRequest__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.StreamingOutputCallRequest, global::grpc.testing.StreamingOutputCallRequest.Builder>(internal__static_grpc_testing_StreamingOutputCallRequest__Descriptor, new string[] { "ResponseType", "ResponseParameters", "Payload", }); internal__static_grpc_testing_StreamingOutputCallResponse__Descriptor = Descriptor.MessageTypes[7]; - internal__static_grpc_testing_StreamingOutputCallResponse__FieldAccessorTable = + internal__static_grpc_testing_StreamingOutputCallResponse__FieldAccessorTable = new pb::FieldAccess.FieldAccessorTable<global::grpc.testing.StreamingOutputCallResponse, global::grpc.testing.StreamingOutputCallResponse.Builder>(internal__static_grpc_testing_StreamingOutputCallResponse__Descriptor, new string[] { "Payload", }); return null; @@ -103,7 +103,7 @@ namespace grpc.testing { }, assigner); } #endregion - + } #region Enums public enum PayloadType { @@ -111,9 +111,9 @@ namespace grpc.testing { UNCOMPRESSABLE = 1, RANDOM = 2, } - + #endregion - + #region Messages [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Payload : pb::GeneratedMessage<Payload, Payload.Builder> { @@ -124,23 +124,23 @@ namespace grpc.testing { public static Payload DefaultInstance { get { return defaultInstance; } } - + public override Payload DefaultInstanceForType { get { return DefaultInstance; } } - + protected override Payload ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_Payload__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<Payload, Payload.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_Payload__FieldAccessorTable; } } - + public const int TypeFieldNumber = 1; private bool hasType; private global::grpc.testing.PayloadType type_ = global::grpc.testing.PayloadType.COMPRESSABLE; @@ -150,7 +150,7 @@ namespace grpc.testing { public global::grpc.testing.PayloadType Type { get { return type_; } } - + public const int BodyFieldNumber = 2; private bool hasBody; private pb::ByteString body_ = pb::ByteString.Empty; @@ -160,13 +160,13 @@ namespace grpc.testing { public pb::ByteString Body { get { return body_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _payloadFieldNames; @@ -178,13 +178,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasType) { size += pb::CodedOutputStream.ComputeEnumSize(1, (int) Type); @@ -197,7 +197,7 @@ namespace grpc.testing { return size; } } - + public static Payload ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -231,14 +231,14 @@ namespace grpc.testing { private Payload MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(Payload prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<Payload, Builder> { protected override Builder ThisBuilder { @@ -252,10 +252,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private Payload result; - + private Payload PrepareBuilder() { if (resultIsReadOnly) { Payload original = result; @@ -265,21 +265,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override Payload MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -287,15 +287,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.Payload.Descriptor; } } - + public override Payload DefaultInstanceForType { get { return global::grpc.testing.Payload.DefaultInstance; } } - + public override Payload BuildPartial() { if (resultIsReadOnly) { return result; @@ -303,7 +303,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is Payload) { return MergeFrom((Payload) other); @@ -312,7 +312,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(Payload other) { if (other == global::grpc.testing.Payload.DefaultInstance) return this; PrepareBuilder(); @@ -325,11 +325,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -383,14 +383,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasType { get { return result.hasType; } } @@ -410,7 +410,7 @@ namespace grpc.testing { result.type_ = global::grpc.testing.PayloadType.COMPRESSABLE; return this; } - + public bool HasBody { get { return result.hasBody; } } @@ -436,7 +436,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class SimpleRequest : pb::GeneratedMessage<SimpleRequest, SimpleRequest.Builder> { private SimpleRequest() { } @@ -446,23 +446,23 @@ namespace grpc.testing { public static SimpleRequest DefaultInstance { get { return defaultInstance; } } - + public override SimpleRequest DefaultInstanceForType { get { return DefaultInstance; } } - + protected override SimpleRequest ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_SimpleRequest__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<SimpleRequest, SimpleRequest.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_SimpleRequest__FieldAccessorTable; } } - + public const int ResponseTypeFieldNumber = 1; private bool hasResponseType; private global::grpc.testing.PayloadType responseType_ = global::grpc.testing.PayloadType.COMPRESSABLE; @@ -472,7 +472,7 @@ namespace grpc.testing { public global::grpc.testing.PayloadType ResponseType { get { return responseType_; } } - + public const int ResponseSizeFieldNumber = 2; private bool hasResponseSize; private int responseSize_; @@ -482,7 +482,7 @@ namespace grpc.testing { public int ResponseSize { get { return responseSize_; } } - + public const int PayloadFieldNumber = 3; private bool hasPayload; private global::grpc.testing.Payload payload_; @@ -492,7 +492,7 @@ namespace grpc.testing { public global::grpc.testing.Payload Payload { get { return payload_ ?? global::grpc.testing.Payload.DefaultInstance; } } - + public const int FillUsernameFieldNumber = 4; private bool hasFillUsername; private bool fillUsername_; @@ -502,7 +502,7 @@ namespace grpc.testing { public bool FillUsername { get { return fillUsername_; } } - + public const int FillOauthScopeFieldNumber = 5; private bool hasFillOauthScope; private bool fillOauthScope_; @@ -512,13 +512,13 @@ namespace grpc.testing { public bool FillOauthScope { get { return fillOauthScope_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _simpleRequestFieldNames; @@ -539,13 +539,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasResponseType) { size += pb::CodedOutputStream.ComputeEnumSize(1, (int) ResponseType); @@ -567,7 +567,7 @@ namespace grpc.testing { return size; } } - + public static SimpleRequest ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -601,14 +601,14 @@ namespace grpc.testing { private SimpleRequest MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(SimpleRequest prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<SimpleRequest, Builder> { protected override Builder ThisBuilder { @@ -622,10 +622,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private SimpleRequest result; - + private SimpleRequest PrepareBuilder() { if (resultIsReadOnly) { SimpleRequest original = result; @@ -635,21 +635,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override SimpleRequest MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -657,15 +657,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.SimpleRequest.Descriptor; } } - + public override SimpleRequest DefaultInstanceForType { get { return global::grpc.testing.SimpleRequest.DefaultInstance; } } - + public override SimpleRequest BuildPartial() { if (resultIsReadOnly) { return result; @@ -673,7 +673,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is SimpleRequest) { return MergeFrom((SimpleRequest) other); @@ -682,7 +682,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(SimpleRequest other) { if (other == global::grpc.testing.SimpleRequest.DefaultInstance) return this; PrepareBuilder(); @@ -704,11 +704,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -779,14 +779,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasResponseType { get { return result.hasResponseType; } } @@ -806,7 +806,7 @@ namespace grpc.testing { result.responseType_ = global::grpc.testing.PayloadType.COMPRESSABLE; return this; } - + public bool HasResponseSize { get { return result.hasResponseSize; } } @@ -826,7 +826,7 @@ namespace grpc.testing { result.responseSize_ = 0; return this; } - + public bool HasPayload { get { return result.hasPayload; } } @@ -866,7 +866,7 @@ namespace grpc.testing { result.payload_ = null; return this; } - + public bool HasFillUsername { get { return result.hasFillUsername; } } @@ -886,7 +886,7 @@ namespace grpc.testing { result.fillUsername_ = false; return this; } - + public bool HasFillOauthScope { get { return result.hasFillOauthScope; } } @@ -911,7 +911,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class SimpleResponse : pb::GeneratedMessage<SimpleResponse, SimpleResponse.Builder> { private SimpleResponse() { } @@ -921,23 +921,23 @@ namespace grpc.testing { public static SimpleResponse DefaultInstance { get { return defaultInstance; } } - + public override SimpleResponse DefaultInstanceForType { get { return DefaultInstance; } } - + protected override SimpleResponse ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_SimpleResponse__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<SimpleResponse, SimpleResponse.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_SimpleResponse__FieldAccessorTable; } } - + public const int PayloadFieldNumber = 1; private bool hasPayload; private global::grpc.testing.Payload payload_; @@ -947,7 +947,7 @@ namespace grpc.testing { public global::grpc.testing.Payload Payload { get { return payload_ ?? global::grpc.testing.Payload.DefaultInstance; } } - + public const int UsernameFieldNumber = 2; private bool hasUsername; private string username_ = ""; @@ -957,7 +957,7 @@ namespace grpc.testing { public string Username { get { return username_; } } - + public const int OauthScopeFieldNumber = 3; private bool hasOauthScope; private string oauthScope_ = ""; @@ -967,13 +967,13 @@ namespace grpc.testing { public string OauthScope { get { return oauthScope_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _simpleResponseFieldNames; @@ -988,13 +988,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasPayload) { size += pb::CodedOutputStream.ComputeMessageSize(1, Payload); @@ -1010,7 +1010,7 @@ namespace grpc.testing { return size; } } - + public static SimpleResponse ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1044,14 +1044,14 @@ namespace grpc.testing { private SimpleResponse MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(SimpleResponse prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<SimpleResponse, Builder> { protected override Builder ThisBuilder { @@ -1065,10 +1065,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private SimpleResponse result; - + private SimpleResponse PrepareBuilder() { if (resultIsReadOnly) { SimpleResponse original = result; @@ -1078,21 +1078,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override SimpleResponse MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -1100,15 +1100,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.SimpleResponse.Descriptor; } } - + public override SimpleResponse DefaultInstanceForType { get { return global::grpc.testing.SimpleResponse.DefaultInstance; } } - + public override SimpleResponse BuildPartial() { if (resultIsReadOnly) { return result; @@ -1116,7 +1116,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is SimpleResponse) { return MergeFrom((SimpleResponse) other); @@ -1125,7 +1125,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(SimpleResponse other) { if (other == global::grpc.testing.SimpleResponse.DefaultInstance) return this; PrepareBuilder(); @@ -1141,11 +1141,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -1200,14 +1200,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasPayload { get { return result.hasPayload; } } @@ -1247,7 +1247,7 @@ namespace grpc.testing { result.payload_ = null; return this; } - + public bool HasUsername { get { return result.hasUsername; } } @@ -1268,7 +1268,7 @@ namespace grpc.testing { result.username_ = ""; return this; } - + public bool HasOauthScope { get { return result.hasOauthScope; } } @@ -1294,7 +1294,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class StreamingInputCallRequest : pb::GeneratedMessage<StreamingInputCallRequest, StreamingInputCallRequest.Builder> { private StreamingInputCallRequest() { } @@ -1304,23 +1304,23 @@ namespace grpc.testing { public static StreamingInputCallRequest DefaultInstance { get { return defaultInstance; } } - + public override StreamingInputCallRequest DefaultInstanceForType { get { return DefaultInstance; } } - + protected override StreamingInputCallRequest ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingInputCallRequest__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<StreamingInputCallRequest, StreamingInputCallRequest.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingInputCallRequest__FieldAccessorTable; } } - + public const int PayloadFieldNumber = 1; private bool hasPayload; private global::grpc.testing.Payload payload_; @@ -1330,13 +1330,13 @@ namespace grpc.testing { public global::grpc.testing.Payload Payload { get { return payload_ ?? global::grpc.testing.Payload.DefaultInstance; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _streamingInputCallRequestFieldNames; @@ -1345,13 +1345,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasPayload) { size += pb::CodedOutputStream.ComputeMessageSize(1, Payload); @@ -1361,7 +1361,7 @@ namespace grpc.testing { return size; } } - + public static StreamingInputCallRequest ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1395,14 +1395,14 @@ namespace grpc.testing { private StreamingInputCallRequest MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(StreamingInputCallRequest prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<StreamingInputCallRequest, Builder> { protected override Builder ThisBuilder { @@ -1416,10 +1416,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private StreamingInputCallRequest result; - + private StreamingInputCallRequest PrepareBuilder() { if (resultIsReadOnly) { StreamingInputCallRequest original = result; @@ -1429,21 +1429,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override StreamingInputCallRequest MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -1451,15 +1451,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.StreamingInputCallRequest.Descriptor; } } - + public override StreamingInputCallRequest DefaultInstanceForType { get { return global::grpc.testing.StreamingInputCallRequest.DefaultInstance; } } - + public override StreamingInputCallRequest BuildPartial() { if (resultIsReadOnly) { return result; @@ -1467,7 +1467,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is StreamingInputCallRequest) { return MergeFrom((StreamingInputCallRequest) other); @@ -1476,7 +1476,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(StreamingInputCallRequest other) { if (other == global::grpc.testing.StreamingInputCallRequest.DefaultInstance) return this; PrepareBuilder(); @@ -1486,11 +1486,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -1537,14 +1537,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasPayload { get { return result.hasPayload; } } @@ -1589,7 +1589,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class StreamingInputCallResponse : pb::GeneratedMessage<StreamingInputCallResponse, StreamingInputCallResponse.Builder> { private StreamingInputCallResponse() { } @@ -1599,23 +1599,23 @@ namespace grpc.testing { public static StreamingInputCallResponse DefaultInstance { get { return defaultInstance; } } - + public override StreamingInputCallResponse DefaultInstanceForType { get { return DefaultInstance; } } - + protected override StreamingInputCallResponse ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingInputCallResponse__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<StreamingInputCallResponse, StreamingInputCallResponse.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingInputCallResponse__FieldAccessorTable; } } - + public const int AggregatedPayloadSizeFieldNumber = 1; private bool hasAggregatedPayloadSize; private int aggregatedPayloadSize_; @@ -1625,13 +1625,13 @@ namespace grpc.testing { public int AggregatedPayloadSize { get { return aggregatedPayloadSize_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _streamingInputCallResponseFieldNames; @@ -1640,13 +1640,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasAggregatedPayloadSize) { size += pb::CodedOutputStream.ComputeInt32Size(1, AggregatedPayloadSize); @@ -1656,7 +1656,7 @@ namespace grpc.testing { return size; } } - + public static StreamingInputCallResponse ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1690,14 +1690,14 @@ namespace grpc.testing { private StreamingInputCallResponse MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(StreamingInputCallResponse prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<StreamingInputCallResponse, Builder> { protected override Builder ThisBuilder { @@ -1711,10 +1711,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private StreamingInputCallResponse result; - + private StreamingInputCallResponse PrepareBuilder() { if (resultIsReadOnly) { StreamingInputCallResponse original = result; @@ -1724,21 +1724,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override StreamingInputCallResponse MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -1746,15 +1746,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.StreamingInputCallResponse.Descriptor; } } - + public override StreamingInputCallResponse DefaultInstanceForType { get { return global::grpc.testing.StreamingInputCallResponse.DefaultInstance; } } - + public override StreamingInputCallResponse BuildPartial() { if (resultIsReadOnly) { return result; @@ -1762,7 +1762,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is StreamingInputCallResponse) { return MergeFrom((StreamingInputCallResponse) other); @@ -1771,7 +1771,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(StreamingInputCallResponse other) { if (other == global::grpc.testing.StreamingInputCallResponse.DefaultInstance) return this; PrepareBuilder(); @@ -1781,11 +1781,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -1827,14 +1827,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasAggregatedPayloadSize { get { return result.hasAggregatedPayloadSize; } } @@ -1859,7 +1859,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class ResponseParameters : pb::GeneratedMessage<ResponseParameters, ResponseParameters.Builder> { private ResponseParameters() { } @@ -1869,23 +1869,23 @@ namespace grpc.testing { public static ResponseParameters DefaultInstance { get { return defaultInstance; } } - + public override ResponseParameters DefaultInstanceForType { get { return DefaultInstance; } } - + protected override ResponseParameters ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_ResponseParameters__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<ResponseParameters, ResponseParameters.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_ResponseParameters__FieldAccessorTable; } } - + public const int SizeFieldNumber = 1; private bool hasSize; private int size_; @@ -1895,7 +1895,7 @@ namespace grpc.testing { public int Size { get { return size_; } } - + public const int IntervalUsFieldNumber = 2; private bool hasIntervalUs; private int intervalUs_; @@ -1905,13 +1905,13 @@ namespace grpc.testing { public int IntervalUs { get { return intervalUs_; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _responseParametersFieldNames; @@ -1923,13 +1923,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasSize) { size += pb::CodedOutputStream.ComputeInt32Size(1, Size); @@ -1942,7 +1942,7 @@ namespace grpc.testing { return size; } } - + public static ResponseParameters ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -1976,14 +1976,14 @@ namespace grpc.testing { private ResponseParameters MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(ResponseParameters prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<ResponseParameters, Builder> { protected override Builder ThisBuilder { @@ -1997,10 +1997,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private ResponseParameters result; - + private ResponseParameters PrepareBuilder() { if (resultIsReadOnly) { ResponseParameters original = result; @@ -2010,21 +2010,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override ResponseParameters MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -2032,15 +2032,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.ResponseParameters.Descriptor; } } - + public override ResponseParameters DefaultInstanceForType { get { return global::grpc.testing.ResponseParameters.DefaultInstance; } } - + public override ResponseParameters BuildPartial() { if (resultIsReadOnly) { return result; @@ -2048,7 +2048,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is ResponseParameters) { return MergeFrom((ResponseParameters) other); @@ -2057,7 +2057,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(ResponseParameters other) { if (other == global::grpc.testing.ResponseParameters.DefaultInstance) return this; PrepareBuilder(); @@ -2070,11 +2070,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -2120,14 +2120,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasSize { get { return result.hasSize; } } @@ -2147,7 +2147,7 @@ namespace grpc.testing { result.size_ = 0; return this; } - + public bool HasIntervalUs { get { return result.hasIntervalUs; } } @@ -2172,7 +2172,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class StreamingOutputCallRequest : pb::GeneratedMessage<StreamingOutputCallRequest, StreamingOutputCallRequest.Builder> { private StreamingOutputCallRequest() { } @@ -2182,23 +2182,23 @@ namespace grpc.testing { public static StreamingOutputCallRequest DefaultInstance { get { return defaultInstance; } } - + public override StreamingOutputCallRequest DefaultInstanceForType { get { return DefaultInstance; } } - + protected override StreamingOutputCallRequest ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingOutputCallRequest__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<StreamingOutputCallRequest, StreamingOutputCallRequest.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingOutputCallRequest__FieldAccessorTable; } } - + public const int ResponseTypeFieldNumber = 1; private bool hasResponseType; private global::grpc.testing.PayloadType responseType_ = global::grpc.testing.PayloadType.COMPRESSABLE; @@ -2208,7 +2208,7 @@ namespace grpc.testing { public global::grpc.testing.PayloadType ResponseType { get { return responseType_; } } - + public const int ResponseParametersFieldNumber = 2; private pbc::PopsicleList<global::grpc.testing.ResponseParameters> responseParameters_ = new pbc::PopsicleList<global::grpc.testing.ResponseParameters>(); public scg::IList<global::grpc.testing.ResponseParameters> ResponseParametersList { @@ -2220,7 +2220,7 @@ namespace grpc.testing { public global::grpc.testing.ResponseParameters GetResponseParameters(int index) { return responseParameters_[index]; } - + public const int PayloadFieldNumber = 3; private bool hasPayload; private global::grpc.testing.Payload payload_; @@ -2230,13 +2230,13 @@ namespace grpc.testing { public global::grpc.testing.Payload Payload { get { return payload_ ?? global::grpc.testing.Payload.DefaultInstance; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _streamingOutputCallRequestFieldNames; @@ -2251,13 +2251,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasResponseType) { size += pb::CodedOutputStream.ComputeEnumSize(1, (int) ResponseType); @@ -2273,7 +2273,7 @@ namespace grpc.testing { return size; } } - + public static StreamingOutputCallRequest ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -2308,14 +2308,14 @@ namespace grpc.testing { responseParameters_.MakeReadOnly(); return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(StreamingOutputCallRequest prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<StreamingOutputCallRequest, Builder> { protected override Builder ThisBuilder { @@ -2329,10 +2329,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private StreamingOutputCallRequest result; - + private StreamingOutputCallRequest PrepareBuilder() { if (resultIsReadOnly) { StreamingOutputCallRequest original = result; @@ -2342,21 +2342,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override StreamingOutputCallRequest MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -2364,15 +2364,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.StreamingOutputCallRequest.Descriptor; } } - + public override StreamingOutputCallRequest DefaultInstanceForType { get { return global::grpc.testing.StreamingOutputCallRequest.DefaultInstance; } } - + public override StreamingOutputCallRequest BuildPartial() { if (resultIsReadOnly) { return result; @@ -2380,7 +2380,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is StreamingOutputCallRequest) { return MergeFrom((StreamingOutputCallRequest) other); @@ -2389,7 +2389,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(StreamingOutputCallRequest other) { if (other == global::grpc.testing.StreamingOutputCallRequest.DefaultInstance) return this; PrepareBuilder(); @@ -2405,11 +2405,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -2472,14 +2472,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasResponseType { get { return result.hasResponseType; } } @@ -2499,7 +2499,7 @@ namespace grpc.testing { result.responseType_ = global::grpc.testing.PayloadType.COMPRESSABLE; return this; } - + public pbc::IPopsicleList<global::grpc.testing.ResponseParameters> ResponseParametersList { get { return PrepareBuilder().responseParameters_; } } @@ -2543,7 +2543,7 @@ namespace grpc.testing { result.responseParameters_.Clear(); return this; } - + public bool HasPayload { get { return result.hasPayload; } } @@ -2588,7 +2588,7 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class StreamingOutputCallResponse : pb::GeneratedMessage<StreamingOutputCallResponse, StreamingOutputCallResponse.Builder> { private StreamingOutputCallResponse() { } @@ -2598,23 +2598,23 @@ namespace grpc.testing { public static StreamingOutputCallResponse DefaultInstance { get { return defaultInstance; } } - + public override StreamingOutputCallResponse DefaultInstanceForType { get { return DefaultInstance; } } - + protected override StreamingOutputCallResponse ThisMessage { get { return this; } } - + public static pbd::MessageDescriptor Descriptor { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingOutputCallResponse__Descriptor; } } - + protected override pb::FieldAccess.FieldAccessorTable<StreamingOutputCallResponse, StreamingOutputCallResponse.Builder> InternalFieldAccessors { get { return global::grpc.testing.Messages.internal__static_grpc_testing_StreamingOutputCallResponse__FieldAccessorTable; } } - + public const int PayloadFieldNumber = 1; private bool hasPayload; private global::grpc.testing.Payload payload_; @@ -2624,13 +2624,13 @@ namespace grpc.testing { public global::grpc.testing.Payload Payload { get { return payload_ ?? global::grpc.testing.Payload.DefaultInstance; } } - + public override bool IsInitialized { get { return true; } } - + public override void WriteTo(pb::ICodedOutputStream output) { int size = SerializedSize; string[] field_names = _streamingOutputCallResponseFieldNames; @@ -2639,13 +2639,13 @@ namespace grpc.testing { } UnknownFields.WriteTo(output); } - + private int memoizedSerializedSize = -1; public override int SerializedSize { get { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (hasPayload) { size += pb::CodedOutputStream.ComputeMessageSize(1, Payload); @@ -2655,7 +2655,7 @@ namespace grpc.testing { return size; } } - + public static StreamingOutputCallResponse ParseFrom(pb::ByteString data) { return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed(); } @@ -2689,14 +2689,14 @@ namespace grpc.testing { private StreamingOutputCallResponse MakeReadOnly() { return this; } - + public static Builder CreateBuilder() { return new Builder(); } public override Builder ToBuilder() { return CreateBuilder(this); } public override Builder CreateBuilderForType() { return new Builder(); } public static Builder CreateBuilder(StreamingOutputCallResponse prototype) { return new Builder(prototype); } - + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public sealed partial class Builder : pb::GeneratedBuilder<StreamingOutputCallResponse, Builder> { protected override Builder ThisBuilder { @@ -2710,10 +2710,10 @@ namespace grpc.testing { result = cloneFrom; resultIsReadOnly = true; } - + private bool resultIsReadOnly; private StreamingOutputCallResponse result; - + private StreamingOutputCallResponse PrepareBuilder() { if (resultIsReadOnly) { StreamingOutputCallResponse original = result; @@ -2723,21 +2723,21 @@ namespace grpc.testing { } return result; } - + public override bool IsInitialized { get { return result.IsInitialized; } } - + protected override StreamingOutputCallResponse MessageBeingBuilt { get { return PrepareBuilder(); } } - + public override Builder Clear() { result = DefaultInstance; resultIsReadOnly = true; return this; } - + public override Builder Clone() { if (resultIsReadOnly) { return new Builder(result); @@ -2745,15 +2745,15 @@ namespace grpc.testing { return new Builder().MergeFrom(result); } } - + public override pbd::MessageDescriptor DescriptorForType { get { return global::grpc.testing.StreamingOutputCallResponse.Descriptor; } } - + public override StreamingOutputCallResponse DefaultInstanceForType { get { return global::grpc.testing.StreamingOutputCallResponse.DefaultInstance; } } - + public override StreamingOutputCallResponse BuildPartial() { if (resultIsReadOnly) { return result; @@ -2761,7 +2761,7 @@ namespace grpc.testing { resultIsReadOnly = true; return result.MakeReadOnly(); } - + public override Builder MergeFrom(pb::IMessage other) { if (other is StreamingOutputCallResponse) { return MergeFrom((StreamingOutputCallResponse) other); @@ -2770,7 +2770,7 @@ namespace grpc.testing { return this; } } - + public override Builder MergeFrom(StreamingOutputCallResponse other) { if (other == global::grpc.testing.StreamingOutputCallResponse.DefaultInstance) return this; PrepareBuilder(); @@ -2780,11 +2780,11 @@ namespace grpc.testing { this.MergeUnknownFields(other.UnknownFields); return this; } - + public override Builder MergeFrom(pb::ICodedInputStream input) { return MergeFrom(input, pb::ExtensionRegistry.Empty); } - + public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) { PrepareBuilder(); pb::UnknownFieldSet.Builder unknownFields = null; @@ -2831,14 +2831,14 @@ namespace grpc.testing { } } } - + if (unknownFields != null) { this.UnknownFields = unknownFields.Build(); } return this; } - - + + public bool HasPayload { get { return result.hasPayload; } } @@ -2883,9 +2883,9 @@ namespace grpc.testing { object.ReferenceEquals(global::grpc.testing.Messages.Descriptor, null); } } - + #endregion - + } #endregion Designer generated code diff --git a/src/csharp/GrpcApi/Properties/AssemblyInfo.cs b/src/csharp/GrpcApi/Properties/AssemblyInfo.cs index 725f12c48606d2eabcdb06a7bb1ad6218570fdff..e0a8e4357fc52babd0dff883a9d841577d713dc6 100644 --- a/src/csharp/GrpcApi/Properties/AssemblyInfo.cs +++ b/src/csharp/GrpcApi/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("GrpcApi")] [assembly: AssemblyDescription ("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion ("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/csharp/GrpcApi/TestServiceGrpc.cs b/src/csharp/GrpcApi/TestServiceGrpc.cs index 067b21c252c64343764e6f0be6ab0cd6b6e68e89..6534a44ef4fa5809c92a3301b365efea90a6eb90 100644 --- a/src/csharp/GrpcApi/TestServiceGrpc.cs +++ b/src/csharp/GrpcApi/TestServiceGrpc.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcApiTests/MathClientServerTests.cs b/src/csharp/GrpcApiTests/MathClientServerTests.cs index bb3f75d4acb0e57bd4afe228f91c9477a4c62980..bd298b0932feb1fe83ecb672e8bda84f938af511 100644 --- a/src/csharp/GrpcApiTests/MathClientServerTests.cs +++ b/src/csharp/GrpcApiTests/MathClientServerTests.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -96,7 +96,7 @@ namespace math.Tests var recorder = new RecordingObserver<Num>(); client.Fib(new FibArgs.Builder { Limit = 6 }.Build(), recorder); - CollectionAssert.AreEqual(new List<long>{1, 1, 2, 3, 5, 8}, + CollectionAssert.AreEqual(new List<long>{1, 1, 2, 3, 5, 8}, recorder.ToList().Result.ConvertAll((n) => n.Num_)); } diff --git a/src/csharp/GrpcApiTests/Properties/AssemblyInfo.cs b/src/csharp/GrpcApiTests/Properties/AssemblyInfo.cs index 0928404429fe045ddea1a75e796abb2c227eefed..5594e92e72b813e96de52a53acd2ffe48262ac44 100644 --- a/src/csharp/GrpcApiTests/Properties/AssemblyInfo.cs +++ b/src/csharp/GrpcApiTests/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("GrpcApiTests")] [assembly: AssemblyDescription("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/csharp/GrpcCore/Call.cs b/src/csharp/GrpcCore/Call.cs index 181210902f7d7915c849610f516aa2b4daa540c3..93a7507b2fae533630587cb29f70f6c7c941b24d 100644 --- a/src/csharp/GrpcCore/Call.cs +++ b/src/csharp/GrpcCore/Call.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -43,7 +43,7 @@ namespace Google.GRPC.Core readonly Func<byte[], TResponse> responseDeserializer; readonly Channel channel; - public Call(string methodName, + public Call(string methodName, Func<TRequest, byte[]> requestSerializer, Func<byte[], TResponse> responseDeserializer, TimeSpan timeout, diff --git a/src/csharp/GrpcCore/Calls.cs b/src/csharp/GrpcCore/Calls.cs index 101965600e049ebc47ee33089bb4c1dfb77f1c12..d89d9a16f9b1feb32f631369b86f30b70abacc2c 100644 --- a/src/csharp/GrpcCore/Calls.cs +++ b/src/csharp/GrpcCore/Calls.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Channel.cs b/src/csharp/GrpcCore/Channel.cs index cd4f151f49fe33cc5754ea66761b68e260f3e87c..d1f795541cc1f3113e8a5bdf70a6f61d49250f5d 100644 --- a/src/csharp/GrpcCore/Channel.cs +++ b/src/csharp/GrpcCore/Channel.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -82,4 +82,4 @@ namespace Google.GRPC.Core } } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/ClientStreamingAsyncResult.cs b/src/csharp/GrpcCore/ClientStreamingAsyncResult.cs index 507d0dd8ad30d2e60f83d35bd97ace7413f44298..f82fe5f26ced5568b0fec976662394a7b879da4b 100644 --- a/src/csharp/GrpcCore/ClientStreamingAsyncResult.cs +++ b/src/csharp/GrpcCore/ClientStreamingAsyncResult.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/GrpcEnvironment.cs b/src/csharp/GrpcCore/GrpcEnvironment.cs index ee1168621d01b1d143de1eb51f2025c35e276da2..c4f030267d2196b68a8de9e7d951a28200e9b65a 100644 --- a/src/csharp/GrpcCore/GrpcEnvironment.cs +++ b/src/csharp/GrpcCore/GrpcEnvironment.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -52,7 +52,7 @@ namespace Google.GRPC.Core static object staticLock = new object(); static volatile GrpcEnvironment instance; - + readonly GrpcThreadPool threadPool; bool isClosed; @@ -60,7 +60,7 @@ namespace Google.GRPC.Core /// Makes sure GRPC environment is initialized. Subsequent invocations don't have any /// effect unless you call Shutdown first. /// Although normal use cases assume you will call this just once in your application's - /// lifetime (and call Shutdown once you're done), for the sake of easier testing it's + /// lifetime (and call Shutdown once you're done), for the sake of easier testing it's /// allowed to initialize the environment again after it has been successfully shutdown. /// </summary> public static void Initialize() { diff --git a/src/csharp/GrpcCore/Internal/AsyncCall.cs b/src/csharp/GrpcCore/Internal/AsyncCall.cs index a3b40e512c817228e172b7cb9b016f8c9baf983e..d5f3239e1e09b476252166df3cc619a186eb4df3 100644 --- a/src/csharp/GrpcCore/Internal/AsyncCall.cs +++ b/src/csharp/GrpcCore/Internal/AsyncCall.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -45,7 +45,7 @@ namespace Google.GRPC.Core.Internal /// Listener for call events that can be delivered from a completion queue. /// </summary> internal interface ICallEventListener { - + void OnClientMetadata(); void OnRead(byte[] payload); @@ -66,7 +66,7 @@ namespace Google.GRPC.Core.Internal readonly Func<TWrite, byte[]> serializer; readonly Func<byte[], TRead> deserializer; - // TODO: make sure the delegate doesn't get garbage collected while + // TODO: make sure the delegate doesn't get garbage collected while // native callbacks are in the completion queue. readonly EventCallbackDelegate callbackHandler; @@ -205,7 +205,7 @@ namespace Google.GRPC.Core.Internal CheckNotFinished(); CheckNoError(); CheckCancelNotRequested(); - + if (halfcloseRequested || halfclosed) { throw new InvalidOperationException("Already halfclosed."); @@ -218,7 +218,7 @@ namespace Google.GRPC.Core.Internal // TODO: wrap serialization... byte[] payload = serializer(msg); - + call.StartWrite(payload, buffered, callbackHandler); writeTcs = new TaskCompletionSource<object>(); return writeTcs; @@ -317,7 +317,7 @@ namespace Google.GRPC.Core.Internal // grpc_call_cancel_with_status is threadsafe call.CancelWithStatus(status); } - + public void OnClientMetadata() { // TODO: implement.... @@ -434,7 +434,7 @@ namespace Google.GRPC.Core.Internal { call.Dispose(); } - } + } disposed = true; } } @@ -523,4 +523,4 @@ namespace Google.GRPC.Core.Internal } } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/Internal/CallSafeHandle.cs b/src/csharp/GrpcCore/Internal/CallSafeHandle.cs index d91d2ac6cbfe8fe80ec38d9d5f9e0bc693772517..e9ccd8d5f993dbadec8a5a318d23b8d4f519ae72 100644 --- a/src/csharp/GrpcCore/Internal/CallSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/CallSafeHandle.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -59,8 +59,8 @@ namespace Google.GRPC.Core.Internal [DllImport("grpc_csharp_ext.dll", EntryPoint = "grpcsharp_call_invoke_old")] static extern GRPCCallError grpcsharp_call_invoke_old_CALLBACK(CallSafeHandle call, CompletionQueueSafeHandle cq, - [MarshalAs(UnmanagedType.FunctionPtr)] EventCallbackDelegate metadataReadCallback, - [MarshalAs(UnmanagedType.FunctionPtr)] EventCallbackDelegate finishedCallback, + [MarshalAs(UnmanagedType.FunctionPtr)] EventCallbackDelegate metadataReadCallback, + [MarshalAs(UnmanagedType.FunctionPtr)] EventCallbackDelegate finishedCallback, UInt32 flags); [DllImport("grpc_csharp_ext.dll")] @@ -123,12 +123,12 @@ namespace Google.GRPC.Core.Internal } public void Invoke(CompletionQueueSafeHandle cq, IntPtr metadataReadTag, IntPtr finishedTag, bool buffered) - { + { AssertCallOk(grpcsharp_call_invoke_old(this, cq, metadataReadTag, finishedTag, GetFlags(buffered))); } public void Invoke(CompletionQueueSafeHandle cq, bool buffered, EventCallbackDelegate metadataReadCallback, EventCallbackDelegate finishedCallback) - { + { AssertCallOk(grpcsharp_call_invoke_old_CALLBACK(this, cq, metadataReadCallback, finishedCallback, GetFlags(buffered))); } @@ -212,4 +212,4 @@ namespace Google.GRPC.Core.Internal return buffered ? 0 : GRPC_WRITE_BUFFER_HINT; } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs b/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs index f6af64c96796add5a57bc9188b4be6997b90a3aa..379c83d5375961e5526fa9471779b20f51e2c008 100644 --- a/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/ChannelSafeHandle.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -64,4 +64,4 @@ namespace Google.GRPC.Core.Internal return true; } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs b/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs index fc2b1d542100793c8989c573757698dc9214f446..666f220b8c8a9ce3f9be1ea58ee5a42e781b8b47 100644 --- a/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Internal/Enums.cs b/src/csharp/GrpcCore/Internal/Enums.cs index c2eb1327b3f9f5e846d589c75d68d754a2d272c4..d38896ec84332a0f6e0890d85231368f8bc14199 100644 --- a/src/csharp/GrpcCore/Internal/Enums.cs +++ b/src/csharp/GrpcCore/Internal/Enums.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -73,7 +73,7 @@ namespace Google.GRPC.Core.Internal GRPC_QUEUE_SHUTDOWN, /* operation completion */ - GRPC_OP_COMPLETE, + GRPC_OP_COMPLETE, /* A read has completed */ GRPC_READ, @@ -87,7 +87,7 @@ namespace Google.GRPC.Core.Internal /* The metadata array sent by server received at client */ GRPC_CLIENT_METADATA_READ, - /* An RPC has finished. The event contains status. + /* An RPC has finished. The event contains status. * On the server this will be OK or Cancelled. */ GRPC_FINISHED, diff --git a/src/csharp/GrpcCore/Internal/Event.cs b/src/csharp/GrpcCore/Internal/Event.cs index 9229472ccd70ffbc1ba3465b3d5ce0d0a88c94e1..6116e0975afdfe416239310055ea1699697df23a 100644 --- a/src/csharp/GrpcCore/Internal/Event.cs +++ b/src/csharp/GrpcCore/Internal/Event.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -126,7 +126,7 @@ namespace Google.GRPC.Core.Internal // TODO: this is basically c&p of EventSafeHandle. Unify! /// <summary> - /// Not owned version of + /// Not owned version of /// grpc_event from grpc/grpc.h /// </summary> internal class EventSafeHandleNotOwned : SafeHandleZeroIsInvalid @@ -221,4 +221,4 @@ namespace Google.GRPC.Core.Internal return true; } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/Internal/GrpcThreadPool.cs b/src/csharp/GrpcCore/Internal/GrpcThreadPool.cs index b768decc8c6add78b273b9cec11d24fb5bc700ce..f8154fa2505dd8a3d70e5177a23d543df5a52221 100644 --- a/src/csharp/GrpcCore/Internal/GrpcThreadPool.cs +++ b/src/csharp/GrpcCore/Internal/GrpcThreadPool.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Internal/SafeHandleZeroIsInvalid.cs b/src/csharp/GrpcCore/Internal/SafeHandleZeroIsInvalid.cs index c7d8a0a3c3887d1e98623fbed8bc583cbe4f6469..74a8ef7b6ea1a9fe016e9281f30d65153042ce48 100644 --- a/src/csharp/GrpcCore/Internal/SafeHandleZeroIsInvalid.cs +++ b/src/csharp/GrpcCore/Internal/SafeHandleZeroIsInvalid.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Internal/ServerSafeHandle.cs b/src/csharp/GrpcCore/Internal/ServerSafeHandle.cs index 2ae0ad237d86fa663f19414b26e3def6962a9699..c91de97ce3b7b24c8eee4b5577752295cbacb7d6 100644 --- a/src/csharp/GrpcCore/Internal/ServerSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/ServerSafeHandle.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -111,4 +111,4 @@ namespace Google.GRPC.Core.Internal return true; } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs b/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs index 11207918426cc01679f5bc65153b15fa155defb1..1d29864b9f42b76b231447c7cf119ef53251bcee 100644 --- a/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs +++ b/src/csharp/GrpcCore/Internal/ServerWritingObserver.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Internal/StreamingInputObserver.cs b/src/csharp/GrpcCore/Internal/StreamingInputObserver.cs index 49410961cb4b4dbf9659717da349f85564bef094..60837de5e6561ad61830105eb727172ee13a8846 100644 --- a/src/csharp/GrpcCore/Internal/StreamingInputObserver.cs +++ b/src/csharp/GrpcCore/Internal/StreamingInputObserver.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Internal/Timespec.cs b/src/csharp/GrpcCore/Internal/Timespec.cs index 651003dae8b7be9e5260aaa56873de3cc041d809..38b75180dc5f8cc4024a164918e653c82ae66dac 100644 --- a/src/csharp/GrpcCore/Internal/Timespec.cs +++ b/src/csharp/GrpcCore/Internal/Timespec.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -106,7 +106,7 @@ namespace Google.GRPC.Core.Internal Timespec result; result.tv_nsec = new IntPtr(nanos % nanosPerSecond); - result.tv_sec = new IntPtr(tv_sec.ToInt64() + (timeSpan.Ticks / TimeSpan.TicksPerSecond) + overflow_sec); + result.tv_sec = new IntPtr(tv_sec.ToInt64() + (timeSpan.Ticks / TimeSpan.TicksPerSecond) + overflow_sec); return result; } } diff --git a/src/csharp/GrpcCore/Marshaller.cs b/src/csharp/GrpcCore/Marshaller.cs index 21bd26650b5c7771893c465b6bd93179a818f6ad..f031354fd2d7f6043da510d4304924913e2a5078 100644 --- a/src/csharp/GrpcCore/Marshaller.cs +++ b/src/csharp/GrpcCore/Marshaller.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -77,7 +77,7 @@ namespace Google.GRPC.Core { get { - return new Marshaller<string>(System.Text.Encoding.UTF8.GetBytes, + return new Marshaller<string>(System.Text.Encoding.UTF8.GetBytes, System.Text.Encoding.UTF8.GetString); } } diff --git a/src/csharp/GrpcCore/Method.cs b/src/csharp/GrpcCore/Method.cs index a8c647035d826c016ed265038317f61988c6f07b..64a4f71396daca46547fa89dbbac51c3c5933971 100644 --- a/src/csharp/GrpcCore/Method.cs +++ b/src/csharp/GrpcCore/Method.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Properties/AssemblyInfo.cs b/src/csharp/GrpcCore/Properties/AssemblyInfo.cs index 74aba25767844a4c7f8b5df55c67ab59b8b9c38a..0907b8683365ec72663e3fa5d7b7d49bcc15d279 100644 --- a/src/csharp/GrpcCore/Properties/AssemblyInfo.cs +++ b/src/csharp/GrpcCore/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("GrpcCore")] [assembly: AssemblyDescription ("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion ("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/csharp/GrpcCore/RpcException.cs b/src/csharp/GrpcCore/RpcException.cs index 5d1ca3bcdf35cbaa814181111c1281e2e69d0a63..9ec1d2f2f330797031120b21682bc51568a4d523 100644 --- a/src/csharp/GrpcCore/RpcException.cs +++ b/src/csharp/GrpcCore/RpcException.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Server.cs b/src/csharp/GrpcCore/Server.cs index 62ffa70b713b17383b014d1e624e7e270739ffa1..0882a61299506a0571fa230b72d76cd5505dee71 100644 --- a/src/csharp/GrpcCore/Server.cs +++ b/src/csharp/GrpcCore/Server.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -47,7 +47,7 @@ namespace Google.GRPC.Core /// </summary> public class Server { - // TODO: make sure the delegate doesn't get garbage collected while + // TODO: make sure the delegate doesn't get garbage collected while // native callbacks are in the completion queue. readonly EventCallbackDelegate newRpcHandler; readonly EventCallbackDelegate serverShutdownHandler; @@ -94,7 +94,7 @@ namespace Google.GRPC.Core internal void RunRpc() { AllowOneRpc(); - + try { var rpcInfo = newRpcQueue.Take(); @@ -105,7 +105,7 @@ namespace Google.GRPC.Core if (!callHandlers.TryGetValue(rpcInfo.Method, out callHandler)) { callHandler = new NoSuchMethodCallHandler(); - } + } callHandler.StartCall(rpcInfo.Method, rpcInfo.Call, GetCompletionQueue()); } catch(Exception e) @@ -209,4 +209,4 @@ namespace Google.GRPC.Core } } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/ServerCallHandler.cs b/src/csharp/GrpcCore/ServerCallHandler.cs index 12d0c936348b42b3264a90c2eeaa92e861653d6f..bcce4a091fb5ec3bbd1682855739aca4912a27b2 100644 --- a/src/csharp/GrpcCore/ServerCallHandler.cs +++ b/src/csharp/GrpcCore/ServerCallHandler.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -60,7 +60,7 @@ namespace Google.GRPC.Core asyncCall.InitializeServer(call); asyncCall.Accept(cq); - + var request = asyncCall.ReadAsync().Result; var responseObserver = new ServerWritingObserver<TResponse, TRequest>(asyncCall); diff --git a/src/csharp/GrpcCore/ServerCalls.cs b/src/csharp/GrpcCore/ServerCalls.cs index b95a0d97b4fcd86c20d7d52cd569860c4f4e2214..273029cab6099fdcabec60aca39cef54dcfe33bd 100644 --- a/src/csharp/GrpcCore/ServerCalls.cs +++ b/src/csharp/GrpcCore/ServerCalls.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/ServerServiceDefinition.cs b/src/csharp/GrpcCore/ServerServiceDefinition.cs index f0b4daf0719689336b510d36e47be8d488da1db9..1eb17837e44817acc8c63a95875060dcac49112f 100644 --- a/src/csharp/GrpcCore/ServerServiceDefinition.cs +++ b/src/csharp/GrpcCore/ServerServiceDefinition.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -73,7 +73,7 @@ namespace Google.GRPC.Core } public Builder AddMethod<TRequest, TResponse>( - Method<TRequest, TResponse> method, + Method<TRequest, TResponse> method, UnaryRequestServerMethod<TRequest, TResponse> handler) { callHandlers.Add(method.Name, ServerCalls.UnaryRequestCall(method, handler)); @@ -81,7 +81,7 @@ namespace Google.GRPC.Core } public Builder AddMethod<TRequest, TResponse>( - Method<TRequest, TResponse> method, + Method<TRequest, TResponse> method, StreamingRequestServerMethod<TRequest, TResponse> handler) { callHandlers.Add(method.Name, ServerCalls.StreamingRequestCall(method, handler)); diff --git a/src/csharp/GrpcCore/Status.cs b/src/csharp/GrpcCore/Status.cs index dce1e24d7ea265751421aeac833e35b386648341..6430e6b7ab7d4e802233438adf0e4136cc90e15a 100644 --- a/src/csharp/GrpcCore/Status.cs +++ b/src/csharp/GrpcCore/Status.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -66,4 +66,4 @@ namespace Google.GRPC.Core } } } -} \ No newline at end of file +} diff --git a/src/csharp/GrpcCore/StatusCode.cs b/src/csharp/GrpcCore/StatusCode.cs index eccaae72f6d70b5ccbb857cc0737148825e7ba55..ba99f9b5e0b452c69f95fb1a448e0893e96955a0 100644 --- a/src/csharp/GrpcCore/StatusCode.cs +++ b/src/csharp/GrpcCore/StatusCode.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Utils/RecordingObserver.cs b/src/csharp/GrpcCore/Utils/RecordingObserver.cs index 0cadfc0e4a04974f2bef145613a045388d05cd8b..0c784e1d3568fce61f08a1a2dc52c46172cb8a37 100644 --- a/src/csharp/GrpcCore/Utils/RecordingObserver.cs +++ b/src/csharp/GrpcCore/Utils/RecordingObserver.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCore/Utils/RecordingQueue.cs b/src/csharp/GrpcCore/Utils/RecordingQueue.cs index d73fc0fc78599bef7e8180683896c4dd0889b44e..f8940d7584c02530c8c6077c93edd5e3cf0a0781 100644 --- a/src/csharp/GrpcCore/Utils/RecordingQueue.cs +++ b/src/csharp/GrpcCore/Utils/RecordingQueue.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -41,7 +41,7 @@ namespace Google.GRPC.Core.Utils // TODO: replace this by something that implements IAsyncEnumerator. /// <summary> /// Observer that allows us to await incoming messages one-by-one. - /// The implementation is not ideal and class will be probably replaced + /// The implementation is not ideal and class will be probably replaced /// by something more versatile in the future. /// </summary> public class RecordingQueue<T> : IObserver<T> diff --git a/src/csharp/GrpcCoreTests/ClientServerTest.cs b/src/csharp/GrpcCoreTests/ClientServerTest.cs index 1472db6e07e6ea47331eb43e0c90afdd15e92c3d..44011565204dfe8fe4c0f0e3e3f3e15437a8e76d 100644 --- a/src/csharp/GrpcCoreTests/ClientServerTest.cs +++ b/src/csharp/GrpcCoreTests/ClientServerTest.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -71,7 +71,7 @@ namespace Google.GRPC.Core.Tests Assert.AreEqual("ABC", Calls.BlockingUnaryCall(call, "ABC", default(CancellationToken))); Assert.AreEqual("abcdef", Calls.BlockingUnaryCall(call, "abcdef", default(CancellationToken))); } - + server.ShutdownAsync().Wait(); GrpcEnvironment.Shutdown(); diff --git a/src/csharp/GrpcCoreTests/GrpcEnvironmentTest.cs b/src/csharp/GrpcCoreTests/GrpcEnvironmentTest.cs index 1bc6cce401770a9d4fdea09e76e426dfdad36b9c..8656b1bf01608e9c1cf8c2c3f074c86b28c9ecd5 100644 --- a/src/csharp/GrpcCoreTests/GrpcEnvironmentTest.cs +++ b/src/csharp/GrpcCoreTests/GrpcEnvironmentTest.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCoreTests/Properties/AssemblyInfo.cs b/src/csharp/GrpcCoreTests/Properties/AssemblyInfo.cs index 565b1e2bd65b326f5b243e88895df9e64039fc82..a93d843889f24e9320f20c537523ca1ef1a81a56 100644 --- a/src/csharp/GrpcCoreTests/Properties/AssemblyInfo.cs +++ b/src/csharp/GrpcCoreTests/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("GrpcCoreTests")] [assembly: AssemblyDescription("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/csharp/GrpcCoreTests/ServerTest.cs b/src/csharp/GrpcCoreTests/ServerTest.cs index 1c70a3d6c4421d925fcd5af89d436c0c61e6cfae..43414a4cc49539f1a73c6638a3d323e39c1234f0 100644 --- a/src/csharp/GrpcCoreTests/ServerTest.cs +++ b/src/csharp/GrpcCoreTests/ServerTest.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/GrpcCoreTests/TimespecTest.cs b/src/csharp/GrpcCoreTests/TimespecTest.cs index 2b03513cb7affbaa2e891b194e2b0e3cdd649af3..216982421918f1a1360c71ed0ce73017ff9644d0 100644 --- a/src/csharp/GrpcCoreTests/TimespecTest.cs +++ b/src/csharp/GrpcCoreTests/TimespecTest.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/src/csharp/InteropClient/Client.cs b/src/csharp/InteropClient/Client.cs index fcc6a572e401b4959dbbc4127bcd671f5ac53713..945afe0642f2e71688ace2a9e8daa60ed2a2ef7e 100644 --- a/src/csharp/InteropClient/Client.cs +++ b/src/csharp/InteropClient/Client.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -83,7 +83,7 @@ namespace Google.GRPC.Interop Console.WriteLine(" --test_case=TESTCASE"); Console.WriteLine(" --use_tls=BOOLEAN"); Console.WriteLine(" --use_test_ca=BOOLEAN"); - Console.WriteLine(); + Console.WriteLine(); Environment.Exit(1); } @@ -149,7 +149,7 @@ namespace Google.GRPC.Interop .SetResponseSize(314159) .SetPayload(CreateZerosPayload(271828)) .Build(); - + var response = client.UnaryCall(request); Assert.AreEqual(PayloadType.COMPRESSABLE, response.Payload.Type); @@ -214,8 +214,8 @@ namespace Google.GRPC.Interop .SetResponseType(PayloadType.COMPRESSABLE) .AddResponseParameters(ResponseParameters.CreateBuilder().SetSize(31415)) .SetPayload(CreateZerosPayload(27182)).Build()); - - response = recorder.Queue.Take(); + + response = recorder.Queue.Take(); Assert.AreEqual(PayloadType.COMPRESSABLE, response.Payload.Type); Assert.AreEqual(31415, response.Payload.Body.Length); @@ -224,7 +224,7 @@ namespace Google.GRPC.Interop .AddResponseParameters(ResponseParameters.CreateBuilder().SetSize(9)) .SetPayload(CreateZerosPayload(8)).Build()); - response = recorder.Queue.Take(); + response = recorder.Queue.Take(); Assert.AreEqual(PayloadType.COMPRESSABLE, response.Payload.Type); Assert.AreEqual(9, response.Payload.Body.Length); @@ -233,7 +233,7 @@ namespace Google.GRPC.Interop .AddResponseParameters(ResponseParameters.CreateBuilder().SetSize(2635)) .SetPayload(CreateZerosPayload(1828)).Build()); - response = recorder.Queue.Take(); + response = recorder.Queue.Take(); Assert.AreEqual(PayloadType.COMPRESSABLE, response.Payload.Type); Assert.AreEqual(2653, response.Payload.Body.Length); @@ -243,7 +243,7 @@ namespace Google.GRPC.Interop .AddResponseParameters(ResponseParameters.CreateBuilder().SetSize(58979)) .SetPayload(CreateZerosPayload(45904)).Build()); - response = recorder.Queue.Take(); + response = recorder.Queue.Take(); Assert.AreEqual(PayloadType.COMPRESSABLE, response.Payload.Type); Assert.AreEqual(58979, response.Payload.Body.Length); diff --git a/src/csharp/InteropClient/Properties/AssemblyInfo.cs b/src/csharp/InteropClient/Properties/AssemblyInfo.cs index 1f3cc19a9def7df199ad97752baaa2cc67a75be9..00b4bd5895555502167eb329f31d1df18be24db7 100644 --- a/src/csharp/InteropClient/Properties/AssemblyInfo.cs +++ b/src/csharp/InteropClient/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("InteropClient")] [assembly: AssemblyDescription("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/csharp/MathClient/MathClient.cs b/src/csharp/MathClient/MathClient.cs index a54c8e3809931da11862805c74f39ee5a3306f65..eb9b7b105b8aef0762a93cd002fdcd2cb1e714a5 100644 --- a/src/csharp/MathClient/MathClient.cs +++ b/src/csharp/MathClient/MathClient.cs @@ -2,11 +2,11 @@ // Copyright 2015, Google Inc. // All rights reserved. -// +// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// +// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -16,7 +16,7 @@ // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. -// +// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -55,7 +55,7 @@ namespace math MathExamples.DivManyExample(stub); } - + GrpcEnvironment.Shutdown(); } } diff --git a/src/csharp/MathClient/Properties/AssemblyInfo.cs b/src/csharp/MathClient/Properties/AssemblyInfo.cs index f521cd63f0c6bf1a18559f524e8d504a2990e434..aa614943acb872a4da3623f8abf040ba6b08596b 100644 --- a/src/csharp/MathClient/Properties/AssemblyInfo.cs +++ b/src/csharp/MathClient/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.CompilerServices; -// Information about this assembly is defined by the following attributes. +// Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("MathClient")] [assembly: AssemblyDescription ("")] @@ -15,7 +15,7 @@ using System.Runtime.CompilerServices; // The form "{Major}.{Minor}.*" will automatically update the build and revision, // and "{Major}.{Minor}.{Build}.*" will update just the revision. [assembly: AssemblyVersion ("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, +// The following attributes are used to specify the signing key for the assembly, // if desired. See the Mono documentation for more information about signing. //[assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyFile("")] diff --git a/src/node/ext/byte_buffer.cc b/src/node/ext/byte_buffer.cc index 8180c2735fe234aede78454fd518a63aebfadd65..c165d26e47e1161a48cdc9b45ab43d7ebba7acf8 100644 --- a/src/node/ext/byte_buffer.cc +++ b/src/node/ext/byte_buffer.cc @@ -92,4 +92,4 @@ Handle<Value> MakeFastBuffer(Handle<Value> slowBuffer) { return NanEscapeScope(fastBuffer); } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/byte_buffer.h b/src/node/ext/byte_buffer.h index 52fee70a9db0117c3f14b9ac19951d2a3fc060e9..5083674d394a35dcace146d4fbc51737e16a7672 100644 --- a/src/node/ext/byte_buffer.h +++ b/src/node/ext/byte_buffer.h @@ -57,4 +57,4 @@ v8::Handle<v8::Value> MakeFastBuffer(v8::Handle<v8::Value> slowBuffer); } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_BYTE_BUFFER_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_BYTE_BUFFER_H_ diff --git a/src/node/ext/call.h b/src/node/ext/call.h index e93349d65cb3004f444d4b788a387a83e155714f..933541ce5b654aed5bfedd9a91ae373f4d6e2ef1 100644 --- a/src/node/ext/call.h +++ b/src/node/ext/call.h @@ -128,4 +128,4 @@ class Call : public ::node::ObjectWrap { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_CALL_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_CALL_H_ diff --git a/src/node/ext/channel.cc b/src/node/ext/channel.cc index edeebe9702e58493b10224a5c741d6e06bb99ef0..6c7a89e596d09955f0158fd1cab7cf9cd5e94695 100644 --- a/src/node/ext/channel.cc +++ b/src/node/ext/channel.cc @@ -179,4 +179,4 @@ NAN_METHOD(Channel::Close) { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/channel.h b/src/node/ext/channel.h index 3c0597715b2910072cfff585af1e450feabd8fa9..bf793194d9a7ff1cb91bd90b5d15f043f83d983e 100644 --- a/src/node/ext/channel.h +++ b/src/node/ext/channel.h @@ -76,4 +76,4 @@ class Channel : public ::node::ObjectWrap { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_CHANNEL_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_CHANNEL_H_ diff --git a/src/node/ext/completion_queue_async_worker.cc b/src/node/ext/completion_queue_async_worker.cc index bc5896b58bd7ed50928eabdf0ce5badccb72b993..ca22527e6f547a776d49cda075f88ca0272e97a5 100644 --- a/src/node/ext/completion_queue_async_worker.cc +++ b/src/node/ext/completion_queue_async_worker.cc @@ -101,4 +101,4 @@ void CompletionQueueAsyncWorker::HandleErrorCallback() { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/completion_queue_async_worker.h b/src/node/ext/completion_queue_async_worker.h index 1c02a345929349a88ec817553bd8bcb28628770f..0ddb5b4cfd2551a19a1b9421c8dfe7a52829b1aa 100644 --- a/src/node/ext/completion_queue_async_worker.h +++ b/src/node/ext/completion_queue_async_worker.h @@ -78,4 +78,4 @@ class CompletionQueueAsyncWorker : public NanAsyncWorker { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_COMPLETION_QUEUE_ASYNC_WORKER_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_COMPLETION_QUEUE_ASYNC_WORKER_H_ diff --git a/src/node/ext/credentials.cc b/src/node/ext/credentials.cc index cb1e8a79c1f8fbe754cb54b3062af73d74abf315..4b95c72bf73a23770f8d702c29d3bfe21a03c50e 100644 --- a/src/node/ext/credentials.cc +++ b/src/node/ext/credentials.cc @@ -200,4 +200,4 @@ NAN_METHOD(Credentials::CreateIam) { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/credentials.h b/src/node/ext/credentials.h index 576a5dbd47ad34f257ba9f37b7f8acb7a12b1c71..e60be3d4e155b7581ff55e2649402cf2bf8e5b45 100644 --- a/src/node/ext/credentials.h +++ b/src/node/ext/credentials.h @@ -78,4 +78,4 @@ class Credentials : public ::node::ObjectWrap { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_CREDENTIALS_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_CREDENTIALS_H_ diff --git a/src/node/ext/node_grpc.cc b/src/node/ext/node_grpc.cc index 4e1553fecd466ea15c87acc63d4fa982c8e72666..965186e0cc64f318d7c10700969aa60e8677d055 100644 --- a/src/node/ext/node_grpc.cc +++ b/src/node/ext/node_grpc.cc @@ -175,4 +175,4 @@ void init(Handle<Object> exports) { grpc::node::ServerCredentials::Init(exports); } -NODE_MODULE(grpc, init) \ No newline at end of file +NODE_MODULE(grpc, init) diff --git a/src/node/ext/server.cc b/src/node/ext/server.cc index c2e85df5b8badebdda5c7d422daccb228c6dcde8..ab45da8d199692f0c90ebbcd55d65d76e697639b 100644 --- a/src/node/ext/server.cc +++ b/src/node/ext/server.cc @@ -286,4 +286,4 @@ NAN_METHOD(Server::Shutdown) { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/server.h b/src/node/ext/server.h index e4bb4d889ea1840e986f9e686275778ec75d7f79..2056fe7d3f8a5b14ff2ae948493c089175ee4c12 100644 --- a/src/node/ext/server.h +++ b/src/node/ext/server.h @@ -76,4 +76,4 @@ class Server : public ::node::ObjectWrap { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_SERVER_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_SERVER_H_ diff --git a/src/node/ext/server_credentials.cc b/src/node/ext/server_credentials.cc index 9c9a1b38a7bf33900e23521d62c95f1f7cb7e1e8..f75a2bf79c8f2cd2ec03e3e69311c43d530a654c 100644 --- a/src/node/ext/server_credentials.cc +++ b/src/node/ext/server_credentials.cc @@ -151,4 +151,4 @@ NAN_METHOD(ServerCredentials::CreateFake) { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/server_credentials.h b/src/node/ext/server_credentials.h index 7c916e774e39ec10bb420debd5bdee68d031dc76..f09902420c6e6413f02f4bfa086d4827294a66e6 100644 --- a/src/node/ext/server_credentials.h +++ b/src/node/ext/server_credentials.h @@ -74,4 +74,4 @@ class ServerCredentials : public ::node::ObjectWrap { } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_SERVER_CREDENTIALS_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_SERVER_CREDENTIALS_H_ diff --git a/src/node/ext/timeval.cc b/src/node/ext/timeval.cc index 5cece4a97d18794cbd8684d136f4a99cfbbc6e98..bc3237f7a6c2d06794dbdffaa4d3a70a8b5b343a 100644 --- a/src/node/ext/timeval.cc +++ b/src/node/ext/timeval.cc @@ -62,4 +62,4 @@ double TimespecToMilliseconds(gpr_timespec timespec) { } } // namespace node -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/src/node/ext/timeval.h b/src/node/ext/timeval.h index a85949f2674ab106408a7db03bc759adc02b7ee9..0cada5ace969d17f7769adb6291329a2283c4a23 100644 --- a/src/node/ext/timeval.h +++ b/src/node/ext/timeval.h @@ -45,4 +45,4 @@ gpr_timespec MillisecondsToTimespec(double millis); } // namespace node } // namespace grpc -#endif // NET_GRPC_NODE_TIMEVAL_H_ \ No newline at end of file +#endif // NET_GRPC_NODE_TIMEVAL_H_ diff --git a/src/python/src/grpc/_adapter/_call.c b/src/python/src/grpc/_adapter/_call.c index 1587a8c741378d5094a251340f478d0557b32e02..7e62c1b7a3d4fe185ba71c7ff799b4a2e7503fa2 100644 --- a/src/python/src/grpc/_adapter/_call.c +++ b/src/python/src/grpc/_adapter/_call.c @@ -290,4 +290,4 @@ int pygrpc_add_call(PyObject *module) { PyErr_SetString(PyExc_ImportError, "Couldn't add Call type to module!"); } return 0; -} \ No newline at end of file +} diff --git a/src/ruby/bin/apis/google/protobuf/empty.rb b/src/ruby/bin/apis/google/protobuf/empty.rb index 9aaa19b47433d8e7831f92d4fd5333684114c61a..2f6bbc950b6427a138b0efb7d4ed5b3f8097bef4 100644 --- a/src/ruby/bin/apis/google/protobuf/empty.rb +++ b/src/ruby/bin/apis/google/protobuf/empty.rb @@ -41,4 +41,4 @@ module Google module Protobuf Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Empty").msgclass end -end \ No newline at end of file +end diff --git a/src/ruby/bin/apis/pubsub_demo.rb b/src/ruby/bin/apis/pubsub_demo.rb index cd31efd9f118bf02d1c9c5bbec16455dc349bfff..6656a561309fd52d1b9eca88a95201e607aa70a2 100755 --- a/src/ruby/bin/apis/pubsub_demo.rb +++ b/src/ruby/bin/apis/pubsub_demo.rb @@ -275,4 +275,4 @@ def main NamedActions.new(pub, sub, args).method(args.action).call end -main \ No newline at end of file +main diff --git a/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb b/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb index 63db5c3ec842311c3a17cb1a9ea26c2f31f5a038..d61431f17af11a35bd3d6d8cf98265ca1507034e 100644 --- a/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb +++ b/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb @@ -171,4 +171,4 @@ module Tech AcknowledgeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.AcknowledgeRequest").msgclass NackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("tech.pubsub.NackRequest").msgclass end -end \ No newline at end of file +end diff --git a/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb b/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb index cb27ce603984815a2a8f89383956568115424fe9..43c5265643acf217a8ddfcb6839ea831c06ba1a0 100644 --- a/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb +++ b/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb @@ -100,4 +100,4 @@ module Tech Stub = Service.rpc_stub_class end end -end \ No newline at end of file +end diff --git a/src/ruby/bin/interop/interop_client.rb b/src/ruby/bin/interop/interop_client.rb index 94d4ad6c3e97b8a52314aa83ff4cb33e8fe86f8c..ef31f68f83b65999b99f644327d5c2b3af293d3b 100755 --- a/src/ruby/bin/interop/interop_client.rb +++ b/src/ruby/bin/interop/interop_client.rb @@ -348,4 +348,4 @@ def main NamedTests.new(stub, opts).method(opts['test_case']).call end -main \ No newline at end of file +main diff --git a/src/ruby/bin/interop/interop_server.rb b/src/ruby/bin/interop/interop_server.rb index 0e2b40bdcae4fd74143e61af15a2d867360ca4f0..b3b7d0c5a3a90f3eca27fac7ae34673f6197e6a6 100755 --- a/src/ruby/bin/interop/interop_server.rb +++ b/src/ruby/bin/interop/interop_server.rb @@ -189,4 +189,4 @@ def main s.run end -main \ No newline at end of file +main diff --git a/src/ruby/bin/interop/test/cpp/interop/empty.rb b/src/ruby/bin/interop/test/cpp/interop/empty.rb index 0dd4d2129335e4499eb41c4ebadf7c259904ec16..3579fa5ded80e6d32b500947d0e202857865f2f0 100644 --- a/src/ruby/bin/interop/test/cpp/interop/empty.rb +++ b/src/ruby/bin/interop/test/cpp/interop/empty.rb @@ -41,4 +41,4 @@ module Grpc module Testing Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Empty").msgclass end -end \ No newline at end of file +end diff --git a/src/ruby/bin/interop/test/cpp/interop/messages.rb b/src/ruby/bin/interop/test/cpp/interop/messages.rb index 9e65b42caaeafb7a97304baf3df4e00ebe5fed43..89c349b4060011b7cc1589a5aad6df8d4ca0d896 100644 --- a/src/ruby/bin/interop/test/cpp/interop/messages.rb +++ b/src/ruby/bin/interop/test/cpp/interop/messages.rb @@ -86,4 +86,4 @@ module Grpc StreamingOutputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallResponse").msgclass PayloadType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule end -end \ No newline at end of file +end diff --git a/src/ruby/bin/interop/test/cpp/interop/test.rb b/src/ruby/bin/interop/test/cpp/interop/test.rb index 0df3ec1f3a2d8e66841491efa2ed631f2cccd5c0..5948b50eaa5cddae2ce7fac485b3d3db8bc32be5 100644 --- a/src/ruby/bin/interop/test/cpp/interop/test.rb +++ b/src/ruby/bin/interop/test/cpp/interop/test.rb @@ -40,4 +40,4 @@ end module Grpc module Testing end -end \ No newline at end of file +end diff --git a/src/ruby/bin/interop/test/cpp/interop/test_services.rb b/src/ruby/bin/interop/test/cpp/interop/test_services.rb index d50457f18c642e03f5a0ed294759da6043ae3fd2..5a3146c581b24b2ab7656f0237c1071e6cac963f 100644 --- a/src/ruby/bin/interop/test/cpp/interop/test_services.rb +++ b/src/ruby/bin/interop/test/cpp/interop/test_services.rb @@ -57,4 +57,4 @@ module Grpc Stub = Service.rpc_stub_class end end -end \ No newline at end of file +end diff --git a/src/ruby/bin/math.rb b/src/ruby/bin/math.rb index 7dc677b6a3a4d75c6218139f550214df922e6d4d..323993ed439e9cbd46668ac14180583de26ea174 100755 --- a/src/ruby/bin/math.rb +++ b/src/ruby/bin/math.rb @@ -58,4 +58,4 @@ module Math FibArgs = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibArgs").msgclass Num = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.Num").msgclass FibReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.FibReply").msgclass -end \ No newline at end of file +end diff --git a/src/ruby/bin/math_client.rb b/src/ruby/bin/math_client.rb index 9a0687f66963dff11e26ce632cbbf3d74c9fd8a1..cb085d4d42988e2a13809ae6b47fc7beb9259a68 100755 --- a/src/ruby/bin/math_client.rb +++ b/src/ruby/bin/math_client.rb @@ -144,4 +144,4 @@ def main do_div_many(stub) end -main \ No newline at end of file +main diff --git a/src/ruby/bin/math_server.rb b/src/ruby/bin/math_server.rb index ff38b2a25014815e0508000cdd1845b265069d72..93277e39320c4948cdd5fc46815da2feab4716ad 100755 --- a/src/ruby/bin/math_server.rb +++ b/src/ruby/bin/math_server.rb @@ -187,4 +187,4 @@ def main s.run end -main \ No newline at end of file +main diff --git a/src/ruby/bin/math_services.rb b/src/ruby/bin/math_services.rb index c559ae0bb8af861f699e0693381e34e034e10148..cf58a53913fa970f4902da61102e5feffbae3ba2 100755 --- a/src/ruby/bin/math_services.rb +++ b/src/ruby/bin/math_services.rb @@ -53,4 +53,4 @@ module Math Stub = Service.rpc_stub_class end -end \ No newline at end of file +end diff --git a/src/ruby/bin/noproto_client.rb b/src/ruby/bin/noproto_client.rb index ec01e740f3e85bb7a2a4ab34f290bf25057026f9..44710520d297941fa2c541f434b2233d68bb6b10 100755 --- a/src/ruby/bin/noproto_client.rb +++ b/src/ruby/bin/noproto_client.rb @@ -105,4 +105,4 @@ def main logger.info("got a response: #{resp}") end -main \ No newline at end of file +main diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb index 208a91f734b030b04655f48d0249ed22e820ea74..435f8f4ebf495aec964d271a1a609a47fc532014 100755 --- a/src/ruby/bin/noproto_server.rb +++ b/src/ruby/bin/noproto_server.rb @@ -109,4 +109,4 @@ def main s.run end -main \ No newline at end of file +main diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb index c9f7d94165cfaf2cfc7bb4a33163a09194c27b40..96c92e2be5ddaa9049dcf856db14574dd38434e2 100644 --- a/src/ruby/ext/grpc/extconf.rb +++ b/src/ruby/ext/grpc/extconf.rb @@ -73,4 +73,4 @@ $LDFLAGS << ' -lgrpc -lgpr -ldl' crash('need grpc lib') unless have_library('grpc', 'grpc_channel_destroy') have_library('grpc', 'grpc_channel_destroy') crash('need gpr lib') unless have_library('gpr', 'gpr_now') -create_makefile('grpc/grpc') \ No newline at end of file +create_makefile('grpc/grpc') diff --git a/src/ruby/ext/grpc/rb_byte_buffer.c b/src/ruby/ext/grpc/rb_byte_buffer.c index 605703fd53f6e1ee39e62353589570bd13fd6dcb..ed9240ab637e019c52f6a18facf13a47021a9639 100644 --- a/src/ruby/ext/grpc/rb_byte_buffer.c +++ b/src/ruby/ext/grpc/rb_byte_buffer.c @@ -238,4 +238,4 @@ grpc_byte_buffer *grpc_rb_get_wrapped_byte_buffer(VALUE v) { grpc_rb_byte_buffer *wrapper = NULL; Data_Get_Struct(v, grpc_rb_byte_buffer, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_byte_buffer.h b/src/ruby/ext/grpc/rb_byte_buffer.h index 935f206c619a54be76dc2fbd99de203be6122ca4..c65f2153f8d221164a8adfa21164874c6a7015a2 100644 --- a/src/ruby/ext/grpc/rb_byte_buffer.h +++ b/src/ruby/ext/grpc/rb_byte_buffer.h @@ -51,4 +51,4 @@ VALUE grpc_rb_byte_buffer_create_with_mark(VALUE mark, grpc_byte_buffer* bb); /* Gets the wrapped byte_buffer from its ruby object. */ grpc_byte_buffer* grpc_rb_get_wrapped_byte_buffer(VALUE v); -#endif /* GRPC_RB_BYTE_BUFFER_H_ */ \ No newline at end of file +#endif /* GRPC_RB_BYTE_BUFFER_H_ */ diff --git a/src/ruby/ext/grpc/rb_call.c b/src/ruby/ext/grpc/rb_call.c index 9576075ffa14131b1c6dea4ecb2e2100c03f4455..12cf3bccc2bf59b8e77eac488f1b42af6b18f023 100644 --- a/src/ruby/ext/grpc/rb_call.c +++ b/src/ruby/ext/grpc/rb_call.c @@ -566,4 +566,4 @@ VALUE grpc_rb_wrap_call(grpc_call *c) { UINT2NUM(NUM2UINT(obj) + 1)); } return Data_Wrap_Struct(rb_cCall, GC_NOT_MARKED, grpc_rb_call_destroy, c); -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_call.h b/src/ruby/ext/grpc/rb_call.h index f2a3f3ed3be6b3c8d1d5c24542f329179eb2617f..ade6046e24f5fc5fdc5ab2be8093f14743b59800 100644 --- a/src/ruby/ext/grpc/rb_call.h +++ b/src/ruby/ext/grpc/rb_call.h @@ -56,4 +56,4 @@ extern VALUE rb_eCallError; /* Initializes the Call class. */ void Init_google_rpc_call(); -#endif /* GRPC_RB_CALL_H_ */ \ No newline at end of file +#endif /* GRPC_RB_CALL_H_ */ diff --git a/src/ruby/ext/grpc/rb_channel.c b/src/ruby/ext/grpc/rb_channel.c index 116e7740561c7951e6b18b358a0a8a02c77f8e4c..3dbfb9dbfd009e369af7ed206b4109f74ea9a171 100644 --- a/src/ruby/ext/grpc/rb_channel.c +++ b/src/ruby/ext/grpc/rb_channel.c @@ -261,4 +261,4 @@ grpc_channel *grpc_rb_get_wrapped_channel(VALUE v) { grpc_rb_channel *wrapper = NULL; Data_Get_Struct(v, grpc_rb_channel, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_channel.h b/src/ruby/ext/grpc/rb_channel.h index 696f77e9418890499e076841b588b08a905ce8f2..bf77d774fee053329d15fc75ffa7e7fac5f38a8a 100644 --- a/src/ruby/ext/grpc/rb_channel.h +++ b/src/ruby/ext/grpc/rb_channel.h @@ -46,4 +46,4 @@ void Init_google_rpc_channel(); /* Gets the wrapped channel from the ruby wrapper */ grpc_channel* grpc_rb_get_wrapped_channel(VALUE v); -#endif /* GRPC_RB_CHANNEL_H_ */ \ No newline at end of file +#endif /* GRPC_RB_CHANNEL_H_ */ diff --git a/src/ruby/ext/grpc/rb_channel_args.c b/src/ruby/ext/grpc/rb_channel_args.c index 4249db776896a9a52092cb01e15343f114222109..532ee5e78599822ccad0e3895b1ada48b8a59cbc 100644 --- a/src/ruby/ext/grpc/rb_channel_args.c +++ b/src/ruby/ext/grpc/rb_channel_args.c @@ -151,4 +151,4 @@ void grpc_rb_hash_convert_to_channel_args(VALUE src_hash, } rb_jump_tag(status); } -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_channel_args.h b/src/ruby/ext/grpc/rb_channel_args.h index ff12e90806c6eacb64797b65e007fb69e8242406..78a333bd0826b25c57f3dad29907ef2065540f08 100644 --- a/src/ruby/ext/grpc/rb_channel_args.h +++ b/src/ruby/ext/grpc/rb_channel_args.h @@ -49,4 +49,4 @@ void grpc_rb_hash_convert_to_channel_args(VALUE src_hash, grpc_channel_args* dst); -#endif /* GRPC_RB_CHANNEL_ARGS_H_ */ \ No newline at end of file +#endif /* GRPC_RB_CHANNEL_ARGS_H_ */ diff --git a/src/ruby/ext/grpc/rb_completion_queue.c b/src/ruby/ext/grpc/rb_completion_queue.c index 7ed586fbb12a729e6b8cb800f9ffc6297d64b3e2..60a28ce94bc8b5a60fdf2a3aa75cac8b1c419833 100644 --- a/src/ruby/ext/grpc/rb_completion_queue.c +++ b/src/ruby/ext/grpc/rb_completion_queue.c @@ -182,4 +182,4 @@ grpc_completion_queue *grpc_rb_get_wrapped_completion_queue(VALUE v) { grpc_completion_queue *cq = NULL; Data_Get_Struct(v, grpc_completion_queue, cq); return cq; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_completion_queue.h b/src/ruby/ext/grpc/rb_completion_queue.h index 61b27ab10f23cd354cc7aaf91e3a0c4a5f2d68d3..1f618f593f08f684f02d967ea61a88af97b32859 100644 --- a/src/ruby/ext/grpc/rb_completion_queue.h +++ b/src/ruby/ext/grpc/rb_completion_queue.h @@ -47,4 +47,4 @@ extern VALUE rb_cCompletionQueue; /* Initializes the CompletionQueue class. */ void Init_google_rpc_completion_queue(); -#endif /* GRPC_RB_COMPLETION_QUEUE_H_ */ \ No newline at end of file +#endif /* GRPC_RB_COMPLETION_QUEUE_H_ */ diff --git a/src/ruby/ext/grpc/rb_credentials.c b/src/ruby/ext/grpc/rb_credentials.c index 9df58e2c69f8f747b0f283cf8bddce5e0c6cdb9d..4e512760d7f2eb978ba5fc68cad92331beadc176 100644 --- a/src/ruby/ext/grpc/rb_credentials.c +++ b/src/ruby/ext/grpc/rb_credentials.c @@ -278,4 +278,4 @@ grpc_credentials *grpc_rb_get_wrapped_credentials(VALUE v) { grpc_rb_credentials *wrapper = NULL; Data_Get_Struct(v, grpc_rb_credentials, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_credentials.h b/src/ruby/ext/grpc/rb_credentials.h index 838d2abb3d73bd8693690dff763faf3acd02dab3..be5574c3191aa3f5c608db0e242de0630736ea34 100644 --- a/src/ruby/ext/grpc/rb_credentials.h +++ b/src/ruby/ext/grpc/rb_credentials.h @@ -47,4 +47,4 @@ void Init_google_rpc_credentials(); /* Gets the wrapped credentials from the ruby wrapper */ grpc_credentials* grpc_rb_get_wrapped_credentials(VALUE v); -#endif /* GRPC_RB_CREDENTIALS_H_ */ \ No newline at end of file +#endif /* GRPC_RB_CREDENTIALS_H_ */ diff --git a/src/ruby/ext/grpc/rb_event.c b/src/ruby/ext/grpc/rb_event.c index 70147349d5cf12269f7af0e1e2c2e3eaa88c75df..3579f2007355f0f3a962a58ac74c3e5343965ee8 100644 --- a/src/ruby/ext/grpc/rb_event.c +++ b/src/ruby/ext/grpc/rb_event.c @@ -358,4 +358,4 @@ VALUE grpc_rb_new_event(grpc_event *ev) { wrapper->mark = Qnil; return Data_Wrap_Struct(rb_cEvent, grpc_rb_event_mark, grpc_rb_event_free, wrapper); -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_event.h b/src/ruby/ext/grpc/rb_event.h index ee75231ae729d34fc2402fae9c8056069974e6eb..12f12868772b0aa8b82cc382bf8aca374d85031b 100644 --- a/src/ruby/ext/grpc/rb_event.h +++ b/src/ruby/ext/grpc/rb_event.h @@ -50,4 +50,4 @@ VALUE grpc_rb_new_event(grpc_event *ev); /* Initializes the Event and EventError classes. */ void Init_google_rpc_event(); -#endif /* GRPC_RB_EVENT_H_ */ \ No newline at end of file +#endif /* GRPC_RB_EVENT_H_ */ diff --git a/src/ruby/ext/grpc/rb_grpc.c b/src/ruby/ext/grpc/rb_grpc.c index 2ec4ee5aacd90165a841c755f046974ce2c3bfbb..61b7ea29ff65ce2e4db9b0160fc76cddf9b59b94 100644 --- a/src/ruby/ext/grpc/rb_grpc.c +++ b/src/ruby/ext/grpc/rb_grpc.c @@ -273,4 +273,4 @@ void Init_grpc() { Init_google_rpc_server_credentials(); Init_google_status_codes(); Init_google_time_consts(); -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_grpc.h b/src/ruby/ext/grpc/rb_grpc.h index 0cd79eaf8545dbffcd493b3318781c2f1bcfc32e..7c7ef8896870f581e68d97b23c020ac19ec14378 100644 --- a/src/ruby/ext/grpc/rb_grpc.h +++ b/src/ruby/ext/grpc/rb_grpc.h @@ -74,4 +74,4 @@ VALUE grpc_rb_cannot_init_copy(VALUE copy, VALUE self); /* grpc_rb_time_timeval creates a gpr_timespec from a ruby time object. */ gpr_timespec grpc_rb_time_timeval(VALUE time, int interval); -#endif /* GRPC_RB_H_ */ \ No newline at end of file +#endif /* GRPC_RB_H_ */ diff --git a/src/ruby/ext/grpc/rb_metadata.c b/src/ruby/ext/grpc/rb_metadata.c index f054ae9e98a34ba1d69e1dfaa6c764412c47e905..312cbf998f29f51b439f6b17cf6f3335ea0f3bfa 100644 --- a/src/ruby/ext/grpc/rb_metadata.c +++ b/src/ruby/ext/grpc/rb_metadata.c @@ -212,4 +212,4 @@ grpc_metadata *grpc_rb_get_wrapped_metadata(VALUE v) { grpc_rb_metadata *wrapper = NULL; Data_Get_Struct(v, grpc_rb_metadata, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_metadata.h b/src/ruby/ext/grpc/rb_metadata.h index 5873ca597ec77263247f811c62bf6cc235d47bcf..6c0f252378ad2368c67c555b8ab6aebd27863f72 100644 --- a/src/ruby/ext/grpc/rb_metadata.h +++ b/src/ruby/ext/grpc/rb_metadata.h @@ -50,4 +50,4 @@ grpc_metadata* grpc_rb_get_wrapped_metadata(VALUE v); /* Initializes the Metadata class. */ void Init_google_rpc_metadata(); -#endif /* GRPC_RB_METADATA_H_ */ \ No newline at end of file +#endif /* GRPC_RB_METADATA_H_ */ diff --git a/src/ruby/ext/grpc/rb_server.c b/src/ruby/ext/grpc/rb_server.c index 4789f2e883434d9c527219f7907ee1305d60ce3b..ee30419a1cb6fe66fad39b26ac5de5d6bf4130e1 100644 --- a/src/ruby/ext/grpc/rb_server.c +++ b/src/ruby/ext/grpc/rb_server.c @@ -275,4 +275,4 @@ grpc_server *grpc_rb_get_wrapped_server(VALUE v) { grpc_rb_server *wrapper = NULL; Data_Get_Struct(v, grpc_rb_server, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_server.h b/src/ruby/ext/grpc/rb_server.h index 7226359b2d9edcd3d73c7d754957df7dccf52128..6418db23fe86b79e102259dfb307f8af81397566 100644 --- a/src/ruby/ext/grpc/rb_server.h +++ b/src/ruby/ext/grpc/rb_server.h @@ -47,4 +47,4 @@ void Init_google_rpc_server(); /* Gets the wrapped server from the ruby wrapper */ grpc_server* grpc_rb_get_wrapped_server(VALUE v); -#endif /* GRPC_RB_SERVER_H_ */ \ No newline at end of file +#endif /* GRPC_RB_SERVER_H_ */ diff --git a/src/ruby/ext/grpc/rb_server_credentials.c b/src/ruby/ext/grpc/rb_server_credentials.c index 41c0a955a7a1c3b7c3eba18cce46b687b9ef3b23..521756203929f951a85d3871cc9e2152a222f805 100644 --- a/src/ruby/ext/grpc/rb_server_credentials.c +++ b/src/ruby/ext/grpc/rb_server_credentials.c @@ -207,4 +207,4 @@ grpc_server_credentials *grpc_rb_get_wrapped_server_credentials(VALUE v) { grpc_rb_server_credentials *wrapper = NULL; Data_Get_Struct(v, grpc_rb_server_credentials, wrapper); return wrapper->wrapped; -} \ No newline at end of file +} diff --git a/src/ruby/ext/grpc/rb_server_credentials.h b/src/ruby/ext/grpc/rb_server_credentials.h index a2193cdc4e1b133400e036427ea847e2620afd43..f73d2b1e1a641e1d887eaa08e54ee0dd091a4ce7 100644 --- a/src/ruby/ext/grpc/rb_server_credentials.h +++ b/src/ruby/ext/grpc/rb_server_credentials.h @@ -47,4 +47,4 @@ void Init_google_rpc_server_credentials(); /* Gets the wrapped server_credentials from the ruby wrapper */ grpc_server_credentials* grpc_rb_get_wrapped_server_credentials(VALUE v); -#endif /* GRPC_RB_SERVER_CREDENTIALS_H_ */ \ No newline at end of file +#endif /* GRPC_RB_SERVER_CREDENTIALS_H_ */ diff --git a/src/ruby/lib/grpc.rb b/src/ruby/lib/grpc.rb index 8836afd6dd333ff0fe0375829d456b37c1e79395..39052265f2e55b89776e0bc5c06da984289925c8 100644 --- a/src/ruby/lib/grpc.rb +++ b/src/ruby/lib/grpc.rb @@ -41,4 +41,4 @@ require 'grpc/generic/service' require 'grpc/generic/rpc_server' # alias GRPC -GRPC = Google::RPC \ No newline at end of file +GRPC = Google::RPC diff --git a/src/ruby/lib/grpc/core/event.rb b/src/ruby/lib/grpc/core/event.rb index bfde5dfe3bff582a2f25e986c73ed4262f8a3d92..9beb4d1d72d82d5efaa5b7c7aecb3b7231d8e1d4 100644 --- a/src/ruby/lib/grpc/core/event.rb +++ b/src/ruby/lib/grpc/core/event.rb @@ -40,4 +40,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/core/time_consts.rb b/src/ruby/lib/grpc/core/time_consts.rb index 0b7c22d20b85945d06c6f58e900dabeb17df5880..cfc2a7a6fa888d342ce0100e2d38ee959f891720 100644 --- a/src/ruby/lib/grpc/core/time_consts.rb +++ b/src/ruby/lib/grpc/core/time_consts.rb @@ -69,4 +69,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/errors.rb b/src/ruby/lib/grpc/errors.rb index d562f0503d9c0f9b2c0724a0a444c983379aba03..7e8753e324382b108834e74d74526e8bd7499cfd 100644 --- a/src/ruby/lib/grpc/errors.rb +++ b/src/ruby/lib/grpc/errors.rb @@ -60,4 +60,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/active_call.rb b/src/ruby/lib/grpc/generic/active_call.rb index 22218bd7546e8d41f382cd8e188cbae35edc93f0..67e019f0502301e3166872f9b58023596a0e4f28 100644 --- a/src/ruby/lib/grpc/generic/active_call.rb +++ b/src/ruby/lib/grpc/generic/active_call.rb @@ -535,4 +535,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/bidi_call.rb b/src/ruby/lib/grpc/generic/bidi_call.rb index 2e470346ede93ee40016ad0cfb0f9a18eef040bf..18b0d681fd65f5ca3bfcf079b013a98e1c25d96e 100644 --- a/src/ruby/lib/grpc/generic/bidi_call.rb +++ b/src/ruby/lib/grpc/generic/bidi_call.rb @@ -220,4 +220,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/client_stub.rb b/src/ruby/lib/grpc/generic/client_stub.rb index 10405a922ee51af2bb9a5032febe64de0ffcb5f4..a35fae1e2edf15380d403b181ceca81a77719709 100644 --- a/src/ruby/lib/grpc/generic/client_stub.rb +++ b/src/ruby/lib/grpc/generic/client_stub.rb @@ -407,4 +407,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/rpc_desc.rb b/src/ruby/lib/grpc/generic/rpc_desc.rb index ea6abbc40083193d20a0a8501db78c40ed583e6e..51f7d794fee7af3f12cf82068ef017b44e277ae5 100644 --- a/src/ruby/lib/grpc/generic/rpc_desc.rb +++ b/src/ruby/lib/grpc/generic/rpc_desc.rb @@ -148,4 +148,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/rpc_server.rb b/src/ruby/lib/grpc/generic/rpc_server.rb index 1ea9cfbef3aba2262b6909cb13e5878972394325..438aa9a4168d5a0b744997765fb31bb2483c43d0 100644 --- a/src/ruby/lib/grpc/generic/rpc_server.rb +++ b/src/ruby/lib/grpc/generic/rpc_server.rb @@ -403,4 +403,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/generic/service.rb b/src/ruby/lib/grpc/generic/service.rb index 77f0021e9582eb9fb23b3f8fcd5e88a37db58e5b..09ae6bee15a7723a56b278383f5f4b3f2ce201d9 100644 --- a/src/ruby/lib/grpc/generic/service.rb +++ b/src/ruby/lib/grpc/generic/service.rb @@ -234,4 +234,4 @@ module Google end end end -end \ No newline at end of file +end diff --git a/src/ruby/lib/grpc/logconfig.rb b/src/ruby/lib/grpc/logconfig.rb index 24c0913640d2dcef4fd37129be2330f9dada6af0..47e0c5b212ccbfead475dcd1ccb161a9759a124c 100644 --- a/src/ruby/lib/grpc/logconfig.rb +++ b/src/ruby/lib/grpc/logconfig.rb @@ -37,4 +37,4 @@ Logging.logger.root.level = :info # TODO: provide command-line configuration for logging Logging.logger['Google::RPC'].level = :debug Logging.logger['Google::RPC::ActiveCall'].level = :info -Logging.logger['Google::RPC::BidiCall'].level = :info \ No newline at end of file +Logging.logger['Google::RPC::BidiCall'].level = :info diff --git a/src/ruby/lib/grpc/version.rb b/src/ruby/lib/grpc/version.rb index de7ef5f88801371f0068b8908f8e76b382e3eeb7..fb8356e1e8c120da622c8f2bbe3a56accba1ebe7 100644 --- a/src/ruby/lib/grpc/version.rb +++ b/src/ruby/lib/grpc/version.rb @@ -32,4 +32,4 @@ module Google module RPC VERSION = '0.0.1' end -end \ No newline at end of file +end diff --git a/src/ruby/spec/alloc_spec.rb b/src/ruby/spec/alloc_spec.rb index 1bd0e093bd78b17d1046dea6c374dad0dd34e5d7..88e7e2b3e7ac10441f5cad7af6fe28c888449da1 100644 --- a/src/ruby/spec/alloc_spec.rb +++ b/src/ruby/spec/alloc_spec.rb @@ -41,4 +41,4 @@ describe 'Wrapped classes where .new cannot create an instance' do expect { GRPC::Core::Event.new }.to raise_error(TypeError) end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/byte_buffer_spec.rb b/src/ruby/spec/byte_buffer_spec.rb index 76e3fae35821a3f39895d9de1761f3949b6354e5..e1833ebb3a0b479da1bae75f4aa8378cc282fb1a 100644 --- a/src/ruby/spec/byte_buffer_spec.rb +++ b/src/ruby/spec/byte_buffer_spec.rb @@ -64,4 +64,4 @@ describe GRPC::Core::ByteBuffer do expect(a_copy.dup.to_s).to eq('#dup') end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/call_spec.rb b/src/ruby/spec/call_spec.rb index 2a47eac23a3cf231564839917314ec3031132be3..26175645719e31f5cf4e6c8bf509f9be0e47644f 100644 --- a/src/ruby/spec/call_spec.rb +++ b/src/ruby/spec/call_spec.rb @@ -160,4 +160,4 @@ describe GRPC::Core::Call do def deadline Time.now + 2 # in 2 seconds; arbitrary end -end \ No newline at end of file +end diff --git a/src/ruby/spec/channel_spec.rb b/src/ruby/spec/channel_spec.rb index 8e514411e59f3d233b0134999cf114058682c0ac..af73294abe429ad80478f42d8591fbb4afc53e62 100644 --- a/src/ruby/spec/channel_spec.rb +++ b/src/ruby/spec/channel_spec.rb @@ -178,4 +178,4 @@ describe GRPC::Core::Channel do expect(&blk).to_not raise_error end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/client_server_spec.rb b/src/ruby/spec/client_server_spec.rb index 734b6517c8f7191b9c754cad9f4d09ee5b1b1b14..52c985786a8b5c983d907599f60fad19b8ba7034 100644 --- a/src/ruby/spec/client_server_spec.rb +++ b/src/ruby/spec/client_server_spec.rb @@ -369,4 +369,4 @@ describe 'the secure http client/server' do # TODO: uncomment after updating the to the new c api # it_behaves_like 'GRPC metadata delivery works OK' do # end -end \ No newline at end of file +end diff --git a/src/ruby/spec/completion_queue_spec.rb b/src/ruby/spec/completion_queue_spec.rb index 89b418583ae8ab02ac04f2c7367fab3039dce7e0..11d4e9959cbadd9c43b1fc2f38cb11f5472ab798 100644 --- a/src/ruby/spec/completion_queue_spec.rb +++ b/src/ruby/spec/completion_queue_spec.rb @@ -71,4 +71,4 @@ describe GRPC::Core::CompletionQueue do expect { @cq.pluck(tag, a_time) }.not_to raise_error end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/credentials_spec.rb b/src/ruby/spec/credentials_spec.rb index 62a58fff434d74a74bd483d8ea6686c72aac6e24..001fecd12b6233ebe6cea5021b3f8f60a02b58d4 100644 --- a/src/ruby/spec/credentials_spec.rb +++ b/src/ruby/spec/credentials_spec.rb @@ -74,4 +74,4 @@ describe Credentials do expect { Credentials.default }.to raise_error RuntimeError end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/event_spec.rb b/src/ruby/spec/event_spec.rb index e2b76a54a269cfb2e7774b7c19c1e5a0673af2a3..7d92fcd792870c07c937a6213f780f01d2b89cb2 100644 --- a/src/ruby/spec/event_spec.rb +++ b/src/ruby/spec/event_spec.rb @@ -50,4 +50,4 @@ describe GRPC::Core::CompletionType do blk = proc { Hash[mod.constants.collect { |c| [c, mod.const_get(c)] }] } expect(blk.call).to eq(@known_types) end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/active_call_spec.rb b/src/ruby/spec/generic/active_call_spec.rb index 3e54c1fd6f1dd583672658941cba63f8d44038b9..84bb7b4f9bd9353e7e32fe429cfb63c22ca29698 100644 --- a/src/ruby/spec/generic/active_call_spec.rb +++ b/src/ruby/spec/generic/active_call_spec.rb @@ -370,4 +370,4 @@ describe GRPC::ActiveCall do def deadline Time.now + 1 # in 1 second; arbitrary end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/client_stub_spec.rb b/src/ruby/spec/generic/client_stub_spec.rb index 1609534f0d46c75b4aa7867c89350b0977afeeff..297a13383137a3cc6c3a5b4231ef2072943cf824 100644 --- a/src/ruby/spec/generic/client_stub_spec.rb +++ b/src/ruby/spec/generic/client_stub_spec.rb @@ -516,4 +516,4 @@ describe 'ClientStub' do INFINITE_FUTURE, finished_tag: finished_tag) end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/rpc_desc_spec.rb b/src/ruby/spec/generic/rpc_desc_spec.rb index 791395b3aced0f001fcc8b42b14e4c426eabe1eb..8bff2a9a644719c9d22cb2e064b4c4995692dee9 100644 --- a/src/ruby/spec/generic/rpc_desc_spec.rb +++ b/src/ruby/spec/generic/rpc_desc_spec.rb @@ -354,4 +354,4 @@ describe GRPC::RpcDesc do def other_error_alt(_call) fail(ArgumentError, 'other error') end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/rpc_server_pool_spec.rb b/src/ruby/spec/generic/rpc_server_pool_spec.rb index 6ffde325f6d2a1a0dfa82a29d6477d20bf3fd287..8383dc1533ee20a3124bdc882e78a3a748eb0889 100644 --- a/src/ruby/spec/generic/rpc_server_pool_spec.rb +++ b/src/ruby/spec/generic/rpc_server_pool_spec.rb @@ -136,4 +136,4 @@ describe Pool do p.stop end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/rpc_server_spec.rb b/src/ruby/spec/generic/rpc_server_spec.rb index f8484d778c22d5b19fced8f112f63a23dad36556..e8c706044617a7775d84ce65f5bb448438dc4b92 100644 --- a/src/ruby/spec/generic/rpc_server_spec.rb +++ b/src/ruby/spec/generic/rpc_server_spec.rb @@ -401,4 +401,4 @@ describe GRPC::RpcServer do end end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/generic/service_spec.rb b/src/ruby/spec/generic/service_spec.rb index 21e4bd75f09041f52e06fddfe87a4cf273464b7d..e7f5a65d3b384ed607e38eed2b9d54a067c08d76 100644 --- a/src/ruby/spec/generic/service_spec.rb +++ b/src/ruby/spec/generic/service_spec.rb @@ -339,4 +339,4 @@ describe GenericService do expect(c.include?(GenericService)).to be(true) end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/metadata_spec.rb b/src/ruby/spec/metadata_spec.rb index 3c4791474150114aa8fc20337d1c687814e85b8f..247286669210b5f1c56b172574e04f5aa658bd76 100644 --- a/src/ruby/spec/metadata_spec.rb +++ b/src/ruby/spec/metadata_spec.rb @@ -61,4 +61,4 @@ describe GRPC::Core::Metadata do expect(md.dup.value).to eq('a value') end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/server_credentials_spec.rb b/src/ruby/spec/server_credentials_spec.rb index a641a650fba71537cbca319fa86609e1d73bd61f..55598bc8dfd38060020276e5efbac176e3758886 100644 --- a/src/ruby/spec/server_credentials_spec.rb +++ b/src/ruby/spec/server_credentials_spec.rb @@ -66,4 +66,4 @@ describe GRPC::Core::ServerCredentials do expect(&blk).to_not raise_error end end -end \ No newline at end of file +end diff --git a/src/ruby/spec/server_spec.rb b/src/ruby/spec/server_spec.rb index 123e645512775c8f056518743053d3bfa3add0ba..5b81f195371d9b8a3b2301cc335b8bf160d7f63b 100644 --- a/src/ruby/spec/server_spec.rb +++ b/src/ruby/spec/server_spec.rb @@ -209,4 +209,4 @@ describe Server do s.start s end -end \ No newline at end of file +end diff --git a/src/ruby/spec/spec_helper.rb b/src/ruby/spec/spec_helper.rb index 3838181bab321378e5eae8117c110a133f351671..837d2fc42a1baad733ccde8cd42e3f432565581a 100644 --- a/src/ruby/spec/spec_helper.rb +++ b/src/ruby/spec/spec_helper.rb @@ -48,4 +48,4 @@ Faraday::Adapter.load_middleware(:test) RSpec.configure do |config| include RSpec::LoggingHelper config.capture_log_messages -end \ No newline at end of file +end diff --git a/src/ruby/spec/time_consts_spec.rb b/src/ruby/spec/time_consts_spec.rb index d090e71db3c9de371624ab3e3da6b9b0f999456d..871e0e241acacb7b27796c387c9b5976d3403547 100644 --- a/src/ruby/spec/time_consts_spec.rb +++ b/src/ruby/spec/time_consts_spec.rb @@ -86,4 +86,4 @@ describe '#from_relative_time' do expect(abs.to_f).to be_within(epsilon).of(want.to_f) end end -end \ No newline at end of file +end diff --git a/test/core/channel/channel_stack_test.c b/test/core/channel/channel_stack_test.c index 71c4676df402df8152504c00f21b03acd0731025..0345f99bdee2224d65168d37c3ad9e6cc17f2c76 100644 --- a/test/core/channel/channel_stack_test.c +++ b/test/core/channel/channel_stack_test.c @@ -135,4 +135,4 @@ int main(int argc, char **argv) { grpc_test_init(argc, argv); test_create_channel_stack(); return 0; -} \ No newline at end of file +} diff --git a/test/core/channel/metadata_buffer_test.c b/test/core/channel/metadata_buffer_test.c index 2b62aa02e175b604eba65029c006c604edbb7ffc..22776f8ca131a17ae839be2ea077446efa642035 100644 --- a/test/core/channel/metadata_buffer_test.c +++ b/test/core/channel/metadata_buffer_test.c @@ -198,4 +198,4 @@ int main(int argc, char **argv) { test_case(100, 100, 2); test_case(100, 100, 10000); return 0; -} \ No newline at end of file +} diff --git a/test/core/compression/message_compress_test.c b/test/core/compression/message_compress_test.c index b46658b6dd940f49b9d9d1924aecffc87647f2f1..4033c181310a6687784f1fcd099d1d0fdb7f67b0 100644 --- a/test/core/compression/message_compress_test.c +++ b/test/core/compression/message_compress_test.c @@ -190,4 +190,4 @@ int main(int argc, char **argv) { test_bad_data(); return 0; -} \ No newline at end of file +} diff --git a/test/core/echo/client.c b/test/core/echo/client.c index f6e9d665a5cfcac6995438260fea4c7b4cc9eee8..fb1e366b15b1e8450dccfb214cb4f02540a6f0b1 100644 --- a/test/core/echo/client.c +++ b/test/core/echo/client.c @@ -136,4 +136,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/echo/echo_test.c b/test/core/echo/echo_test.c index fd531b93146cfbf56199bc4d9212363055517b0c..e2c4d22ef51ef3d4382a360d96575a1706c1784a 100644 --- a/test/core/echo/echo_test.c +++ b/test/core/echo/echo_test.c @@ -132,4 +132,4 @@ int main(int argc, char **argv) { if (!WIFEXITED(status)) return 4; if (WEXITSTATUS(status)) return WEXITSTATUS(status); return 0; -} \ No newline at end of file +} diff --git a/test/core/echo/server.c b/test/core/echo/server.c index 17b876af8c4046f783aca9c4ee2af05e1bd76099..83da8b644d6ca9cd0b5c226891be78134fb0a2f7 100644 --- a/test/core/echo/server.c +++ b/test/core/echo/server.c @@ -220,4 +220,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/cq_verifier.c b/test/core/end2end/cq_verifier.c index 82a0af0632baa16a5b2719c544bb491496cafe74..9ed98a43457763e058a62aeddf34b45819ede4fa 100644 --- a/test/core/end2end/cq_verifier.c +++ b/test/core/end2end/cq_verifier.c @@ -496,4 +496,4 @@ void cq_expect_finished(cq_verifier *v, void *tag, ...) { void cq_expect_server_shutdown(cq_verifier *v, void *tag) { add(v, GRPC_SERVER_SHUTDOWN, tag); -} \ No newline at end of file +} diff --git a/test/core/end2end/cq_verifier.h b/test/core/end2end/cq_verifier.h index 7357a6643760ffcc7e689f65ccd19ff77d76c02b..ad6481102e72629445ebc487f89d07603ed2aa76 100644 --- a/test/core/end2end/cq_verifier.h +++ b/test/core/end2end/cq_verifier.h @@ -75,4 +75,4 @@ void cq_expect_server_shutdown(cq_verifier *v, void *tag); int byte_buffer_eq_string(grpc_byte_buffer *byte_buffer, const char *string); int contains_metadata(grpc_metadata_array *array, const char *key, const char *value); -#endif /* __GRPC_TEST_END2END_CQ_VERIFIER_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_END2END_CQ_VERIFIER_H__ */ diff --git a/test/core/end2end/data/prod_roots_certs.c b/test/core/end2end/data/prod_roots_certs.c index 001c7246e4f883c0c893b498e5552eaf10a0e4f5..0b1275f723ad713aa777092b3098ad355ce0dd0a 100644 --- a/test/core/end2end/data/prod_roots_certs.c +++ b/test/core/end2end/data/prod_roots_certs.c @@ -11270,4 +11270,4 @@ const char prod_roots_certs[] = { 0x33, 0x50, 0x59, 0x74, 0x6c, 0x4e, 0x58, 0x4c, 0x66, 0x62, 0x51, 0x34, 0x64, 0x64, 0x49, 0x0a, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, - 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; \ No newline at end of file + 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; diff --git a/test/core/end2end/data/server1_cert.c b/test/core/end2end/data/server1_cert.c index e2573fb9e11e72424c7aab052bbbd28848090397..d31f2e2d0ed5fd3f4ff84624a796ebf68863ad85 100644 --- a/test/core/end2end/data/server1_cert.c +++ b/test/core/end2end/data/server1_cert.c @@ -112,4 +112,4 @@ const char test_server1_cert[] = { 0x32, 0x77, 0x65, 0x2f, 0x4b, 0x44, 0x34, 0x6f, 0x6a, 0x66, 0x39, 0x73, 0x3d, 0x0a, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, - 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; \ No newline at end of file + 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; diff --git a/test/core/end2end/data/server1_key.c b/test/core/end2end/data/server1_key.c index 2b6fbf3280e736d45ac3e09fc9667ad7247594b3..d089660bfd26570f1d49fd7653082f1c433594ab 100644 --- a/test/core/end2end/data/server1_key.c +++ b/test/core/end2end/data/server1_key.c @@ -105,4 +105,4 @@ const char test_server1_key[] = { 0x6e, 0x68, 0x66, 0x66, 0x46, 0x79, 0x65, 0x37, 0x53, 0x42, 0x58, 0x79, 0x61, 0x67, 0x3d, 0x3d, 0x0a, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x52, 0x53, 0x41, 0x20, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, - 0x45, 0x20, 0x4b, 0x45, 0x59, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; \ No newline at end of file + 0x45, 0x20, 0x4b, 0x45, 0x59, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; diff --git a/test/core/end2end/data/ssl_test_data.h b/test/core/end2end/data/ssl_test_data.h index 72bce3ed2571a6a7da3fe531cdf0ce779053e8d7..ff89e0d69f237a9579540163b056594f285c7938 100644 --- a/test/core/end2end/data/ssl_test_data.h +++ b/test/core/end2end/data/ssl_test_data.h @@ -40,4 +40,4 @@ extern const char test_server1_key[]; extern const char prod_roots_certs[]; -#endif /* __GRPC_TEST_END2END_DATA_SSL_TEST_DATA_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_END2END_DATA_SSL_TEST_DATA_H__ */ diff --git a/test/core/end2end/data/test_root_cert.c b/test/core/end2end/data/test_root_cert.c index 2b39f6c7eb0f24e9266d47edfb19816e8c7a5f6c..58d98050175888f74477afcbab135417f97047d8 100644 --- a/test/core/end2end/data/test_root_cert.c +++ b/test/core/end2end/data/test_root_cert.c @@ -98,4 +98,4 @@ const char test_root_cert[] = { 0x31, 0x59, 0x75, 0x58, 0x32, 0x72, 0x6e, 0x65, 0x78, 0x30, 0x4a, 0x68, 0x75, 0x54, 0x51, 0x66, 0x63, 0x49, 0x3d, 0x0a, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x45, 0x4e, 0x44, 0x20, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, - 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; \ No newline at end of file + 0x43, 0x41, 0x54, 0x45, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x0a, 0x00}; diff --git a/test/core/end2end/dualstack_socket_test.c b/test/core/end2end/dualstack_socket_test.c index c37b71d1c584bb3004499c656670f7d2c9bf7ac7..2c4c3b77462548b5d937423c8ce59404436f7ba0 100644 --- a/test/core/end2end/dualstack_socket_test.c +++ b/test/core/end2end/dualstack_socket_test.c @@ -221,4 +221,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/end2end_tests.h b/test/core/end2end/end2end_tests.h index 3211fffad8affaee961c1bca0de52bdfbf29f5c6..8f2cd0f2e05296bff9dcd99b921208022bdacbbb 100644 --- a/test/core/end2end/end2end_tests.h +++ b/test/core/end2end/end2end_tests.h @@ -63,4 +63,4 @@ struct grpc_end2end_test_config { void grpc_end2end_tests(grpc_end2end_test_config config); -#endif /* __GRPC_TEST_END2END_END2END_TESTS_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_END2END_END2END_TESTS_H__ */ diff --git a/test/core/end2end/fixtures/chttp2_fake_security.c b/test/core/end2end/fixtures/chttp2_fake_security.c index de06f558562a531b0ceee596e19dc686466a7cec..039909f76cb0bead088ceef2dcd3eb8d5a8e3185 100644 --- a/test/core/end2end/fixtures/chttp2_fake_security.c +++ b/test/core/end2end/fixtures/chttp2_fake_security.c @@ -132,4 +132,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_fullstack.c b/test/core/end2end/fixtures/chttp2_fullstack.c index 4775d8ee6d9e6753e62e436912e779cbf6ebfb9b..ea367f4446bb22c993081079ffbb033c131bdba4 100644 --- a/test/core/end2end/fixtures/chttp2_fullstack.c +++ b/test/core/end2end/fixtures/chttp2_fullstack.c @@ -114,4 +114,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_fullstack_uds.c b/test/core/end2end/fixtures/chttp2_fullstack_uds.c index a3afe9af2e12f9866ffb7c3128a23387defe87c8..27e4baf3c013ed8423b515132ddf3616b0c93321 100644 --- a/test/core/end2end/fixtures/chttp2_fullstack_uds.c +++ b/test/core/end2end/fixtures/chttp2_fullstack_uds.c @@ -120,4 +120,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c b/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c index bd2f0600f483bbd364a1f22c89a0e485d4d1010c..1db9e727b869e28b2d947ace10bc4213f4b86729 100644 --- a/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c +++ b/test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c @@ -159,4 +159,4 @@ int main(int argc, char **argv) { gpr_free(roots_filename); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c b/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c index 4af50bdd61457cbed162c9ac2a8b17473f8ffa1b..35e022c4947b16bdae7a81f52bf9c2f5ea77a6ae 100644 --- a/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c +++ b/test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c @@ -148,4 +148,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_socket_pair.c b/test/core/end2end/fixtures/chttp2_socket_pair.c index 98907b901b9144b6a930bc60fdca24fa3948a795..759c6b4b9d7bb231e9e24f1b0302ab7099c22b21 100644 --- a/test/core/end2end/fixtures/chttp2_socket_pair.c +++ b/test/core/end2end/fixtures/chttp2_socket_pair.c @@ -148,4 +148,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c b/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c index 7a7095b588b1d1fbe1bd762773ee68fec8a11695..c814527a8f009a2452becdffe343c7de7cc76a56 100644 --- a/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c +++ b/test/core/end2end/fixtures/chttp2_socket_pair_one_byte_at_a_time.c @@ -148,4 +148,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/no_server_test.c b/test/core/end2end/no_server_test.c index a83c873387c525fa42143d67ebfe0566b13a383c..92e8e5ad6bf25e2ccc3c8a670e1a8727c08a6dbb 100644 --- a/test/core/end2end/no_server_test.c +++ b/test/core/end2end/no_server_test.c @@ -78,4 +78,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_accept.c b/test/core/end2end/tests/cancel_after_accept.c index 63fbf595b2a1690d875ce163a952000587e3174d..faaa14727c96b265547ae3060dc972722e995521 100644 --- a/test/core/end2end/tests/cancel_after_accept.c +++ b/test/core/end2end/tests/cancel_after_accept.c @@ -224,4 +224,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_accept(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_accept_and_writes_closed.c b/test/core/end2end/tests/cancel_after_accept_and_writes_closed.c index 99e21f296c1234db27a9365b0ebf9cfa93754a69..c6fb8b3ea2edde5843441966e3f9b55fb41c15ca 100644 --- a/test/core/end2end/tests/cancel_after_accept_and_writes_closed.c +++ b/test/core/end2end/tests/cancel_after_accept_and_writes_closed.c @@ -164,4 +164,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_accept_and_writes_closed(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_accept_and_writes_closed_legacy.c b/test/core/end2end/tests/cancel_after_accept_and_writes_closed_legacy.c index ecedbfb44ddf317fe780fba69d689df76d2a3144..85b7599b1950a0ae371c6cdd3a6922a300761664 100644 --- a/test/core/end2end/tests/cancel_after_accept_and_writes_closed_legacy.c +++ b/test/core/end2end/tests/cancel_after_accept_and_writes_closed_legacy.c @@ -164,4 +164,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_accept_and_writes_closed(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_accept_legacy.c b/test/core/end2end/tests/cancel_after_accept_legacy.c index 72d2942e226f4565b45e61cadd7ffff15a9cf46e..345c31d31f881c828a0d25f1fb265403302ac1e0 100644 --- a/test/core/end2end/tests/cancel_after_accept_legacy.c +++ b/test/core/end2end/tests/cancel_after_accept_legacy.c @@ -156,4 +156,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_accept(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_invoke.c b/test/core/end2end/tests/cancel_after_invoke.c index 53f3d88964ec6a803fac238f1b44d99fbb3dbda5..3c75024922b4e9dac76fd6f23f1b2fec5292802f 100644 --- a/test/core/end2end/tests/cancel_after_invoke.c +++ b/test/core/end2end/tests/cancel_after_invoke.c @@ -188,4 +188,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { test_cancel_after_invoke(config, cancellation_modes[i], j); } } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_after_invoke_legacy.c b/test/core/end2end/tests/cancel_after_invoke_legacy.c index bcc2cc6cc6fb70d355c857f680a9fe931c49ee66..64af7cd3db28f6816f75e395dab42d6499eb039f 100644 --- a/test/core/end2end/tests/cancel_after_invoke_legacy.c +++ b/test/core/end2end/tests/cancel_after_invoke_legacy.c @@ -138,4 +138,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_invoke(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_before_invoke.c b/test/core/end2end/tests/cancel_before_invoke.c index b62a5635196022ed10fb3d45c9694fa0ab51aaa8..bee6dd2e7b92fe5d6020034e05b7f1b57abe074b 100644 --- a/test/core/end2end/tests/cancel_before_invoke.c +++ b/test/core/end2end/tests/cancel_before_invoke.c @@ -182,4 +182,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 1; i <= 6; i++) { test_cancel_before_invoke(config, i); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_before_invoke_legacy.c b/test/core/end2end/tests/cancel_before_invoke_legacy.c index 3329188717cea3838e2295cc486753f62b69c824..23e82cf2683f4e9f2e517f71b9a4c59a43b9ac43 100644 --- a/test/core/end2end/tests/cancel_before_invoke_legacy.c +++ b/test/core/end2end/tests/cancel_before_invoke_legacy.c @@ -131,4 +131,4 @@ static void test_cancel_before_invoke(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_cancel_before_invoke(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_in_a_vacuum.c b/test/core/end2end/tests/cancel_in_a_vacuum.c index 370db8f230ba3b9b8ef3249aeb3e5cc9d08eefda..8228353b09bb6677a031f67e9e8623f5d2e5008a 100644 --- a/test/core/end2end/tests/cancel_in_a_vacuum.c +++ b/test/core/end2end/tests/cancel_in_a_vacuum.c @@ -128,4 +128,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_in_a_vacuum(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_in_a_vacuum_legacy.c b/test/core/end2end/tests/cancel_in_a_vacuum_legacy.c index b293489c557a415d775c08271861a46c2ed0b525..869f091180c648432a2c08fecda72b0c6effd44c 100644 --- a/test/core/end2end/tests/cancel_in_a_vacuum_legacy.c +++ b/test/core/end2end/tests/cancel_in_a_vacuum_legacy.c @@ -128,4 +128,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_in_a_vacuum(config, cancellation_modes[i]); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/cancel_test_helpers.h b/test/core/end2end/tests/cancel_test_helpers.h index e88daca014b064e376a69202b8e239986d74bd84..3dd743735311eb4e0269ae2e1b85b9f10c9a888f 100644 --- a/test/core/end2end/tests/cancel_test_helpers.h +++ b/test/core/end2end/tests/cancel_test_helpers.h @@ -48,4 +48,4 @@ static const cancellation_mode cancellation_modes[] = { {grpc_call_cancel, GRPC_STATUS_CANCELLED, ""}, {wait_for_deadline, GRPC_STATUS_DEADLINE_EXCEEDED, "Deadline Exceeded"}, }; -#endif \ No newline at end of file +#endif diff --git a/test/core/end2end/tests/census_simple_request.c b/test/core/end2end/tests/census_simple_request.c index 21f4b491d0da71ae645fc83b504537bdc53a118c..003a8bef9b761fae79dfe1404ce2658698487c03 100644 --- a/test/core/end2end/tests/census_simple_request.c +++ b/test/core/end2end/tests/census_simple_request.c @@ -175,4 +175,4 @@ static void test_invoke_request_with_census( void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_with_census(config, "census_simple_request", test_body); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/census_simple_request_legacy.c b/test/core/end2end/tests/census_simple_request_legacy.c index 21f4b491d0da71ae645fc83b504537bdc53a118c..003a8bef9b761fae79dfe1404ce2658698487c03 100644 --- a/test/core/end2end/tests/census_simple_request_legacy.c +++ b/test/core/end2end/tests/census_simple_request_legacy.c @@ -175,4 +175,4 @@ static void test_invoke_request_with_census( void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_with_census(config, "census_simple_request", test_body); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/disappearing_server.c b/test/core/end2end/tests/disappearing_server.c index ac7de77deaf0aed86e2d767bb8c95d0d679dd786..611589678f40dea2967ac91def99b087af2bec53 100644 --- a/test/core/end2end/tests/disappearing_server.c +++ b/test/core/end2end/tests/disappearing_server.c @@ -165,4 +165,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { if (config.feature_mask & FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION) { disappearing_server_test(config); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/disappearing_server_legacy.c b/test/core/end2end/tests/disappearing_server_legacy.c index 6412e621017ee735356919d958c7b1f2fba9dc01..ff8832a231eed8277772cb47a55b13da0cf92bed 100644 --- a/test/core/end2end/tests/disappearing_server_legacy.c +++ b/test/core/end2end/tests/disappearing_server_legacy.c @@ -165,4 +165,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { if (config.feature_mask & FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION) { disappearing_server_test(config); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c b/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c index ec760485d2d7614341d3bfae11c4e9c2ba75844b..49ec4715cc4a06e26ab4ccc3cae6d780de132662 100644 --- a/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c +++ b/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c @@ -156,4 +156,4 @@ static void test_early_server_shutdown_finishes_inflight_calls( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_inflight_calls(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls_legacy.c b/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls_legacy.c index f4f19362fdf4bc91a263c2d9cb075049f4816641..2e3a05e6692d14325630f3f72eadb2b1bcd0f0e0 100644 --- a/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls_legacy.c +++ b/test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls_legacy.c @@ -156,4 +156,4 @@ static void test_early_server_shutdown_finishes_inflight_calls( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_inflight_calls(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/early_server_shutdown_finishes_tags.c b/test/core/end2end/tests/early_server_shutdown_finishes_tags.c index ae34e0c3c15a59f7801246e081fe00521c37a2a8..49dddc79759f98a20c104ec093f10701d1e6081e 100644 --- a/test/core/end2end/tests/early_server_shutdown_finishes_tags.c +++ b/test/core/end2end/tests/early_server_shutdown_finishes_tags.c @@ -124,4 +124,4 @@ static void test_early_server_shutdown_finishes_tags( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_tags(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/early_server_shutdown_finishes_tags_legacy.c b/test/core/end2end/tests/early_server_shutdown_finishes_tags_legacy.c index 68c7743b4bbc29d23fd44b642ac5f1d710adccf2..ed8f839a973b8278946079d1646e88d05aeb1e7e 100644 --- a/test/core/end2end/tests/early_server_shutdown_finishes_tags_legacy.c +++ b/test/core/end2end/tests/early_server_shutdown_finishes_tags_legacy.c @@ -124,4 +124,4 @@ static void test_early_server_shutdown_finishes_tags( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_tags(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/graceful_server_shutdown.c b/test/core/end2end/tests/graceful_server_shutdown.c index bd83efdf38c668730c82981c28bdc21bfda14bb6..ab9792e40ab56126a53f5c16e3e0d41c31588e5d 100644 --- a/test/core/end2end/tests/graceful_server_shutdown.c +++ b/test/core/end2end/tests/graceful_server_shutdown.c @@ -157,4 +157,4 @@ static void test_early_server_shutdown_finishes_inflight_calls( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_inflight_calls(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/graceful_server_shutdown_legacy.c b/test/core/end2end/tests/graceful_server_shutdown_legacy.c index ecc1fb00965c13dc99fc238ea49d102db9bffa6f..852a153accd3d4e372eb10308a43979cee2218a1 100644 --- a/test/core/end2end/tests/graceful_server_shutdown_legacy.c +++ b/test/core/end2end/tests/graceful_server_shutdown_legacy.c @@ -157,4 +157,4 @@ static void test_early_server_shutdown_finishes_inflight_calls( void grpc_end2end_tests(grpc_end2end_test_config config) { test_early_server_shutdown_finishes_inflight_calls(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/invoke_large_request.c b/test/core/end2end/tests/invoke_large_request.c index 22e0a5a8936e20588205dd7d6af6aaa00323f60c..2a302e2b137fe4220d53f81758cbf7cc9b3cdc88 100644 --- a/test/core/end2end/tests/invoke_large_request.c +++ b/test/core/end2end/tests/invoke_large_request.c @@ -180,4 +180,4 @@ static void test_invoke_large_request(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_large_request(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/invoke_large_request_legacy.c b/test/core/end2end/tests/invoke_large_request_legacy.c index 54af896c7c790b5da064a6f8d1a12c90ee1cc577..875458e7f805885ee54edc906acc32a17257b0eb 100644 --- a/test/core/end2end/tests/invoke_large_request_legacy.c +++ b/test/core/end2end/tests/invoke_large_request_legacy.c @@ -180,4 +180,4 @@ static void test_invoke_large_request(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_large_request(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/max_concurrent_streams.c b/test/core/end2end/tests/max_concurrent_streams.c index d204fbc9d7272b1bc38c7fa09022c2ab4303fc96..85369b5aac43716220e6d5e7cd278dace54383f6 100644 --- a/test/core/end2end/tests/max_concurrent_streams.c +++ b/test/core/end2end/tests/max_concurrent_streams.c @@ -271,4 +271,4 @@ static void test_max_concurrent_streams(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_max_concurrent_streams(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/max_concurrent_streams_legacy.c b/test/core/end2end/tests/max_concurrent_streams_legacy.c index 67a03ccfa7dffbc25a86477d8ea2ba9c0282735f..0cb118d7950f4ff03c3f21fa79e221b95016888a 100644 --- a/test/core/end2end/tests/max_concurrent_streams_legacy.c +++ b/test/core/end2end/tests/max_concurrent_streams_legacy.c @@ -271,4 +271,4 @@ static void test_max_concurrent_streams(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_max_concurrent_streams(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/no_op.c b/test/core/end2end/tests/no_op.c index ed59e0f2a948fb53a7651e617a7e70948442cb2d..00d940ddb54e4a0a5182f268def7b402ea23b9b0 100644 --- a/test/core/end2end/tests/no_op.c +++ b/test/core/end2end/tests/no_op.c @@ -106,4 +106,4 @@ static void test_no_op(grpc_end2end_test_config config) { config.tear_down_data(&f); } -void grpc_end2end_tests(grpc_end2end_test_config config) { test_no_op(config); } \ No newline at end of file +void grpc_end2end_tests(grpc_end2end_test_config config) { test_no_op(config); } diff --git a/test/core/end2end/tests/no_op_legacy.c b/test/core/end2end/tests/no_op_legacy.c index ed59e0f2a948fb53a7651e617a7e70948442cb2d..00d940ddb54e4a0a5182f268def7b402ea23b9b0 100644 --- a/test/core/end2end/tests/no_op_legacy.c +++ b/test/core/end2end/tests/no_op_legacy.c @@ -106,4 +106,4 @@ static void test_no_op(grpc_end2end_test_config config) { config.tear_down_data(&f); } -void grpc_end2end_tests(grpc_end2end_test_config config) { test_no_op(config); } \ No newline at end of file +void grpc_end2end_tests(grpc_end2end_test_config config) { test_no_op(config); } diff --git a/test/core/end2end/tests/ping_pong_streaming.c b/test/core/end2end/tests/ping_pong_streaming.c index 1cb682b3f001cf4b0fd0fac303e692c975a0f951..2930ba61430d461b1f949778f46a6cc3e0264b26 100644 --- a/test/core/end2end/tests/ping_pong_streaming.c +++ b/test/core/end2end/tests/ping_pong_streaming.c @@ -200,4 +200,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 1; i < 10; i++) { test_pingpong_streaming(config, i); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/ping_pong_streaming_legacy.c b/test/core/end2end/tests/ping_pong_streaming_legacy.c index 8c7dcadf3f829a0d0e7fc55d769d2bc3dbf9b05b..b2764e9f858312bb05053b0d936910d8795c026a 100644 --- a/test/core/end2end/tests/ping_pong_streaming_legacy.c +++ b/test/core/end2end/tests/ping_pong_streaming_legacy.c @@ -200,4 +200,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { for (i = 1; i < 10; i++) { test_pingpong_streaming(config, i); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c index 22a483b21ded64234f32456029fecb16405f808c..843e9db9edd9b4a8410b5771dfd45f69335c8cdb 100644 --- a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c +++ b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c @@ -250,4 +250,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload_legacy.c b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload_legacy.c index ac18f00cda755d8798cc42c44c7001f75d9bda27..9c09e516fae6898c45141a0fbe3c9311bc04f442 100644 --- a/test/core/end2end/tests/request_response_with_binary_metadata_and_payload_legacy.c +++ b/test/core/end2end/tests/request_response_with_binary_metadata_and_payload_legacy.c @@ -219,4 +219,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_metadata_and_payload.c b/test/core/end2end/tests/request_response_with_metadata_and_payload.c index d4dabf3c63c700c17b83a9bc2a05293db07b8e68..7f7b594d807d7954f4041005952abd52b8da48d2 100644 --- a/test/core/end2end/tests/request_response_with_metadata_and_payload.c +++ b/test/core/end2end/tests/request_response_with_metadata_and_payload.c @@ -235,4 +235,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_metadata_and_payload_legacy.c b/test/core/end2end/tests/request_response_with_metadata_and_payload_legacy.c index 5e1189f35668b8b91a0cc94f68729a7e37628834..ba330d5f5f8997c4913f415667812e219866bed5 100644 --- a/test/core/end2end/tests/request_response_with_metadata_and_payload_legacy.c +++ b/test/core/end2end/tests/request_response_with_metadata_and_payload_legacy.c @@ -205,4 +205,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_payload.c b/test/core/end2end/tests/request_response_with_payload.c index ba20879fa27c21bdb3561a45179f981717e8f845..a0dc0331f4e047e02449117f102375f980304c6e 100644 --- a/test/core/end2end/tests/request_response_with_payload.c +++ b/test/core/end2end/tests/request_response_with_payload.c @@ -243,4 +243,4 @@ static void test_invoke_10_request_response_with_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_response_with_payload(config); test_invoke_10_request_response_with_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_payload_legacy.c b/test/core/end2end/tests/request_response_with_payload_legacy.c index b621cd4755bea12160e0ea72942fd36535d369bb..be5627489949fc68bdaa7196d80f14262bd13c23 100644 --- a/test/core/end2end/tests/request_response_with_payload_legacy.c +++ b/test/core/end2end/tests/request_response_with_payload_legacy.c @@ -205,4 +205,4 @@ static void test_invoke_10_request_response_with_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_response_with_payload(config); test_invoke_10_request_response_with_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c index e8213dc8e5e3af12300381f90b57065006e50d70..bf3b19b62d410b55cf82b4975c134e2db02ffd46 100644 --- a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c +++ b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c @@ -239,4 +239,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload_legacy.c b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload_legacy.c index 31058d3858dcd2b4f5581ec5c723e010d0dafd86..0ed0f985ec84a8a7318d1a91b14b265d44ac9e2b 100644 --- a/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload_legacy.c +++ b/test/core/end2end/tests/request_response_with_trailing_metadata_and_payload_legacy.c @@ -210,4 +210,4 @@ static void test_request_response_with_metadata_and_payload( void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_response_with_metadata_and_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_with_large_metadata.c b/test/core/end2end/tests/request_with_large_metadata.c index 0d4fbd8660bca7ef8ce486c840d9ca75a561ac41..753410401884cf55291f70679916f7a33a1e77d0 100644 --- a/test/core/end2end/tests/request_with_large_metadata.c +++ b/test/core/end2end/tests/request_with_large_metadata.c @@ -225,4 +225,4 @@ static void test_request_with_large_metadata(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_with_large_metadata(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_with_large_metadata_legacy.c b/test/core/end2end/tests/request_with_large_metadata_legacy.c index 35397ea93abc092fd7757dd93bae73a5bea67cf3..bc3b3800139e5049ecbdbb9d76014d9ae88b0adc 100644 --- a/test/core/end2end/tests/request_with_large_metadata_legacy.c +++ b/test/core/end2end/tests/request_with_large_metadata_legacy.c @@ -169,4 +169,4 @@ static void test_request_with_large_metadata(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_request_with_large_metadata(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_with_payload.c b/test/core/end2end/tests/request_with_payload.c index 4b75b0057d5f5de026a60884727c93bda1ca961d..bb13512ad427e97c009e0ef9e172a35b912a9155 100644 --- a/test/core/end2end/tests/request_with_payload.c +++ b/test/core/end2end/tests/request_with_payload.c @@ -213,4 +213,4 @@ static void test_invoke_request_with_payload(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_with_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/request_with_payload_legacy.c b/test/core/end2end/tests/request_with_payload_legacy.c index 26d91d13ae6b9ce49bc5a130df2bcef9be909971..b56e08cf1fcd7569b99441fa0eefe70b0f3fa817 100644 --- a/test/core/end2end/tests/request_with_payload_legacy.c +++ b/test/core/end2end/tests/request_with_payload_legacy.c @@ -169,4 +169,4 @@ static void test_invoke_request_with_payload(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_request_with_payload(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/simple_delayed_request.c b/test/core/end2end/tests/simple_delayed_request.c index 6ed48c0221a5d5a954e70b96eaf428313ee7773b..0a3eb7c7b79ec5f3b629d180a00beced77de5885 100644 --- a/test/core/end2end/tests/simple_delayed_request.c +++ b/test/core/end2end/tests/simple_delayed_request.c @@ -214,4 +214,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { test_simple_delayed_request_short(config); test_simple_delayed_request_long(config); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/simple_delayed_request_legacy.c b/test/core/end2end/tests/simple_delayed_request_legacy.c index 3a735f13be707a40747d1ba19ebf18733ebe6c99..3c94de548ea63d945111bc11f06d1e241b704ad3 100644 --- a/test/core/end2end/tests/simple_delayed_request_legacy.c +++ b/test/core/end2end/tests/simple_delayed_request_legacy.c @@ -172,4 +172,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { test_simple_delayed_request_short(config); test_simple_delayed_request_long(config); } -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/simple_request.c b/test/core/end2end/tests/simple_request.c index 3fc23493c3c6a491e0b6203bcf903b8eb9bd56f7..591bc52dc5b0fc7d13d2d6e6a91cecbceca97130 100644 --- a/test/core/end2end/tests/simple_request.c +++ b/test/core/end2end/tests/simple_request.c @@ -217,4 +217,4 @@ static void test_invoke_10_simple_requests(grpc_end2end_test_config config) { void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_simple_request(config); test_invoke_10_simple_requests(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/simple_request_legacy.c b/test/core/end2end/tests/simple_request_legacy.c index e4b809734f6f240bf3bc91bae650958a93917209..2e30d101e18d26b991bacc5ae12873665f8a379f 100644 --- a/test/core/end2end/tests/simple_request_legacy.c +++ b/test/core/end2end/tests/simple_request_legacy.c @@ -229,4 +229,4 @@ void grpc_end2end_tests(grpc_end2end_test_config config) { test_invoke_simple_request(config, "simple_request_body2", simple_request_body2); test_invoke_10_simple_requests(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/thread_stress.c b/test/core/end2end/tests/thread_stress.c index 608a20659e917568eb98ffd7cd2536d59b10e9eb..c10b3737441dc346f223e867140de00458bb72ba 100644 --- a/test/core/end2end/tests/thread_stress.c +++ b/test/core/end2end/tests/thread_stress.c @@ -321,4 +321,4 @@ static void run_test(grpc_end2end_test_config config, int requests_in_flight) { void grpc_end2end_tests(grpc_end2end_test_config config) { run_test(config, 1000); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/thread_stress_legacy.c b/test/core/end2end/tests/thread_stress_legacy.c index 608a20659e917568eb98ffd7cd2536d59b10e9eb..c10b3737441dc346f223e867140de00458bb72ba 100644 --- a/test/core/end2end/tests/thread_stress_legacy.c +++ b/test/core/end2end/tests/thread_stress_legacy.c @@ -321,4 +321,4 @@ static void run_test(grpc_end2end_test_config config, int requests_in_flight) { void grpc_end2end_tests(grpc_end2end_test_config config) { run_test(config, 1000); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/writes_done_hangs_with_pending_read.c b/test/core/end2end/tests/writes_done_hangs_with_pending_read.c index 58b7492c25b1dc05a779a83cdc42138aa16706b3..5f8b9974d68279986d13be659699c4ef0f08b448 100644 --- a/test/core/end2end/tests/writes_done_hangs_with_pending_read.c +++ b/test/core/end2end/tests/writes_done_hangs_with_pending_read.c @@ -196,4 +196,4 @@ static void test_writes_done_hangs_with_pending_read( void grpc_end2end_tests(grpc_end2end_test_config config) { test_writes_done_hangs_with_pending_read(config); -} \ No newline at end of file +} diff --git a/test/core/end2end/tests/writes_done_hangs_with_pending_read_legacy.c b/test/core/end2end/tests/writes_done_hangs_with_pending_read_legacy.c index 58b7492c25b1dc05a779a83cdc42138aa16706b3..5f8b9974d68279986d13be659699c4ef0f08b448 100644 --- a/test/core/end2end/tests/writes_done_hangs_with_pending_read_legacy.c +++ b/test/core/end2end/tests/writes_done_hangs_with_pending_read_legacy.c @@ -196,4 +196,4 @@ static void test_writes_done_hangs_with_pending_read( void grpc_end2end_tests(grpc_end2end_test_config config) { test_writes_done_hangs_with_pending_read(config); -} \ No newline at end of file +} diff --git a/test/core/fling/client.c b/test/core/fling/client.c index 28bf967b2f947e3778749470a31a92df80c47c9f..68164b1c5a51fa16f4327ee89f3cf09eb24521ff 100644 --- a/test/core/fling/client.c +++ b/test/core/fling/client.c @@ -229,4 +229,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/fling/fling_stream_test.c b/test/core/fling/fling_stream_test.c index c05798bbb7bb2964592cde9a9e63a0d8e0a263aa..41ba995544b3e0512c61b3f898dabf3473fad113 100644 --- a/test/core/fling/fling_stream_test.c +++ b/test/core/fling/fling_stream_test.c @@ -109,4 +109,4 @@ int main(int argc, char **argv) { if (!WIFEXITED(status)) return 4; if (WEXITSTATUS(status)) return WEXITSTATUS(status); return 0; -} \ No newline at end of file +} diff --git a/test/core/fling/fling_test.c b/test/core/fling/fling_test.c index 5d733d14be5d325477fa70389f864da8705aa379..c0066cf1013953c4085655c826807cccc088ad0a 100644 --- a/test/core/fling/fling_test.c +++ b/test/core/fling/fling_test.c @@ -109,4 +109,4 @@ int main(int argc, char **argv) { if (!WIFEXITED(status)) return 4; if (WEXITSTATUS(status)) return WEXITSTATUS(status); return 0; -} \ No newline at end of file +} diff --git a/test/core/fling/server.c b/test/core/fling/server.c index 27a69c83f771f7741b7d1ea41508a3549bb15713..59c303015a3935413407afc0460bd7dc51c8aede 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -316,4 +316,4 @@ int main(int argc, char **argv) { grpc_completion_queue_destroy(cq); grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/httpcli/format_request_test.c b/test/core/httpcli/format_request_test.c index 0cad9ba5151a59ce614c8ecee519610f4dcab3d9..da850049e20dafed7e32a7b11f26b5463b1b760a 100644 --- a/test/core/httpcli/format_request_test.c +++ b/test/core/httpcli/format_request_test.c @@ -162,4 +162,4 @@ int main(int argc, char **argv) { test_format_post_request_content_type_override(); return 0; -} \ No newline at end of file +} diff --git a/test/core/httpcli/httpcli_test.c b/test/core/httpcli/httpcli_test.c index 7d9aa75b7782024f315cff44e647a1a069182f87..599b3ad4eaaf0536ceb94235d022be76aa3243fc 100644 --- a/test/core/httpcli/httpcli_test.c +++ b/test/core/httpcli/httpcli_test.c @@ -99,4 +99,4 @@ int main(int argc, char **argv) { grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/httpcli/parser_test.c b/test/core/httpcli/parser_test.c index 4718107edd1fd4f28a355a1f0fdc56c6001a5185..dacec0f72f700b737ea73d0c9fb10493454cd5a2 100644 --- a/test/core/httpcli/parser_test.c +++ b/test/core/httpcli/parser_test.c @@ -152,4 +152,4 @@ int main(int argc, char **argv) { } return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/alarm_heap_test.c b/test/core/iomgr/alarm_heap_test.c index 5defe97885d00d89205c4751191823aa32d63ebd..b3e1e64d0feb1b42fc33e77b4de46c5d5af8287e 100644 --- a/test/core/iomgr/alarm_heap_test.c +++ b/test/core/iomgr/alarm_heap_test.c @@ -274,4 +274,4 @@ int main(int argc, char **argv) { } return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/alarm_list_test.c b/test/core/iomgr/alarm_list_test.c index a1a56d6132c7e88f314ca489ddfb769c8f81bc0f..f2ccd1fb357f9405f3c9c0fdab20b54770d155f8 100644 --- a/test/core/iomgr/alarm_list_test.c +++ b/test/core/iomgr/alarm_list_test.c @@ -141,4 +141,4 @@ int main(int argc, char **argv) { add_test(); destruction_test(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/alarm_test.c b/test/core/iomgr/alarm_test.c index 537bed47f756bd3cff97b9b2a37bed747d08cad3..18f57725a26e42beb0a6c936000ff56391f191a0 100644 --- a/test/core/iomgr/alarm_test.c +++ b/test/core/iomgr/alarm_test.c @@ -219,4 +219,4 @@ int main(int argc, char **argv) { grpc_test_init(argc, argv); test_grpc_alarm(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/endpoint_tests.c b/test/core/iomgr/endpoint_tests.c index ea350c923ce6fda79bcee881c059d89e4a0381ae..c08ee7d48f22c28665ba854085b9b1e80a371ec7 100644 --- a/test/core/iomgr/endpoint_tests.c +++ b/test/core/iomgr/endpoint_tests.c @@ -366,4 +366,4 @@ void grpc_endpoint_tests(grpc_endpoint_test_config config) { read_and_write_test(config, 1000000, 100000, 1, 0); read_and_write_test(config, 100000000, 100000, 1, 1); shutdown_during_write_test(config, 1000); -} \ No newline at end of file +} diff --git a/test/core/iomgr/endpoint_tests.h b/test/core/iomgr/endpoint_tests.h index f555a54203b1ff96e3f84f761f9469861655de9e..3be377c4e3dc121587cacdfced292f4223c64c4a 100644 --- a/test/core/iomgr/endpoint_tests.h +++ b/test/core/iomgr/endpoint_tests.h @@ -54,4 +54,4 @@ struct grpc_endpoint_test_config { void grpc_endpoint_tests(grpc_endpoint_test_config config); -#endif /* __GRPC_TEST_IOMGR_ENDPOINT_TESTS_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_IOMGR_ENDPOINT_TESTS_H__ */ diff --git a/test/core/iomgr/fd_posix_test.c b/test/core/iomgr/fd_posix_test.c index 7f1f7412639dfea428839753601c6961b3961843..22090ead0ac275bf02137755efdf3ca7b2e2494a 100644 --- a/test/core/iomgr/fd_posix_test.c +++ b/test/core/iomgr/fd_posix_test.c @@ -479,4 +479,4 @@ int main(int argc, char **argv) { test_grpc_fd_change(); grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/resolve_address_test.c b/test/core/iomgr/resolve_address_test.c index 859aaf4629a6ab3969140211cbf1f79385ba8098..0961a3659f66d01f294ac6921deaf8c59bf9d569 100644 --- a/test/core/iomgr/resolve_address_test.c +++ b/test/core/iomgr/resolve_address_test.c @@ -129,4 +129,4 @@ int main(int argc, char** argv) { test_unparseable_hostports(); grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/sockaddr_utils_test.c b/test/core/iomgr/sockaddr_utils_test.c index 110b09998d3af5ec9e2f1fd59b993f16d0e3f021..9f5e954b9dedae0fde068d47da2e80ab6be30bb1 100644 --- a/test/core/iomgr/sockaddr_utils_test.c +++ b/test/core/iomgr/sockaddr_utils_test.c @@ -230,4 +230,4 @@ int main(int argc, char **argv) { test_sockaddr_to_string(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/tcp_client_posix_test.c b/test/core/iomgr/tcp_client_posix_test.c index c8f1f53dbb3277efbd26808799a17bf577e52a45..ad5a31704483720b3ed3d6d666ed8bce4a62822a 100644 --- a/test/core/iomgr/tcp_client_posix_test.c +++ b/test/core/iomgr/tcp_client_posix_test.c @@ -176,4 +176,4 @@ int main(void) { test_times_out(); grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/tcp_posix_test.c b/test/core/iomgr/tcp_posix_test.c index a00b54da8855cea04024c334f8f2830c44e00a48..044802b80258532b3a195924e62de18871dc0ada 100644 --- a/test/core/iomgr/tcp_posix_test.c +++ b/test/core/iomgr/tcp_posix_test.c @@ -492,4 +492,4 @@ int main(int argc, char **argv) { grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/tcp_server_posix_test.c b/test/core/iomgr/tcp_server_posix_test.c index 8409fb4f628d6d30cf0b55e8cedb68ec15008274..b26115bcd00ceafda28b3b18f4fedde566b38794 100644 --- a/test/core/iomgr/tcp_server_posix_test.c +++ b/test/core/iomgr/tcp_server_posix_test.c @@ -164,4 +164,4 @@ int main(int argc, char **argv) { gpr_mu_destroy(&mu); gpr_cv_destroy(&cv); return 0; -} \ No newline at end of file +} diff --git a/test/core/iomgr/time_averaged_stats_test.c b/test/core/iomgr/time_averaged_stats_test.c index 4329ee5198c15c465a2311549a36e5b0560d0a59..4206a1c58f316b7d8b7b4bec62a75e63f8d822cb 100644 --- a/test/core/iomgr/time_averaged_stats_test.c +++ b/test/core/iomgr/time_averaged_stats_test.c @@ -205,4 +205,4 @@ int main(int argc, char **argv) { no_regress_some_persist_test(); some_regress_some_persist_test(); return 0; -} \ No newline at end of file +} diff --git a/test/core/json/json_rewrite.c b/test/core/json/json_rewrite.c index 23ea798feac69051e3ac64f9bd9c251144974ef2..203e75c7d5776e589742fd5e378bafbfeee0a409 100644 --- a/test/core/json/json_rewrite.c +++ b/test/core/json/json_rewrite.c @@ -258,4 +258,4 @@ int main(int argc, char** argv) { gpr_cmdline_destroy(cl); return rewrite(stdin, stdout, indent) ? 0 : 1; -} \ No newline at end of file +} diff --git a/test/core/json/json_rewrite_test.c b/test/core/json/json_rewrite_test.c index 1b3383653df60a91df786184ffb80fbb3ff6024d..78dff92a777c96dd2ca124c4f8392b42b68a4fd8 100644 --- a/test/core/json/json_rewrite_test.c +++ b/test/core/json/json_rewrite_test.c @@ -319,4 +319,4 @@ int main(int argc, char** argv) { test_rewrites(); gpr_log(GPR_INFO, "json_rewrite_test success"); return 0; -} \ No newline at end of file +} diff --git a/test/core/json/json_test.c b/test/core/json/json_test.c index 1cfbbc4105ad72439cc8d4125c5865101c53121d..0e315e51eeef0ef6858a15031bebe8847a6eadb6 100644 --- a/test/core/json/json_test.c +++ b/test/core/json/json_test.c @@ -175,4 +175,4 @@ int main(int argc, char **argv) { test_atypical(); gpr_log(GPR_INFO, "json_test success"); return 0; -} \ No newline at end of file +} diff --git a/test/core/network_benchmarks/low_level_ping_pong.c b/test/core/network_benchmarks/low_level_ping_pong.c index 6db618409cfee887508c878cc5d6eac41bda31f1..f0a3e26c4eeb82bf6aa794de3ee9d4e3f0b779d0 100644 --- a/test/core/network_benchmarks/low_level_ping_pong.c +++ b/test/core/network_benchmarks/low_level_ping_pong.c @@ -678,4 +678,4 @@ int main(int argc, char **argv) { gpr_cmdline_destroy(cmdline); return error; -} \ No newline at end of file +} diff --git a/test/core/security/base64_test.c b/test/core/security/base64_test.c index e306ea3cf6d69c906facf2e3d5bf0f5ca90cd448..bfd5c4877728f5c363aef374d1976dea9ae50315 100644 --- a/test/core/security/base64_test.c +++ b/test/core/security/base64_test.c @@ -182,4 +182,4 @@ int main(int argc, char **argv) { test_url_safe_unsafe_mismtach_failure(); test_rfc4648_test_vectors(); return 0; -} \ No newline at end of file +} diff --git a/test/core/security/credentials_test.c b/test/core/security/credentials_test.c index cefe969c229c516d762d985b7e96b997a49d99e6..302869d70e278e746cbff6cb2bd2c23337eb68bc 100644 --- a/test/core/security/credentials_test.c +++ b/test/core/security/credentials_test.c @@ -622,4 +622,4 @@ int main(int argc, char **argv) { test_service_accounts_creds_http_failure(); test_service_accounts_creds_signing_failure(); return 0; -} \ No newline at end of file +} diff --git a/test/core/security/fetch_oauth2.c b/test/core/security/fetch_oauth2.c index dbd5f3126268f67ad1a5da9bee7c109eb1188079..369c34a5a5a41d8dad94ddf2ff58208ad50b97db 100644 --- a/test/core/security/fetch_oauth2.c +++ b/test/core/security/fetch_oauth2.c @@ -174,4 +174,4 @@ int main(int argc, char **argv) { gpr_cmdline_destroy(cl); grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/security/json_token_test.c b/test/core/security/json_token_test.c index 0457f6499afd41401ad3130cfea807c1459734dc..8615fca5fbb4346e2dee1eef096b985215e3d55c 100644 --- a/test/core/security/json_token_test.c +++ b/test/core/security/json_token_test.c @@ -374,4 +374,4 @@ int main(int argc, char **argv) { test_parse_json_key_failure_no_private_key(); test_jwt_encode_and_sign(); return 0; -} \ No newline at end of file +} diff --git a/test/core/security/secure_endpoint_test.c b/test/core/security/secure_endpoint_test.c index 1d0e36ddafc97a6465d648bb77b1510553ae5eaa..03a4d3a1e691f1735a38ac22c6d3f8609d8982d3 100644 --- a/test/core/security/secure_endpoint_test.c +++ b/test/core/security/secure_endpoint_test.c @@ -201,4 +201,4 @@ int main(int argc, char **argv) { grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/census_log_tests.c b/test/core/statistics/census_log_tests.c index 8d15a9becc7feb79d3c7f979d0e77f13c2f631df..fbc96bbde610f188a9773b01b99a921e251d2843 100644 --- a/test/core/statistics/census_log_tests.c +++ b/test/core/statistics/census_log_tests.c @@ -586,4 +586,4 @@ void test_performance(void) { 1000 * write_time_micro / nrecords, (write_size * nrecords) / write_time_micro / 1000); } -} \ No newline at end of file +} diff --git a/test/core/statistics/census_log_tests.h b/test/core/statistics/census_log_tests.h index 89404c620b0f9b7881020d89a060830eb33fe440..f829ab36833ae9f57d4ece1d1c30daf6ae110a21 100644 --- a/test/core/statistics/census_log_tests.h +++ b/test/core/statistics/census_log_tests.h @@ -48,4 +48,4 @@ void test_multiple_writers(); void test_performance(); void test_small_log(); -#endif /* __GRPC_TEST_STATISTICS_LOG_TESTS_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_STATISTICS_LOG_TESTS_H__ */ diff --git a/test/core/statistics/census_stub_test.c b/test/core/statistics/census_stub_test.c index 595c1f94ff0319b8dcf8e1a7e5ee2cc7a8d34b25..26a45ae58a954880c7226b79395a59bddd71254b 100644 --- a/test/core/statistics/census_stub_test.c +++ b/test/core/statistics/census_stub_test.c @@ -74,4 +74,4 @@ int main(int argc, char** argv) { grpc_test_init(argc, argv); test_census_stubs(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/hash_table_test.c b/test/core/statistics/hash_table_test.c index a5d5fada7d0a672bbac6c94c921f475ce1d707c3..9b7a712c18c627f61c2840b77ac1ef39ad7a44f6 100644 --- a/test/core/statistics/hash_table_test.c +++ b/test/core/statistics/hash_table_test.c @@ -298,4 +298,4 @@ int main(int argc, char** argv) { test_insertion_with_same_key(); test_insertion_and_deletion_with_high_collision_rate(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/multiple_writers_circular_buffer_test.c b/test/core/statistics/multiple_writers_circular_buffer_test.c index 2db36997b190f5e30dd3fd02ee25a05427384c56..a645e15918a93276d6034b816f95d3bc092e6346 100644 --- a/test/core/statistics/multiple_writers_circular_buffer_test.c +++ b/test/core/statistics/multiple_writers_circular_buffer_test.c @@ -43,4 +43,4 @@ int main(int argc, char **argv) { srand(gpr_now().tv_nsec); test_multiple_writers_circular_log(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/multiple_writers_test.c b/test/core/statistics/multiple_writers_test.c index d87847c7f92ee55aa6d6d7cf12b3222fa84ef431..84aef15c1a9c4d0e09482b9b4fdbe79e332a8d25 100644 --- a/test/core/statistics/multiple_writers_test.c +++ b/test/core/statistics/multiple_writers_test.c @@ -43,4 +43,4 @@ int main(int argc, char **argv) { srand(gpr_now().tv_nsec); test_multiple_writers(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/performance_test.c b/test/core/statistics/performance_test.c index 81b2ed4553dcd40dc3f0287d64dc892f717fd350..3c1e28241ec7867699a5f96862907a78d1992a5a 100644 --- a/test/core/statistics/performance_test.c +++ b/test/core/statistics/performance_test.c @@ -43,4 +43,4 @@ int main(int argc, char **argv) { srand(gpr_now().tv_nsec); test_performance(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/quick_test.c b/test/core/statistics/quick_test.c index eb025d42e01d74a95af29bdc5f221ed52e7f3e96..0e432314bbad5a2644adb3c43c83f90fda0df446 100644 --- a/test/core/statistics/quick_test.c +++ b/test/core/statistics/quick_test.c @@ -51,4 +51,4 @@ int main(int argc, char **argv) { test_fill_log_with_straddling_records(); test_fill_circular_log_with_straddling_records(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/rpc_stats_test.c b/test/core/statistics/rpc_stats_test.c index 1ac4ce92c29171d2c804f0897564dfea989c80c7..df076b9c1e48752006f2a92326c7185578d0e52b 100644 --- a/test/core/statistics/rpc_stats_test.c +++ b/test/core/statistics/rpc_stats_test.c @@ -194,4 +194,4 @@ int main(int argc, char** argv) { test_record_stats_on_unknown_op_id(); test_record_stats_with_trace_store_uninitialized(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/small_log_test.c b/test/core/statistics/small_log_test.c index eccae087b7a766c60f8adf5c91211d670b4853a4..c151b77f6391585b4c433913d569cda7147bda2f 100644 --- a/test/core/statistics/small_log_test.c +++ b/test/core/statistics/small_log_test.c @@ -43,4 +43,4 @@ int main(int argc, char **argv) { srand(gpr_now().tv_nsec); test_small_log(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/trace_test.c b/test/core/statistics/trace_test.c index 21cc17be516ec3f6f09b60ff16018db252d47f41..65b70e1006a266d74b3b6ae5cb1f53a20dc148b2 100644 --- a/test/core/statistics/trace_test.c +++ b/test/core/statistics/trace_test.c @@ -252,4 +252,4 @@ int main(int argc, char** argv) { test_trace_print(); test_get_active_ops(); return 0; -} \ No newline at end of file +} diff --git a/test/core/statistics/window_stats_test.c b/test/core/statistics/window_stats_test.c index c15469c20d5616753d1a36b740b5f12309771924..d893f7f792b7fe005b56e717ebd5dacdeabf5db9 100644 --- a/test/core/statistics/window_stats_test.c +++ b/test/core/statistics/window_stats_test.c @@ -314,4 +314,4 @@ int main(int argc, char* argv[]) { rolling_time_test(); infinite_interval_test(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/cancellable_test.c b/test/core/support/cancellable_test.c index c073597a83f2953fcab74e54595b41d0bf47804d..b2db1afc7619ef87dc27d4b00b6d0e41ca3cb9c9 100644 --- a/test/core/support/cancellable_test.c +++ b/test/core/support/cancellable_test.c @@ -157,4 +157,4 @@ int main(int argc, char *argv[]) { grpc_test_init(argc, argv); test(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/cmdline_test.c b/test/core/support/cmdline_test.c index 677415a6ecaae62c02de89c48d04cd2649c1ec81..52c311f75c287ad8f6e99164dac4609359a3332f 100644 --- a/test/core/support/cmdline_test.c +++ b/test/core/support/cmdline_test.c @@ -290,4 +290,4 @@ int main(int argc, char **argv) { test_flag_val_false(); test_many(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/env_test.c b/test/core/support/env_test.c index 025caa17c034ecafc85b2f58c3680d63ef32416c..1f16af87a5a6973ec01e58965404d5e9973b0596 100644 --- a/test/core/support/env_test.c +++ b/test/core/support/env_test.c @@ -61,4 +61,4 @@ int main(int argc, char **argv) { grpc_test_init(argc, argv); test_setenv_getenv(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/file_test.c b/test/core/support/file_test.c index f111a0744825bb7d07f7a63443f6c8c7ab6eb033..c0c14ffa0e5e079d722041e2bfbe8c7d13888c9b 100644 --- a/test/core/support/file_test.c +++ b/test/core/support/file_test.c @@ -156,4 +156,4 @@ int main(int argc, char **argv) { test_load_small_file(); test_load_big_file(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/histogram_test.c b/test/core/support/histogram_test.c index 9fb3319e6fc4bdfd3b64a89660bde9371de14af7..39944308743ec0b0af02bd6b0cd5de574af46175 100644 --- a/test/core/support/histogram_test.c +++ b/test/core/support/histogram_test.c @@ -175,4 +175,4 @@ int main(void) { test_percentile(); test_merge(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/host_port_test.c b/test/core/support/host_port_test.c index 22dbb0e81ad194b126f09bd4e82b46db7032c111..eccc39a2db113bf638edf4684751d1ba8039306f 100644 --- a/test/core/support/host_port_test.c +++ b/test/core/support/host_port_test.c @@ -70,4 +70,4 @@ int main(int argc, char **argv) { test_join_host_port_garbage(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/log_test.c b/test/core/support/log_test.c index dfe30d456405081e86f7fdff74169540dbc2cae6..b39b0699134199ba6d68c61426ca8244c5d910be 100644 --- a/test/core/support/log_test.c +++ b/test/core/support/log_test.c @@ -56,4 +56,4 @@ int main(int argc, char **argv) { gpr_log(GPR_INFO, "hello %d %d %d", 1, 2, 3); /* TODO(ctiller): should we add a GPR_ASSERT failure test here */ return 0; -} \ No newline at end of file +} diff --git a/test/core/support/murmur_hash_test.c b/test/core/support/murmur_hash_test.c index 63b938c010469e63f0a81ee8b823be1d04b3f1ea..e3890a79dad38386ab8e9fd2f24fc6a9a84adcd1 100644 --- a/test/core/support/murmur_hash_test.c +++ b/test/core/support/murmur_hash_test.c @@ -84,4 +84,4 @@ int main(int argc, char **argv) { gpr_murmur_hash3("xyz", 3, 0); verification_test(gpr_murmur_hash3, 0xB0F57EE3); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/slice_buffer_test.c b/test/core/support/slice_buffer_test.c index 3788d66c51780d80a4f86b6792015ede82b8109e..8301795dbfda7b275785c8a71e8f9f4c728b73d5 100644 --- a/test/core/support/slice_buffer_test.c +++ b/test/core/support/slice_buffer_test.c @@ -67,4 +67,4 @@ int main(int argc, char **argv) { gpr_slice_buffer_destroy(&buf); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/slice_test.c b/test/core/support/slice_test.c index 69cb56b40492a9d0c370626e819653e2d3bce34d..4ab3d6f45b9a99f52e36dc9e26ca2b21dd60278b 100644 --- a/test/core/support/slice_test.c +++ b/test/core/support/slice_test.c @@ -224,4 +224,4 @@ int main(int argc, char **argv) { } test_slice_from_copied_string_works(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/string_test.c b/test/core/support/string_test.c index 4beabbe262a5f639b0393b7355167bf800d981b6..a78e4782a29f0dbd64a0cdd4d721cee18d69f9cc 100644 --- a/test/core/support/string_test.c +++ b/test/core/support/string_test.c @@ -151,4 +151,4 @@ int main(int argc, char **argv) { test_parse_uint32(); test_asprintf(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/sync_test.c b/test/core/support/sync_test.c index 827d3d322a28c9193feecfbb718d42a1f7835a6a..43d05c6302b7fbcb921d615820a8b3ebcf7527aa 100644 --- a/test/core/support/sync_test.c +++ b/test/core/support/sync_test.c @@ -448,4 +448,4 @@ int main(int argc, char *argv[]) { test("refcount", &refinc, &refcheck, 1); test("timedevent", &inc_with_1ms_delay_event, NULL, 1); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/thd_test.c b/test/core/support/thd_test.c index 6e10b23be5267716eafa02699f55b79fd80ca834..c03a905d2af2540dc0593c85a98bbe39f71e9ff8 100644 --- a/test/core/support/thd_test.c +++ b/test/core/support/thd_test.c @@ -87,4 +87,4 @@ int main(int argc, char *argv[]) { grpc_test_init(argc, argv); test(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/time_test.c b/test/core/support/time_test.c index c9833dd4df89a876e048ff11719de42a28c9f79e..2741e17f95f10f0014316435f4be6000c845dd84 100644 --- a/test/core/support/time_test.c +++ b/test/core/support/time_test.c @@ -252,4 +252,4 @@ int main(int argc, char *argv[]) { test_sticky_infinities(); test_similar(); return 0; -} \ No newline at end of file +} diff --git a/test/core/support/useful_test.c b/test/core/support/useful_test.c index 92f44b331bee114278e6cac9bce611d8fb5eb972..feaf4363795ea26683f37490fc358e869892fd72 100644 --- a/test/core/support/useful_test.c +++ b/test/core/support/useful_test.c @@ -56,4 +56,4 @@ int main(int argc, char **argv) { GPR_ASSERT(GPR_ARRAY_SIZE(five) == 5); return 0; -} \ No newline at end of file +} diff --git a/test/core/surface/byte_buffer_reader_test.c b/test/core/surface/byte_buffer_reader_test.c index 51b1d8b8b15cd27870d2e308fe633aaa3c31372a..b121abf75728ae90cc91063d76b97cc835144e1e 100644 --- a/test/core/surface/byte_buffer_reader_test.c +++ b/test/core/surface/byte_buffer_reader_test.c @@ -108,4 +108,4 @@ int main(int argc, char **argv) { test_read_one_slice(); test_read_one_slice_malloc(); return 0; -} \ No newline at end of file +} diff --git a/test/core/surface/completion_queue_benchmark.c b/test/core/surface/completion_queue_benchmark.c index 15b99db774ddfc388b898c6507137cb434c657e5..9116fd0fe4c8fb1653d9c234a9bca10a8dd68fdc 100644 --- a/test/core/surface/completion_queue_benchmark.c +++ b/test/core/surface/completion_queue_benchmark.c @@ -165,4 +165,4 @@ int main(void) { } return 0; -} \ No newline at end of file +} diff --git a/test/core/surface/completion_queue_test.c b/test/core/surface/completion_queue_test.c index 3374da45b013fed1ba04a96398cfcbd94947a8f8..35f150c78158b6380022aaf3c9f9371979bbd7e1 100644 --- a/test/core/surface/completion_queue_test.c +++ b/test/core/surface/completion_queue_test.c @@ -405,4 +405,4 @@ int main(int argc, char **argv) { test_threading(10, 10); grpc_iomgr_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c index 497b4f926da37348537f543f582926a17a38c956..0142768261d9a89523a8bc9a71ee6feeb59f665a 100644 --- a/test/core/surface/lame_client_test.c +++ b/test/core/surface/lame_client_test.c @@ -77,4 +77,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/core/surface/multi_init_test.c b/test/core/surface/multi_init_test.c index e5a753766eaa8422794d77f6c502752a2d66330a..99b7a52ff98bbef20b01752de404367991d9382d 100644 --- a/test/core/surface/multi_init_test.c +++ b/test/core/surface/multi_init_test.c @@ -60,4 +60,4 @@ int main(int argc, char **argv) { test(3); test_mixed(); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/alpn_test.c b/test/core/transport/chttp2/alpn_test.c index b65f4dffbeccfdadf3c9d8b536c79cda38adaeb8..c2497d3b1a2bbce2ede48cdb1f3ff2e25dfd1996 100644 --- a/test/core/transport/chttp2/alpn_test.c +++ b/test/core/transport/chttp2/alpn_test.c @@ -52,4 +52,4 @@ int main(int argc, char **argv) { test_alpn_success(); test_alpn_failure(); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/bin_encoder_test.c b/test/core/transport/chttp2/bin_encoder_test.c index 7e248968a71fc2a2e24ae49a3634464ef45ecffa..983eaf5a0d7d43d4ed2657fa00f94561098bba38 100644 --- a/test/core/transport/chttp2/bin_encoder_test.c +++ b/test/core/transport/chttp2/bin_encoder_test.c @@ -184,4 +184,4 @@ int main(int argc, char **argv) { expect_binary_header("-bin", 0); return all_ok ? 0 : 1; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/hpack_parser_test.c b/test/core/transport/chttp2/hpack_parser_test.c index b4769cb55f0745fccba18cfa270c8ba49546f86b..edab37b68796b8e4c9395e7d83b9823aa5057c9e 100644 --- a/test/core/transport/chttp2/hpack_parser_test.c +++ b/test/core/transport/chttp2/hpack_parser_test.c @@ -222,4 +222,4 @@ int main(int argc, char **argv) { test_vectors(GRPC_SLICE_SPLIT_MERGE_ALL); test_vectors(GRPC_SLICE_SPLIT_ONE_BYTE); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/hpack_table_test.c b/test/core/transport/chttp2/hpack_table_test.c index 4503694233761a84d6515ef47fdf8323d88de9d2..f3da9f0d49cd14f3f7a3f14bbd873e53da2cd171 100644 --- a/test/core/transport/chttp2/hpack_table_test.c +++ b/test/core/transport/chttp2/hpack_table_test.c @@ -271,4 +271,4 @@ int main(int argc, char **argv) { test_many_additions(); test_find(); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/status_conversion_test.c b/test/core/transport/chttp2/status_conversion_test.c index b39b58d323c8392de221db56a3f413f395fefb76..e2729a0a198ab8cdf7a6986118ec692cfb2fd966 100644 --- a/test/core/transport/chttp2/status_conversion_test.c +++ b/test/core/transport/chttp2/status_conversion_test.c @@ -135,4 +135,4 @@ int main(int argc, char **argv) { } return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/stream_encoder_test.c b/test/core/transport/chttp2/stream_encoder_test.c index 94c1c96050ee8196f6f099e4fa83d446d497eaea..3013533f9b961de06bd693bc7654c707c46ed375 100644 --- a/test/core/transport/chttp2/stream_encoder_test.c +++ b/test/core/transport/chttp2/stream_encoder_test.c @@ -330,4 +330,4 @@ int main(int argc, char **argv) { TEST(test_decode_random_headers_89); TEST(test_decode_random_headers_144); return g_failure; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/stream_map_test.c b/test/core/transport/chttp2/stream_map_test.c index 24c6b5998e10fb6fa8fa38965319dc530cbac58f..49d58114f87990e3bc3171fc29346649ee0fa3bd 100644 --- a/test/core/transport/chttp2/stream_map_test.c +++ b/test/core/transport/chttp2/stream_map_test.c @@ -225,4 +225,4 @@ int main(int argc, char **argv) { } return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2/timeout_encoding_test.c b/test/core/transport/chttp2/timeout_encoding_test.c index 39c993ae595bf4f851586a703770bc25cb645a49..fdb27a22ced42e5cdc26797e8fd5383fac1ed1cb 100644 --- a/test/core/transport/chttp2/timeout_encoding_test.c +++ b/test/core/transport/chttp2/timeout_encoding_test.c @@ -146,4 +146,4 @@ int main(int argc, char **argv) { test_decoding(); test_decoding_fails(); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/chttp2_transport_end2end_test.c b/test/core/transport/chttp2_transport_end2end_test.c index 4d278d44acf5b16d25a30554548a39a819aeef17..a3c9f97ce4c6ece3bef730125dbef2ee07676a42 100644 --- a/test/core/transport/chttp2_transport_end2end_test.c +++ b/test/core/transport/chttp2_transport_end2end_test.c @@ -117,4 +117,4 @@ int main(int argc, char **argv) { gpr_log(GPR_INFO, "exiting"); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/metadata_test.c b/test/core/transport/metadata_test.c index 9947a4b4ab8f0267e212046a08bbb78995f402da..07867c6b247fcc1bd05ab1c679c540801e1d6c0a 100644 --- a/test/core/transport/metadata_test.c +++ b/test/core/transport/metadata_test.c @@ -279,4 +279,4 @@ int main(int argc, char **argv) { test_slices_work(); test_base64_and_huffman_works(); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/stream_op_test.c b/test/core/transport/stream_op_test.c index e69c5ec9dfed34cd4d80688d3d9fba0a7ba5d6b6..588522389483ed5e31b082db5f3b60dccd1b58ff 100644 --- a/test/core/transport/stream_op_test.c +++ b/test/core/transport/stream_op_test.c @@ -122,4 +122,4 @@ int main(int argc, char **argv) { gpr_slice_unref(test_slice_4); return 0; -} \ No newline at end of file +} diff --git a/test/core/transport/transport_end2end_tests.c b/test/core/transport/transport_end2end_tests.c index 4bb36a1b61f190eb0d041d398f913dfe23cce570..6a0848fa97835422511eed9c5fc8a3819ff61e9b 100644 --- a/test/core/transport/transport_end2end_tests.c +++ b/test/core/transport/transport_end2end_tests.c @@ -930,4 +930,4 @@ void grpc_transport_end2end_tests(grpc_transport_test_config *config) { grpc_mdctx_orphan(g_metadata_context); gpr_log(GPR_INFO, "tests completed ok"); -} \ No newline at end of file +} diff --git a/test/core/transport/transport_end2end_tests.h b/test/core/transport/transport_end2end_tests.h index e181b45a6f427d7a8239072058ca28c57e28b43c..3dc2b9b0678b2245a05f11a28a151c86471eeb01 100644 --- a/test/core/transport/transport_end2end_tests.h +++ b/test/core/transport/transport_end2end_tests.h @@ -65,4 +65,4 @@ typedef struct grpc_transport_test_config { /* Run the test suite on one configuration */ void grpc_transport_end2end_tests(grpc_transport_test_config *config); -#endif /* __GRPC_TEST_TRANSPORT_TRANSPORT_END2END_TESTS_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_TRANSPORT_TRANSPORT_END2END_TESTS_H__ */ diff --git a/test/core/util/grpc_profiler.c b/test/core/util/grpc_profiler.c index 659322e05d3a2c68a9588abc23ffadde9a53bb22..35b9361c70c981bba4b03a107c079e76310ed78c 100644 --- a/test/core/util/grpc_profiler.c +++ b/test/core/util/grpc_profiler.c @@ -51,4 +51,4 @@ void grpc_profiler_start(const char *filename) { } void grpc_profiler_stop(void) {} -#endif \ No newline at end of file +#endif diff --git a/test/core/util/grpc_profiler.h b/test/core/util/grpc_profiler.h index d4b9f6330c34841eb5b18c638413323b295d85ea..a31fcc1db5f8274d287b2ad93a1582fe5fac0e72 100644 --- a/test/core/util/grpc_profiler.h +++ b/test/core/util/grpc_profiler.h @@ -45,4 +45,4 @@ void grpc_profiler_stop(); } #endif /* __cplusplus */ -#endif /* __GRPC_TEST_UTIL_GRPC_PROFILER_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_UTIL_GRPC_PROFILER_H__ */ diff --git a/test/core/util/parse_hexstring.c b/test/core/util/parse_hexstring.c index 137ce5612777f499e4ba1cb63a0c49226675d1c4..bf5bc84b4836582a4e065d27c1e3eb98787554af 100644 --- a/test/core/util/parse_hexstring.c +++ b/test/core/util/parse_hexstring.c @@ -67,4 +67,4 @@ gpr_slice parse_hexstring(const char *hexstring) { } return slice; -} \ No newline at end of file +} diff --git a/test/core/util/parse_hexstring.h b/test/core/util/parse_hexstring.h index 4cb1779b5f53407b36b124f3d975c0914fa7632c..3fce0c9f7ac6695871d0552db7b40b1562fc8f28 100644 --- a/test/core/util/parse_hexstring.h +++ b/test/core/util/parse_hexstring.h @@ -38,4 +38,4 @@ gpr_slice parse_hexstring(const char *hexstring); -#endif /* __GRPC_TEST_UTIL_PARSE_HEXSTRING_H_ */ \ No newline at end of file +#endif /* __GRPC_TEST_UTIL_PARSE_HEXSTRING_H_ */ diff --git a/test/core/util/port.h b/test/core/util/port.h index bed94c9a0ac968e6d18a21b7e6eb80537d32b3ca..2a12ab985e01bfd506becd5634df3c7c0eb4b4d9 100644 --- a/test/core/util/port.h +++ b/test/core/util/port.h @@ -49,4 +49,4 @@ int grpc_pick_unused_port_or_die(); } #endif -#endif /* __GRPC_TEST_UTIL_PORT_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_UTIL_PORT_H__ */ diff --git a/test/core/util/port_posix.c b/test/core/util/port_posix.c index c4868a16c7b77a6a95f9c1d6dcfd21a0fa360e2c..f0fe1a0e7c38a4b63de3385eb6d0d60526ba03e5 100644 --- a/test/core/util/port_posix.c +++ b/test/core/util/port_posix.c @@ -146,4 +146,4 @@ int grpc_pick_unused_port_or_die(void) { return port; } -#endif /* GPR_POSIX_SOCKET */ \ No newline at end of file +#endif /* GPR_POSIX_SOCKET */ diff --git a/test/core/util/slice_splitter.c b/test/core/util/slice_splitter.c index c4d5f12e7972243360fb167afe46bca4b47aff2b..0f05072e50593726eccd83870dfe410d6f91d237 100644 --- a/test/core/util/slice_splitter.c +++ b/test/core/util/slice_splitter.c @@ -135,4 +135,4 @@ gpr_slice grpc_slice_merge(gpr_slice *slices, size_t nslices) { } return gpr_slice_new(out, length, gpr_free); -} \ No newline at end of file +} diff --git a/test/core/util/slice_splitter.h b/test/core/util/slice_splitter.h index 9f6f354aefa5a53bfe6c90c3a2e362821b8afd4c..b67fe737cbd7863b22c5cf50d638c357ae04702d 100644 --- a/test/core/util/slice_splitter.h +++ b/test/core/util/slice_splitter.h @@ -65,4 +65,4 @@ gpr_slice grpc_slice_merge(gpr_slice *slices, size_t nslices); const char *grpc_slice_split_mode_name(grpc_slice_split_mode mode); -#endif /* __GRPC_TEST_UTIL_SLICE_SPLITTER_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_UTIL_SLICE_SPLITTER_H__ */ diff --git a/test/core/util/test_config.c b/test/core/util/test_config.c index 41768f2f72dfbd997e0cb005a1646c78ad7aaa5d..1c46407311472c9e8908e28b6cbc1a75747fa2b7 100644 --- a/test/core/util/test_config.c +++ b/test/core/util/test_config.c @@ -55,4 +55,4 @@ void grpc_test_init(int argc, char **argv) { /* seed rng with pid, so we don't end up with the same random numbers as a concurrently running test binary */ srand(seed()); -} \ No newline at end of file +} diff --git a/test/core/util/test_config.h b/test/core/util/test_config.h index b827e53544665f7d399297604b6009551b26f315..b97fbfa6138214d3e0bb75c0eaa14cfac5ff1cf2 100644 --- a/test/core/util/test_config.h +++ b/test/core/util/test_config.h @@ -44,4 +44,4 @@ void grpc_test_init(int argc, char **argv); } #endif /* __cplusplus */ -#endif /* __GRPC_TEST_UTIL_TEST_CONFIG_H__ */ \ No newline at end of file +#endif /* __GRPC_TEST_UTIL_TEST_CONFIG_H__ */ diff --git a/test/cpp/client/channel_arguments_test.cc b/test/cpp/client/channel_arguments_test.cc index 59b5910e1ec2741783eb27ee3231db20da2f8dce..d98b38ab68ff94ee065a2fb515eaa6bc44da0428 100644 --- a/test/cpp/client/channel_arguments_test.cc +++ b/test/cpp/client/channel_arguments_test.cc @@ -121,4 +121,4 @@ TEST_F(ChannelArgumentsTest, SetString) { int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); -} \ No newline at end of file +} diff --git a/test/cpp/client/credentials_test.cc b/test/cpp/client/credentials_test.cc index c26612caf2f1cb974cf7041a6edc88d9d9e172ea..dc8d76d7eff5a920e4564120b982d79e9dafe21b 100644 --- a/test/cpp/client/credentials_test.cc +++ b/test/cpp/client/credentials_test.cc @@ -61,4 +61,4 @@ int main(int argc, char **argv) { int ret = RUN_ALL_TESTS(); grpc_shutdown(); return ret; -} \ No newline at end of file +} diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc index 7057fa07d0c7ddfa3c9450fe7cebd0d0ac1b42cd..7101da1b2a682ccafb9a3376bed501d1b5e8f721 100644 --- a/test/cpp/end2end/async_end2end_test.cc +++ b/test/cpp/end2end/async_end2end_test.cc @@ -525,4 +525,4 @@ int main(int argc, char** argv) { grpc_shutdown(); google::protobuf::ShutdownProtobufLibrary(); return result; -} \ No newline at end of file +} diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index c70930387af6a649e0dab7850eac54baceca5551..d4ca3ef49e40208939936d8d6632b4d723ffc937 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -447,4 +447,4 @@ int main(int argc, char** argv) { grpc_shutdown(); google::protobuf::ShutdownProtobufLibrary(); return result; -} \ No newline at end of file +} diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc index 76cb05eee41c4d8c3bb0363b5cfe83568ba1b898..ab69e1eefd37dd4b6c942d1494b8aee652526984 100644 --- a/test/cpp/interop/client.cc +++ b/test/cpp/interop/client.cc @@ -429,4 +429,4 @@ int main(int argc, char** argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/cpp/interop/server.cc b/test/cpp/interop/server.cc index b08030fce78b81f21ac508eba1970de4bb50f911..f4b9f046504016289d11c332ef0e5aab8ad71ffc 100644 --- a/test/cpp/interop/server.cc +++ b/test/cpp/interop/server.cc @@ -224,4 +224,4 @@ int main(int argc, char** argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/cpp/qps/client.cc b/test/cpp/qps/client.cc index 1bca2524c2bca4a92e81299a5c937e720054fd29..8369ef6562b84e9f9ddd6044563ad5b7230bf7b9 100644 --- a/test/cpp/qps/client.cc +++ b/test/cpp/qps/client.cc @@ -242,4 +242,4 @@ int main(int argc, char **argv) { grpc_shutdown(); return 0; -} \ No newline at end of file +} diff --git a/test/cpp/server/thread_pool_test.cc b/test/cpp/server/thread_pool_test.cc index bdaf523b2f6e69834dd9f35882fbae43984bb68d..824d78531607bf8b422b094e129955a329a704f3 100644 --- a/test/cpp/server/thread_pool_test.cc +++ b/test/cpp/server/thread_pool_test.cc @@ -74,4 +74,4 @@ int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); int result = RUN_ALL_TESTS(); return result; -} \ No newline at end of file +} diff --git a/test/cpp/util/create_test_channel.cc b/test/cpp/util/create_test_channel.cc index bd6e62d1514f65ef34f3240911a2534bd45037ed..b0472d32a99e9b452b24ef7b38fd3f2488bfcffe 100644 --- a/test/cpp/util/create_test_channel.cc +++ b/test/cpp/util/create_test_channel.cc @@ -96,4 +96,4 @@ std::shared_ptr<ChannelInterface> CreateTestChannel(const grpc::string& server, return CreateTestChannel(server, "foo.test.google.com", enable_ssl, false); } -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/test/cpp/util/create_test_channel.h b/test/cpp/util/create_test_channel.h index 19a9d2e83bb2b42756596ef4e01b12b774443a4a..3476b8354b1a798f302bf6749ab1e874c69fb311 100644 --- a/test/cpp/util/create_test_channel.h +++ b/test/cpp/util/create_test_channel.h @@ -56,4 +56,4 @@ std::shared_ptr<ChannelInterface> CreateTestChannel( } // namespace grpc -#endif // __GRPCPP_TEST_UTIL_CREATE_TEST_CHANNEL_H_ \ No newline at end of file +#endif // __GRPCPP_TEST_UTIL_CREATE_TEST_CHANNEL_H_ diff --git a/test/cpp/util/status_test.cc b/test/cpp/util/status_test.cc index d7dacf03f66e2ff945d3e28b46aae75968dde35f..8c6a3354fe46dc068bd3047d2c0f4a7b0ad6a276 100644 --- a/test/cpp/util/status_test.cc +++ b/test/cpp/util/status_test.cc @@ -73,4 +73,4 @@ int main(int argc, char **argv) { static_cast<grpc::StatusCode>(GRPC_STATUS_DATA_LOSS)); return 0; -} \ No newline at end of file +} diff --git a/test/cpp/util/time_test.cc b/test/cpp/util/time_test.cc index a258eb020195aded6eccd16348790fd369c1f0be..2e17add67faabca80cafc6293f08b5483511fed7 100644 --- a/test/cpp/util/time_test.cc +++ b/test/cpp/util/time_test.cc @@ -68,4 +68,4 @@ TEST_F(TimeTest, InfFuture) { } } // namespace -} // namespace grpc \ No newline at end of file +} // namespace grpc diff --git a/vsprojects/third_party/openssl/buildinf.h b/vsprojects/third_party/openssl/buildinf.h index f4345e461ec34803010b4bdef4d3fa1fc9512f91..0901f8d9ae13b86887db7c95607d9466f0f9bcc5 100644 --- a/vsprojects/third_party/openssl/buildinf.h +++ b/vsprojects/third_party/openssl/buildinf.h @@ -43,4 +43,4 @@ #define CFLAGS "cl /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32 -W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE " #define PLATFORM "VC-WIN32" #define DATE "Sat Dec 13 01:17:07 2014" -#endif \ No newline at end of file +#endif diff --git a/vsprojects/third_party/openssl/opensslconf.h b/vsprojects/third_party/openssl/opensslconf.h index 398d5eee19f9c3d5ef20e633fbbc9b36a85167f2..0f5ae4059f05f2c0b17687e7ccda373a6fcfe0c7 100644 --- a/vsprojects/third_party/openssl/opensslconf.h +++ b/vsprojects/third_party/openssl/opensslconf.h @@ -290,4 +290,4 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED !!!!! #endif /* HEADER_DES_LOCL_H */ #ifdef __cplusplus } -#endif \ No newline at end of file +#endif