Fix various typos in .cc and .md and .py files

pull/18037/head
xichengliudui 6 years ago
parent 1064c6f663
commit d9b508c896
  1. 2
      src/cpp/codegen/codegen_init.cc
  2. 2
      src/ruby/pb/README.md
  3. 2
      test/core/end2end/fixtures/http_proxy_fixture.cc
  4. 2
      test/cpp/util/proto_reflection_descriptor_database.h
  5. 2
      tools/run_tests/run_interop_tests.py

@ -20,7 +20,7 @@
#include <grpcpp/impl/codegen/grpc_library.h> #include <grpcpp/impl/codegen/grpc_library.h>
/// Null-initializes the global gRPC variables for the codegen library. These /// Null-initializes the global gRPC variables for the codegen library. These
/// stay null in the absence of of grpc++ library. In this case, no gRPC /// stay null in the absence of grpc++ library. In this case, no gRPC
/// features such as the ability to perform calls will be available. Trying to /// features such as the ability to perform calls will be available. Trying to
/// perform them would result in a segmentation fault when trying to deference /// perform them would result in a segmentation fault when trying to deference
/// the following nulled globals. These should be associated with actual /// the following nulled globals. These should be associated with actual

@ -7,7 +7,7 @@ code to them.
PREREQUISITES PREREQUISITES
------------- -------------
The code is is generated using the protoc (> 3.0.0.alpha.1) and the The code is generated using the protoc (> 3.0.0.alpha.1) and the
grpc_ruby_plugin. These must be installed to regenerate the IDL defined grpc_ruby_plugin. These must be installed to regenerate the IDL defined
classes, but that's not necessary just to use them. classes, but that's not necessary just to use them.

@ -78,7 +78,7 @@ struct grpc_end2end_http_proxy {
// //
// proxy_connection structure is only accessed in the closures which are all // proxy_connection structure is only accessed in the closures which are all
// scheduled under the same combiner lock. So there is is no need for a mutex to // scheduled under the same combiner lock. So there is no need for a mutex to
// protect this structure. // protect this structure.
typedef struct proxy_connection { typedef struct proxy_connection {
grpc_end2end_http_proxy* proxy; grpc_end2end_http_proxy* proxy;

@ -44,7 +44,7 @@ class ProtoReflectionDescriptorDatabase : public protobuf::DescriptorDatabase {
// The following four methods implement DescriptorDatabase interfaces. // The following four methods implement DescriptorDatabase interfaces.
// //
// Find a file by file name. Fills in in *output and returns true if found. // Find a file by file name. Fills in *output and returns true if found.
// Otherwise, returns false, leaving the contents of *output undefined. // Otherwise, returns false, leaving the contents of *output undefined.
bool FindFileByName(const string& filename, bool FindFileByName(const string& filename,
protobuf::FileDescriptorProto* output) override; protobuf::FileDescriptorProto* output) override;

@ -759,7 +759,7 @@ def _job_kill_handler(job):
# When the job times out and we decide to kill it, # When the job times out and we decide to kill it,
# we need to wait a before restarting the job # we need to wait a before restarting the job
# to prevent "container name already in use" error. # to prevent "container name already in use" error.
# TODO(jtattermusch): figure out a cleaner way to to this. # TODO(jtattermusch): figure out a cleaner way to this.
time.sleep(2) time.sleep(2)

Loading…
Cancel
Save