grpc/test/cpp/qps
Austin Schuh d30404868f
ARM and -Wextra fixups (#19141)
* Make generated code compile with -Wunused-parameters

-Wunused-parameters is turned on by -Werror -Wextra.  gRPC code
generation creates header files with unused parameters.  So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.

* Fix unsigned vs signed comparisons and 32 bit string formats

Fix unsigned vs signed comparison warnings.

For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine.  Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.

* Fix unaligned memory access

cost_entry_ptr has no alignment guarentees that ubsan can find.  So it
fails the test with an alignment problem.  Use memcopy to read the data
from the pointer to fix this.

* Fix undefined behavior with memcpy and memcmp

Passing in a 0 length piece of data and a null pointer is undefined
behavior.  If the length is 0, don't pass it in.  This fixes ubsan
failures.

* Clang-format

* Automated change: Fix sanity tests
2021-09-27 04:54:05 -07:00
..
BUILD Roll forward of commit 7883b51: Use abseil's flags in tests. 2020-11-06 16:07:19 +01:00
benchmark_config.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
benchmark_config.h Replace InitBenchmark with InitTest. Remove qps_test.cc 2017-07-13 09:47:27 -07:00
client.h ARM and -Wextra fixups (#19141) 2021-09-27 04:54:05 -07:00
client_async.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
client_callback.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
client_sync.cc Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
driver.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
driver.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
gen_build_yaml.py Introduce Python import sorting to our sanity test suite (#26768) 2021-07-26 12:31:21 -07:00
histogram.h Fix google-readability-todo 2020-11-25 10:09:42 -08:00
inproc_sync_unary_ping_pong_test.cc Add TestEnvironment to tests 2020-07-30 23:43:02 -07:00
interarrival.h clang-tidy: enable google-readability-braces-around-statements 2020-11-06 13:41:44 -08:00
json_run_localhost.cc Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr (#25628) 2021-03-09 21:30:35 -08:00
json_run_localhost_scenario_gen.py Introduce Python import sorting to our sanity test suite (#26768) 2021-07-26 12:31:21 -07:00
json_run_localhost_scenarios.bzl Fix bazel copyright notices (#26353) 2021-05-25 12:15:30 -07:00
parse_json.cc Fix status error (#25731) 2021-03-17 18:00:44 +01:00
parse_json.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
qps_benchmark_script.bzl Another workaround to fix windows SymInitialize error (#27169) 2021-08-30 10:15:55 -07:00
qps_interarrival_test.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
qps_json_driver.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
qps_json_driver_scenario_gen.py Introduce Python import sorting to our sanity test suite (#26768) 2021-07-26 12:31:21 -07:00
qps_json_driver_scenarios.bzl Fix bazel copyright notices (#26353) 2021-05-25 12:15:30 -07:00
qps_openloop_test.cc Add TestEnvironment to tests 2020-07-30 23:43:02 -07:00
qps_server_builder.cc Fix by modernize-make-unique 2020-10-16 13:30:56 -07:00
qps_server_builder.h Make QPS server builder customizeabled 2018-07-23 17:16:13 +00:00
qps_worker.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
qps_worker.h Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
report.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
report.h Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
secure_sync_unary_ping_pong_test.cc Add TestEnvironment to tests 2020-07-29 19:29:55 -07:00
server.h Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00
server_async.cc Fix OOM issues in qps tests (#26888) 2021-08-05 19:04:06 -07:00
server_callback.cc De-experimentalize C++ callback API (#25728) 2021-05-27 14:55:25 -07:00
server_sync.cc Replace disrespectful term 2021-02-08 15:29:53 -08:00
stats.h auto-fix most of licenses 2017-06-08 11:22:41 +02:00
usage_timer.cc Remove unused-parameter warnings, round 2 (19 of 19) 2019-10-21 09:16:35 -07:00
usage_timer.h auto-fix most of licenses 2017-06-08 11:22:41 +02:00
worker.cc Adjust include order per style guide (#27175) 2021-09-08 12:14:44 -07:00