wearefair-grpc 1.3.1.pre.c → 1.4.0.fair
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +418 -126
- data/include/grpc/grpc.h +15 -69
- data/include/grpc/grpc_security.h +1 -1
- data/include/grpc/impl/codegen/compression_types.h +3 -4
- data/include/grpc/impl/codegen/gpr_types.h +0 -1
- data/include/grpc/impl/codegen/grpc_types.h +69 -3
- data/include/grpc/impl/codegen/port_platform.h +6 -0
- data/include/grpc/impl/codegen/slice.h +2 -1
- data/include/grpc/load_reporting.h +6 -6
- data/include/grpc/slice.h +25 -3
- data/include/grpc/slice_buffer.h +4 -0
- data/src/core/ext/census/context.c +1 -1
- data/src/core/ext/census/resource.c +3 -1
- data/src/core/ext/filters/client_channel/channel_connectivity.c +1 -1
- data/src/core/ext/filters/client_channel/client_channel.c +158 -100
- data/src/core/ext/filters/client_channel/client_channel_plugin.c +3 -2
- data/src/core/ext/filters/client_channel/lb_policy.c +2 -1
- data/src/core/ext/filters/client_channel/lb_policy.h +5 -6
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +153 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +42 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +344 -88
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +133 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +65 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +47 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +6 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +19 -8
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +63 -34
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +2 -1
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +13 -12
- data/src/core/ext/filters/client_channel/lb_policy_factory.c +28 -5
- data/src/core/ext/filters/client_channel/lb_policy_factory.h +18 -4
- data/src/core/ext/filters/client_channel/parse_address.c +37 -7
- data/src/core/ext/filters/client_channel/parse_address.h +11 -8
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c +3 -3
- data/src/core/ext/filters/client_channel/subchannel.c +19 -16
- data/src/core/ext/filters/client_channel/subchannel.h +1 -0
- data/src/core/ext/filters/client_channel/uri_parser.c +36 -22
- data/src/core/ext/filters/client_channel/uri_parser.h +1 -1
- data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.c +42 -17
- data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.h +8 -9
- data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.c +19 -11
- data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.h +3 -6
- data/src/core/ext/filters/http/http_filters_plugin.c +104 -0
- data/src/core/{lib/channel/compress_filter.c → ext/filters/http/message_compress/message_compress_filter.c} +124 -23
- data/src/core/{lib/channel/compress_filter.h → ext/filters/http/message_compress/message_compress_filter.h} +5 -6
- data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.c +4 -6
- data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.h +3 -3
- data/src/core/ext/filters/load_reporting/load_reporting.c +2 -25
- data/src/core/ext/filters/load_reporting/load_reporting_filter.c +26 -1
- data/src/core/ext/filters/max_age/max_age_filter.c +14 -14
- data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.c +91 -47
- data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.h +3 -3
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.c +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_decoder.c +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_encoder.c +3 -3
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +296 -172
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -2
- data/src/core/ext/transport/chttp2/transport/frame_data.c +203 -164
- data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -14
- data/src/core/ext/transport/chttp2/transport/frame_goaway.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.c +5 -5
- data/src/core/ext/transport/chttp2/transport/frame_window_update.c +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +4 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parser.c +2 -4
- data/src/core/ext/transport/chttp2/transport/hpack_table.c +4 -3
- data/src/core/ext/transport/chttp2/transport/internal.h +50 -33
- data/src/core/ext/transport/chttp2/transport/parsing.c +10 -11
- data/src/core/ext/transport/chttp2/transport/writing.c +32 -13
- data/src/core/lib/channel/channel_args.c +28 -9
- data/src/core/lib/channel/channel_args.h +5 -1
- data/src/core/lib/channel/channel_stack.c +1 -1
- data/src/core/lib/channel/channel_stack.h +2 -2
- data/src/core/lib/channel/channel_stack_builder.c +13 -1
- data/src/core/lib/channel/channel_stack_builder.h +5 -1
- data/src/core/lib/channel/connected_channel.c +3 -1
- data/src/core/lib/channel/context.h +2 -2
- data/src/core/lib/compression/message_compress.c +2 -2
- data/src/core/lib/debug/trace.c +13 -6
- data/src/core/lib/debug/trace.h +27 -1
- data/src/core/lib/http/httpcli.c +1 -1
- data/src/core/lib/http/httpcli_security_connector.c +6 -10
- data/src/core/lib/http/parser.c +2 -2
- data/src/core/lib/http/parser.h +2 -1
- data/src/core/lib/iomgr/combiner.c +6 -6
- data/src/core/lib/iomgr/combiner.h +2 -1
- data/src/core/lib/iomgr/error.c +12 -5
- data/src/core/lib/iomgr/error.h +13 -13
- data/src/core/lib/iomgr/ev_epoll1_linux.c +984 -0
- data/src/core/lib/iomgr/ev_epoll1_linux.h +44 -0
- data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +2146 -0
- data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h +43 -0
- data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +1337 -0
- data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.h +43 -0
- data/src/core/lib/iomgr/ev_epollex_linux.c +1511 -0
- data/src/core/lib/iomgr/ev_epollex_linux.h +43 -0
- data/src/core/lib/iomgr/{ev_epoll_linux.c → ev_epollsig_linux.c} +24 -31
- data/src/core/lib/iomgr/{ev_epoll_linux.h → ev_epollsig_linux.h} +4 -4
- data/src/core/lib/iomgr/ev_poll_posix.c +12 -27
- data/src/core/lib/iomgr/ev_poll_posix.h +2 -2
- data/src/core/lib/iomgr/ev_posix.c +22 -8
- data/src/core/lib/iomgr/ev_posix.h +4 -3
- data/src/core/lib/iomgr/exec_ctx.c +5 -0
- data/src/core/lib/iomgr/exec_ctx.h +2 -0
- data/src/core/lib/iomgr/iomgr.c +4 -0
- data/src/core/lib/iomgr/iomgr.h +3 -0
- data/src/core/lib/iomgr/is_epollexclusive_available.c +116 -0
- data/src/core/lib/iomgr/is_epollexclusive_available.h +41 -0
- data/src/core/lib/iomgr/lockfree_event.c +16 -0
- data/src/core/lib/iomgr/pollset.h +2 -5
- data/src/core/lib/iomgr/pollset_uv.c +1 -1
- data/src/core/lib/iomgr/pollset_windows.c +3 -3
- data/src/core/lib/iomgr/resource_quota.c +9 -8
- data/src/core/lib/iomgr/resource_quota.h +2 -1
- data/src/core/lib/iomgr/sockaddr_utils.h +1 -1
- data/src/core/lib/iomgr/socket_mutator.h +2 -0
- data/src/core/lib/iomgr/sys_epoll_wrapper.h +43 -0
- data/src/core/lib/iomgr/tcp_client_posix.c +6 -6
- data/src/core/lib/iomgr/tcp_client_uv.c +3 -3
- data/src/core/lib/iomgr/tcp_posix.c +7 -7
- data/src/core/lib/iomgr/tcp_posix.h +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.c +1 -1
- data/src/core/lib/iomgr/tcp_uv.c +6 -6
- data/src/core/lib/iomgr/tcp_uv.h +2 -1
- data/src/core/lib/iomgr/tcp_windows.c +1 -1
- data/src/core/lib/iomgr/timer_generic.c +24 -25
- data/src/core/lib/iomgr/timer_manager.c +276 -0
- data/src/core/lib/iomgr/timer_manager.h +52 -0
- data/src/core/lib/iomgr/timer_uv.c +6 -0
- data/src/core/lib/iomgr/udp_server.c +42 -9
- data/src/core/lib/iomgr/udp_server.h +3 -1
- data/src/core/lib/security/credentials/credentials.c +0 -1
- data/src/core/lib/security/credentials/fake/fake_credentials.c +23 -0
- data/src/core/lib/security/credentials/fake/fake_credentials.h +12 -9
- data/src/core/lib/security/credentials/google_default/google_default_credentials.c +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_credentials.c +1 -1
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +1 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.c +24 -53
- data/src/core/lib/security/transport/client_auth_filter.c +9 -3
- data/src/core/lib/security/transport/secure_endpoint.c +7 -7
- data/src/core/lib/security/transport/secure_endpoint.h +1 -1
- data/src/core/lib/security/transport/security_connector.c +32 -51
- data/src/core/lib/security/transport/security_connector.h +10 -14
- data/src/core/lib/slice/b64.c +1 -1
- data/src/core/lib/slice/percent_encoding.c +3 -3
- data/src/core/lib/slice/slice.c +66 -33
- data/src/core/lib/slice/slice_buffer.c +25 -6
- data/src/core/lib/slice/slice_hash_table.c +33 -35
- data/src/core/lib/slice/slice_hash_table.h +7 -12
- data/src/core/lib/support/atomic.h +45 -0
- data/src/core/lib/support/atomic_with_atm.h +70 -0
- data/src/core/lib/support/atomic_with_std.h +48 -0
- data/src/core/lib/support/avl.c +14 -14
- data/src/core/lib/support/memory.h +74 -0
- data/src/core/lib/support/mpscq.c +12 -1
- data/src/core/lib/support/mpscq.h +4 -0
- data/src/core/lib/support/stack_lockfree.c +3 -36
- data/src/core/lib/support/time_posix.c +8 -0
- data/src/core/lib/support/tmpfile_posix.c +10 -10
- data/src/core/lib/surface/alarm.c +3 -1
- data/src/core/lib/surface/api_trace.c +2 -1
- data/src/core/lib/surface/api_trace.h +2 -2
- data/src/core/lib/surface/byte_buffer_reader.c +1 -1
- data/src/core/lib/surface/call.c +65 -22
- data/src/core/lib/surface/call.h +4 -2
- data/src/core/lib/surface/channel_init.c +2 -19
- data/src/core/lib/surface/channel_stack_type.c +18 -0
- data/src/core/lib/surface/channel_stack_type.h +2 -0
- data/src/core/lib/surface/completion_queue.c +249 -83
- data/src/core/lib/surface/completion_queue.h +18 -13
- data/src/core/lib/surface/completion_queue_factory.c +24 -9
- data/src/core/lib/surface/init.c +1 -52
- data/src/core/lib/surface/{lame_client.c → lame_client.cc} +37 -26
- data/src/core/lib/surface/server.c +50 -27
- data/src/core/lib/surface/server.h +2 -1
- data/src/core/lib/surface/version.c +2 -2
- data/src/core/lib/transport/bdp_estimator.c +20 -9
- data/src/core/lib/transport/bdp_estimator.h +5 -1
- data/src/core/lib/transport/byte_stream.c +23 -9
- data/src/core/lib/transport/byte_stream.h +15 -6
- data/src/core/lib/transport/connectivity_state.c +6 -6
- data/src/core/lib/transport/connectivity_state.h +2 -1
- data/src/core/lib/transport/service_config.c +6 -13
- data/src/core/lib/transport/service_config.h +2 -2
- data/src/core/lib/transport/static_metadata.c +403 -389
- data/src/core/lib/transport/static_metadata.h +127 -114
- data/src/core/plugin_registry/grpc_plugin_registry.c +12 -0
- data/src/core/tsi/fake_transport_security.c +5 -4
- data/src/core/tsi/ssl_transport_security.c +71 -82
- data/src/core/tsi/ssl_transport_security.h +39 -61
- data/src/core/tsi/transport_security.c +83 -2
- data/src/core/tsi/transport_security.h +27 -2
- data/src/core/tsi/transport_security_adapter.c +236 -0
- data/src/core/tsi/transport_security_adapter.h +62 -0
- data/src/core/tsi/transport_security_interface.h +179 -66
- data/src/ruby/ext/grpc/extconf.rb +2 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -6
- data/src/ruby/ext/grpc/rb_call.c +56 -48
- data/src/ruby/ext/grpc/rb_call.h +3 -4
- data/src/ruby/ext/grpc/rb_call_credentials.c +23 -22
- data/src/ruby/ext/grpc/rb_channel.c +45 -29
- data/src/ruby/ext/grpc/rb_channel_args.c +11 -9
- data/src/ruby/ext/grpc/rb_channel_credentials.c +16 -12
- data/src/ruby/ext/grpc/rb_completion_queue.c +7 -9
- data/src/ruby/ext/grpc/rb_compression_options.c +7 -6
- data/src/ruby/ext/grpc/rb_event_thread.c +10 -12
- data/src/ruby/ext/grpc/rb_event_thread.h +1 -2
- data/src/ruby/ext/grpc/rb_grpc.c +11 -15
- data/src/ruby/ext/grpc/rb_grpc.h +2 -2
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +14 -6
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +22 -10
- data/src/ruby/ext/grpc/rb_server.c +26 -28
- data/src/ruby/lib/grpc/version.rb +1 -1
- metadata +40 -18
- data/src/ruby/lib/grpc/grpc_c.bundle +0 -0
- data/src/ruby/lib/grpc/grpc_c.so +0 -0
@@ -36,12 +36,13 @@
|
|
36
36
|
|
37
37
|
#include <grpc/grpc.h>
|
38
38
|
#include "src/core/lib/channel/channel_stack.h"
|
39
|
+
#include "src/core/lib/debug/trace.h"
|
39
40
|
#include "src/core/lib/transport/transport.h"
|
40
41
|
|
41
42
|
extern const grpc_channel_filter grpc_server_top_filter;
|
42
43
|
|
43
44
|
/** Lightweight tracing of server channel state */
|
44
|
-
extern
|
45
|
+
extern grpc_tracer_flag grpc_server_channel_trace;
|
45
46
|
|
46
47
|
/* Add a listener to the server: when the server starts, it will call start,
|
47
48
|
and when it shuts down, it will call destroy */
|
@@ -36,6 +36,6 @@
|
|
36
36
|
|
37
37
|
#include <grpc/grpc.h>
|
38
38
|
|
39
|
-
const char *grpc_version_string(void) { return "
|
39
|
+
const char *grpc_version_string(void) { return "4.0.0-dev"; }
|
40
40
|
|
41
|
-
const char *grpc_g_stands_for(void) { return "
|
41
|
+
const char *grpc_g_stands_for(void) { return "gregarious"; }
|
@@ -38,12 +38,13 @@
|
|
38
38
|
#include <grpc/support/log.h>
|
39
39
|
#include <grpc/support/useful.h>
|
40
40
|
|
41
|
-
|
41
|
+
grpc_tracer_flag grpc_bdp_estimator_trace = GRPC_TRACER_INITIALIZER(false);
|
42
42
|
|
43
43
|
void grpc_bdp_estimator_init(grpc_bdp_estimator *estimator, const char *name) {
|
44
44
|
estimator->estimate = 65536;
|
45
45
|
estimator->ping_state = GRPC_BDP_PING_UNSCHEDULED;
|
46
46
|
estimator->name = name;
|
47
|
+
estimator->bw_est = 0;
|
47
48
|
}
|
48
49
|
|
49
50
|
bool grpc_bdp_estimator_get_estimate(grpc_bdp_estimator *estimator,
|
@@ -67,7 +68,7 @@ bool grpc_bdp_estimator_add_incoming_bytes(grpc_bdp_estimator *estimator,
|
|
67
68
|
}
|
68
69
|
|
69
70
|
void grpc_bdp_estimator_schedule_ping(grpc_bdp_estimator *estimator) {
|
70
|
-
if (grpc_bdp_estimator_trace) {
|
71
|
+
if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
|
71
72
|
gpr_log(GPR_DEBUG, "bdp[%s]:sched acc=%" PRId64 " est=%" PRId64,
|
72
73
|
estimator->name, estimator->accumulator, estimator->estimate);
|
73
74
|
}
|
@@ -77,24 +78,34 @@ void grpc_bdp_estimator_schedule_ping(grpc_bdp_estimator *estimator) {
|
|
77
78
|
}
|
78
79
|
|
79
80
|
void grpc_bdp_estimator_start_ping(grpc_bdp_estimator *estimator) {
|
80
|
-
if (grpc_bdp_estimator_trace) {
|
81
|
+
if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
|
81
82
|
gpr_log(GPR_DEBUG, "bdp[%s]:start acc=%" PRId64 " est=%" PRId64,
|
82
83
|
estimator->name, estimator->accumulator, estimator->estimate);
|
83
84
|
}
|
84
85
|
GPR_ASSERT(estimator->ping_state == GRPC_BDP_PING_SCHEDULED);
|
85
86
|
estimator->ping_state = GRPC_BDP_PING_STARTED;
|
86
87
|
estimator->accumulator = 0;
|
88
|
+
estimator->ping_start_time = gpr_now(GPR_CLOCK_MONOTONIC);
|
87
89
|
}
|
88
90
|
|
89
91
|
void grpc_bdp_estimator_complete_ping(grpc_bdp_estimator *estimator) {
|
90
|
-
|
91
|
-
|
92
|
-
|
92
|
+
gpr_timespec dt_ts =
|
93
|
+
gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), estimator->ping_start_time);
|
94
|
+
double dt = (double)dt_ts.tv_sec + 1e-9 * (double)dt_ts.tv_nsec;
|
95
|
+
double bw = dt > 0 ? ((double)estimator->accumulator / dt) : 0;
|
96
|
+
if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
|
97
|
+
gpr_log(GPR_DEBUG, "bdp[%s]:complete acc=%" PRId64 " est=%" PRId64
|
98
|
+
" dt=%lf bw=%lfMbs bw_est=%lfMbs",
|
99
|
+
estimator->name, estimator->accumulator, estimator->estimate, dt,
|
100
|
+
bw / 125000.0, estimator->bw_est / 125000.0);
|
93
101
|
}
|
94
102
|
GPR_ASSERT(estimator->ping_state == GRPC_BDP_PING_STARTED);
|
95
|
-
if (estimator->accumulator > 2 * estimator->estimate / 3
|
96
|
-
|
97
|
-
|
103
|
+
if (estimator->accumulator > 2 * estimator->estimate / 3 &&
|
104
|
+
bw > estimator->bw_est) {
|
105
|
+
estimator->estimate =
|
106
|
+
GPR_MAX(estimator->accumulator, estimator->estimate * 2);
|
107
|
+
estimator->bw_est = bw;
|
108
|
+
if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
|
98
109
|
gpr_log(GPR_DEBUG, "bdp[%s]: estimate increased to %" PRId64,
|
99
110
|
estimator->name, estimator->estimate);
|
100
111
|
}
|
@@ -34,13 +34,15 @@
|
|
34
34
|
#ifndef GRPC_CORE_LIB_TRANSPORT_BDP_ESTIMATOR_H
|
35
35
|
#define GRPC_CORE_LIB_TRANSPORT_BDP_ESTIMATOR_H
|
36
36
|
|
37
|
+
#include <grpc/support/time.h>
|
37
38
|
#include <stdbool.h>
|
38
39
|
#include <stdint.h>
|
40
|
+
#include "src/core/lib/debug/trace.h"
|
39
41
|
|
40
42
|
#define GRPC_BDP_SAMPLES 16
|
41
43
|
#define GRPC_BDP_MIN_SAMPLES_FOR_ESTIMATE 3
|
42
44
|
|
43
|
-
extern
|
45
|
+
extern grpc_tracer_flag grpc_bdp_estimator_trace;
|
44
46
|
|
45
47
|
typedef enum {
|
46
48
|
GRPC_BDP_PING_UNSCHEDULED,
|
@@ -52,6 +54,8 @@ typedef struct grpc_bdp_estimator {
|
|
52
54
|
grpc_bdp_estimator_ping_state ping_state;
|
53
55
|
int64_t accumulator;
|
54
56
|
int64_t estimate;
|
57
|
+
gpr_timespec ping_start_time;
|
58
|
+
double bw_est;
|
55
59
|
const char *name;
|
56
60
|
} grpc_bdp_estimator;
|
57
61
|
|
@@ -40,10 +40,15 @@
|
|
40
40
|
#include "src/core/lib/slice/slice_internal.h"
|
41
41
|
|
42
42
|
int grpc_byte_stream_next(grpc_exec_ctx *exec_ctx,
|
43
|
-
grpc_byte_stream *byte_stream,
|
44
|
-
|
45
|
-
return byte_stream->next(exec_ctx, byte_stream,
|
46
|
-
|
43
|
+
grpc_byte_stream *byte_stream, size_t max_size_hint,
|
44
|
+
grpc_closure *on_complete) {
|
45
|
+
return byte_stream->next(exec_ctx, byte_stream, max_size_hint, on_complete);
|
46
|
+
}
|
47
|
+
|
48
|
+
grpc_error *grpc_byte_stream_pull(grpc_exec_ctx *exec_ctx,
|
49
|
+
grpc_byte_stream *byte_stream,
|
50
|
+
grpc_slice *slice) {
|
51
|
+
return byte_stream->pull(exec_ctx, byte_stream, slice);
|
47
52
|
}
|
48
53
|
|
49
54
|
void grpc_byte_stream_destroy(grpc_exec_ctx *exec_ctx,
|
@@ -53,16 +58,24 @@ void grpc_byte_stream_destroy(grpc_exec_ctx *exec_ctx,
|
|
53
58
|
|
54
59
|
/* slice_buffer_stream */
|
55
60
|
|
56
|
-
static
|
57
|
-
|
58
|
-
|
59
|
-
|
61
|
+
static bool slice_buffer_stream_next(grpc_exec_ctx *exec_ctx,
|
62
|
+
grpc_byte_stream *byte_stream,
|
63
|
+
size_t max_size_hint,
|
64
|
+
grpc_closure *on_complete) {
|
65
|
+
grpc_slice_buffer_stream *stream = (grpc_slice_buffer_stream *)byte_stream;
|
66
|
+
GPR_ASSERT(stream->cursor < stream->backing_buffer->count);
|
67
|
+
return true;
|
68
|
+
}
|
69
|
+
|
70
|
+
static grpc_error *slice_buffer_stream_pull(grpc_exec_ctx *exec_ctx,
|
71
|
+
grpc_byte_stream *byte_stream,
|
72
|
+
grpc_slice *slice) {
|
60
73
|
grpc_slice_buffer_stream *stream = (grpc_slice_buffer_stream *)byte_stream;
|
61
74
|
GPR_ASSERT(stream->cursor < stream->backing_buffer->count);
|
62
75
|
*slice =
|
63
76
|
grpc_slice_ref_internal(stream->backing_buffer->slices[stream->cursor]);
|
64
77
|
stream->cursor++;
|
65
|
-
return
|
78
|
+
return GRPC_ERROR_NONE;
|
66
79
|
}
|
67
80
|
|
68
81
|
static void slice_buffer_stream_destroy(grpc_exec_ctx *exec_ctx,
|
@@ -75,6 +88,7 @@ void grpc_slice_buffer_stream_init(grpc_slice_buffer_stream *stream,
|
|
75
88
|
stream->base.length = (uint32_t)slice_buffer->length;
|
76
89
|
stream->base.flags = flags;
|
77
90
|
stream->base.next = slice_buffer_stream_next;
|
91
|
+
stream->base.pull = slice_buffer_stream_pull;
|
78
92
|
stream->base.destroy = slice_buffer_stream_destroy;
|
79
93
|
stream->backing_buffer = slice_buffer;
|
80
94
|
stream->cursor = 0;
|
@@ -49,9 +49,10 @@ typedef struct grpc_byte_stream grpc_byte_stream;
|
|
49
49
|
struct grpc_byte_stream {
|
50
50
|
uint32_t length;
|
51
51
|
uint32_t flags;
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
bool (*next)(grpc_exec_ctx *exec_ctx, grpc_byte_stream *byte_stream,
|
53
|
+
size_t max_size_hint, grpc_closure *on_complete);
|
54
|
+
grpc_error *(*pull)(grpc_exec_ctx *exec_ctx, grpc_byte_stream *byte_stream,
|
55
|
+
grpc_slice *slice);
|
55
56
|
void (*destroy)(grpc_exec_ctx *exec_ctx, grpc_byte_stream *byte_stream);
|
56
57
|
};
|
57
58
|
|
@@ -61,12 +62,20 @@ struct grpc_byte_stream {
|
|
61
62
|
*
|
62
63
|
* max_size_hint can be set as a hint as to the maximum number
|
63
64
|
* of bytes that would be acceptable to read.
|
65
|
+
*/
|
66
|
+
int grpc_byte_stream_next(grpc_exec_ctx *exec_ctx,
|
67
|
+
grpc_byte_stream *byte_stream, size_t max_size_hint,
|
68
|
+
grpc_closure *on_complete);
|
69
|
+
|
70
|
+
/* returns the next slice in the byte stream when it is ready (indicated by
|
71
|
+
* either grpc_byte_stream_next returning 1 or on_complete passed to
|
72
|
+
* grpc_byte_stream_next is called).
|
64
73
|
*
|
65
74
|
* once a slice is returned into *slice, it is owned by the caller.
|
66
75
|
*/
|
67
|
-
|
68
|
-
|
69
|
-
|
76
|
+
grpc_error *grpc_byte_stream_pull(grpc_exec_ctx *exec_ctx,
|
77
|
+
grpc_byte_stream *byte_stream,
|
78
|
+
grpc_slice *slice);
|
70
79
|
|
71
80
|
void grpc_byte_stream_destroy(grpc_exec_ctx *exec_ctx,
|
72
81
|
grpc_byte_stream *byte_stream);
|
@@ -39,7 +39,7 @@
|
|
39
39
|
#include <grpc/support/log.h>
|
40
40
|
#include <grpc/support/string_util.h>
|
41
41
|
|
42
|
-
|
42
|
+
grpc_tracer_flag grpc_connectivity_state_trace = GRPC_TRACER_INITIALIZER(false);
|
43
43
|
|
44
44
|
const char *grpc_connectivity_state_name(grpc_connectivity_state state) {
|
45
45
|
switch (state) {
|
@@ -94,7 +94,7 @@ grpc_connectivity_state grpc_connectivity_state_check(
|
|
94
94
|
grpc_connectivity_state cur =
|
95
95
|
(grpc_connectivity_state)gpr_atm_no_barrier_load(
|
96
96
|
&tracker->current_state_atm);
|
97
|
-
if (grpc_connectivity_state_trace) {
|
97
|
+
if (GRPC_TRACER_ON(grpc_connectivity_state_trace)) {
|
98
98
|
gpr_log(GPR_DEBUG, "CONWATCH: %p %s: get %s", tracker, tracker->name,
|
99
99
|
grpc_connectivity_state_name(cur));
|
100
100
|
}
|
@@ -106,7 +106,7 @@ grpc_connectivity_state grpc_connectivity_state_get(
|
|
106
106
|
grpc_connectivity_state cur =
|
107
107
|
(grpc_connectivity_state)gpr_atm_no_barrier_load(
|
108
108
|
&tracker->current_state_atm);
|
109
|
-
if (grpc_connectivity_state_trace) {
|
109
|
+
if (GRPC_TRACER_ON(grpc_connectivity_state_trace)) {
|
110
110
|
gpr_log(GPR_DEBUG, "CONWATCH: %p %s: get %s", tracker, tracker->name,
|
111
111
|
grpc_connectivity_state_name(cur));
|
112
112
|
}
|
@@ -127,7 +127,7 @@ bool grpc_connectivity_state_notify_on_state_change(
|
|
127
127
|
grpc_connectivity_state cur =
|
128
128
|
(grpc_connectivity_state)gpr_atm_no_barrier_load(
|
129
129
|
&tracker->current_state_atm);
|
130
|
-
if (grpc_connectivity_state_trace) {
|
130
|
+
if (GRPC_TRACER_ON(grpc_connectivity_state_trace)) {
|
131
131
|
if (current == NULL) {
|
132
132
|
gpr_log(GPR_DEBUG, "CONWATCH: %p %s: unsubscribe notify=%p", tracker,
|
133
133
|
tracker->name, notify);
|
@@ -180,7 +180,7 @@ void grpc_connectivity_state_set(grpc_exec_ctx *exec_ctx,
|
|
180
180
|
(grpc_connectivity_state)gpr_atm_no_barrier_load(
|
181
181
|
&tracker->current_state_atm);
|
182
182
|
grpc_connectivity_state_watcher *w;
|
183
|
-
if (grpc_connectivity_state_trace) {
|
183
|
+
if (GRPC_TRACER_ON(grpc_connectivity_state_trace)) {
|
184
184
|
const char *error_string = grpc_error_string(error);
|
185
185
|
gpr_log(GPR_DEBUG, "SET: %p %s: %s --> %s [%s] error=%p %s", tracker,
|
186
186
|
tracker->name, grpc_connectivity_state_name(cur),
|
@@ -208,7 +208,7 @@ void grpc_connectivity_state_set(grpc_exec_ctx *exec_ctx,
|
|
208
208
|
while ((w = tracker->watchers) != NULL) {
|
209
209
|
*w->current = state;
|
210
210
|
tracker->watchers = w->next;
|
211
|
-
if (grpc_connectivity_state_trace) {
|
211
|
+
if (GRPC_TRACER_ON(grpc_connectivity_state_trace)) {
|
212
212
|
gpr_log(GPR_DEBUG, "NOTIFY: %p %s: %p", tracker, tracker->name,
|
213
213
|
w->notify);
|
214
214
|
}
|
@@ -35,6 +35,7 @@
|
|
35
35
|
#define GRPC_CORE_LIB_TRANSPORT_CONNECTIVITY_STATE_H
|
36
36
|
|
37
37
|
#include <grpc/grpc.h>
|
38
|
+
#include "src/core/lib/debug/trace.h"
|
38
39
|
#include "src/core/lib/iomgr/exec_ctx.h"
|
39
40
|
|
40
41
|
typedef struct grpc_connectivity_state_watcher {
|
@@ -57,7 +58,7 @@ typedef struct {
|
|
57
58
|
char *name;
|
58
59
|
} grpc_connectivity_state_tracker;
|
59
60
|
|
60
|
-
extern
|
61
|
+
extern grpc_tracer_flag grpc_connectivity_state_trace;
|
61
62
|
|
62
63
|
/** enum --> string conversion */
|
63
64
|
const char *grpc_connectivity_state_name(grpc_connectivity_state state);
|
@@ -162,7 +162,6 @@ static char* parse_json_method_name(grpc_json* json) {
|
|
162
162
|
static bool parse_json_method_config(
|
163
163
|
grpc_exec_ctx* exec_ctx, grpc_json* json,
|
164
164
|
void* (*create_value)(const grpc_json* method_config_json),
|
165
|
-
const grpc_slice_hash_table_vtable* vtable,
|
166
165
|
grpc_slice_hash_table_entry* entries, size_t* idx) {
|
167
166
|
// Construct value.
|
168
167
|
void* method_config = create_value(json);
|
@@ -185,13 +184,11 @@ static bool parse_json_method_config(
|
|
185
184
|
// Add entry for each path.
|
186
185
|
for (size_t i = 0; i < paths.count; ++i) {
|
187
186
|
entries[*idx].key = grpc_slice_from_copied_string(paths.strs[i]);
|
188
|
-
entries[*idx].value =
|
189
|
-
entries[*idx].vtable = vtable;
|
187
|
+
entries[*idx].value = method_config;
|
190
188
|
++*idx;
|
191
189
|
}
|
192
190
|
success = true;
|
193
191
|
done:
|
194
|
-
vtable->destroy_value(exec_ctx, method_config);
|
195
192
|
gpr_strvec_destroy(&paths);
|
196
193
|
return success;
|
197
194
|
}
|
@@ -199,7 +196,7 @@ done:
|
|
199
196
|
grpc_slice_hash_table* grpc_service_config_create_method_config_table(
|
200
197
|
grpc_exec_ctx* exec_ctx, const grpc_service_config* service_config,
|
201
198
|
void* (*create_value)(const grpc_json* method_config_json),
|
202
|
-
|
199
|
+
void (*destroy_value)(grpc_exec_ctx* exec_ctx, void* value)) {
|
203
200
|
const grpc_json* json = service_config->json_tree;
|
204
201
|
// Traverse parsed JSON tree.
|
205
202
|
if (json->type != GRPC_JSON_OBJECT || json->key != NULL) return NULL;
|
@@ -220,8 +217,8 @@ grpc_slice_hash_table* grpc_service_config_create_method_config_table(
|
|
220
217
|
size_t idx = 0;
|
221
218
|
for (grpc_json* method = field->child; method != NULL;
|
222
219
|
method = method->next) {
|
223
|
-
if (!parse_json_method_config(exec_ctx, method, create_value,
|
224
|
-
|
220
|
+
if (!parse_json_method_config(exec_ctx, method, create_value, entries,
|
221
|
+
&idx)) {
|
225
222
|
return NULL;
|
226
223
|
}
|
227
224
|
}
|
@@ -231,12 +228,8 @@ grpc_slice_hash_table* grpc_service_config_create_method_config_table(
|
|
231
228
|
// Instantiate method config table.
|
232
229
|
grpc_slice_hash_table* method_config_table = NULL;
|
233
230
|
if (entries != NULL) {
|
234
|
-
method_config_table =
|
235
|
-
|
236
|
-
for (size_t i = 0; i < num_entries; ++i) {
|
237
|
-
grpc_slice_unref_internal(exec_ctx, entries[i].key);
|
238
|
-
vtable->destroy_value(exec_ctx, entries[i].value);
|
239
|
-
}
|
231
|
+
method_config_table =
|
232
|
+
grpc_slice_hash_table_create(num_entries, entries, destroy_value);
|
240
233
|
gpr_free(entries);
|
241
234
|
}
|
242
235
|
return method_config_table;
|
@@ -57,12 +57,12 @@ const char* grpc_service_config_get_lb_policy_name(
|
|
57
57
|
/// Creates a method config table based on the data in \a json.
|
58
58
|
/// The table's keys are request paths. The table's value type is
|
59
59
|
/// returned by \a create_value(), based on data parsed from the JSON tree.
|
60
|
-
/// \a
|
60
|
+
/// \a destroy_value is used to clean up values.
|
61
61
|
/// Returns NULL on error.
|
62
62
|
grpc_slice_hash_table* grpc_service_config_create_method_config_table(
|
63
63
|
grpc_exec_ctx* exec_ctx, const grpc_service_config* service_config,
|
64
64
|
void* (*create_value)(const grpc_json* method_config_json),
|
65
|
-
|
65
|
+
void (*destroy_value)(grpc_exec_ctx* exec_ctx, void* value));
|
66
66
|
|
67
67
|
/// A helper function for looking up values in the table returned by
|
68
68
|
/// \a grpc_service_config_create_method_config_table().
|
@@ -51,67 +51,69 @@ static uint8_t g_bytes[] = {
|
|
51
51
|
115, 103, 114, 112, 99, 45, 112, 97, 121, 108, 111, 97, 100, 45, 98,
|
52
52
|
105, 110, 103, 114, 112, 99, 45, 101, 110, 99, 111, 100, 105, 110, 103,
|
53
53
|
103, 114, 112, 99, 45, 97, 99, 99, 101, 112, 116, 45, 101, 110, 99,
|
54
|
-
111, 100, 105, 110, 103,
|
55
|
-
|
56
|
-
45,
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
111, 119,
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
105,
|
89
|
-
|
90
|
-
103,
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
45,
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
116,
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
54
|
+
111, 100, 105, 110, 103, 103, 114, 112, 99, 45, 115, 101, 114, 118, 101,
|
55
|
+
114, 45, 115, 116, 97, 116, 115, 45, 98, 105, 110, 103, 114, 112, 99,
|
56
|
+
45, 116, 97, 103, 115, 45, 98, 105, 110, 103, 114, 112, 99, 45, 116,
|
57
|
+
114, 97, 99, 101, 45, 98, 105, 110, 99, 111, 110, 116, 101, 110, 116,
|
58
|
+
45, 116, 121, 112, 101, 103, 114, 112, 99, 45, 105, 110, 116, 101, 114,
|
59
|
+
110, 97, 108, 45, 101, 110, 99, 111, 100, 105, 110, 103, 45, 114, 101,
|
60
|
+
113, 117, 101, 115, 116, 117, 115, 101, 114, 45, 97, 103, 101, 110, 116,
|
61
|
+
104, 111, 115, 116, 108, 98, 45, 116, 111, 107, 101, 110, 103, 114, 112,
|
62
|
+
99, 45, 116, 105, 109, 101, 111, 117, 116, 103, 114, 112, 99, 46, 119,
|
63
|
+
97, 105, 116, 95, 102, 111, 114, 95, 114, 101, 97, 100, 121, 103, 114,
|
64
|
+
112, 99, 46, 116, 105, 109, 101, 111, 117, 116, 103, 114, 112, 99, 46,
|
65
|
+
109, 97, 120, 95, 114, 101, 113, 117, 101, 115, 116, 95, 109, 101, 115,
|
66
|
+
115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 103, 114, 112, 99, 46,
|
67
|
+
109, 97, 120, 95, 114, 101, 115, 112, 111, 110, 115, 101, 95, 109, 101,
|
68
|
+
115, 115, 97, 103, 101, 95, 98, 121, 116, 101, 115, 47, 103, 114, 112,
|
69
|
+
99, 46, 108, 98, 46, 118, 49, 46, 76, 111, 97, 100, 66, 97, 108,
|
70
|
+
97, 110, 99, 101, 114, 47, 66, 97, 108, 97, 110, 99, 101, 76, 111,
|
71
|
+
97, 100, 48, 49, 50, 105, 100, 101, 110, 116, 105, 116, 121, 103, 122,
|
72
|
+
105, 112, 100, 101, 102, 108, 97, 116, 101, 116, 114, 97, 105, 108, 101,
|
73
|
+
114, 115, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 103,
|
74
|
+
114, 112, 99, 80, 79, 83, 84, 50, 48, 48, 52, 48, 52, 104, 116,
|
75
|
+
116, 112, 104, 116, 116, 112, 115, 103, 114, 112, 99, 71, 69, 84, 80,
|
76
|
+
85, 84, 47, 47, 105, 110, 100, 101, 120, 46, 104, 116, 109, 108, 50,
|
77
|
+
48, 52, 50, 48, 54, 51, 48, 52, 52, 48, 48, 53, 48, 48, 97,
|
78
|
+
99, 99, 101, 112, 116, 45, 99, 104, 97, 114, 115, 101, 116, 97, 99,
|
79
|
+
99, 101, 112, 116, 45, 101, 110, 99, 111, 100, 105, 110, 103, 103, 122,
|
80
|
+
105, 112, 44, 32, 100, 101, 102, 108, 97, 116, 101, 97, 99, 99, 101,
|
81
|
+
112, 116, 45, 108, 97, 110, 103, 117, 97, 103, 101, 97, 99, 99, 101,
|
82
|
+
112, 116, 45, 114, 97, 110, 103, 101, 115, 97, 99, 99, 101, 112, 116,
|
83
|
+
97, 99, 99, 101, 115, 115, 45, 99, 111, 110, 116, 114, 111, 108, 45,
|
84
|
+
97, 108, 108, 111, 119, 45, 111, 114, 105, 103, 105, 110, 97, 103, 101,
|
85
|
+
97, 108, 108, 111, 119, 97, 117, 116, 104, 111, 114, 105, 122, 97, 116,
|
86
|
+
105, 111, 110, 99, 97, 99, 104, 101, 45, 99, 111, 110, 116, 114, 111,
|
87
|
+
108, 99, 111, 110, 116, 101, 110, 116, 45, 100, 105, 115, 112, 111, 115,
|
88
|
+
105, 116, 105, 111, 110, 99, 111, 110, 116, 101, 110, 116, 45, 101, 110,
|
89
|
+
99, 111, 100, 105, 110, 103, 99, 111, 110, 116, 101, 110, 116, 45, 108,
|
90
|
+
97, 110, 103, 117, 97, 103, 101, 99, 111, 110, 116, 101, 110, 116, 45,
|
91
|
+
108, 101, 110, 103, 116, 104, 99, 111, 110, 116, 101, 110, 116, 45, 108,
|
92
|
+
111, 99, 97, 116, 105, 111, 110, 99, 111, 110, 116, 101, 110, 116, 45,
|
93
|
+
114, 97, 110, 103, 101, 99, 111, 111, 107, 105, 101, 100, 97, 116, 101,
|
94
|
+
101, 116, 97, 103, 101, 120, 112, 101, 99, 116, 101, 120, 112, 105, 114,
|
95
|
+
101, 115, 102, 114, 111, 109, 105, 102, 45, 109, 97, 116, 99, 104, 105,
|
96
|
+
102, 45, 109, 111, 100, 105, 102, 105, 101, 100, 45, 115, 105, 110, 99,
|
97
|
+
101, 105, 102, 45, 110, 111, 110, 101, 45, 109, 97, 116, 99, 104, 105,
|
98
|
+
102, 45, 114, 97, 110, 103, 101, 105, 102, 45, 117, 110, 109, 111, 100,
|
99
|
+
105, 102, 105, 101, 100, 45, 115, 105, 110, 99, 101, 108, 97, 115, 116,
|
100
|
+
45, 109, 111, 100, 105, 102, 105, 101, 100, 108, 98, 45, 99, 111, 115,
|
101
|
+
116, 45, 98, 105, 110, 108, 105, 110, 107, 108, 111, 99, 97, 116, 105,
|
102
|
+
111, 110, 109, 97, 120, 45, 102, 111, 114, 119, 97, 114, 100, 115, 112,
|
103
|
+
114, 111, 120, 121, 45, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97,
|
104
|
+
116, 101, 112, 114, 111, 120, 121, 45, 97, 117, 116, 104, 111, 114, 105,
|
105
|
+
122, 97, 116, 105, 111, 110, 114, 97, 110, 103, 101, 114, 101, 102, 101,
|
106
|
+
114, 101, 114, 114, 101, 102, 114, 101, 115, 104, 114, 101, 116, 114, 121,
|
107
|
+
45, 97, 102, 116, 101, 114, 115, 101, 114, 118, 101, 114, 115, 101, 116,
|
108
|
+
45, 99, 111, 111, 107, 105, 101, 115, 116, 114, 105, 99, 116, 45, 116,
|
109
|
+
114, 97, 110, 115, 112, 111, 114, 116, 45, 115, 101, 99, 117, 114, 105,
|
110
|
+
116, 121, 116, 114, 97, 110, 115, 102, 101, 114, 45, 101, 110, 99, 111,
|
111
|
+
100, 105, 110, 103, 118, 97, 114, 121, 118, 105, 97, 119, 119, 119, 45,
|
112
|
+
97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 105, 100, 101,
|
113
|
+
110, 116, 105, 116, 121, 44, 100, 101, 102, 108, 97, 116, 101, 105, 100,
|
114
|
+
101, 110, 116, 105, 116, 121, 44, 103, 122, 105, 112, 100, 101, 102, 108,
|
115
|
+
97, 116, 101, 44, 103, 122, 105, 112, 105, 100, 101, 110, 116, 105, 116,
|
116
|
+
121, 44, 100, 101, 102, 108, 97, 116, 101, 44, 103, 122, 105, 112};
|
115
117
|
|
116
118
|
static void static_ref(void *unused) {}
|
117
119
|
static void static_unref(grpc_exec_ctx *exec_ctx, void *unused) {}
|
@@ -220,6 +222,8 @@ grpc_slice_refcount grpc_static_metadata_refcounts[GRPC_STATIC_MDSTR_COUNT] = {
|
|
220
222
|
{&grpc_static_metadata_vtable, &static_sub_refcnt},
|
221
223
|
{&grpc_static_metadata_vtable, &static_sub_refcnt},
|
222
224
|
{&grpc_static_metadata_vtable, &static_sub_refcnt},
|
225
|
+
{&grpc_static_metadata_vtable, &static_sub_refcnt},
|
226
|
+
{&grpc_static_metadata_vtable, &static_sub_refcnt},
|
223
227
|
};
|
224
228
|
|
225
229
|
const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = {
|
@@ -246,196 +250,201 @@ const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = {
|
|
246
250
|
{.refcount = &grpc_static_metadata_refcounts[10],
|
247
251
|
.data.refcounted = {g_bytes + 90, 20}},
|
248
252
|
{.refcount = &grpc_static_metadata_refcounts[11],
|
249
|
-
.data.refcounted = {g_bytes + 110,
|
253
|
+
.data.refcounted = {g_bytes + 110, 21}},
|
250
254
|
{.refcount = &grpc_static_metadata_refcounts[12],
|
251
|
-
.data.refcounted = {g_bytes +
|
255
|
+
.data.refcounted = {g_bytes + 131, 13}},
|
252
256
|
{.refcount = &grpc_static_metadata_refcounts[13],
|
253
|
-
.data.refcounted = {g_bytes +
|
257
|
+
.data.refcounted = {g_bytes + 144, 14}},
|
254
258
|
{.refcount = &grpc_static_metadata_refcounts[14],
|
255
|
-
.data.refcounted = {g_bytes +
|
259
|
+
.data.refcounted = {g_bytes + 158, 12}},
|
256
260
|
{.refcount = &grpc_static_metadata_refcounts[15],
|
257
|
-
.data.refcounted = {g_bytes +
|
261
|
+
.data.refcounted = {g_bytes + 170, 30}},
|
258
262
|
{.refcount = &grpc_static_metadata_refcounts[16],
|
259
|
-
.data.refcounted = {g_bytes +
|
263
|
+
.data.refcounted = {g_bytes + 200, 10}},
|
260
264
|
{.refcount = &grpc_static_metadata_refcounts[17],
|
261
|
-
.data.refcounted = {g_bytes +
|
265
|
+
.data.refcounted = {g_bytes + 210, 4}},
|
262
266
|
{.refcount = &grpc_static_metadata_refcounts[18],
|
263
|
-
.data.refcounted = {g_bytes +
|
267
|
+
.data.refcounted = {g_bytes + 214, 8}},
|
264
268
|
{.refcount = &grpc_static_metadata_refcounts[19],
|
265
|
-
.data.refcounted = {g_bytes +
|
269
|
+
.data.refcounted = {g_bytes + 222, 12}},
|
266
270
|
{.refcount = &grpc_static_metadata_refcounts[20],
|
267
|
-
.data.refcounted = {g_bytes +
|
271
|
+
.data.refcounted = {g_bytes + 234, 0}},
|
268
272
|
{.refcount = &grpc_static_metadata_refcounts[21],
|
269
|
-
.data.refcounted = {g_bytes +
|
273
|
+
.data.refcounted = {g_bytes + 234, 19}},
|
270
274
|
{.refcount = &grpc_static_metadata_refcounts[22],
|
271
|
-
.data.refcounted = {g_bytes +
|
275
|
+
.data.refcounted = {g_bytes + 253, 12}},
|
272
276
|
{.refcount = &grpc_static_metadata_refcounts[23],
|
273
|
-
.data.refcounted = {g_bytes +
|
277
|
+
.data.refcounted = {g_bytes + 265, 30}},
|
274
278
|
{.refcount = &grpc_static_metadata_refcounts[24],
|
275
|
-
.data.refcounted = {g_bytes +
|
279
|
+
.data.refcounted = {g_bytes + 295, 31}},
|
276
280
|
{.refcount = &grpc_static_metadata_refcounts[25],
|
277
|
-
.data.refcounted = {g_bytes +
|
281
|
+
.data.refcounted = {g_bytes + 326, 36}},
|
278
282
|
{.refcount = &grpc_static_metadata_refcounts[26],
|
279
|
-
.data.refcounted = {g_bytes +
|
283
|
+
.data.refcounted = {g_bytes + 362, 1}},
|
280
284
|
{.refcount = &grpc_static_metadata_refcounts[27],
|
281
|
-
.data.refcounted = {g_bytes +
|
285
|
+
.data.refcounted = {g_bytes + 363, 1}},
|
282
286
|
{.refcount = &grpc_static_metadata_refcounts[28],
|
283
|
-
.data.refcounted = {g_bytes +
|
287
|
+
.data.refcounted = {g_bytes + 364, 1}},
|
284
288
|
{.refcount = &grpc_static_metadata_refcounts[29],
|
285
|
-
.data.refcounted = {g_bytes +
|
289
|
+
.data.refcounted = {g_bytes + 365, 8}},
|
286
290
|
{.refcount = &grpc_static_metadata_refcounts[30],
|
287
|
-
.data.refcounted = {g_bytes +
|
291
|
+
.data.refcounted = {g_bytes + 373, 4}},
|
288
292
|
{.refcount = &grpc_static_metadata_refcounts[31],
|
289
|
-
.data.refcounted = {g_bytes +
|
293
|
+
.data.refcounted = {g_bytes + 377, 7}},
|
290
294
|
{.refcount = &grpc_static_metadata_refcounts[32],
|
291
|
-
.data.refcounted = {g_bytes +
|
295
|
+
.data.refcounted = {g_bytes + 384, 8}},
|
292
296
|
{.refcount = &grpc_static_metadata_refcounts[33],
|
293
|
-
.data.refcounted = {g_bytes +
|
297
|
+
.data.refcounted = {g_bytes + 392, 16}},
|
294
298
|
{.refcount = &grpc_static_metadata_refcounts[34],
|
295
|
-
.data.refcounted = {g_bytes +
|
299
|
+
.data.refcounted = {g_bytes + 408, 4}},
|
296
300
|
{.refcount = &grpc_static_metadata_refcounts[35],
|
297
|
-
.data.refcounted = {g_bytes +
|
301
|
+
.data.refcounted = {g_bytes + 412, 3}},
|
298
302
|
{.refcount = &grpc_static_metadata_refcounts[36],
|
299
|
-
.data.refcounted = {g_bytes +
|
303
|
+
.data.refcounted = {g_bytes + 415, 3}},
|
300
304
|
{.refcount = &grpc_static_metadata_refcounts[37],
|
301
|
-
.data.refcounted = {g_bytes +
|
305
|
+
.data.refcounted = {g_bytes + 418, 4}},
|
302
306
|
{.refcount = &grpc_static_metadata_refcounts[38],
|
303
|
-
.data.refcounted = {g_bytes +
|
307
|
+
.data.refcounted = {g_bytes + 422, 5}},
|
304
308
|
{.refcount = &grpc_static_metadata_refcounts[39],
|
305
|
-
.data.refcounted = {g_bytes +
|
309
|
+
.data.refcounted = {g_bytes + 427, 4}},
|
306
310
|
{.refcount = &grpc_static_metadata_refcounts[40],
|
307
|
-
.data.refcounted = {g_bytes +
|
311
|
+
.data.refcounted = {g_bytes + 431, 3}},
|
308
312
|
{.refcount = &grpc_static_metadata_refcounts[41],
|
309
|
-
.data.refcounted = {g_bytes +
|
313
|
+
.data.refcounted = {g_bytes + 434, 3}},
|
310
314
|
{.refcount = &grpc_static_metadata_refcounts[42],
|
311
|
-
.data.refcounted = {g_bytes +
|
315
|
+
.data.refcounted = {g_bytes + 437, 1}},
|
312
316
|
{.refcount = &grpc_static_metadata_refcounts[43],
|
313
|
-
.data.refcounted = {g_bytes +
|
317
|
+
.data.refcounted = {g_bytes + 438, 11}},
|
314
318
|
{.refcount = &grpc_static_metadata_refcounts[44],
|
315
|
-
.data.refcounted = {g_bytes +
|
319
|
+
.data.refcounted = {g_bytes + 449, 3}},
|
316
320
|
{.refcount = &grpc_static_metadata_refcounts[45],
|
317
|
-
.data.refcounted = {g_bytes +
|
321
|
+
.data.refcounted = {g_bytes + 452, 3}},
|
318
322
|
{.refcount = &grpc_static_metadata_refcounts[46],
|
319
|
-
.data.refcounted = {g_bytes +
|
323
|
+
.data.refcounted = {g_bytes + 455, 3}},
|
320
324
|
{.refcount = &grpc_static_metadata_refcounts[47],
|
321
|
-
.data.refcounted = {g_bytes +
|
325
|
+
.data.refcounted = {g_bytes + 458, 3}},
|
322
326
|
{.refcount = &grpc_static_metadata_refcounts[48],
|
323
|
-
.data.refcounted = {g_bytes +
|
327
|
+
.data.refcounted = {g_bytes + 461, 3}},
|
324
328
|
{.refcount = &grpc_static_metadata_refcounts[49],
|
325
|
-
.data.refcounted = {g_bytes +
|
329
|
+
.data.refcounted = {g_bytes + 464, 14}},
|
326
330
|
{.refcount = &grpc_static_metadata_refcounts[50],
|
327
|
-
.data.refcounted = {g_bytes +
|
331
|
+
.data.refcounted = {g_bytes + 478, 15}},
|
328
332
|
{.refcount = &grpc_static_metadata_refcounts[51],
|
329
|
-
.data.refcounted = {g_bytes +
|
333
|
+
.data.refcounted = {g_bytes + 493, 13}},
|
330
334
|
{.refcount = &grpc_static_metadata_refcounts[52],
|
331
|
-
.data.refcounted = {g_bytes +
|
335
|
+
.data.refcounted = {g_bytes + 506, 15}},
|
332
336
|
{.refcount = &grpc_static_metadata_refcounts[53],
|
333
|
-
.data.refcounted = {g_bytes +
|
337
|
+
.data.refcounted = {g_bytes + 521, 13}},
|
334
338
|
{.refcount = &grpc_static_metadata_refcounts[54],
|
335
|
-
.data.refcounted = {g_bytes +
|
339
|
+
.data.refcounted = {g_bytes + 534, 6}},
|
336
340
|
{.refcount = &grpc_static_metadata_refcounts[55],
|
337
|
-
.data.refcounted = {g_bytes +
|
341
|
+
.data.refcounted = {g_bytes + 540, 27}},
|
338
342
|
{.refcount = &grpc_static_metadata_refcounts[56],
|
339
|
-
.data.refcounted = {g_bytes +
|
343
|
+
.data.refcounted = {g_bytes + 567, 3}},
|
340
344
|
{.refcount = &grpc_static_metadata_refcounts[57],
|
341
|
-
.data.refcounted = {g_bytes +
|
345
|
+
.data.refcounted = {g_bytes + 570, 5}},
|
342
346
|
{.refcount = &grpc_static_metadata_refcounts[58],
|
343
|
-
.data.refcounted = {g_bytes +
|
347
|
+
.data.refcounted = {g_bytes + 575, 13}},
|
344
348
|
{.refcount = &grpc_static_metadata_refcounts[59],
|
345
|
-
.data.refcounted = {g_bytes +
|
349
|
+
.data.refcounted = {g_bytes + 588, 13}},
|
346
350
|
{.refcount = &grpc_static_metadata_refcounts[60],
|
347
|
-
.data.refcounted = {g_bytes +
|
351
|
+
.data.refcounted = {g_bytes + 601, 19}},
|
348
352
|
{.refcount = &grpc_static_metadata_refcounts[61],
|
349
|
-
.data.refcounted = {g_bytes +
|
353
|
+
.data.refcounted = {g_bytes + 620, 16}},
|
350
354
|
{.refcount = &grpc_static_metadata_refcounts[62],
|
351
|
-
.data.refcounted = {g_bytes +
|
355
|
+
.data.refcounted = {g_bytes + 636, 16}},
|
352
356
|
{.refcount = &grpc_static_metadata_refcounts[63],
|
353
|
-
.data.refcounted = {g_bytes +
|
357
|
+
.data.refcounted = {g_bytes + 652, 14}},
|
354
358
|
{.refcount = &grpc_static_metadata_refcounts[64],
|
355
|
-
.data.refcounted = {g_bytes +
|
359
|
+
.data.refcounted = {g_bytes + 666, 16}},
|
356
360
|
{.refcount = &grpc_static_metadata_refcounts[65],
|
357
|
-
.data.refcounted = {g_bytes +
|
361
|
+
.data.refcounted = {g_bytes + 682, 13}},
|
358
362
|
{.refcount = &grpc_static_metadata_refcounts[66],
|
359
|
-
.data.refcounted = {g_bytes +
|
363
|
+
.data.refcounted = {g_bytes + 695, 6}},
|
360
364
|
{.refcount = &grpc_static_metadata_refcounts[67],
|
361
|
-
.data.refcounted = {g_bytes +
|
365
|
+
.data.refcounted = {g_bytes + 701, 4}},
|
362
366
|
{.refcount = &grpc_static_metadata_refcounts[68],
|
363
|
-
.data.refcounted = {g_bytes +
|
367
|
+
.data.refcounted = {g_bytes + 705, 4}},
|
364
368
|
{.refcount = &grpc_static_metadata_refcounts[69],
|
365
|
-
.data.refcounted = {g_bytes +
|
369
|
+
.data.refcounted = {g_bytes + 709, 6}},
|
366
370
|
{.refcount = &grpc_static_metadata_refcounts[70],
|
367
|
-
.data.refcounted = {g_bytes +
|
371
|
+
.data.refcounted = {g_bytes + 715, 7}},
|
368
372
|
{.refcount = &grpc_static_metadata_refcounts[71],
|
369
|
-
.data.refcounted = {g_bytes +
|
373
|
+
.data.refcounted = {g_bytes + 722, 4}},
|
370
374
|
{.refcount = &grpc_static_metadata_refcounts[72],
|
371
|
-
.data.refcounted = {g_bytes +
|
375
|
+
.data.refcounted = {g_bytes + 726, 8}},
|
372
376
|
{.refcount = &grpc_static_metadata_refcounts[73],
|
373
|
-
.data.refcounted = {g_bytes +
|
377
|
+
.data.refcounted = {g_bytes + 734, 17}},
|
374
378
|
{.refcount = &grpc_static_metadata_refcounts[74],
|
375
|
-
.data.refcounted = {g_bytes +
|
379
|
+
.data.refcounted = {g_bytes + 751, 13}},
|
376
380
|
{.refcount = &grpc_static_metadata_refcounts[75],
|
377
|
-
.data.refcounted = {g_bytes +
|
381
|
+
.data.refcounted = {g_bytes + 764, 8}},
|
378
382
|
{.refcount = &grpc_static_metadata_refcounts[76],
|
379
|
-
.data.refcounted = {g_bytes +
|
383
|
+
.data.refcounted = {g_bytes + 772, 19}},
|
380
384
|
{.refcount = &grpc_static_metadata_refcounts[77],
|
381
|
-
.data.refcounted = {g_bytes +
|
385
|
+
.data.refcounted = {g_bytes + 791, 13}},
|
382
386
|
{.refcount = &grpc_static_metadata_refcounts[78],
|
383
|
-
.data.refcounted = {g_bytes +
|
387
|
+
.data.refcounted = {g_bytes + 804, 11}},
|
384
388
|
{.refcount = &grpc_static_metadata_refcounts[79],
|
385
|
-
.data.refcounted = {g_bytes +
|
389
|
+
.data.refcounted = {g_bytes + 815, 4}},
|
386
390
|
{.refcount = &grpc_static_metadata_refcounts[80],
|
387
|
-
.data.refcounted = {g_bytes +
|
391
|
+
.data.refcounted = {g_bytes + 819, 8}},
|
388
392
|
{.refcount = &grpc_static_metadata_refcounts[81],
|
389
|
-
.data.refcounted = {g_bytes +
|
393
|
+
.data.refcounted = {g_bytes + 827, 12}},
|
390
394
|
{.refcount = &grpc_static_metadata_refcounts[82],
|
391
|
-
.data.refcounted = {g_bytes +
|
395
|
+
.data.refcounted = {g_bytes + 839, 18}},
|
392
396
|
{.refcount = &grpc_static_metadata_refcounts[83],
|
393
|
-
.data.refcounted = {g_bytes +
|
397
|
+
.data.refcounted = {g_bytes + 857, 19}},
|
394
398
|
{.refcount = &grpc_static_metadata_refcounts[84],
|
395
|
-
.data.refcounted = {g_bytes +
|
399
|
+
.data.refcounted = {g_bytes + 876, 5}},
|
396
400
|
{.refcount = &grpc_static_metadata_refcounts[85],
|
397
|
-
.data.refcounted = {g_bytes +
|
401
|
+
.data.refcounted = {g_bytes + 881, 7}},
|
398
402
|
{.refcount = &grpc_static_metadata_refcounts[86],
|
399
|
-
.data.refcounted = {g_bytes +
|
403
|
+
.data.refcounted = {g_bytes + 888, 7}},
|
400
404
|
{.refcount = &grpc_static_metadata_refcounts[87],
|
401
|
-
.data.refcounted = {g_bytes +
|
405
|
+
.data.refcounted = {g_bytes + 895, 11}},
|
402
406
|
{.refcount = &grpc_static_metadata_refcounts[88],
|
403
|
-
.data.refcounted = {g_bytes +
|
407
|
+
.data.refcounted = {g_bytes + 906, 6}},
|
404
408
|
{.refcount = &grpc_static_metadata_refcounts[89],
|
405
|
-
.data.refcounted = {g_bytes +
|
409
|
+
.data.refcounted = {g_bytes + 912, 10}},
|
406
410
|
{.refcount = &grpc_static_metadata_refcounts[90],
|
407
|
-
.data.refcounted = {g_bytes +
|
411
|
+
.data.refcounted = {g_bytes + 922, 25}},
|
408
412
|
{.refcount = &grpc_static_metadata_refcounts[91],
|
409
|
-
.data.refcounted = {g_bytes +
|
413
|
+
.data.refcounted = {g_bytes + 947, 17}},
|
410
414
|
{.refcount = &grpc_static_metadata_refcounts[92],
|
411
|
-
.data.refcounted = {g_bytes +
|
415
|
+
.data.refcounted = {g_bytes + 964, 4}},
|
412
416
|
{.refcount = &grpc_static_metadata_refcounts[93],
|
413
|
-
.data.refcounted = {g_bytes +
|
417
|
+
.data.refcounted = {g_bytes + 968, 3}},
|
414
418
|
{.refcount = &grpc_static_metadata_refcounts[94],
|
415
|
-
.data.refcounted = {g_bytes +
|
419
|
+
.data.refcounted = {g_bytes + 971, 16}},
|
416
420
|
{.refcount = &grpc_static_metadata_refcounts[95],
|
417
|
-
.data.refcounted = {g_bytes + 987,
|
421
|
+
.data.refcounted = {g_bytes + 987, 16}},
|
418
422
|
{.refcount = &grpc_static_metadata_refcounts[96],
|
419
|
-
.data.refcounted = {g_bytes +
|
423
|
+
.data.refcounted = {g_bytes + 1003, 13}},
|
424
|
+
{.refcount = &grpc_static_metadata_refcounts[97],
|
425
|
+
.data.refcounted = {g_bytes + 1016, 12}},
|
426
|
+
{.refcount = &grpc_static_metadata_refcounts[98],
|
427
|
+
.data.refcounted = {g_bytes + 1028, 21}},
|
420
428
|
};
|
421
429
|
|
422
430
|
uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT] = {
|
423
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
424
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
425
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
426
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
431
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
432
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
433
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
434
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 6, 6, 8, 8};
|
427
435
|
|
428
436
|
static const int8_t elems_r[] = {
|
429
|
-
10, 8, -3,
|
430
|
-
|
431
|
-
0, 0, 0,
|
432
|
-
|
433
|
-
|
434
|
-
|
437
|
+
10, 8, -3, 0, 9, 21, -77, 22, 0, 10, -7, 0, 0, 0,
|
438
|
+
14, 0, 13, 12, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
439
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
440
|
+
0, 0, 0, 0, 0, 0, 0, -50, -51, 16, -53, -54, -55, -56,
|
441
|
+
-56, -57, -58, -59, 0, 37, 36, 35, 34, 33, 32, 31, 30, 29,
|
442
|
+
28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15,
|
443
|
+
14, 13, 12, 11, 10, 13, 12, 11, 10, 9, 8, 7, 0};
|
435
444
|
static uint32_t elems_phash(uint32_t i) {
|
436
|
-
i -=
|
437
|
-
uint32_t x = i %
|
438
|
-
uint32_t y = i /
|
445
|
+
i -= 42;
|
446
|
+
uint32_t x = i % 97;
|
447
|
+
uint32_t y = i / 97;
|
439
448
|
uint32_t h = x;
|
440
449
|
if (y < GPR_ARRAY_SIZE(elems_r)) {
|
441
450
|
uint32_t delta = (uint32_t)elems_r[y];
|
@@ -445,29 +454,30 @@ static uint32_t elems_phash(uint32_t i) {
|
|
445
454
|
}
|
446
455
|
|
447
456
|
static const uint16_t elem_keys[] = {
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
457
|
+
1019, 1020, 1021, 242, 243, 244, 245, 246, 139, 140, 42, 43,
|
458
|
+
433, 434, 435, 920, 921, 922, 719, 720, 1406, 527, 721, 1604,
|
459
|
+
1703, 1802, 4871, 4970, 5001, 5168, 5267, 5366, 5465, 1419, 5564, 5663,
|
460
|
+
5762, 5861, 5960, 6059, 6158, 6257, 6356, 6455, 6554, 6653, 6752, 6851,
|
461
|
+
6950, 7049, 7148, 7247, 7346, 7445, 7544, 7643, 7742, 7841, 7940, 8039,
|
462
|
+
8138, 8237, 8336, 8435, 8534, 8633, 1085, 1086, 1087, 1088, 8732, 8831,
|
463
|
+
8930, 9029, 9128, 9227, 9326, 0, 317, 0, 0, 0, 0, 0,
|
455
464
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
456
|
-
0, 0, 0,
|
465
|
+
0, 0, 0, 0, 0, 133, 233, 234, 0, 0, 0, 0,
|
457
466
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
458
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
467
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
468
|
+
0};
|
459
469
|
static const uint8_t elem_idxs[] = {
|
460
|
-
|
461
|
-
3, 4, 5, 0, 1, 41, 6, 2,
|
470
|
+
74, 77, 75, 19, 20, 21, 22, 23, 15, 16, 17, 18, 11, 12, 13,
|
471
|
+
3, 4, 5, 0, 1, 41, 6, 2, 70, 48, 55, 24, 25, 26, 27,
|
462
472
|
28, 29, 30, 7, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42,
|
463
473
|
43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 56, 57, 58, 59,
|
464
|
-
60, 61, 62, 63, 64,
|
465
|
-
72,
|
466
|
-
255, 255, 255, 255, 255, 255, 255, 255, 255, 8, 9, 10};
|
474
|
+
60, 61, 62, 63, 64, 65, 76, 78, 79, 80, 66, 67, 68, 69, 71,
|
475
|
+
72, 73, 255, 14, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
|
476
|
+
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 8, 9, 10};
|
467
477
|
|
468
478
|
grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) {
|
469
479
|
if (a == -1 || b == -1) return GRPC_MDNULL;
|
470
|
-
uint32_t k = (uint32_t)(a *
|
480
|
+
uint32_t k = (uint32_t)(a * 99 + b);
|
471
481
|
uint32_t h = elems_phash(k);
|
472
482
|
return h < GPR_ARRAY_SIZE(elem_keys) && elem_keys[h] == k
|
473
483
|
? GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[elem_idxs[h]],
|
@@ -476,326 +486,330 @@ grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) {
|
|
476
486
|
}
|
477
487
|
|
478
488
|
grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT] = {
|
479
|
-
{{.refcount = &grpc_static_metadata_refcounts[7],
|
480
|
-
.data.refcounted = {g_bytes + 50, 11}},
|
481
|
-
{.refcount = &grpc_static_metadata_refcounts[25],
|
482
|
-
.data.refcounted = {g_bytes + 344, 1}}},
|
483
489
|
{{.refcount = &grpc_static_metadata_refcounts[7],
|
484
490
|
.data.refcounted = {g_bytes + 50, 11}},
|
485
491
|
{.refcount = &grpc_static_metadata_refcounts[26],
|
486
|
-
.data.refcounted = {g_bytes +
|
492
|
+
.data.refcounted = {g_bytes + 362, 1}}},
|
487
493
|
{{.refcount = &grpc_static_metadata_refcounts[7],
|
488
494
|
.data.refcounted = {g_bytes + 50, 11}},
|
489
495
|
{.refcount = &grpc_static_metadata_refcounts[27],
|
490
|
-
.data.refcounted = {g_bytes +
|
491
|
-
{{.refcount = &grpc_static_metadata_refcounts[
|
492
|
-
.data.refcounted = {g_bytes +
|
496
|
+
.data.refcounted = {g_bytes + 363, 1}}},
|
497
|
+
{{.refcount = &grpc_static_metadata_refcounts[7],
|
498
|
+
.data.refcounted = {g_bytes + 50, 11}},
|
493
499
|
{.refcount = &grpc_static_metadata_refcounts[28],
|
494
|
-
.data.refcounted = {g_bytes +
|
500
|
+
.data.refcounted = {g_bytes + 364, 1}}},
|
495
501
|
{{.refcount = &grpc_static_metadata_refcounts[9],
|
496
502
|
.data.refcounted = {g_bytes + 77, 13}},
|
497
503
|
{.refcount = &grpc_static_metadata_refcounts[29],
|
498
|
-
.data.refcounted = {g_bytes +
|
504
|
+
.data.refcounted = {g_bytes + 365, 8}}},
|
499
505
|
{{.refcount = &grpc_static_metadata_refcounts[9],
|
500
506
|
.data.refcounted = {g_bytes + 77, 13}},
|
501
507
|
{.refcount = &grpc_static_metadata_refcounts[30],
|
502
|
-
.data.refcounted = {g_bytes +
|
508
|
+
.data.refcounted = {g_bytes + 373, 4}}},
|
509
|
+
{{.refcount = &grpc_static_metadata_refcounts[9],
|
510
|
+
.data.refcounted = {g_bytes + 77, 13}},
|
511
|
+
{.refcount = &grpc_static_metadata_refcounts[31],
|
512
|
+
.data.refcounted = {g_bytes + 377, 7}}},
|
503
513
|
{{.refcount = &grpc_static_metadata_refcounts[5],
|
504
514
|
.data.refcounted = {g_bytes + 36, 2}},
|
505
|
-
{.refcount = &grpc_static_metadata_refcounts[31],
|
506
|
-
.data.refcounted = {g_bytes + 366, 8}}},
|
507
|
-
{{.refcount = &grpc_static_metadata_refcounts[11],
|
508
|
-
.data.refcounted = {g_bytes + 110, 12}},
|
509
515
|
{.refcount = &grpc_static_metadata_refcounts[32],
|
510
|
-
.data.refcounted = {g_bytes +
|
516
|
+
.data.refcounted = {g_bytes + 384, 8}}},
|
517
|
+
{{.refcount = &grpc_static_metadata_refcounts[14],
|
518
|
+
.data.refcounted = {g_bytes + 158, 12}},
|
519
|
+
{.refcount = &grpc_static_metadata_refcounts[33],
|
520
|
+
.data.refcounted = {g_bytes + 392, 16}}},
|
511
521
|
{{.refcount = &grpc_static_metadata_refcounts[1],
|
512
522
|
.data.refcounted = {g_bytes + 5, 7}},
|
513
|
-
{.refcount = &grpc_static_metadata_refcounts[33],
|
514
|
-
.data.refcounted = {g_bytes + 390, 4}}},
|
515
|
-
{{.refcount = &grpc_static_metadata_refcounts[2],
|
516
|
-
.data.refcounted = {g_bytes + 12, 7}},
|
517
523
|
{.refcount = &grpc_static_metadata_refcounts[34],
|
518
|
-
.data.refcounted = {g_bytes +
|
524
|
+
.data.refcounted = {g_bytes + 408, 4}}},
|
519
525
|
{{.refcount = &grpc_static_metadata_refcounts[2],
|
520
526
|
.data.refcounted = {g_bytes + 12, 7}},
|
521
527
|
{.refcount = &grpc_static_metadata_refcounts[35],
|
522
|
-
.data.refcounted = {g_bytes +
|
523
|
-
{{.refcount = &grpc_static_metadata_refcounts[
|
524
|
-
.data.refcounted = {g_bytes +
|
528
|
+
.data.refcounted = {g_bytes + 412, 3}}},
|
529
|
+
{{.refcount = &grpc_static_metadata_refcounts[2],
|
530
|
+
.data.refcounted = {g_bytes + 12, 7}},
|
525
531
|
{.refcount = &grpc_static_metadata_refcounts[36],
|
526
|
-
.data.refcounted = {g_bytes +
|
532
|
+
.data.refcounted = {g_bytes + 415, 3}}},
|
527
533
|
{{.refcount = &grpc_static_metadata_refcounts[4],
|
528
534
|
.data.refcounted = {g_bytes + 29, 7}},
|
529
535
|
{.refcount = &grpc_static_metadata_refcounts[37],
|
530
|
-
.data.refcounted = {g_bytes +
|
536
|
+
.data.refcounted = {g_bytes + 418, 4}}},
|
531
537
|
{{.refcount = &grpc_static_metadata_refcounts[4],
|
532
538
|
.data.refcounted = {g_bytes + 29, 7}},
|
533
539
|
{.refcount = &grpc_static_metadata_refcounts[38],
|
534
|
-
.data.refcounted = {g_bytes +
|
540
|
+
.data.refcounted = {g_bytes + 422, 5}}},
|
541
|
+
{{.refcount = &grpc_static_metadata_refcounts[4],
|
542
|
+
.data.refcounted = {g_bytes + 29, 7}},
|
543
|
+
{.refcount = &grpc_static_metadata_refcounts[39],
|
544
|
+
.data.refcounted = {g_bytes + 427, 4}}},
|
535
545
|
{{.refcount = &grpc_static_metadata_refcounts[3],
|
536
546
|
.data.refcounted = {g_bytes + 19, 10}},
|
537
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
538
|
-
.data.refcounted = {g_bytes +
|
547
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
548
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
539
549
|
{{.refcount = &grpc_static_metadata_refcounts[1],
|
540
550
|
.data.refcounted = {g_bytes + 5, 7}},
|
541
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
542
|
-
.data.refcounted = {g_bytes +
|
551
|
+
{.refcount = &grpc_static_metadata_refcounts[40],
|
552
|
+
.data.refcounted = {g_bytes + 431, 3}}},
|
543
553
|
{{.refcount = &grpc_static_metadata_refcounts[1],
|
544
554
|
.data.refcounted = {g_bytes + 5, 7}},
|
545
|
-
{.refcount = &grpc_static_metadata_refcounts[40],
|
546
|
-
.data.refcounted = {g_bytes + 416, 3}}},
|
547
|
-
{{.refcount = &grpc_static_metadata_refcounts[0],
|
548
|
-
.data.refcounted = {g_bytes + 0, 5}},
|
549
555
|
{.refcount = &grpc_static_metadata_refcounts[41],
|
550
|
-
.data.refcounted = {g_bytes +
|
556
|
+
.data.refcounted = {g_bytes + 434, 3}}},
|
551
557
|
{{.refcount = &grpc_static_metadata_refcounts[0],
|
552
558
|
.data.refcounted = {g_bytes + 0, 5}},
|
553
559
|
{.refcount = &grpc_static_metadata_refcounts[42],
|
554
|
-
.data.refcounted = {g_bytes +
|
555
|
-
{{.refcount = &grpc_static_metadata_refcounts[
|
556
|
-
.data.refcounted = {g_bytes +
|
560
|
+
.data.refcounted = {g_bytes + 437, 1}}},
|
561
|
+
{{.refcount = &grpc_static_metadata_refcounts[0],
|
562
|
+
.data.refcounted = {g_bytes + 0, 5}},
|
557
563
|
{.refcount = &grpc_static_metadata_refcounts[43],
|
558
|
-
.data.refcounted = {g_bytes +
|
564
|
+
.data.refcounted = {g_bytes + 438, 11}}},
|
559
565
|
{{.refcount = &grpc_static_metadata_refcounts[2],
|
560
566
|
.data.refcounted = {g_bytes + 12, 7}},
|
561
567
|
{.refcount = &grpc_static_metadata_refcounts[44],
|
562
|
-
.data.refcounted = {g_bytes +
|
568
|
+
.data.refcounted = {g_bytes + 449, 3}}},
|
563
569
|
{{.refcount = &grpc_static_metadata_refcounts[2],
|
564
570
|
.data.refcounted = {g_bytes + 12, 7}},
|
565
571
|
{.refcount = &grpc_static_metadata_refcounts[45],
|
566
|
-
.data.refcounted = {g_bytes +
|
572
|
+
.data.refcounted = {g_bytes + 452, 3}}},
|
567
573
|
{{.refcount = &grpc_static_metadata_refcounts[2],
|
568
574
|
.data.refcounted = {g_bytes + 12, 7}},
|
569
575
|
{.refcount = &grpc_static_metadata_refcounts[46],
|
570
|
-
.data.refcounted = {g_bytes +
|
576
|
+
.data.refcounted = {g_bytes + 455, 3}}},
|
571
577
|
{{.refcount = &grpc_static_metadata_refcounts[2],
|
572
578
|
.data.refcounted = {g_bytes + 12, 7}},
|
573
579
|
{.refcount = &grpc_static_metadata_refcounts[47],
|
574
|
-
.data.refcounted = {g_bytes +
|
575
|
-
{{.refcount = &grpc_static_metadata_refcounts[
|
576
|
-
.data.refcounted = {g_bytes +
|
577
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
578
|
-
.data.refcounted = {g_bytes +
|
579
|
-
{{.refcount = &grpc_static_metadata_refcounts[49],
|
580
|
-
.data.refcounted = {g_bytes + 460, 15}},
|
581
|
-
{.refcount = &grpc_static_metadata_refcounts[19],
|
582
|
-
.data.refcounted = {g_bytes + 216, 0}}},
|
580
|
+
.data.refcounted = {g_bytes + 458, 3}}},
|
581
|
+
{{.refcount = &grpc_static_metadata_refcounts[2],
|
582
|
+
.data.refcounted = {g_bytes + 12, 7}},
|
583
|
+
{.refcount = &grpc_static_metadata_refcounts[48],
|
584
|
+
.data.refcounted = {g_bytes + 461, 3}}},
|
583
585
|
{{.refcount = &grpc_static_metadata_refcounts[49],
|
584
|
-
.data.refcounted = {g_bytes +
|
585
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
586
|
-
.data.refcounted = {g_bytes +
|
587
|
-
{{.refcount = &grpc_static_metadata_refcounts[
|
588
|
-
.data.refcounted = {g_bytes +
|
589
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
590
|
-
.data.refcounted = {g_bytes +
|
586
|
+
.data.refcounted = {g_bytes + 464, 14}},
|
587
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
588
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
589
|
+
{{.refcount = &grpc_static_metadata_refcounts[50],
|
590
|
+
.data.refcounted = {g_bytes + 478, 15}},
|
591
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
592
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
593
|
+
{{.refcount = &grpc_static_metadata_refcounts[50],
|
594
|
+
.data.refcounted = {g_bytes + 478, 15}},
|
595
|
+
{.refcount = &grpc_static_metadata_refcounts[51],
|
596
|
+
.data.refcounted = {g_bytes + 493, 13}}},
|
591
597
|
{{.refcount = &grpc_static_metadata_refcounts[52],
|
592
|
-
.data.refcounted = {g_bytes +
|
593
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
594
|
-
.data.refcounted = {g_bytes +
|
598
|
+
.data.refcounted = {g_bytes + 506, 15}},
|
599
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
600
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
595
601
|
{{.refcount = &grpc_static_metadata_refcounts[53],
|
596
|
-
.data.refcounted = {g_bytes +
|
597
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
598
|
-
.data.refcounted = {g_bytes +
|
602
|
+
.data.refcounted = {g_bytes + 521, 13}},
|
603
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
604
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
599
605
|
{{.refcount = &grpc_static_metadata_refcounts[54],
|
600
|
-
.data.refcounted = {g_bytes +
|
601
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
602
|
-
.data.refcounted = {g_bytes +
|
606
|
+
.data.refcounted = {g_bytes + 534, 6}},
|
607
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
608
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
603
609
|
{{.refcount = &grpc_static_metadata_refcounts[55],
|
604
|
-
.data.refcounted = {g_bytes +
|
605
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
606
|
-
.data.refcounted = {g_bytes +
|
610
|
+
.data.refcounted = {g_bytes + 540, 27}},
|
611
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
612
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
607
613
|
{{.refcount = &grpc_static_metadata_refcounts[56],
|
608
|
-
.data.refcounted = {g_bytes +
|
609
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
610
|
-
.data.refcounted = {g_bytes +
|
614
|
+
.data.refcounted = {g_bytes + 567, 3}},
|
615
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
616
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
611
617
|
{{.refcount = &grpc_static_metadata_refcounts[57],
|
612
|
-
.data.refcounted = {g_bytes +
|
613
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
614
|
-
.data.refcounted = {g_bytes +
|
618
|
+
.data.refcounted = {g_bytes + 570, 5}},
|
619
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
620
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
615
621
|
{{.refcount = &grpc_static_metadata_refcounts[58],
|
616
|
-
.data.refcounted = {g_bytes +
|
617
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
618
|
-
.data.refcounted = {g_bytes +
|
622
|
+
.data.refcounted = {g_bytes + 575, 13}},
|
623
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
624
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
619
625
|
{{.refcount = &grpc_static_metadata_refcounts[59],
|
620
|
-
.data.refcounted = {g_bytes +
|
621
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
622
|
-
.data.refcounted = {g_bytes +
|
626
|
+
.data.refcounted = {g_bytes + 588, 13}},
|
627
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
628
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
623
629
|
{{.refcount = &grpc_static_metadata_refcounts[60],
|
624
|
-
.data.refcounted = {g_bytes +
|
625
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
626
|
-
.data.refcounted = {g_bytes +
|
630
|
+
.data.refcounted = {g_bytes + 601, 19}},
|
631
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
632
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
627
633
|
{{.refcount = &grpc_static_metadata_refcounts[61],
|
628
|
-
.data.refcounted = {g_bytes +
|
629
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
630
|
-
.data.refcounted = {g_bytes +
|
634
|
+
.data.refcounted = {g_bytes + 620, 16}},
|
635
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
636
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
631
637
|
{{.refcount = &grpc_static_metadata_refcounts[62],
|
632
|
-
.data.refcounted = {g_bytes +
|
633
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
634
|
-
.data.refcounted = {g_bytes +
|
638
|
+
.data.refcounted = {g_bytes + 636, 16}},
|
639
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
640
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
635
641
|
{{.refcount = &grpc_static_metadata_refcounts[63],
|
636
|
-
.data.refcounted = {g_bytes +
|
637
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
638
|
-
.data.refcounted = {g_bytes +
|
642
|
+
.data.refcounted = {g_bytes + 652, 14}},
|
643
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
644
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
639
645
|
{{.refcount = &grpc_static_metadata_refcounts[64],
|
640
|
-
.data.refcounted = {g_bytes +
|
641
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
642
|
-
.data.refcounted = {g_bytes +
|
643
|
-
{{.refcount = &grpc_static_metadata_refcounts[11],
|
644
|
-
.data.refcounted = {g_bytes + 110, 12}},
|
645
|
-
{.refcount = &grpc_static_metadata_refcounts[19],
|
646
|
-
.data.refcounted = {g_bytes + 216, 0}}},
|
646
|
+
.data.refcounted = {g_bytes + 666, 16}},
|
647
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
648
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
647
649
|
{{.refcount = &grpc_static_metadata_refcounts[65],
|
648
|
-
.data.refcounted = {g_bytes +
|
649
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
650
|
-
.data.refcounted = {g_bytes +
|
650
|
+
.data.refcounted = {g_bytes + 682, 13}},
|
651
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
652
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
653
|
+
{{.refcount = &grpc_static_metadata_refcounts[14],
|
654
|
+
.data.refcounted = {g_bytes + 158, 12}},
|
655
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
656
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
651
657
|
{{.refcount = &grpc_static_metadata_refcounts[66],
|
652
|
-
.data.refcounted = {g_bytes +
|
653
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
654
|
-
.data.refcounted = {g_bytes +
|
658
|
+
.data.refcounted = {g_bytes + 695, 6}},
|
659
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
660
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
655
661
|
{{.refcount = &grpc_static_metadata_refcounts[67],
|
656
|
-
.data.refcounted = {g_bytes +
|
657
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
658
|
-
.data.refcounted = {g_bytes +
|
662
|
+
.data.refcounted = {g_bytes + 701, 4}},
|
663
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
664
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
659
665
|
{{.refcount = &grpc_static_metadata_refcounts[68],
|
660
|
-
.data.refcounted = {g_bytes +
|
661
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
662
|
-
.data.refcounted = {g_bytes +
|
666
|
+
.data.refcounted = {g_bytes + 705, 4}},
|
667
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
668
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
663
669
|
{{.refcount = &grpc_static_metadata_refcounts[69],
|
664
|
-
.data.refcounted = {g_bytes +
|
665
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
666
|
-
.data.refcounted = {g_bytes +
|
670
|
+
.data.refcounted = {g_bytes + 709, 6}},
|
671
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
672
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
667
673
|
{{.refcount = &grpc_static_metadata_refcounts[70],
|
668
|
-
.data.refcounted = {g_bytes +
|
669
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
670
|
-
.data.refcounted = {g_bytes +
|
671
|
-
{{.refcount = &grpc_static_metadata_refcounts[14],
|
672
|
-
.data.refcounted = {g_bytes + 162, 4}},
|
673
|
-
{.refcount = &grpc_static_metadata_refcounts[19],
|
674
|
-
.data.refcounted = {g_bytes + 216, 0}}},
|
674
|
+
.data.refcounted = {g_bytes + 715, 7}},
|
675
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
676
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
675
677
|
{{.refcount = &grpc_static_metadata_refcounts[71],
|
676
|
-
.data.refcounted = {g_bytes +
|
677
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
678
|
-
.data.refcounted = {g_bytes +
|
678
|
+
.data.refcounted = {g_bytes + 722, 4}},
|
679
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
680
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
681
|
+
{{.refcount = &grpc_static_metadata_refcounts[17],
|
682
|
+
.data.refcounted = {g_bytes + 210, 4}},
|
683
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
684
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
679
685
|
{{.refcount = &grpc_static_metadata_refcounts[72],
|
680
|
-
.data.refcounted = {g_bytes +
|
681
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
682
|
-
.data.refcounted = {g_bytes +
|
686
|
+
.data.refcounted = {g_bytes + 726, 8}},
|
687
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
688
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
683
689
|
{{.refcount = &grpc_static_metadata_refcounts[73],
|
684
|
-
.data.refcounted = {g_bytes +
|
685
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
686
|
-
.data.refcounted = {g_bytes +
|
690
|
+
.data.refcounted = {g_bytes + 734, 17}},
|
691
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
692
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
687
693
|
{{.refcount = &grpc_static_metadata_refcounts[74],
|
688
|
-
.data.refcounted = {g_bytes +
|
689
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
690
|
-
.data.refcounted = {g_bytes +
|
694
|
+
.data.refcounted = {g_bytes + 751, 13}},
|
695
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
696
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
691
697
|
{{.refcount = &grpc_static_metadata_refcounts[75],
|
692
|
-
.data.refcounted = {g_bytes +
|
693
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
694
|
-
.data.refcounted = {g_bytes +
|
698
|
+
.data.refcounted = {g_bytes + 764, 8}},
|
699
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
700
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
695
701
|
{{.refcount = &grpc_static_metadata_refcounts[76],
|
696
|
-
.data.refcounted = {g_bytes +
|
697
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
698
|
-
.data.refcounted = {g_bytes +
|
699
|
-
{{.refcount = &grpc_static_metadata_refcounts[15],
|
700
|
-
.data.refcounted = {g_bytes + 166, 8}},
|
701
|
-
{.refcount = &grpc_static_metadata_refcounts[19],
|
702
|
-
.data.refcounted = {g_bytes + 216, 0}}},
|
702
|
+
.data.refcounted = {g_bytes + 772, 19}},
|
703
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
704
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
703
705
|
{{.refcount = &grpc_static_metadata_refcounts[77],
|
704
|
-
.data.refcounted = {g_bytes +
|
705
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
706
|
-
.data.refcounted = {g_bytes +
|
706
|
+
.data.refcounted = {g_bytes + 791, 13}},
|
707
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
708
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
709
|
+
{{.refcount = &grpc_static_metadata_refcounts[18],
|
710
|
+
.data.refcounted = {g_bytes + 214, 8}},
|
711
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
712
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
707
713
|
{{.refcount = &grpc_static_metadata_refcounts[78],
|
708
|
-
.data.refcounted = {g_bytes +
|
709
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
710
|
-
.data.refcounted = {g_bytes +
|
714
|
+
.data.refcounted = {g_bytes + 804, 11}},
|
715
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
716
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
711
717
|
{{.refcount = &grpc_static_metadata_refcounts[79],
|
712
|
-
.data.refcounted = {g_bytes +
|
713
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
714
|
-
.data.refcounted = {g_bytes +
|
718
|
+
.data.refcounted = {g_bytes + 815, 4}},
|
719
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
720
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
715
721
|
{{.refcount = &grpc_static_metadata_refcounts[80],
|
716
|
-
.data.refcounted = {g_bytes +
|
717
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
718
|
-
.data.refcounted = {g_bytes +
|
722
|
+
.data.refcounted = {g_bytes + 819, 8}},
|
723
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
724
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
719
725
|
{{.refcount = &grpc_static_metadata_refcounts[81],
|
720
|
-
.data.refcounted = {g_bytes +
|
721
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
722
|
-
.data.refcounted = {g_bytes +
|
726
|
+
.data.refcounted = {g_bytes + 827, 12}},
|
727
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
728
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
723
729
|
{{.refcount = &grpc_static_metadata_refcounts[82],
|
724
|
-
.data.refcounted = {g_bytes +
|
725
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
726
|
-
.data.refcounted = {g_bytes +
|
730
|
+
.data.refcounted = {g_bytes + 839, 18}},
|
731
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
732
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
727
733
|
{{.refcount = &grpc_static_metadata_refcounts[83],
|
728
|
-
.data.refcounted = {g_bytes +
|
729
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
730
|
-
.data.refcounted = {g_bytes +
|
734
|
+
.data.refcounted = {g_bytes + 857, 19}},
|
735
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
736
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
731
737
|
{{.refcount = &grpc_static_metadata_refcounts[84],
|
732
|
-
.data.refcounted = {g_bytes +
|
733
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
734
|
-
.data.refcounted = {g_bytes +
|
738
|
+
.data.refcounted = {g_bytes + 876, 5}},
|
739
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
740
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
735
741
|
{{.refcount = &grpc_static_metadata_refcounts[85],
|
736
|
-
.data.refcounted = {g_bytes +
|
737
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
738
|
-
.data.refcounted = {g_bytes +
|
742
|
+
.data.refcounted = {g_bytes + 881, 7}},
|
743
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
744
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
739
745
|
{{.refcount = &grpc_static_metadata_refcounts[86],
|
740
|
-
.data.refcounted = {g_bytes +
|
741
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
742
|
-
.data.refcounted = {g_bytes +
|
746
|
+
.data.refcounted = {g_bytes + 888, 7}},
|
747
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
748
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
743
749
|
{{.refcount = &grpc_static_metadata_refcounts[87],
|
744
|
-
.data.refcounted = {g_bytes +
|
745
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
746
|
-
.data.refcounted = {g_bytes +
|
750
|
+
.data.refcounted = {g_bytes + 895, 11}},
|
751
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
752
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
747
753
|
{{.refcount = &grpc_static_metadata_refcounts[88],
|
748
|
-
.data.refcounted = {g_bytes +
|
749
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
750
|
-
.data.refcounted = {g_bytes +
|
754
|
+
.data.refcounted = {g_bytes + 906, 6}},
|
755
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
756
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
751
757
|
{{.refcount = &grpc_static_metadata_refcounts[89],
|
752
|
-
.data.refcounted = {g_bytes +
|
753
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
754
|
-
.data.refcounted = {g_bytes +
|
755
|
-
{{.refcount = &grpc_static_metadata_refcounts[13],
|
756
|
-
.data.refcounted = {g_bytes + 152, 10}},
|
757
|
-
{.refcount = &grpc_static_metadata_refcounts[19],
|
758
|
-
.data.refcounted = {g_bytes + 216, 0}}},
|
758
|
+
.data.refcounted = {g_bytes + 912, 10}},
|
759
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
760
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
759
761
|
{{.refcount = &grpc_static_metadata_refcounts[90],
|
760
|
-
.data.refcounted = {g_bytes +
|
761
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
762
|
-
.data.refcounted = {g_bytes +
|
762
|
+
.data.refcounted = {g_bytes + 922, 25}},
|
763
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
764
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
763
765
|
{{.refcount = &grpc_static_metadata_refcounts[91],
|
764
|
-
.data.refcounted = {g_bytes +
|
765
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
766
|
-
.data.refcounted = {g_bytes +
|
766
|
+
.data.refcounted = {g_bytes + 947, 17}},
|
767
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
768
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
769
|
+
{{.refcount = &grpc_static_metadata_refcounts[16],
|
770
|
+
.data.refcounted = {g_bytes + 200, 10}},
|
771
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
772
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
767
773
|
{{.refcount = &grpc_static_metadata_refcounts[92],
|
768
|
-
.data.refcounted = {g_bytes +
|
769
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
770
|
-
.data.refcounted = {g_bytes +
|
774
|
+
.data.refcounted = {g_bytes + 964, 4}},
|
775
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
776
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
777
|
+
{{.refcount = &grpc_static_metadata_refcounts[93],
|
778
|
+
.data.refcounted = {g_bytes + 968, 3}},
|
779
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
780
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
781
|
+
{{.refcount = &grpc_static_metadata_refcounts[94],
|
782
|
+
.data.refcounted = {g_bytes + 971, 16}},
|
783
|
+
{.refcount = &grpc_static_metadata_refcounts[20],
|
784
|
+
.data.refcounted = {g_bytes + 234, 0}}},
|
771
785
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
772
786
|
.data.refcounted = {g_bytes + 90, 20}},
|
773
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
774
|
-
.data.refcounted = {g_bytes +
|
787
|
+
{.refcount = &grpc_static_metadata_refcounts[29],
|
788
|
+
.data.refcounted = {g_bytes + 365, 8}}},
|
775
789
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
776
790
|
.data.refcounted = {g_bytes + 90, 20}},
|
777
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
778
|
-
.data.refcounted = {g_bytes +
|
791
|
+
{.refcount = &grpc_static_metadata_refcounts[31],
|
792
|
+
.data.refcounted = {g_bytes + 377, 7}}},
|
779
793
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
780
794
|
.data.refcounted = {g_bytes + 90, 20}},
|
781
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
782
|
-
.data.refcounted = {g_bytes +
|
795
|
+
{.refcount = &grpc_static_metadata_refcounts[95],
|
796
|
+
.data.refcounted = {g_bytes + 987, 16}}},
|
783
797
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
784
798
|
.data.refcounted = {g_bytes + 90, 20}},
|
785
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
786
|
-
.data.refcounted = {g_bytes +
|
799
|
+
{.refcount = &grpc_static_metadata_refcounts[30],
|
800
|
+
.data.refcounted = {g_bytes + 373, 4}}},
|
787
801
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
788
802
|
.data.refcounted = {g_bytes + 90, 20}},
|
789
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
790
|
-
.data.refcounted = {g_bytes +
|
803
|
+
{.refcount = &grpc_static_metadata_refcounts[96],
|
804
|
+
.data.refcounted = {g_bytes + 1003, 13}}},
|
791
805
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
792
806
|
.data.refcounted = {g_bytes + 90, 20}},
|
793
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
794
|
-
.data.refcounted = {g_bytes +
|
807
|
+
{.refcount = &grpc_static_metadata_refcounts[97],
|
808
|
+
.data.refcounted = {g_bytes + 1016, 12}}},
|
795
809
|
{{.refcount = &grpc_static_metadata_refcounts[10],
|
796
810
|
.data.refcounted = {g_bytes + 90, 20}},
|
797
|
-
{.refcount = &grpc_static_metadata_refcounts[
|
798
|
-
.data.refcounted = {g_bytes +
|
811
|
+
{.refcount = &grpc_static_metadata_refcounts[98],
|
812
|
+
.data.refcounted = {g_bytes + 1028, 21}}},
|
799
813
|
};
|
800
|
-
const uint8_t grpc_static_accept_encoding_metadata[8] = {0,
|
801
|
-
|
814
|
+
const uint8_t grpc_static_accept_encoding_metadata[8] = {0, 74, 75, 76,
|
815
|
+
77, 78, 79, 80};
|