grpc 1.51.0-x86_64-linux → 1.52.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/grpc_c.32-msvcrt.ruby +0 -0
- data/grpc_c.64-msvcrt.ruby +0 -0
- data/grpc_c.64-ucrt.ruby +0 -0
- data/src/ruby/ext/grpc/{ext-export-truffleruby.clang → ext-export-truffleruby-with-ruby-abi-version.clang} +0 -0
- data/src/ruby/ext/grpc/{ext-export-truffleruby.gcc → ext-export-truffleruby-with-ruby-abi-version.gcc} +0 -0
- data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.clang +2 -0
- data/src/ruby/ext/grpc/ext-export-with-ruby-abi-version.gcc +7 -0
- data/src/ruby/ext/grpc/ext-export.clang +0 -1
- data/src/ruby/ext/grpc/ext-export.gcc +1 -2
- data/src/ruby/ext/grpc/extconf.rb +47 -2
- data/src/ruby/ext/grpc/rb_call.c +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -1
- data/src/ruby/ext/grpc/rb_grpc.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +38 -36
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +59 -56
- data/src/ruby/lib/grpc/2.6/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.7/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/3.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/3.1/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/{grpc_c.so → 3.2/grpc_c.so} +0 -0
- data/src/ruby/lib/grpc/generic/bidi_call.rb +2 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/client_server_spec.rb +20 -8
- metadata +25 -2597
- data/.yardopts +0 -1
- data/Makefile +0 -3258
- data/include/grpc/byte_buffer.h +0 -27
- data/include/grpc/byte_buffer_reader.h +0 -26
- data/include/grpc/census.h +0 -40
- data/include/grpc/compression.h +0 -75
- data/include/grpc/event_engine/README.md +0 -38
- data/include/grpc/event_engine/endpoint_config.h +0 -49
- data/include/grpc/event_engine/event_engine.h +0 -453
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +0 -68
- data/include/grpc/event_engine/memory_allocator.h +0 -211
- data/include/grpc/event_engine/memory_request.h +0 -57
- data/include/grpc/event_engine/port.h +0 -39
- data/include/grpc/event_engine/slice.h +0 -286
- data/include/grpc/event_engine/slice_buffer.h +0 -135
- data/include/grpc/fork.h +0 -26
- data/include/grpc/grpc.h +0 -595
- data/include/grpc/grpc_cronet.h +0 -38
- data/include/grpc/grpc_posix.h +0 -63
- data/include/grpc/grpc_security.h +0 -1270
- data/include/grpc/grpc_security_constants.h +0 -152
- data/include/grpc/impl/codegen/README.md +0 -22
- data/include/grpc/impl/codegen/atm.h +0 -97
- data/include/grpc/impl/codegen/atm_gcc_atomic.h +0 -84
- data/include/grpc/impl/codegen/atm_gcc_sync.h +0 -85
- data/include/grpc/impl/codegen/atm_windows.h +0 -132
- data/include/grpc/impl/codegen/byte_buffer.h +0 -103
- data/include/grpc/impl/codegen/byte_buffer_reader.h +0 -44
- data/include/grpc/impl/codegen/compression_types.h +0 -109
- data/include/grpc/impl/codegen/connectivity_state.h +0 -47
- data/include/grpc/impl/codegen/fork.h +0 -50
- data/include/grpc/impl/codegen/gpr_slice.h +0 -71
- data/include/grpc/impl/codegen/gpr_types.h +0 -62
- data/include/grpc/impl/codegen/grpc_types.h +0 -814
- data/include/grpc/impl/codegen/log.h +0 -112
- data/include/grpc/impl/codegen/port_platform.h +0 -779
- data/include/grpc/impl/codegen/propagation_bits.h +0 -54
- data/include/grpc/impl/codegen/slice.h +0 -132
- data/include/grpc/impl/codegen/status.h +0 -156
- data/include/grpc/impl/codegen/sync.h +0 -68
- data/include/grpc/impl/codegen/sync_abseil.h +0 -38
- data/include/grpc/impl/codegen/sync_custom.h +0 -40
- data/include/grpc/impl/codegen/sync_generic.h +0 -51
- data/include/grpc/impl/codegen/sync_posix.h +0 -54
- data/include/grpc/impl/codegen/sync_windows.h +0 -42
- data/include/grpc/load_reporting.h +0 -48
- data/include/grpc/module.modulemap +0 -64
- data/include/grpc/slice.h +0 -161
- data/include/grpc/slice_buffer.h +0 -84
- data/include/grpc/status.h +0 -26
- data/include/grpc/support/alloc.h +0 -52
- data/include/grpc/support/atm.h +0 -26
- data/include/grpc/support/atm_gcc_atomic.h +0 -26
- data/include/grpc/support/atm_gcc_sync.h +0 -26
- data/include/grpc/support/atm_windows.h +0 -26
- data/include/grpc/support/cpu.h +0 -44
- data/include/grpc/support/log.h +0 -26
- data/include/grpc/support/log_windows.h +0 -38
- data/include/grpc/support/port_platform.h +0 -24
- data/include/grpc/support/string_util.h +0 -51
- data/include/grpc/support/sync.h +0 -282
- data/include/grpc/support/sync_abseil.h +0 -26
- data/include/grpc/support/sync_custom.h +0 -26
- data/include/grpc/support/sync_generic.h +0 -26
- data/include/grpc/support/sync_posix.h +0 -26
- data/include/grpc/support/sync_windows.h +0 -26
- data/include/grpc/support/thd_id.h +0 -44
- data/include/grpc/support/time.h +0 -92
- data/include/grpc/support/workaround_list.h +0 -31
- data/src/core/ext/filters/census/grpc_context.cc +0 -42
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +0 -315
- data/src/core/ext/filters/channel_idle/channel_idle_filter.h +0 -142
- data/src/core/ext/filters/channel_idle/idle_filter_state.cc +0 -96
- data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -68
- data/src/core/ext/filters/client_channel/backend_metric.cc +0 -84
- data/src/core/ext/filters/client_channel/backend_metric.h +0 -47
- data/src/core/ext/filters/client_channel/backup_poller.cc +0 -187
- data/src/core/ext/filters/client_channel/backup_poller.h +0 -40
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +0 -244
- data/src/core/ext/filters/client_channel/client_channel.cc +0 -3188
- data/src/core/ext/filters/client_channel/client_channel.h +0 -626
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +0 -92
- data/src/core/ext/filters/client_channel/client_channel_channelz.h +0 -85
- data/src/core/ext/filters/client_channel/client_channel_factory.cc +0 -32
- data/src/core/ext/filters/client_channel/client_channel_factory.h +0 -46
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +0 -42
- data/src/core/ext/filters/client_channel/client_channel_service_config.cc +0 -153
- data/src/core/ext/filters/client_channel/client_channel_service_config.h +0 -111
- data/src/core/ext/filters/client_channel/config_selector.cc +0 -60
- data/src/core/ext/filters/client_channel/config_selector.h +0 -155
- data/src/core/ext/filters/client_channel/connector.h +0 -84
- data/src/core/ext/filters/client_channel/dynamic_filters.cc +0 -175
- data/src/core/ext/filters/client_channel/dynamic_filters.h +0 -108
- data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +0 -65
- data/src/core/ext/filters/client_channel/global_subchannel_pool.h +0 -63
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +0 -175
- data/src/core/ext/filters/client_channel/health/health_check_client.h +0 -43
- data/src/core/ext/filters/client_channel/http_proxy.cc +0 -200
- data/src/core/ext/filters/client_channel/http_proxy.h +0 -52
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +0 -100
- data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +0 -103
- data/src/core/ext/filters/client_channel/lb_policy/backend_metric_data.h +0 -49
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +0 -325
- data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +0 -89
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +0 -150
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +0 -30
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +0 -1933
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -40
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +0 -88
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +0 -41
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +0 -90
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +0 -82
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +0 -202
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +0 -76
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.cc +0 -415
- data/src/core/ext/filters/client_channel/lb_policy/oob_backend_metric.h +0 -57
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +0 -1152
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -94
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +0 -543
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +0 -957
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +0 -889
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.h +0 -47
- data/src/core/ext/filters/client_channel/lb_policy/rls/rls.cc +0 -2512
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +0 -529
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +0 -439
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +0 -793
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +0 -762
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.cc +0 -42
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_attributes.h +0 -64
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h +0 -29
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +0 -806
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +0 -732
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +0 -1214
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_wrr_locality.cc +0 -364
- data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +0 -60
- data/src/core/ext/filters/client_channel/local_subchannel_pool.h +0 -59
- data/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc +0 -149
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +0 -868
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +0 -91
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +0 -115
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +0 -882
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +0 -1204
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +0 -137
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +0 -29
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +0 -35
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.cc +0 -30
- data/src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.h +0 -30
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +0 -201
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +0 -368
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -110
- data/src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc +0 -472
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.cc +0 -258
- data/src/core/ext/filters/client_channel/resolver/polling_resolver.h +0 -123
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -190
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +0 -1147
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.h +0 -30
- data/src/core/ext/filters/client_channel/retry_filter.cc +0 -2661
- data/src/core/ext/filters/client_channel/retry_filter.h +0 -31
- data/src/core/ext/filters/client_channel/retry_service_config.cc +0 -282
- data/src/core/ext/filters/client_channel/retry_service_config.h +0 -105
- data/src/core/ext/filters/client_channel/retry_throttle.cc +0 -141
- data/src/core/ext/filters/client_channel/retry_throttle.h +0 -92
- data/src/core/ext/filters/client_channel/service_config_channel_arg_filter.cc +0 -174
- data/src/core/ext/filters/client_channel/subchannel.cc +0 -974
- data/src/core/ext/filters/client_channel/subchannel.h +0 -435
- data/src/core/ext/filters/client_channel/subchannel_interface_internal.h +0 -38
- data/src/core/ext/filters/client_channel/subchannel_pool_interface.cc +0 -66
- data/src/core/ext/filters/client_channel/subchannel_pool_interface.h +0 -100
- data/src/core/ext/filters/client_channel/subchannel_stream_client.cc +0 -470
- data/src/core/ext/filters/client_channel/subchannel_stream_client.h +0 -222
- data/src/core/ext/filters/deadline/deadline_filter.cc +0 -400
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -93
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +0 -279
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -71
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -118
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -112
- data/src/core/ext/filters/http/client/http_client_filter.cc +0 -159
- data/src/core/ext/filters/http/client/http_client_filter.h +0 -61
- data/src/core/ext/filters/http/client_authority_filter.cc +0 -90
- data/src/core/ext/filters/http/client_authority_filter.h +0 -56
- data/src/core/ext/filters/http/http_filters_plugin.cc +0 -97
- data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +0 -332
- data/src/core/ext/filters/http/message_compress/message_compress_filter.h +0 -52
- data/src/core/ext/filters/http/message_compress/message_decompress_filter.cc +0 -322
- data/src/core/ext/filters/http/message_compress/message_decompress_filter.h +0 -32
- data/src/core/ext/filters/http/server/http_server_filter.cc +0 -161
- data/src/core/ext/filters/http/server/http_server_filter.h +0 -63
- data/src/core/ext/filters/message_size/message_size_filter.cc +0 -373
- data/src/core/ext/filters/message_size/message_size_filter.h +0 -90
- data/src/core/ext/filters/rbac/rbac_filter.cc +0 -174
- data/src/core/ext/filters/rbac/rbac_filter.h +0 -84
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +0 -819
- data/src/core/ext/filters/rbac/rbac_service_config_parser.h +0 -86
- data/src/core/ext/filters/server_config_selector/server_config_selector.cc +0 -62
- data/src/core/ext/filters/server_config_selector/server_config_selector.h +0 -85
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +0 -160
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.h +0 -33
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +0 -45
- data/src/core/ext/transport/chttp2/alpn/alpn.h +0 -36
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +0 -434
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +0 -77
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +0 -1094
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +0 -47
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +0 -252
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +0 -58
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +0 -232
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +0 -42
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +0 -2963
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +0 -77
- data/src/core/ext/transport/chttp2/transport/context_list.cc +0 -71
- data/src/core/ext/transport/chttp2/transport/context_list.h +0 -54
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +0 -287
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +0 -1018
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +0 -442
- data/src/core/ext/transport/chttp2/transport/flow_control.h +0 -386
- data/src/core/ext/transport/chttp2/transport/frame.h +0 -43
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +0 -156
- data/src/core/ext/transport/chttp2/transport/frame_data.h +0 -60
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +0 -190
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +0 -65
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +0 -137
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +0 -49
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +0 -130
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +0 -54
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +0 -241
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +0 -66
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +0 -122
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +0 -46
- data/src/core/ext/transport/chttp2/transport/hpack_constants.h +0 -47
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +0 -667
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +0 -236
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +0 -89
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +0 -80
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +0 -1382
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +0 -142
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +0 -247
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +0 -137
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +0 -62
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +0 -60
- data/src/core/ext/transport/chttp2/transport/huffsyms.cc +0 -92
- data/src/core/ext/transport/chttp2/transport/huffsyms.h +0 -32
- data/src/core/ext/transport/chttp2/transport/internal.h +0 -803
- data/src/core/ext/transport/chttp2/transport/parsing.cc +0 -730
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +0 -216
- data/src/core/ext/transport/chttp2/transport/stream_map.cc +0 -177
- data/src/core/ext/transport/chttp2/transport/stream_map.h +0 -68
- data/src/core/ext/transport/chttp2/transport/varint.cc +0 -61
- data/src/core/ext/transport/chttp2/transport/varint.h +0 -76
- data/src/core/ext/transport/chttp2/transport/writing.cc +0 -683
- data/src/core/ext/transport/inproc/inproc_plugin.cc +0 -23
- data/src/core/ext/transport/inproc/inproc_transport.cc +0 -1274
- data/src/core/ext/transport/inproc/inproc_transport.h +0 -34
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +0 -117
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +0 -502
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +0 -121
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +0 -569
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +0 -125
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +0 -516
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +0 -352
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +0 -1768
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +0 -159
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +0 -64
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +0 -189
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +0 -128
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +0 -106
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +0 -101
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +0 -106
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +0 -613
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +0 -81
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +0 -103
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +0 -270
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +0 -1300
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +0 -413
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +0 -2251
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +0 -95
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +0 -394
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +0 -544
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +0 -3066
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +0 -89
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +0 -549
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +0 -299
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +0 -1437
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +0 -145
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +0 -664
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +0 -120
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +0 -421
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +0 -1891
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +0 -163
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +0 -806
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +0 -104
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +0 -58
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +0 -159
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +0 -269
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +0 -1329
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +0 -220
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +0 -1255
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +0 -126
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +0 -323
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +0 -1759
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +0 -40
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +0 -88
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +0 -177
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +0 -148
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +0 -56
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +0 -182
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +0 -122
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +0 -106
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +0 -360
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +0 -144
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +0 -647
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +0 -129
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +0 -588
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +0 -189
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +0 -1041
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +0 -186
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +0 -969
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +0 -238
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +0 -59
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +0 -186
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +0 -53
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +0 -140
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +0 -165
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +0 -748
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +0 -174
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +0 -757
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +0 -221
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +0 -1094
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +0 -86
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +0 -402
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +0 -1096
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +0 -6440
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +0 -79
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +0 -267
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +0 -241
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +0 -1191
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +0 -44
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +0 -92
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +0 -107
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +0 -175
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +0 -138
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +0 -254
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +0 -69
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +0 -221
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +0 -33
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +0 -43
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +0 -226
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +0 -150
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +0 -42
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +0 -89
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +0 -96
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +0 -395
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +0 -94
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +0 -445
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +0 -71
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +0 -237
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +0 -55
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +0 -172
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +0 -471
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +0 -2731
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +0 -52
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +0 -168
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +0 -46
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +0 -98
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +0 -28
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +0 -38
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +0 -177
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +0 -932
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +0 -88
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +0 -320
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +0 -191
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +0 -1063
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +0 -168
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +0 -38
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +0 -74
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +0 -280
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +0 -1375
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +0 -68
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +0 -218
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +0 -138
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +0 -651
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +0 -116
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +0 -76
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +0 -265
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +0 -74
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +0 -230
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +0 -62
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +0 -196
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +0 -49
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +0 -121
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +0 -48
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +0 -117
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +0 -47
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +0 -104
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +0 -80
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +0 -246
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +0 -67
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +0 -226
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +0 -60
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +0 -178
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +0 -78
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +0 -306
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +0 -107
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +0 -457
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +0 -107
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +0 -439
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +0 -66
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +0 -213
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +0 -26
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +0 -39
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +0 -42
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +0 -143
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +0 -54
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +0 -147
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +0 -66
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +0 -208
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +0 -63
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +0 -202
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +0 -26
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +0 -41
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +0 -43
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +0 -101
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +0 -51
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +0 -131
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +0 -40
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +0 -53
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +0 -271
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +0 -1280
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +0 -283
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +0 -1386
- data/src/core/ext/upb-generated/google/api/http.upb.c +0 -81
- data/src/core/ext/upb-generated/google/api/http.upb.h +0 -343
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +0 -46
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +0 -115
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +0 -578
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +0 -3217
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +0 -35
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +0 -74
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +0 -95
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +0 -329
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +0 -40
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +0 -92
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +0 -127
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +0 -475
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +0 -46
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +0 -115
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +0 -84
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +0 -335
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +0 -63
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +0 -188
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +0 -240
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +0 -1173
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +0 -57
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +0 -182
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +0 -50
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +0 -139
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +0 -161
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +0 -705
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +0 -70
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +0 -216
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +0 -175
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +0 -792
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +0 -110
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +0 -290
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +0 -55
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +0 -112
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +0 -38
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +0 -46
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +0 -54
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +0 -119
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +0 -53
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +0 -103
- data/src/core/ext/upb-generated/validate/validate.upb.c +0 -560
- data/src/core/ext/upb-generated/validate/validate.upb.h +0 -4105
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +0 -110
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +0 -290
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +0 -55
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +0 -112
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +0 -38
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +0 -46
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +0 -105
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +0 -306
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +0 -53
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +0 -103
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +0 -41
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +0 -83
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +0 -66
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +0 -208
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +0 -56
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +0 -119
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +0 -107
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +0 -49
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +0 -131
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +0 -68
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +0 -248
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +0 -49
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +0 -125
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +0 -73
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +0 -191
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +0 -47
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +0 -113
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +0 -207
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +0 -914
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +0 -52
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +0 -151
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +0 -65
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +0 -226
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +0 -46
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +0 -107
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.c +0 -84
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/certs.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.c +0 -127
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/clusters.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.c +0 -102
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.c +0 -256
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/config_dump_shared.upbdefs.h +0 -115
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.c +0 -43
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/init_dump.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/listeners.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/memory.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/metrics.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/mutex_stats.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.c +0 -142
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/server_info.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/admin/v3/tap.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/envoy/annotations/resource.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +0 -222
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.h +0 -105
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +0 -397
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +0 -120
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +0 -98
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +0 -559
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.h +0 -155
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/filter.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.c +0 -138
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/outlier_detection.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.c +0 -206
- data/src/core/ext/upbdefs-generated/envoy/config/common/matcher/v3/matcher.upbdefs.h +0 -105
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.c +0 -112
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/address.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/backoff.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +0 -270
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +0 -150
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +0 -168
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/event_service_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/extension.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_method_list.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.c +0 -235
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/grpc_service.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.c +0 -228
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/health_check.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/http_uri.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +0 -300
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +0 -110
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.c +0 -41
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/proxy_protocol.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/socket_option.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +0 -49
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +0 -128
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +0 -60
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.c +0 -136
- data/src/core/ext/upbdefs-generated/envoy/config/endpoint/v3/load_report.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/api_listener.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +0 -220
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +0 -190
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +0 -88
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/metrics_service.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.c +0 -125
- data/src/core/ext/upbdefs-generated/envoy/config/metrics/v3/stats.upbdefs.h +0 -70
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.c +0 -134
- data/src/core/ext/upbdefs-generated/envoy/config/overload/v3/overload.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.c +0 -194
- data/src/core/ext/upbdefs-generated/envoy/config/rbac/v3/rbac.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +0 -112
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +0 -939
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +0 -305
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.c +0 -77
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/scoped_route.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.c +0 -199
- data/src/core/ext/upbdefs-generated/envoy/config/tap/v3/common.upbdefs.h +0 -90
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/datadog.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/dynamic_ot.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/http_tracer.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.c +0 -72
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/lightstep.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opencensus.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/opentelemetry.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/service.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/skywalking.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/trace.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/xray.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.c +0 -77
- data/src/core/ext/upbdefs-generated/envoy/config/trace/v3/zipkin.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +0 -50
- data/src/core/ext/upbdefs-generated/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +0 -92
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +0 -117
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +0 -80
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +0 -78
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +0 -562
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +0 -130
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +0 -213
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +0 -91
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +0 -254
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/ads.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.c +0 -197
- data/src/core/ext/upbdefs-generated/envoy/service/discovery/v3/discovery.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.c +0 -76
- data/src/core/ext/upbdefs-generated/envoy/service/load_stats/v3/lrs.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/cookie.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/http_inputs.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/metadata.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/node.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/number.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.c +0 -51
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/path.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +0 -71
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.c +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/string.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.c +0 -58
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/struct.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.c +0 -75
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/value.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.c +0 -78
- data/src/core/ext/upbdefs-generated/envoy/type/metadata/v3/metadata.upbdefs.h +0 -65
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.c +0 -85
- data/src/core/ext/upbdefs-generated/envoy/type/tracing/v3/custom_tag.upbdefs.h +0 -55
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.c +0 -53
- data/src/core/ext/upbdefs-generated/envoy/type/v3/hash_policy.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.c +0 -36
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.c +0 -94
- data/src/core/ext/upbdefs-generated/envoy/type/v3/http_status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/envoy/type/v3/percent.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.c +0 -48
- data/src/core/ext/upbdefs-generated/envoy/type/v3/range.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.c +0 -69
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_strategy.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/envoy/type/v3/ratelimit_unit.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.c +0 -44
- data/src/core/ext/upbdefs-generated/envoy/type/v3/semantic_version.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.c +0 -57
- data/src/core/ext/upbdefs-generated/envoy/type/v3/token_bucket.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/google/api/annotations.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.c +0 -154
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/checked.upbdefs.h +0 -95
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.c +0 -153
- data/src/core/ext/upbdefs-generated/google/api/expr/v1alpha1/syntax.upbdefs.h +0 -100
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/google/api/http.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/google/api/httpbody.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/google/protobuf/any.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +0 -331
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +0 -165
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/duration.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.c +0 -32
- data/src/core/ext/upbdefs-generated/google/protobuf/empty.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.c +0 -54
- data/src/core/ext/upbdefs-generated/google/protobuf/struct.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/timestamp.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/google/protobuf/wrappers.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +0 -37
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -67
- data/src/core/ext/upbdefs-generated/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +0 -99
- data/src/core/ext/upbdefs-generated/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +0 -75
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.c +0 -62
- data/src/core/ext/upbdefs-generated/udpa/annotations/migrate.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/udpa/annotations/security.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.c +0 -34
- data/src/core/ext/upbdefs-generated/udpa/annotations/sensitive.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/udpa/annotations/status.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/udpa/annotations/versioning.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +0 -283
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.h +0 -145
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.c +0 -63
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/migrate.upbdefs.h +0 -45
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.c +0 -47
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/security.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.c +0 -35
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/sensitive.upbdefs.h +0 -30
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.c +0 -64
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/status.upbdefs.h +0 -50
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/annotations/v3/versioning.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.c +0 -38
- data/src/core/ext/upbdefs-generated/xds/core/v3/authority.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.c +0 -56
- data/src/core/ext/upbdefs-generated/xds/core/v3/collection_entry.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.c +0 -39
- data/src/core/ext/upbdefs-generated/xds/core/v3/context_params.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.c +0 -41
- data/src/core/ext/upbdefs-generated/xds/core/v3/extension.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.c +0 -45
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.c +0 -61
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_locator.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.c +0 -46
- data/src/core/ext/upbdefs-generated/xds/core/v3/resource_name.upbdefs.h +0 -35
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.c +0 -126
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/matcher.upbdefs.h +0 -80
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/regex.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.c +0 -52
- data/src/core/ext/upbdefs-generated/xds/type/matcher/v3/string.upbdefs.h +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.c +0 -40
- data/src/core/ext/upbdefs-generated/xds/type/v3/typed_struct.upbdefs.h +0 -35
- data/src/core/ext/xds/certificate_provider_store.cc +0 -159
- data/src/core/ext/xds/certificate_provider_store.h +0 -138
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -150
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +0 -77
- data/src/core/ext/xds/upb_utils.h +0 -45
- data/src/core/ext/xds/xds_api.cc +0 -646
- data/src/core/ext/xds/xds_api.h +0 -192
- data/src/core/ext/xds/xds_bootstrap.cc +0 -38
- data/src/core/ext/xds/xds_bootstrap.h +0 -88
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -361
- data/src/core/ext/xds/xds_bootstrap_grpc.h +0 -184
- data/src/core/ext/xds/xds_certificate_provider.cc +0 -416
- data/src/core/ext/xds/xds_certificate_provider.h +0 -183
- data/src/core/ext/xds/xds_channel_args.h +0 -32
- data/src/core/ext/xds/xds_channel_stack_modifier.cc +0 -119
- data/src/core/ext/xds/xds_channel_stack_modifier.h +0 -65
- data/src/core/ext/xds/xds_client.cc +0 -2032
- data/src/core/ext/xds/xds_client.h +0 -341
- data/src/core/ext/xds/xds_client_grpc.cc +0 -210
- data/src/core/ext/xds/xds_client_grpc.h +0 -79
- data/src/core/ext/xds/xds_client_stats.cc +0 -159
- data/src/core/ext/xds/xds_client_stats.h +0 -242
- data/src/core/ext/xds/xds_cluster.cc +0 -659
- data/src/core/ext/xds/xds_cluster.h +0 -116
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +0 -152
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +0 -92
- data/src/core/ext/xds/xds_common_types.cc +0 -501
- data/src/core/ext/xds/xds_common_types.h +0 -108
- data/src/core/ext/xds/xds_endpoint.cc +0 -468
- data/src/core/ext/xds/xds_endpoint.h +0 -139
- data/src/core/ext/xds/xds_http_fault_filter.cc +0 -235
- data/src/core/ext/xds/xds_http_fault_filter.h +0 -58
- data/src/core/ext/xds/xds_http_filters.cc +0 -116
- data/src/core/ext/xds/xds_http_filters.h +0 -181
- data/src/core/ext/xds/xds_http_rbac_filter.cc +0 -505
- data/src/core/ext/xds/xds_http_rbac_filter.h +0 -58
- data/src/core/ext/xds/xds_lb_policy_registry.cc +0 -243
- data/src/core/ext/xds/xds_lb_policy_registry.h +0 -71
- data/src/core/ext/xds/xds_listener.cc +0 -1144
- data/src/core/ext/xds/xds_listener.h +0 -224
- data/src/core/ext/xds/xds_resource_type.h +0 -104
- data/src/core/ext/xds/xds_resource_type_impl.h +0 -86
- data/src/core/ext/xds/xds_route_config.cc +0 -1166
- data/src/core/ext/xds/xds_route_config.h +0 -241
- data/src/core/ext/xds/xds_routing.cc +0 -264
- data/src/core/ext/xds/xds_routing.h +0 -106
- data/src/core/ext/xds/xds_server_config_fetcher.cc +0 -1375
- data/src/core/ext/xds/xds_transport.h +0 -86
- data/src/core/ext/xds/xds_transport_grpc.cc +0 -356
- data/src/core/ext/xds/xds_transport_grpc.h +0 -135
- data/src/core/lib/address_utils/parse_address.cc +0 -340
- data/src/core/lib/address_utils/parse_address.h +0 -86
- data/src/core/lib/address_utils/sockaddr_utils.cc +0 -443
- data/src/core/lib/address_utils/sockaddr_utils.h +0 -100
- data/src/core/lib/avl/avl.h +0 -482
- data/src/core/lib/backoff/backoff.cc +0 -47
- data/src/core/lib/backoff/backoff.h +0 -89
- data/src/core/lib/channel/call_finalization.h +0 -88
- data/src/core/lib/channel/call_tracer.h +0 -94
- data/src/core/lib/channel/channel_args.cc +0 -626
- data/src/core/lib/channel/channel_args.h +0 -544
- data/src/core/lib/channel/channel_args_preconditioning.cc +0 -43
- data/src/core/lib/channel/channel_args_preconditioning.h +0 -62
- data/src/core/lib/channel/channel_fwd.h +0 -26
- data/src/core/lib/channel/channel_stack.cc +0 -314
- data/src/core/lib/channel/channel_stack.h +0 -394
- data/src/core/lib/channel/channel_stack_builder.cc +0 -51
- data/src/core/lib/channel/channel_stack_builder.h +0 -120
- data/src/core/lib/channel/channel_stack_builder_impl.cc +0 -113
- data/src/core/lib/channel/channel_stack_builder_impl.h +0 -48
- data/src/core/lib/channel/channel_trace.cc +0 -183
- data/src/core/lib/channel/channel_trace.h +0 -138
- data/src/core/lib/channel/channelz.cc +0 -583
- data/src/core/lib/channel/channelz.h +0 -374
- data/src/core/lib/channel/channelz_registry.cc +0 -277
- data/src/core/lib/channel/channelz_registry.h +0 -100
- data/src/core/lib/channel/connected_channel.cc +0 -901
- data/src/core/lib/channel/connected_channel.h +0 -32
- data/src/core/lib/channel/context.h +0 -63
- data/src/core/lib/channel/promise_based_filter.cc +0 -2126
- data/src/core/lib/channel/promise_based_filter.h +0 -848
- data/src/core/lib/channel/status_util.cc +0 -138
- data/src/core/lib/channel/status_util.h +0 -74
- data/src/core/lib/compression/compression.cc +0 -96
- data/src/core/lib/compression/compression_internal.cc +0 -249
- data/src/core/lib/compression/compression_internal.h +0 -93
- data/src/core/lib/compression/message_compress.cc +0 -194
- data/src/core/lib/compression/message_compress.h +0 -39
- data/src/core/lib/config/core_configuration.cc +0 -111
- data/src/core/lib/config/core_configuration.h +0 -243
- data/src/core/lib/debug/event_log.cc +0 -88
- data/src/core/lib/debug/event_log.h +0 -81
- data/src/core/lib/debug/histogram_view.cc +0 -69
- data/src/core/lib/debug/histogram_view.h +0 -37
- data/src/core/lib/debug/stats.cc +0 -68
- data/src/core/lib/debug/stats.h +0 -64
- data/src/core/lib/debug/stats_data.cc +0 -341
- data/src/core/lib/debug/stats_data.h +0 -292
- data/src/core/lib/debug/trace.cc +0 -153
- data/src/core/lib/debug/trace.h +0 -133
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +0 -40
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +0 -49
- data/src/core/lib/event_engine/common_closures.h +0 -71
- data/src/core/lib/event_engine/default_event_engine.cc +0 -94
- data/src/core/lib/event_engine/default_event_engine.h +0 -49
- data/src/core/lib/event_engine/default_event_engine_factory.cc +0 -48
- data/src/core/lib/event_engine/default_event_engine_factory.h +0 -33
- data/src/core/lib/event_engine/executor/executor.h +0 -38
- data/src/core/lib/event_engine/forkable.cc +0 -101
- data/src/core/lib/event_engine/forkable.h +0 -61
- data/src/core/lib/event_engine/handle_containers.h +0 -67
- data/src/core/lib/event_engine/memory_allocator.cc +0 -74
- data/src/core/lib/event_engine/poller.h +0 -62
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +0 -618
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +0 -129
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +0 -901
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +0 -97
- data/src/core/lib/event_engine/posix_engine/event_poller.h +0 -111
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +0 -74
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +0 -33
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +0 -77
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +0 -179
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +0 -267
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +0 -73
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +0 -1270
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +0 -682
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +0 -577
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +0 -245
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +0 -80
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -1081
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +0 -361
- data/src/core/lib/event_engine/posix_engine/timer.cc +0 -311
- data/src/core/lib/event_engine/posix_engine/timer.h +0 -194
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +0 -107
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +0 -56
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +0 -174
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +0 -114
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +0 -301
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +0 -179
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +0 -126
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +0 -45
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +0 -151
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +0 -45
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +0 -76
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +0 -67
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +0 -37
- data/src/core/lib/event_engine/resolved_address.cc +0 -41
- data/src/core/lib/event_engine/slice.cc +0 -103
- data/src/core/lib/event_engine/slice_buffer.cc +0 -50
- data/src/core/lib/event_engine/socket_notifier.h +0 -55
- data/src/core/lib/event_engine/thread_pool.cc +0 -276
- data/src/core/lib/event_engine/thread_pool.h +0 -137
- data/src/core/lib/event_engine/time_util.cc +0 -30
- data/src/core/lib/event_engine/time_util.h +0 -32
- data/src/core/lib/event_engine/trace.cc +0 -18
- data/src/core/lib/event_engine/trace.h +0 -30
- data/src/core/lib/event_engine/utils.cc +0 -44
- data/src/core/lib/event_engine/utils.h +0 -36
- data/src/core/lib/event_engine/windows/iocp.cc +0 -155
- data/src/core/lib/event_engine/windows/iocp.h +0 -69
- data/src/core/lib/event_engine/windows/win_socket.cc +0 -196
- data/src/core/lib/event_engine/windows/win_socket.h +0 -120
- data/src/core/lib/event_engine/windows/windows_engine.cc +0 -165
- data/src/core/lib/event_engine/windows/windows_engine.h +0 -124
- data/src/core/lib/experiments/config.cc +0 -146
- data/src/core/lib/experiments/config.h +0 -43
- data/src/core/lib/experiments/experiments.cc +0 -86
- data/src/core/lib/experiments/experiments.h +0 -63
- data/src/core/lib/gpr/alloc.cc +0 -68
- data/src/core/lib/gpr/alloc.h +0 -28
- data/src/core/lib/gpr/atm.cc +0 -35
- data/src/core/lib/gpr/cpu_iphone.cc +0 -44
- data/src/core/lib/gpr/cpu_linux.cc +0 -86
- data/src/core/lib/gpr/cpu_posix.cc +0 -83
- data/src/core/lib/gpr/cpu_windows.cc +0 -33
- data/src/core/lib/gpr/log.cc +0 -145
- data/src/core/lib/gpr/log_android.cc +0 -77
- data/src/core/lib/gpr/log_linux.cc +0 -113
- data/src/core/lib/gpr/log_posix.cc +0 -110
- data/src/core/lib/gpr/log_windows.cc +0 -115
- data/src/core/lib/gpr/spinlock.h +0 -53
- data/src/core/lib/gpr/string.cc +0 -343
- data/src/core/lib/gpr/string.h +0 -112
- data/src/core/lib/gpr/string_posix.cc +0 -72
- data/src/core/lib/gpr/string_util_windows.cc +0 -55
- data/src/core/lib/gpr/string_windows.cc +0 -69
- data/src/core/lib/gpr/sync.cc +0 -124
- data/src/core/lib/gpr/sync_abseil.cc +0 -100
- data/src/core/lib/gpr/sync_posix.cc +0 -157
- data/src/core/lib/gpr/sync_windows.cc +0 -120
- data/src/core/lib/gpr/time.cc +0 -267
- data/src/core/lib/gpr/time_posix.cc +0 -177
- data/src/core/lib/gpr/time_precise.cc +0 -168
- data/src/core/lib/gpr/time_precise.h +0 -70
- data/src/core/lib/gpr/time_windows.cc +0 -102
- data/src/core/lib/gpr/tmpfile.h +0 -32
- data/src/core/lib/gpr/tmpfile_msys.cc +0 -58
- data/src/core/lib/gpr/tmpfile_posix.cc +0 -70
- data/src/core/lib/gpr/tmpfile_windows.cc +0 -67
- data/src/core/lib/gpr/useful.h +0 -171
- data/src/core/lib/gpr/wrap_memcpy.cc +0 -43
- data/src/core/lib/gprpp/atomic_utils.h +0 -47
- data/src/core/lib/gprpp/bitset.h +0 -201
- data/src/core/lib/gprpp/chunked_vector.h +0 -257
- data/src/core/lib/gprpp/construct_destruct.h +0 -40
- data/src/core/lib/gprpp/cpp_impl_of.h +0 -49
- data/src/core/lib/gprpp/debug_location.h +0 -87
- data/src/core/lib/gprpp/dual_ref_counted.h +0 -327
- data/src/core/lib/gprpp/env.h +0 -53
- data/src/core/lib/gprpp/env_linux.cc +0 -80
- data/src/core/lib/gprpp/env_posix.cc +0 -47
- data/src/core/lib/gprpp/env_windows.cc +0 -56
- data/src/core/lib/gprpp/examine_stack.cc +0 -43
- data/src/core/lib/gprpp/examine_stack.h +0 -45
- data/src/core/lib/gprpp/fork.cc +0 -233
- data/src/core/lib/gprpp/fork.h +0 -95
- data/src/core/lib/gprpp/global_config.h +0 -93
- data/src/core/lib/gprpp/global_config_custom.h +0 -29
- data/src/core/lib/gprpp/global_config_env.cc +0 -139
- data/src/core/lib/gprpp/global_config_env.h +0 -133
- data/src/core/lib/gprpp/global_config_generic.h +0 -40
- data/src/core/lib/gprpp/host_port.cc +0 -114
- data/src/core/lib/gprpp/host_port.h +0 -56
- data/src/core/lib/gprpp/load_file.cc +0 -75
- data/src/core/lib/gprpp/load_file.h +0 -33
- data/src/core/lib/gprpp/manual_constructor.h +0 -146
- data/src/core/lib/gprpp/match.h +0 -75
- data/src/core/lib/gprpp/memory.h +0 -53
- data/src/core/lib/gprpp/mpscq.cc +0 -108
- data/src/core/lib/gprpp/mpscq.h +0 -99
- data/src/core/lib/gprpp/no_destruct.h +0 -94
- data/src/core/lib/gprpp/notification.h +0 -67
- data/src/core/lib/gprpp/orphanable.h +0 -122
- data/src/core/lib/gprpp/overload.h +0 -59
- data/src/core/lib/gprpp/packed_table.h +0 -40
- data/src/core/lib/gprpp/per_cpu.h +0 -46
- data/src/core/lib/gprpp/ref_counted.h +0 -349
- data/src/core/lib/gprpp/ref_counted_ptr.h +0 -337
- data/src/core/lib/gprpp/single_set_ptr.h +0 -87
- data/src/core/lib/gprpp/sorted_pack.h +0 -98
- data/src/core/lib/gprpp/stat.h +0 -36
- data/src/core/lib/gprpp/stat_posix.cc +0 -55
- data/src/core/lib/gprpp/stat_windows.cc +0 -49
- data/src/core/lib/gprpp/status_helper.cc +0 -454
- data/src/core/lib/gprpp/status_helper.h +0 -189
- data/src/core/lib/gprpp/strerror.cc +0 -41
- data/src/core/lib/gprpp/strerror.h +0 -29
- data/src/core/lib/gprpp/sync.h +0 -200
- data/src/core/lib/gprpp/table.h +0 -451
- data/src/core/lib/gprpp/tchar.cc +0 -49
- data/src/core/lib/gprpp/tchar.h +0 -33
- data/src/core/lib/gprpp/thd.h +0 -171
- data/src/core/lib/gprpp/thd_posix.cc +0 -211
- data/src/core/lib/gprpp/thd_windows.cc +0 -172
- data/src/core/lib/gprpp/time.cc +0 -234
- data/src/core/lib/gprpp/time.h +0 -367
- data/src/core/lib/gprpp/time_averaged_stats.cc +0 -60
- data/src/core/lib/gprpp/time_averaged_stats.h +0 -79
- data/src/core/lib/gprpp/time_util.cc +0 -81
- data/src/core/lib/gprpp/time_util.h +0 -42
- data/src/core/lib/gprpp/unique_type_name.h +0 -104
- data/src/core/lib/gprpp/validation_errors.cc +0 -61
- data/src/core/lib/gprpp/validation_errors.h +0 -127
- data/src/core/lib/gprpp/work_serializer.cc +0 -247
- data/src/core/lib/gprpp/work_serializer.h +0 -86
- data/src/core/lib/handshaker/proxy_mapper.h +0 -53
- data/src/core/lib/handshaker/proxy_mapper_registry.cc +0 -71
- data/src/core/lib/handshaker/proxy_mapper_registry.h +0 -75
- data/src/core/lib/http/format_request.cc +0 -137
- data/src/core/lib/http/format_request.h +0 -38
- data/src/core/lib/http/httpcli.cc +0 -393
- data/src/core/lib/http/httpcli.h +0 -272
- data/src/core/lib/http/httpcli_security_connector.cc +0 -213
- data/src/core/lib/http/httpcli_ssl_credentials.h +0 -39
- data/src/core/lib/http/parser.cc +0 -451
- data/src/core/lib/http/parser.h +0 -130
- data/src/core/lib/iomgr/block_annotate.h +0 -57
- data/src/core/lib/iomgr/buffer_list.cc +0 -296
- data/src/core/lib/iomgr/buffer_list.h +0 -179
- data/src/core/lib/iomgr/call_combiner.cc +0 -258
- data/src/core/lib/iomgr/call_combiner.h +0 -214
- data/src/core/lib/iomgr/cfstream_handle.cc +0 -207
- data/src/core/lib/iomgr/cfstream_handle.h +0 -90
- data/src/core/lib/iomgr/closure.h +0 -310
- data/src/core/lib/iomgr/combiner.cc +0 -330
- data/src/core/lib/iomgr/combiner.h +0 -89
- data/src/core/lib/iomgr/dualstack_socket_posix.cc +0 -48
- data/src/core/lib/iomgr/dynamic_annotations.h +0 -67
- data/src/core/lib/iomgr/endpoint.cc +0 -67
- data/src/core/lib/iomgr/endpoint.h +0 -109
- data/src/core/lib/iomgr/endpoint_cfstream.cc +0 -376
- data/src/core/lib/iomgr/endpoint_cfstream.h +0 -49
- data/src/core/lib/iomgr/endpoint_pair.h +0 -34
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +0 -81
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +0 -86
- data/src/core/lib/iomgr/error.cc +0 -202
- data/src/core/lib/iomgr/error.h +0 -169
- data/src/core/lib/iomgr/error_cfstream.cc +0 -54
- data/src/core/lib/iomgr/error_cfstream.h +0 -31
- data/src/core/lib/iomgr/ev_apple.cc +0 -360
- data/src/core/lib/iomgr/ev_apple.h +0 -43
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +0 -1368
- data/src/core/lib/iomgr/ev_epoll1_linux.h +0 -31
- data/src/core/lib/iomgr/ev_poll_posix.cc +0 -1444
- data/src/core/lib/iomgr/ev_poll_posix.h +0 -29
- data/src/core/lib/iomgr/ev_posix.cc +0 -375
- data/src/core/lib/iomgr/ev_posix.h +0 -209
- data/src/core/lib/iomgr/ev_windows.cc +0 -30
- data/src/core/lib/iomgr/exec_ctx.cc +0 -132
- data/src/core/lib/iomgr/exec_ctx.h +0 -333
- data/src/core/lib/iomgr/executor.cc +0 -450
- data/src/core/lib/iomgr/executor.h +0 -119
- data/src/core/lib/iomgr/fork_posix.cc +0 -120
- data/src/core/lib/iomgr/fork_windows.cc +0 -41
- data/src/core/lib/iomgr/gethostname.h +0 -26
- data/src/core/lib/iomgr/gethostname_fallback.cc +0 -30
- data/src/core/lib/iomgr/gethostname_host_name_max.cc +0 -40
- data/src/core/lib/iomgr/gethostname_sysconf.cc +0 -40
- data/src/core/lib/iomgr/grpc_if_nametoindex.h +0 -30
- data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +0 -42
- data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +0 -38
- data/src/core/lib/iomgr/internal_errqueue.cc +0 -61
- data/src/core/lib/iomgr/internal_errqueue.h +0 -186
- data/src/core/lib/iomgr/iocp_windows.cc +0 -158
- data/src/core/lib/iomgr/iocp_windows.h +0 -48
- data/src/core/lib/iomgr/iomgr.cc +0 -200
- data/src/core/lib/iomgr/iomgr.h +0 -60
- data/src/core/lib/iomgr/iomgr_fwd.h +0 -26
- data/src/core/lib/iomgr/iomgr_internal.cc +0 -53
- data/src/core/lib/iomgr/iomgr_internal.h +0 -74
- data/src/core/lib/iomgr/iomgr_posix.cc +0 -91
- data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +0 -202
- data/src/core/lib/iomgr/iomgr_windows.cc +0 -106
- data/src/core/lib/iomgr/load_file.cc +0 -77
- data/src/core/lib/iomgr/load_file.h +0 -35
- data/src/core/lib/iomgr/lockfree_event.cc +0 -261
- data/src/core/lib/iomgr/lockfree_event.h +0 -72
- data/src/core/lib/iomgr/nameser.h +0 -106
- data/src/core/lib/iomgr/polling_entity.cc +0 -96
- data/src/core/lib/iomgr/polling_entity.h +0 -74
- data/src/core/lib/iomgr/pollset.cc +0 -56
- data/src/core/lib/iomgr/pollset.h +0 -99
- data/src/core/lib/iomgr/pollset_set.cc +0 -55
- data/src/core/lib/iomgr/pollset_set.h +0 -53
- data/src/core/lib/iomgr/pollset_set_windows.cc +0 -52
- data/src/core/lib/iomgr/pollset_set_windows.h +0 -26
- data/src/core/lib/iomgr/pollset_windows.cc +0 -243
- data/src/core/lib/iomgr/pollset_windows.h +0 -70
- data/src/core/lib/iomgr/port.h +0 -238
- data/src/core/lib/iomgr/python_util.h +0 -47
- data/src/core/lib/iomgr/resolve_address.cc +0 -49
- data/src/core/lib/iomgr/resolve_address.h +0 -116
- data/src/core/lib/iomgr/resolve_address_impl.h +0 -59
- data/src/core/lib/iomgr/resolve_address_posix.cc +0 -204
- data/src/core/lib/iomgr/resolve_address_posix.h +0 -63
- data/src/core/lib/iomgr/resolve_address_windows.cc +0 -196
- data/src/core/lib/iomgr/resolve_address_windows.h +0 -63
- data/src/core/lib/iomgr/resolved_address.h +0 -39
- data/src/core/lib/iomgr/sockaddr.h +0 -32
- data/src/core/lib/iomgr/sockaddr_posix.h +0 -57
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +0 -63
- data/src/core/lib/iomgr/sockaddr_windows.h +0 -57
- data/src/core/lib/iomgr/socket_factory_posix.cc +0 -95
- data/src/core/lib/iomgr/socket_factory_posix.h +0 -69
- data/src/core/lib/iomgr/socket_mutator.cc +0 -97
- data/src/core/lib/iomgr/socket_mutator.h +0 -84
- data/src/core/lib/iomgr/socket_utils.h +0 -47
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +0 -478
- data/src/core/lib/iomgr/socket_utils_linux.cc +0 -42
- data/src/core/lib/iomgr/socket_utils_posix.cc +0 -141
- data/src/core/lib/iomgr/socket_utils_posix.h +0 -255
- data/src/core/lib/iomgr/socket_utils_windows.cc +0 -47
- data/src/core/lib/iomgr/socket_windows.cc +0 -202
- data/src/core/lib/iomgr/socket_windows.h +0 -125
- data/src/core/lib/iomgr/tcp_client.cc +0 -40
- data/src/core/lib/iomgr/tcp_client.h +0 -66
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +0 -207
- data/src/core/lib/iomgr/tcp_client_posix.cc +0 -469
- data/src/core/lib/iomgr/tcp_client_posix.h +0 -72
- data/src/core/lib/iomgr/tcp_client_windows.cc +0 -239
- data/src/core/lib/iomgr/tcp_posix.cc +0 -2059
- data/src/core/lib/iomgr/tcp_posix.h +0 -67
- data/src/core/lib/iomgr/tcp_server.cc +0 -78
- data/src/core/lib/iomgr/tcp_server.h +0 -150
- data/src/core/lib/iomgr/tcp_server_posix.cc +0 -653
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -129
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +0 -224
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +0 -178
- data/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc +0 -36
- data/src/core/lib/iomgr/tcp_server_windows.cc +0 -565
- data/src/core/lib/iomgr/tcp_windows.cc +0 -527
- data/src/core/lib/iomgr/tcp_windows.h +0 -52
- data/src/core/lib/iomgr/timer.cc +0 -46
- data/src/core/lib/iomgr/timer.h +0 -136
- data/src/core/lib/iomgr/timer_generic.cc +0 -729
- data/src/core/lib/iomgr/timer_generic.h +0 -40
- data/src/core/lib/iomgr/timer_heap.cc +0 -134
- data/src/core/lib/iomgr/timer_heap.h +0 -43
- data/src/core/lib/iomgr/timer_manager.cc +0 -363
- data/src/core/lib/iomgr/timer_manager.h +0 -41
- data/src/core/lib/iomgr/unix_sockets_posix.cc +0 -94
- data/src/core/lib/iomgr/unix_sockets_posix.h +0 -46
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +0 -53
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +0 -81
- data/src/core/lib/iomgr/wakeup_fd_nospecial.cc +0 -39
- data/src/core/lib/iomgr/wakeup_fd_pipe.cc +0 -101
- data/src/core/lib/iomgr/wakeup_fd_pipe.h +0 -28
- data/src/core/lib/iomgr/wakeup_fd_posix.cc +0 -73
- data/src/core/lib/iomgr/wakeup_fd_posix.h +0 -96
- data/src/core/lib/json/json.h +0 -246
- data/src/core/lib/json/json_args.h +0 -34
- data/src/core/lib/json/json_channel_args.h +0 -42
- data/src/core/lib/json/json_object_loader.cc +0 -207
- data/src/core/lib/json/json_object_loader.h +0 -620
- data/src/core/lib/json/json_reader.cc +0 -929
- data/src/core/lib/json/json_util.cc +0 -106
- data/src/core/lib/json/json_util.h +0 -163
- data/src/core/lib/json/json_writer.cc +0 -340
- data/src/core/lib/load_balancing/lb_policy.cc +0 -93
- data/src/core/lib/load_balancing/lb_policy.h +0 -439
- data/src/core/lib/load_balancing/lb_policy_factory.h +0 -49
- data/src/core/lib/load_balancing/lb_policy_registry.cc +0 -141
- data/src/core/lib/load_balancing/lb_policy_registry.h +0 -82
- data/src/core/lib/load_balancing/subchannel_interface.h +0 -133
- data/src/core/lib/matchers/matchers.cc +0 -329
- data/src/core/lib/matchers/matchers.h +0 -162
- data/src/core/lib/promise/activity.cc +0 -134
- data/src/core/lib/promise/activity.h +0 -604
- data/src/core/lib/promise/arena_promise.h +0 -230
- data/src/core/lib/promise/context.h +0 -92
- data/src/core/lib/promise/detail/basic_seq.h +0 -497
- data/src/core/lib/promise/detail/promise_factory.h +0 -235
- data/src/core/lib/promise/detail/promise_like.h +0 -85
- data/src/core/lib/promise/detail/status.h +0 -78
- data/src/core/lib/promise/detail/switch.h +0 -1455
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +0 -50
- data/src/core/lib/promise/for_each.h +0 -129
- data/src/core/lib/promise/intra_activity_waiter.h +0 -49
- data/src/core/lib/promise/latch.h +0 -103
- data/src/core/lib/promise/loop.h +0 -138
- data/src/core/lib/promise/map.h +0 -87
- data/src/core/lib/promise/map_pipe.h +0 -87
- data/src/core/lib/promise/pipe.cc +0 -19
- data/src/core/lib/promise/pipe.h +0 -505
- data/src/core/lib/promise/poll.h +0 -79
- data/src/core/lib/promise/promise.h +0 -96
- data/src/core/lib/promise/race.h +0 -83
- data/src/core/lib/promise/seq.h +0 -106
- data/src/core/lib/promise/sleep.cc +0 -90
- data/src/core/lib/promise/sleep.h +0 -84
- data/src/core/lib/promise/try_concurrently.h +0 -341
- data/src/core/lib/promise/try_seq.h +0 -174
- data/src/core/lib/resolver/resolver.cc +0 -37
- data/src/core/lib/resolver/resolver.h +0 -138
- data/src/core/lib/resolver/resolver_factory.h +0 -77
- data/src/core/lib/resolver/resolver_registry.cc +0 -149
- data/src/core/lib/resolver/resolver_registry.h +0 -123
- data/src/core/lib/resolver/server_address.cc +0 -181
- data/src/core/lib/resolver/server_address.h +0 -145
- data/src/core/lib/resource_quota/api.cc +0 -104
- data/src/core/lib/resource_quota/api.h +0 -49
- data/src/core/lib/resource_quota/arena.cc +0 -138
- data/src/core/lib/resource_quota/arena.h +0 -252
- data/src/core/lib/resource_quota/memory_quota.cc +0 -603
- data/src/core/lib/resource_quota/memory_quota.h +0 -530
- data/src/core/lib/resource_quota/periodic_update.cc +0 -78
- data/src/core/lib/resource_quota/periodic_update.h +0 -71
- data/src/core/lib/resource_quota/resource_quota.cc +0 -33
- data/src/core/lib/resource_quota/resource_quota.h +0 -74
- data/src/core/lib/resource_quota/thread_quota.cc +0 -45
- data/src/core/lib/resource_quota/thread_quota.h +0 -61
- data/src/core/lib/resource_quota/trace.cc +0 -19
- data/src/core/lib/resource_quota/trace.h +0 -24
- data/src/core/lib/security/authorization/authorization_engine.h +0 -44
- data/src/core/lib/security/authorization/authorization_policy_provider.h +0 -47
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +0 -50
- data/src/core/lib/security/authorization/evaluate_args.cc +0 -221
- data/src/core/lib/security/authorization/evaluate_args.h +0 -95
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +0 -64
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +0 -69
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +0 -122
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +0 -61
- data/src/core/lib/security/authorization/matchers.cc +0 -241
- data/src/core/lib/security/authorization/matchers.h +0 -218
- data/src/core/lib/security/authorization/rbac_policy.cc +0 -445
- data/src/core/lib/security/authorization/rbac_policy.h +0 -178
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +0 -66
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +0 -60
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +0 -70
- data/src/core/lib/security/context/security_context.cc +0 -330
- data/src/core/lib/security/context/security_context.h +0 -181
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -119
- data/src/core/lib/security/credentials/alts/alts_credentials.h +0 -123
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +0 -72
- data/src/core/lib/security/credentials/alts/check_gcp_environment.h +0 -57
- data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +0 -68
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +0 -33
- data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +0 -102
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +0 -125
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +0 -46
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +0 -75
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +0 -56
- data/src/core/lib/security/credentials/call_creds_util.cc +0 -97
- data/src/core/lib/security/credentials/call_creds_util.h +0 -43
- data/src/core/lib/security/credentials/channel_creds_registry.h +0 -103
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +0 -80
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +0 -171
- data/src/core/lib/security/credentials/composite/composite_credentials.h +0 -132
- data/src/core/lib/security/credentials/credentials.cc +0 -159
- data/src/core/lib/security/credentials/credentials.h +0 -298
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -546
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +0 -100
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -224
- data/src/core/lib/security/credentials/external/aws_request_signer.h +0 -72
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -561
- data/src/core/lib/security/credentials/external/external_account_credentials.h +0 -129
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +0 -138
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +0 -55
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +0 -242
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +0 -71
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +0 -113
- data/src/core/lib/security/credentials/fake/fake_credentials.h +0 -96
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +0 -40
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -503
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +0 -100
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -83
- data/src/core/lib/security/credentials/iam/iam_credentials.h +0 -65
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -73
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +0 -61
- data/src/core/lib/security/credentials/jwt/json_token.cc +0 -297
- data/src/core/lib/security/credentials/jwt/json_token.h +0 -76
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +0 -183
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -107
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +0 -957
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +0 -124
- data/src/core/lib/security/credentials/local/local_credentials.cc +0 -71
- data/src/core/lib/security/credentials/local/local_credentials.h +0 -77
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +0 -745
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -220
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -215
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +0 -125
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -381
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +0 -131
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -340
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +0 -216
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -472
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -206
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +0 -241
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +0 -168
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +0 -122
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +0 -117
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +0 -150
- data/src/core/lib/security/credentials/tls/tls_credentials.h +0 -71
- data/src/core/lib/security/credentials/tls/tls_utils.cc +0 -127
- data/src/core/lib/security/credentials/tls/tls_utils.h +0 -51
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -236
- data/src/core/lib/security/credentials/xds/xds_credentials.h +0 -114
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +0 -312
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +0 -79
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -315
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +0 -43
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +0 -120
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +0 -104
- data/src/core/lib/security/security_connector/load_system_roots.h +0 -33
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +0 -35
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +0 -175
- data/src/core/lib/security/security_connector/load_system_roots_supported.h +0 -46
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +0 -306
- data/src/core/lib/security/security_connector/local/local_security_connector.h +0 -63
- data/src/core/lib/security/security_connector/security_connector.cc +0 -127
- data/src/core/lib/security/security_connector/security_connector.h +0 -201
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -458
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +0 -83
- data/src/core/lib/security/security_connector/ssl_utils.cc +0 -625
- data/src/core/lib/security/security_connector/ssl_utils.h +0 -187
- data/src/core/lib/security/security_connector/ssl_utils_config.cc +0 -32
- data/src/core/lib/security/security_connector/ssl_utils_config.h +0 -30
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +0 -828
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +0 -286
- data/src/core/lib/security/transport/auth_filters.h +0 -76
- data/src/core/lib/security/transport/client_auth_filter.cc +0 -227
- data/src/core/lib/security/transport/secure_endpoint.cc +0 -566
- data/src/core/lib/security/transport/secure_endpoint.h +0 -43
- data/src/core/lib/security/transport/security_handshaker.cc +0 -673
- data/src/core/lib/security/transport/security_handshaker.h +0 -51
- data/src/core/lib/security/transport/server_auth_filter.cc +0 -360
- data/src/core/lib/security/transport/tsi_error.cc +0 -31
- data/src/core/lib/security/transport/tsi_error.h +0 -30
- data/src/core/lib/security/util/json_util.cc +0 -70
- data/src/core/lib/security/util/json_util.h +0 -43
- data/src/core/lib/service_config/service_config.h +0 -89
- data/src/core/lib/service_config/service_config_call_data.h +0 -76
- data/src/core/lib/service_config/service_config_impl.cc +0 -191
- data/src/core/lib/service_config/service_config_impl.h +0 -125
- data/src/core/lib/service_config/service_config_parser.cc +0 -81
- data/src/core/lib/service_config/service_config_parser.h +0 -105
- data/src/core/lib/slice/b64.cc +0 -239
- data/src/core/lib/slice/b64.h +0 -52
- data/src/core/lib/slice/percent_encoding.cc +0 -150
- data/src/core/lib/slice/percent_encoding.h +0 -54
- data/src/core/lib/slice/slice.cc +0 -502
- data/src/core/lib/slice/slice.h +0 -402
- data/src/core/lib/slice/slice_buffer.cc +0 -472
- data/src/core/lib/slice/slice_buffer.h +0 -137
- data/src/core/lib/slice/slice_internal.h +0 -97
- data/src/core/lib/slice/slice_refcount.h +0 -60
- data/src/core/lib/slice/slice_string_helpers.cc +0 -28
- data/src/core/lib/slice/slice_string_helpers.h +0 -31
- data/src/core/lib/surface/api_trace.cc +0 -25
- data/src/core/lib/surface/api_trace.h +0 -53
- data/src/core/lib/surface/builtins.cc +0 -54
- data/src/core/lib/surface/builtins.h +0 -26
- data/src/core/lib/surface/byte_buffer.cc +0 -97
- data/src/core/lib/surface/byte_buffer_reader.cc +0 -101
- data/src/core/lib/surface/call.cc +0 -3043
- data/src/core/lib/surface/call.h +0 -179
- data/src/core/lib/surface/call_details.cc +0 -41
- data/src/core/lib/surface/call_log_batch.cc +0 -117
- data/src/core/lib/surface/call_test_only.h +0 -46
- data/src/core/lib/surface/call_trace.cc +0 -113
- data/src/core/lib/surface/call_trace.h +0 -30
- data/src/core/lib/surface/channel.cc +0 -437
- data/src/core/lib/surface/channel.h +0 -214
- data/src/core/lib/surface/channel_init.cc +0 -55
- data/src/core/lib/surface/channel_init.h +0 -84
- data/src/core/lib/surface/channel_ping.cc +0 -69
- data/src/core/lib/surface/channel_stack_type.cc +0 -61
- data/src/core/lib/surface/channel_stack_type.h +0 -47
- data/src/core/lib/surface/completion_queue.cc +0 -1411
- data/src/core/lib/surface/completion_queue.h +0 -100
- data/src/core/lib/surface/completion_queue_factory.cc +0 -94
- data/src/core/lib/surface/completion_queue_factory.h +0 -37
- data/src/core/lib/surface/event_string.cc +0 -56
- data/src/core/lib/surface/event_string.h +0 -31
- data/src/core/lib/surface/init.cc +0 -229
- data/src/core/lib/surface/init.h +0 -25
- data/src/core/lib/surface/init_internally.cc +0 -24
- data/src/core/lib/surface/init_internally.h +0 -36
- data/src/core/lib/surface/lame_client.cc +0 -154
- data/src/core/lib/surface/lame_client.h +0 -71
- data/src/core/lib/surface/metadata_array.cc +0 -38
- data/src/core/lib/surface/server.cc +0 -1555
- data/src/core/lib/surface/server.h +0 -525
- data/src/core/lib/surface/validate_metadata.cc +0 -122
- data/src/core/lib/surface/validate_metadata.h +0 -48
- data/src/core/lib/surface/version.cc +0 -28
- data/src/core/lib/transport/bdp_estimator.cc +0 -86
- data/src/core/lib/transport/bdp_estimator.h +0 -94
- data/src/core/lib/transport/connectivity_state.cc +0 -189
- data/src/core/lib/transport/connectivity_state.h +0 -144
- data/src/core/lib/transport/error_utils.cc +0 -171
- data/src/core/lib/transport/error_utils.h +0 -63
- data/src/core/lib/transport/handshaker.cc +0 -225
- data/src/core/lib/transport/handshaker.h +0 -167
- data/src/core/lib/transport/handshaker_factory.h +0 -74
- data/src/core/lib/transport/handshaker_registry.cc +0 -61
- data/src/core/lib/transport/handshaker_registry.h +0 -69
- data/src/core/lib/transport/http2_errors.h +0 -41
- data/src/core/lib/transport/http_connect_handshaker.cc +0 -400
- data/src/core/lib/transport/http_connect_handshaker.h +0 -42
- data/src/core/lib/transport/metadata_batch.cc +0 -291
- data/src/core/lib/transport/metadata_batch.h +0 -1326
- data/src/core/lib/transport/parsed_metadata.cc +0 -35
- data/src/core/lib/transport/parsed_metadata.h +0 -409
- data/src/core/lib/transport/pid_controller.cc +0 -51
- data/src/core/lib/transport/pid_controller.h +0 -116
- data/src/core/lib/transport/status_conversion.cc +0 -92
- data/src/core/lib/transport/status_conversion.h +0 -38
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -246
- data/src/core/lib/transport/tcp_connect_handshaker.h +0 -39
- data/src/core/lib/transport/timeout_encoding.cc +0 -284
- data/src/core/lib/transport/timeout_encoding.h +0 -72
- data/src/core/lib/transport/transport.cc +0 -285
- data/src/core/lib/transport/transport.h +0 -590
- data/src/core/lib/transport/transport_fwd.h +0 -20
- data/src/core/lib/transport/transport_impl.h +0 -95
- data/src/core/lib/transport/transport_op_string.cc +0 -147
- data/src/core/lib/uri/uri_parser.cc +0 -373
- data/src/core/lib/uri/uri_parser.h +0 -101
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -113
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -61
- data/src/core/tsi/alts/crypt/aes_gcm.cc +0 -690
- data/src/core/tsi/alts/crypt/gsec.cc +0 -190
- data/src/core/tsi/alts/crypt/gsec.h +0 -459
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +0 -118
- data/src/core/tsi/alts/frame_protector/alts_counter.h +0 -98
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +0 -66
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +0 -255
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +0 -408
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +0 -55
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +0 -114
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +0 -114
- data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +0 -105
- data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +0 -103
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +0 -219
- data/src/core/tsi/alts/frame_protector/frame_handler.h +0 -236
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +0 -927
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +0 -160
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +0 -91
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +0 -73
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +0 -720
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +0 -104
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +0 -89
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +0 -65
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +0 -53
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +0 -223
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +0 -171
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +0 -226
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +0 -54
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +0 -145
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +0 -49
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +0 -91
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +0 -174
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h +0 -99
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +0 -478
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +0 -199
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +0 -315
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +0 -57
- data/src/core/tsi/fake_transport_security.cc +0 -844
- data/src/core/tsi/fake_transport_security.h +0 -53
- data/src/core/tsi/local_transport_security.cc +0 -174
- data/src/core/tsi/local_transport_security.h +0 -47
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +0 -145
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +0 -81
- data/src/core/tsi/ssl/session_cache/ssl_session.h +0 -71
- data/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc +0 -59
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +0 -179
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +0 -99
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +0 -81
- data/src/core/tsi/ssl_transport_security.cc +0 -2441
- data/src/core/tsi/ssl_transport_security.h +0 -405
- data/src/core/tsi/ssl_types.h +0 -42
- data/src/core/tsi/transport_security.cc +0 -396
- data/src/core/tsi/transport_security.h +0 -143
- data/src/core/tsi/transport_security_grpc.cc +0 -74
- data/src/core/tsi/transport_security_grpc.h +0 -83
- data/src/core/tsi/transport_security_interface.h +0 -521
- data/third_party/abseil-cpp/absl/algorithm/algorithm.h +0 -159
- data/third_party/abseil-cpp/absl/algorithm/container.h +0 -1774
- data/third_party/abseil-cpp/absl/base/attributes.h +0 -762
- data/third_party/abseil-cpp/absl/base/call_once.h +0 -219
- data/third_party/abseil-cpp/absl/base/casts.h +0 -180
- data/third_party/abseil-cpp/absl/base/config.h +0 -913
- data/third_party/abseil-cpp/absl/base/const_init.h +0 -76
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -471
- data/third_party/abseil-cpp/absl/base/internal/atomic_hook.h +0 -200
- data/third_party/abseil-cpp/absl/base/internal/cycleclock.cc +0 -77
- data/third_party/abseil-cpp/absl/base/internal/cycleclock.h +0 -159
- data/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +0 -169
- data/third_party/abseil-cpp/absl/base/internal/dynamic_annotations.h +0 -398
- data/third_party/abseil-cpp/absl/base/internal/endian.h +0 -282
- data/third_party/abseil-cpp/absl/base/internal/errno_saver.h +0 -43
- data/third_party/abseil-cpp/absl/base/internal/fast_type_id.h +0 -50
- data/third_party/abseil-cpp/absl/base/internal/hide_ptr.h +0 -51
- data/third_party/abseil-cpp/absl/base/internal/identity.h +0 -37
- data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +0 -107
- data/third_party/abseil-cpp/absl/base/internal/invoke.h +0 -241
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc +0 -620
- data/third_party/abseil-cpp/absl/base/internal/low_level_alloc.h +0 -126
- data/third_party/abseil-cpp/absl/base/internal/low_level_scheduling.h +0 -134
- data/third_party/abseil-cpp/absl/base/internal/per_thread_tls.h +0 -52
- data/third_party/abseil-cpp/absl/base/internal/prefetch.h +0 -138
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +0 -249
- data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +0 -196
- data/third_party/abseil-cpp/absl/base/internal/scheduling_mode.h +0 -58
- data/third_party/abseil-cpp/absl/base/internal/spinlock.cc +0 -232
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +0 -256
- data/third_party/abseil-cpp/absl/base/internal/spinlock_akaros.inc +0 -35
- data/third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc +0 -71
- data/third_party/abseil-cpp/absl/base/internal/spinlock_posix.inc +0 -46
- data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc +0 -81
- data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.h +0 -95
- data/third_party/abseil-cpp/absl/base/internal/spinlock_win32.inc +0 -37
- data/third_party/abseil-cpp/absl/base/internal/strerror.cc +0 -88
- data/third_party/abseil-cpp/absl/base/internal/strerror.h +0 -39
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +0 -507
- data/third_party/abseil-cpp/absl/base/internal/sysinfo.h +0 -74
- data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +0 -271
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +0 -156
- data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +0 -265
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +0 -212
- data/third_party/abseil-cpp/absl/base/internal/throw_delegate.h +0 -75
- data/third_party/abseil-cpp/absl/base/internal/tsan_mutex_interface.h +0 -68
- data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +0 -82
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -153
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.h +0 -133
- data/third_party/abseil-cpp/absl/base/log_severity.cc +0 -55
- data/third_party/abseil-cpp/absl/base/log_severity.h +0 -172
- data/third_party/abseil-cpp/absl/base/macros.h +0 -158
- data/third_party/abseil-cpp/absl/base/optimization.h +0 -252
- data/third_party/abseil-cpp/absl/base/options.h +0 -238
- data/third_party/abseil-cpp/absl/base/policy_checks.h +0 -111
- data/third_party/abseil-cpp/absl/base/port.h +0 -25
- data/third_party/abseil-cpp/absl/base/thread_annotations.h +0 -335
- data/third_party/abseil-cpp/absl/cleanup/cleanup.h +0 -140
- data/third_party/abseil-cpp/absl/cleanup/internal/cleanup.h +0 -100
- data/third_party/abseil-cpp/absl/container/fixed_array.h +0 -529
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +0 -613
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +0 -510
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +0 -866
- data/third_party/abseil-cpp/absl/container/internal/common.h +0 -207
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +0 -290
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +0 -442
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +0 -163
- data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +0 -208
- data/third_party/abseil-cpp/absl/container/internal/hashtable_debug_hooks.h +0 -85
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +0 -238
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +0 -299
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc +0 -31
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +0 -953
- data/third_party/abseil-cpp/absl/container/internal/layout.h +0 -743
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +0 -198
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +0 -71
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +0 -2365
- data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc +0 -96
- data/third_party/abseil-cpp/absl/debugging/internal/address_is_readable.h +0 -32
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +0 -1959
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +0 -71
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +0 -387
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +0 -139
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +0 -204
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_arm-inl.inc +0 -139
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h +0 -88
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_emscripten-inl.inc +0 -110
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_generic-inl.inc +0 -108
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_powerpc-inl.inc +0 -258
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_riscv-inl.inc +0 -236
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_unimplemented-inl.inc +0 -24
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_win32-inl.inc +0 -93
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_x86-inl.inc +0 -369
- data/third_party/abseil-cpp/absl/debugging/internal/symbolize.h +0 -153
- data/third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc +0 -204
- data/third_party/abseil-cpp/absl/debugging/internal/vdso_support.h +0 -158
- data/third_party/abseil-cpp/absl/debugging/stacktrace.cc +0 -142
- data/third_party/abseil-cpp/absl/debugging/stacktrace.h +0 -231
- data/third_party/abseil-cpp/absl/debugging/symbolize.cc +0 -43
- data/third_party/abseil-cpp/absl/debugging/symbolize.h +0 -99
- data/third_party/abseil-cpp/absl/debugging/symbolize_darwin.inc +0 -101
- data/third_party/abseil-cpp/absl/debugging/symbolize_elf.inc +0 -1613
- data/third_party/abseil-cpp/absl/debugging/symbolize_emscripten.inc +0 -72
- data/third_party/abseil-cpp/absl/debugging/symbolize_unimplemented.inc +0 -40
- data/third_party/abseil-cpp/absl/debugging/symbolize_win32.inc +0 -81
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +0 -313
- data/third_party/abseil-cpp/absl/functional/bind_front.h +0 -193
- data/third_party/abseil-cpp/absl/functional/function_ref.h +0 -143
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +0 -857
- data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +0 -95
- data/third_party/abseil-cpp/absl/functional/internal/function_ref.h +0 -106
- data/third_party/abseil-cpp/absl/hash/hash.h +0 -421
- data/third_party/abseil-cpp/absl/hash/internal/city.cc +0 -349
- data/third_party/abseil-cpp/absl/hash/internal/city.h +0 -78
- data/third_party/abseil-cpp/absl/hash/internal/hash.cc +0 -69
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +0 -1291
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +0 -123
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +0 -50
- data/third_party/abseil-cpp/absl/memory/memory.h +0 -699
- data/third_party/abseil-cpp/absl/meta/type_traits.h +0 -797
- data/third_party/abseil-cpp/absl/numeric/bits.h +0 -178
- data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -385
- data/third_party/abseil-cpp/absl/numeric/int128.h +0 -1165
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +0 -296
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +0 -311
- data/third_party/abseil-cpp/absl/numeric/internal/bits.h +0 -358
- data/third_party/abseil-cpp/absl/numeric/internal/representation.h +0 -55
- data/third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc +0 -93
- data/third_party/abseil-cpp/absl/profiling/internal/exponential_biased.h +0 -130
- data/third_party/abseil-cpp/absl/profiling/internal/sample_recorder.h +0 -245
- data/third_party/abseil-cpp/absl/random/bernoulli_distribution.h +0 -200
- data/third_party/abseil-cpp/absl/random/beta_distribution.h +0 -427
- data/third_party/abseil-cpp/absl/random/discrete_distribution.cc +0 -98
- data/third_party/abseil-cpp/absl/random/discrete_distribution.h +0 -247
- data/third_party/abseil-cpp/absl/random/distributions.h +0 -452
- data/third_party/abseil-cpp/absl/random/exponential_distribution.h +0 -165
- data/third_party/abseil-cpp/absl/random/gaussian_distribution.cc +0 -104
- data/third_party/abseil-cpp/absl/random/gaussian_distribution.h +0 -275
- data/third_party/abseil-cpp/absl/random/internal/distribution_caller.h +0 -95
- data/third_party/abseil-cpp/absl/random/internal/fast_uniform_bits.h +0 -269
- data/third_party/abseil-cpp/absl/random/internal/fastmath.h +0 -57
- data/third_party/abseil-cpp/absl/random/internal/generate_real.h +0 -144
- data/third_party/abseil-cpp/absl/random/internal/iostream_state_saver.h +0 -245
- data/third_party/abseil-cpp/absl/random/internal/nonsecure_base.h +0 -161
- data/third_party/abseil-cpp/absl/random/internal/pcg_engine.h +0 -308
- data/third_party/abseil-cpp/absl/random/internal/platform.h +0 -171
- data/third_party/abseil-cpp/absl/random/internal/pool_urbg.cc +0 -253
- data/third_party/abseil-cpp/absl/random/internal/pool_urbg.h +0 -131
- data/third_party/abseil-cpp/absl/random/internal/randen.cc +0 -91
- data/third_party/abseil-cpp/absl/random/internal/randen.h +0 -96
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.cc +0 -225
- data/third_party/abseil-cpp/absl/random/internal/randen_detect.h +0 -33
- data/third_party/abseil-cpp/absl/random/internal/randen_engine.h +0 -264
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc +0 -526
- data/third_party/abseil-cpp/absl/random/internal/randen_hwaes.h +0 -50
- data/third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc +0 -462
- data/third_party/abseil-cpp/absl/random/internal/randen_slow.cc +0 -471
- data/third_party/abseil-cpp/absl/random/internal/randen_slow.h +0 -40
- data/third_party/abseil-cpp/absl/random/internal/randen_traits.h +0 -88
- data/third_party/abseil-cpp/absl/random/internal/salted_seed_seq.h +0 -165
- data/third_party/abseil-cpp/absl/random/internal/seed_material.cc +0 -267
- data/third_party/abseil-cpp/absl/random/internal/seed_material.h +0 -104
- data/third_party/abseil-cpp/absl/random/internal/traits.h +0 -149
- data/third_party/abseil-cpp/absl/random/internal/uniform_helper.h +0 -244
- data/third_party/abseil-cpp/absl/random/internal/wide_multiply.h +0 -96
- data/third_party/abseil-cpp/absl/random/log_uniform_int_distribution.h +0 -256
- data/third_party/abseil-cpp/absl/random/poisson_distribution.h +0 -261
- data/third_party/abseil-cpp/absl/random/random.h +0 -189
- data/third_party/abseil-cpp/absl/random/seed_gen_exception.cc +0 -46
- data/third_party/abseil-cpp/absl/random/seed_gen_exception.h +0 -55
- data/third_party/abseil-cpp/absl/random/seed_sequences.cc +0 -29
- data/third_party/abseil-cpp/absl/random/seed_sequences.h +0 -111
- data/third_party/abseil-cpp/absl/random/uniform_int_distribution.h +0 -275
- data/third_party/abseil-cpp/absl/random/uniform_real_distribution.h +0 -202
- data/third_party/abseil-cpp/absl/random/zipf_distribution.h +0 -272
- data/third_party/abseil-cpp/absl/status/internal/status_internal.h +0 -86
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +0 -396
- data/third_party/abseil-cpp/absl/status/status.cc +0 -616
- data/third_party/abseil-cpp/absl/status/status.h +0 -892
- data/third_party/abseil-cpp/absl/status/status_payload_printer.cc +0 -38
- data/third_party/abseil-cpp/absl/status/status_payload_printer.h +0 -51
- data/third_party/abseil-cpp/absl/status/statusor.cc +0 -103
- data/third_party/abseil-cpp/absl/status/statusor.h +0 -776
- data/third_party/abseil-cpp/absl/strings/ascii.cc +0 -200
- data/third_party/abseil-cpp/absl/strings/ascii.h +0 -242
- data/third_party/abseil-cpp/absl/strings/charconv.cc +0 -984
- data/third_party/abseil-cpp/absl/strings/charconv.h +0 -120
- data/third_party/abseil-cpp/absl/strings/cord.cc +0 -1328
- data/third_party/abseil-cpp/absl/strings/cord.h +0 -1642
- data/third_party/abseil-cpp/absl/strings/cord_analysis.cc +0 -188
- data/third_party/abseil-cpp/absl/strings/cord_analysis.h +0 -44
- data/third_party/abseil-cpp/absl/strings/cord_buffer.cc +0 -30
- data/third_party/abseil-cpp/absl/strings/cord_buffer.h +0 -572
- data/third_party/abseil-cpp/absl/strings/escaping.cc +0 -949
- data/third_party/abseil-cpp/absl/strings/escaping.h +0 -164
- data/third_party/abseil-cpp/absl/strings/internal/char_map.h +0 -156
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +0 -359
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +0 -423
- data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc +0 -504
- data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.h +0 -99
- data/third_party/abseil-cpp/absl/strings/internal/cord_data_edge.h +0 -63
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.cc +0 -77
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +0 -655
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc +0 -1228
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +0 -924
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc +0 -187
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.h +0 -267
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc +0 -69
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.h +0 -212
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc +0 -62
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.h +0 -50
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc +0 -54
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.h +0 -102
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_flat.h +0 -187
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +0 -773
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.h +0 -607
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_ring_reader.h +0 -118
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +0 -96
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +0 -85
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +0 -139
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.h +0 -131
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +0 -418
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +0 -298
- data/third_party/abseil-cpp/absl/strings/internal/cordz_statistics.h +0 -88
- data/third_party/abseil-cpp/absl/strings/internal/cordz_update_scope.h +0 -71
- data/third_party/abseil-cpp/absl/strings/internal/cordz_update_tracker.h +0 -123
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +0 -181
- data/third_party/abseil-cpp/absl/strings/internal/escaping.h +0 -58
- data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +0 -112
- data/third_party/abseil-cpp/absl/strings/internal/memutil.h +0 -148
- data/third_party/abseil-cpp/absl/strings/internal/ostringstream.cc +0 -36
- data/third_party/abseil-cpp/absl/strings/internal/ostringstream.h +0 -89
- data/third_party/abseil-cpp/absl/strings/internal/resize_uninitialized.h +0 -119
- data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +0 -248
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +0 -488
- data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +0 -526
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +0 -258
- data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +0 -248
- data/third_party/abseil-cpp/absl/strings/internal/str_format/checker.h +0 -338
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc +0 -74
- data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +0 -448
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +0 -1423
- data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.h +0 -37
- data/third_party/abseil-cpp/absl/strings/internal/str_format/output.cc +0 -72
- data/third_party/abseil-cpp/absl/strings/internal/str_format/output.h +0 -97
- data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc +0 -339
- data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +0 -359
- data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +0 -317
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +0 -430
- data/third_party/abseil-cpp/absl/strings/internal/string_constant.h +0 -72
- data/third_party/abseil-cpp/absl/strings/internal/utf8.cc +0 -53
- data/third_party/abseil-cpp/absl/strings/internal/utf8.h +0 -50
- data/third_party/abseil-cpp/absl/strings/match.cc +0 -43
- data/third_party/abseil-cpp/absl/strings/match.h +0 -100
- data/third_party/abseil-cpp/absl/strings/numbers.cc +0 -1093
- data/third_party/abseil-cpp/absl/strings/numbers.h +0 -303
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +0 -246
- data/third_party/abseil-cpp/absl/strings/str_cat.h +0 -415
- data/third_party/abseil-cpp/absl/strings/str_format.h +0 -812
- data/third_party/abseil-cpp/absl/strings/str_join.h +0 -287
- data/third_party/abseil-cpp/absl/strings/str_replace.cc +0 -82
- data/third_party/abseil-cpp/absl/strings/str_replace.h +0 -219
- data/third_party/abseil-cpp/absl/strings/str_split.cc +0 -139
- data/third_party/abseil-cpp/absl/strings/str_split.h +0 -547
- data/third_party/abseil-cpp/absl/strings/string_view.cc +0 -219
- data/third_party/abseil-cpp/absl/strings/string_view.h +0 -711
- data/third_party/abseil-cpp/absl/strings/strip.h +0 -93
- data/third_party/abseil-cpp/absl/strings/substitute.cc +0 -172
- data/third_party/abseil-cpp/absl/strings/substitute.h +0 -729
- data/third_party/abseil-cpp/absl/synchronization/barrier.cc +0 -52
- data/third_party/abseil-cpp/absl/synchronization/barrier.h +0 -79
- data/third_party/abseil-cpp/absl/synchronization/blocking_counter.cc +0 -67
- data/third_party/abseil-cpp/absl/synchronization/blocking_counter.h +0 -101
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc +0 -143
- data/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.h +0 -56
- data/third_party/abseil-cpp/absl/synchronization/internal/futex.h +0 -154
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +0 -698
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +0 -141
- data/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h +0 -156
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc +0 -102
- data/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h +0 -110
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +0 -403
- data/third_party/abseil-cpp/absl/synchronization/internal/waiter.h +0 -161
- data/third_party/abseil-cpp/absl/synchronization/mutex.cc +0 -2786
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +0 -1090
- data/third_party/abseil-cpp/absl/synchronization/notification.cc +0 -78
- data/third_party/abseil-cpp/absl/synchronization/notification.h +0 -124
- data/third_party/abseil-cpp/absl/time/civil_time.cc +0 -173
- data/third_party/abseil-cpp/absl/time/civil_time.h +0 -538
- data/third_party/abseil-cpp/absl/time/clock.cc +0 -585
- data/third_party/abseil-cpp/absl/time/clock.h +0 -74
- data/third_party/abseil-cpp/absl/time/duration.cc +0 -955
- data/third_party/abseil-cpp/absl/time/format.cc +0 -160
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h +0 -332
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +0 -632
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +0 -459
- data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/zone_info_source.h +0 -102
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc +0 -94
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +0 -140
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.h +0 -52
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +0 -1029
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +0 -45
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +0 -77
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +0 -113
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +0 -93
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +0 -1027
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +0 -137
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +0 -315
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +0 -55
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -236
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc +0 -159
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +0 -132
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +0 -122
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +0 -115
- data/third_party/abseil-cpp/absl/time/internal/get_current_time_chrono.inc +0 -31
- data/third_party/abseil-cpp/absl/time/internal/get_current_time_posix.inc +0 -24
- data/third_party/abseil-cpp/absl/time/time.cc +0 -500
- data/third_party/abseil-cpp/absl/time/time.h +0 -1620
- data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +0 -48
- data/third_party/abseil-cpp/absl/types/bad_optional_access.h +0 -78
- data/third_party/abseil-cpp/absl/types/bad_variant_access.cc +0 -64
- data/third_party/abseil-cpp/absl/types/bad_variant_access.h +0 -82
- data/third_party/abseil-cpp/absl/types/internal/optional.h +0 -404
- data/third_party/abseil-cpp/absl/types/internal/span.h +0 -128
- data/third_party/abseil-cpp/absl/types/internal/variant.h +0 -1646
- data/third_party/abseil-cpp/absl/types/optional.h +0 -779
- data/third_party/abseil-cpp/absl/types/span.h +0 -727
- data/third_party/abseil-cpp/absl/types/variant.h +0 -866
- data/third_party/abseil-cpp/absl/utility/utility.h +0 -350
- data/third_party/address_sorting/address_sorting.c +0 -375
- data/third_party/address_sorting/address_sorting_internal.h +0 -70
- data/third_party/address_sorting/address_sorting_posix.c +0 -98
- data/third_party/address_sorting/address_sorting_windows.c +0 -95
- data/third_party/address_sorting/include/address_sorting/address_sorting.h +0 -115
- data/third_party/boringssl-with-bazel/err_data.c +0 -1493
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.c +0 -91
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_enum.c +0 -195
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.c +0 -88
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c +0 -420
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +0 -298
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c +0 -299
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_octet.c +0 -77
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_print.c +0 -83
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +0 -650
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +0 -212
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +0 -163
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +0 -264
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utf8.c +0 -236
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +0 -452
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_par.c +0 -80
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn_pack.c +0 -101
- data/third_party/boringssl-with-bazel/src/crypto/asn1/charmap.h +0 -15
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_int.c +0 -102
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_string.c +0 -91
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +0 -224
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +0 -969
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +0 -710
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_fre.c +0 -233
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +0 -332
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_typ.c +0 -131
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_utl.c +0 -281
- data/third_party/boringssl-with-bazel/src/crypto/asn1/time_support.c +0 -206
- data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +0 -482
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +0 -702
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +0 -324
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +0 -541
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +0 -275
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +0 -311
- data/third_party/boringssl-with-bazel/src/crypto/bio/hexdump.c +0 -192
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +0 -111
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +0 -483
- data/third_party/boringssl-with-bazel/src/crypto/bio/printf.c +0 -115
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +0 -192
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +0 -156
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/bn_asn1.c +0 -57
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +0 -470
- data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +0 -172
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/asn1_compat.c +0 -52
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +0 -728
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +0 -711
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +0 -96
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +0 -155
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +0 -175
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +0 -45
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/cipher_extra.c +0 -127
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/derive_key.c +0 -152
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesccm.c +0 -447
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesctrhmac.c +0 -283
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +0 -891
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_chacha20poly1305.c +0 -343
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +0 -85
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +0 -462
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +0 -601
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +0 -226
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +0 -338
- data/third_party/boringssl-with-bazel/src/crypto/cmac/cmac.c +0 -278
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +0 -821
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +0 -127
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +0 -31
- data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-fuchsia.c +0 -55
- data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-linux.c +0 -62
- data/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.c +0 -41
- data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c +0 -229
- data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.h +0 -201
- data/third_party/boringssl-with-bazel/src/crypto/cpu-arm.c +0 -38
- data/third_party/boringssl-with-bazel/src/crypto/cpu-intel.c +0 -291
- data/third_party/boringssl-with-bazel/src/crypto/cpu-ppc64le.c +0 -38
- data/third_party/boringssl-with-bazel/src/crypto/crypto.c +0 -226
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +0 -2159
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +0 -7872
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +0 -146
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +0 -539
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +0 -160
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +0 -272
- data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +0 -268
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +0 -967
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +0 -390
- data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +0 -34
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +0 -559
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +0 -95
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +0 -385
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +0 -56
- data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +0 -124
- data/third_party/boringssl-with-bazel/src/crypto/ecdsa_extra/ecdsa_asn1.c +0 -267
- data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +0 -99
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +0 -857
- data/third_party/boringssl-with-bazel/src/crypto/err/internal.h +0 -58
- data/third_party/boringssl-with-bazel/src/crypto/evp/digestsign.c +0 -231
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +0 -456
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +0 -547
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +0 -484
- data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +0 -269
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +0 -277
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +0 -286
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +0 -255
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +0 -104
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519_asn1.c +0 -221
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +0 -648
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +0 -194
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +0 -110
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519_asn1.c +0 -248
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +0 -146
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +0 -489
- data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +0 -211
- data/third_party/boringssl-with-bazel/src/crypto/evp/sign.c +0 -151
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +0 -261
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes.c +0 -108
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes_nohw.c +0 -1282
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h +0 -238
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/key_wrap.c +0 -236
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +0 -316
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c +0 -541
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +0 -438
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +0 -230
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/cmp.c +0 -200
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +0 -236
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +0 -902
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +0 -1288
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +0 -378
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.c +0 -326
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +0 -711
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +0 -715
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/jacobi.c +0 -146
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +0 -502
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +0 -186
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +0 -749
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +0 -1064
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +0 -341
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +0 -226
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.h +0 -104
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/shift.c +0 -364
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/sqrt.c +0 -498
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/aead.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +0 -648
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +0 -1473
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_des.c +0 -237
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +0 -128
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +0 -89
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/des/des.c +0 -784
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/des/internal.h +0 -238
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +0 -217
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +0 -456
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +0 -282
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digests.c +0 -304
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/internal.h +0 -112
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/md32_common.h +0 -195
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +0 -1268
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +0 -472
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +0 -524
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +0 -100
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +0 -772
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +0 -328
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +0 -1180
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64-table.h +0 -9497
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64.c +0 -633
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64.h +0 -153
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +0 -740
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +0 -297
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +0 -175
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +0 -357
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +0 -270
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/util.c +0 -255
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +0 -270
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +0 -338
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/internal.h +0 -39
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c +0 -32
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hmac/hmac.c +0 -228
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md4/md4.c +0 -240
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/internal.h +0 -37
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/md5.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +0 -178
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cfb.c +0 -203
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +0 -201
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +0 -733
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +0 -304
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +0 -420
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +0 -97
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +0 -91
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/ctrdrbg.c +0 -202
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +0 -137
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +0 -49
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/getrandom_fillin.h +0 -64
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +0 -184
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +0 -457
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +0 -401
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +0 -243
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +0 -131
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +0 -695
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +0 -935
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +0 -1416
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +0 -79
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +0 -874
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +0 -53
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1-altivec.c +0 -361
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +0 -357
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +0 -321
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +0 -508
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +0 -39
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +0 -165
- data/third_party/boringssl-with-bazel/src/crypto/hkdf/hkdf.c +0 -112
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +0 -618
- data/third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c +0 -2198
- data/third_party/boringssl-with-bazel/src/crypto/hrss/internal.h +0 -68
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +0 -959
- data/third_party/boringssl-with-bazel/src/crypto/lhash/internal.h +0 -253
- data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +0 -353
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +0 -410
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +0 -553
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +0 -11585
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_xref.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_all.c +0 -252
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +0 -358
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +0 -769
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_oth.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +0 -255
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +0 -214
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_x509.c +0 -65
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_xaux.c +0 -65
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/internal.h +0 -58
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7.c +0 -193
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +0 -526
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +0 -137
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +0 -316
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +0 -530
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +0 -1383
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/internal.h +0 -41
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.c +0 -321
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.c +0 -307
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.c +0 -860
- data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +0 -49
- data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +0 -257
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +0 -56
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +0 -46
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/fuchsia.c +0 -34
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c +0 -34
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c +0 -74
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +0 -73
- data/third_party/boringssl-with-bazel/src/crypto/rc4/rc4.c +0 -98
- data/third_party/boringssl-with-bazel/src/crypto/refcount_c11.c +0 -67
- data/third_party/boringssl-with-bazel/src/crypto/refcount_lock.c +0 -53
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_asn1.c +0 -324
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c +0 -22
- data/third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c +0 -82
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +0 -425
- data/third_party/boringssl-with-bazel/src/crypto/thread.c +0 -110
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -59
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +0 -182
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +0 -260
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +0 -318
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +0 -1399
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +0 -858
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +0 -766
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_digest.c +0 -96
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +0 -128
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_verify.c +0 -118
- data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +0 -163
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -826
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +0 -459
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -277
- data/third_party/boringssl-with-bazel/src/crypto/x509/i2d_pr.c +0 -83
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +0 -404
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +0 -246
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +0 -400
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +0 -130
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +0 -246
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +0 -365
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c +0 -116
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509.c +0 -90
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +0 -358
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +0 -461
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +0 -106
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_def.c +0 -103
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -212
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +0 -830
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.c +0 -199
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +0 -304
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +0 -240
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +0 -331
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_txt.c +0 -204
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -281
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +0 -2456
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +0 -651
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +0 -388
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509rset.c +0 -84
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +0 -137
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +0 -153
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.c +0 -386
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c +0 -98
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +0 -565
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c +0 -77
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_info.c +0 -98
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +0 -544
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pkey.c +0 -106
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +0 -217
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_req.c +0 -106
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c +0 -94
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +0 -80
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_val.c +0 -71
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +0 -394
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +0 -201
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/ext_dat.h +0 -138
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/internal.h +0 -289
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_cache.c +0 -287
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_data.c +0 -132
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_lib.c +0 -155
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_map.c +0 -131
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_node.c +0 -189
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/pcy_tree.c +0 -843
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akey.c +0 -226
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_akeya.c +0 -72
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +0 -640
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bcons.c +0 -133
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_bitst.c +0 -144
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_conf.c +0 -468
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_cpols.c +0 -500
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_crld.c +0 -563
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +0 -106
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_extku.c +0 -148
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_genn.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ia5.c +0 -121
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +0 -218
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_int.c +0 -91
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_lib.c +0 -379
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ncons.c +0 -558
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_ocsp.c +0 -68
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pci.c +0 -289
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcia.c +0 -57
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pcons.c +0 -139
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_pmaps.c +0 -154
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_prn.c +0 -230
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +0 -929
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_skey.c +0 -156
- data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +0 -1437
- data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +0 -480
- data/third_party/boringssl-with-bazel/src/include/openssl/aes.h +0 -207
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +0 -240
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +0 -2039
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1_mac.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1t.h +0 -718
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +0 -627
- data/third_party/boringssl-with-bazel/src/include/openssl/base64.h +0 -198
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +0 -939
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +0 -62
- data/third_party/boringssl-with-bazel/src/include/openssl/blowfish.h +0 -93
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +0 -1057
- data/third_party/boringssl-with-bazel/src/include/openssl/buf.h +0 -137
- data/third_party/boringssl-with-bazel/src/include/openssl/buffer.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +0 -586
- data/third_party/boringssl-with-bazel/src/include/openssl/cast.h +0 -96
- data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +0 -41
- data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +0 -673
- data/third_party/boringssl-with-bazel/src/include/openssl/cmac.h +0 -91
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +0 -183
- data/third_party/boringssl-with-bazel/src/include/openssl/cpu.h +0 -202
- data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +0 -169
- data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +0 -201
- data/third_party/boringssl-with-bazel/src/include/openssl/des.h +0 -183
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +0 -353
- data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +0 -348
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +0 -443
- data/third_party/boringssl-with-bazel/src/include/openssl/dtls1.h +0 -16
- data/third_party/boringssl-with-bazel/src/include/openssl/e_os2.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +0 -442
- data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +0 -357
- data/third_party/boringssl-with-bazel/src/include/openssl/ecdh.h +0 -118
- data/third_party/boringssl-with-bazel/src/include/openssl/ecdsa.h +0 -236
- data/third_party/boringssl-with-bazel/src/include/openssl/engine.h +0 -109
- data/third_party/boringssl-with-bazel/src/include/openssl/err.h +0 -466
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +0 -1083
- data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +0 -99
- data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +0 -203
- data/third_party/boringssl-with-bazel/src/include/openssl/hkdf.h +0 -68
- data/third_party/boringssl-with-bazel/src/include/openssl/hmac.h +0 -186
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +0 -350
- data/third_party/boringssl-with-bazel/src/include/openssl/hrss.h +0 -102
- data/third_party/boringssl-with-bazel/src/include/openssl/is_boringssl.h +0 -16
- data/third_party/boringssl-with-bazel/src/include/openssl/lhash.h +0 -81
- data/third_party/boringssl-with-bazel/src/include/openssl/md4.h +0 -108
- data/third_party/boringssl-with-bazel/src/include/openssl/md5.h +0 -109
- data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +0 -184
- data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +0 -4259
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +0 -256
- data/third_party/boringssl-with-bazel/src/include/openssl/obj_mac.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/objects.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +0 -70
- data/third_party/boringssl-with-bazel/src/include/openssl/opensslv.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/ossl_typ.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +0 -483
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs12.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs7.h +0 -239
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs8.h +0 -282
- data/third_party/boringssl-with-bazel/src/include/openssl/poly1305.h +0 -49
- data/third_party/boringssl-with-bazel/src/include/openssl/pool.h +0 -108
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +0 -114
- data/third_party/boringssl-with-bazel/src/include/openssl/rc4.h +0 -96
- data/third_party/boringssl-with-bazel/src/include/openssl/ripemd.h +0 -108
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +0 -855
- data/third_party/boringssl-with-bazel/src/include/openssl/safestack.h +0 -16
- data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +0 -294
- data/third_party/boringssl-with-bazel/src/include/openssl/siphash.h +0 -37
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +0 -222
- data/third_party/boringssl-with-bazel/src/include/openssl/srtp.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +0 -5624
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl3.h +0 -333
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +0 -542
- data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +0 -191
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +0 -647
- data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +0 -310
- data/third_party/boringssl-with-bazel/src/include/openssl/type_check.h +0 -90
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +0 -2419
- data/third_party/boringssl-with-bazel/src/include/openssl/x509_vfy.h +0 -18
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +0 -1021
- data/third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc +0 -192
- data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +0 -835
- data/third_party/boringssl-with-bazel/src/ssl/d1_lib.cc +0 -268
- data/third_party/boringssl-with-bazel/src/ssl/d1_pkt.cc +0 -273
- data/third_party/boringssl-with-bazel/src/ssl/d1_srtp.cc +0 -232
- data/third_party/boringssl-with-bazel/src/ssl/dtls_method.cc +0 -200
- data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +0 -353
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +0 -1084
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +0 -4325
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +0 -986
- data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +0 -758
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +0 -1986
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +0 -1956
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +0 -3953
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +0 -730
- data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +0 -219
- data/third_party/boringssl-with-bazel/src/ssl/s3_pkt.cc +0 -453
- data/third_party/boringssl-with-bazel/src/ssl/ssl_aead_ctx.cc +0 -432
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +0 -896
- data/third_party/boringssl-with-bazel/src/ssl/ssl_buffer.cc +0 -306
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +0 -1014
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +0 -1717
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +0 -585
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +0 -400
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +0 -3072
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +0 -837
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +0 -1342
- data/third_party/boringssl-with-bazel/src/ssl/ssl_stat.cc +0 -233
- data/third_party/boringssl-with-bazel/src/ssl/ssl_transcript.cc +0 -272
- data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +0 -402
- data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +0 -1363
- data/third_party/boringssl-with-bazel/src/ssl/t1_enc.cc +0 -384
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +0 -733
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +0 -1122
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +0 -582
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +0 -1349
- data/third_party/boringssl-with-bazel/src/ssl/tls_method.cc +0 -319
- data/third_party/boringssl-with-bazel/src/ssl/tls_record.cc +0 -705
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_32.h +0 -981
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64.h +0 -619
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_32.h +0 -3147
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +0 -1226
- data/third_party/cares/ares_build.h +0 -223
- data/third_party/cares/cares/include/ares.h +0 -742
- data/third_party/cares/cares/include/ares_dns.h +0 -112
- data/third_party/cares/cares/include/ares_rules.h +0 -125
- data/third_party/cares/cares/include/ares_version.h +0 -24
- data/third_party/cares/cares/src/lib/ares__close_sockets.c +0 -61
- data/third_party/cares/cares/src/lib/ares__get_hostent.c +0 -260
- data/third_party/cares/cares/src/lib/ares__parse_into_addrinfo.c +0 -260
- data/third_party/cares/cares/src/lib/ares__read_line.c +0 -73
- data/third_party/cares/cares/src/lib/ares__readaddrinfo.c +0 -264
- data/third_party/cares/cares/src/lib/ares__sortaddrinfo.c +0 -499
- data/third_party/cares/cares/src/lib/ares__timeval.c +0 -111
- data/third_party/cares/cares/src/lib/ares_android.c +0 -444
- data/third_party/cares/cares/src/lib/ares_android.h +0 -27
- data/third_party/cares/cares/src/lib/ares_cancel.c +0 -63
- data/third_party/cares/cares/src/lib/ares_create_query.c +0 -197
- data/third_party/cares/cares/src/lib/ares_data.c +0 -240
- data/third_party/cares/cares/src/lib/ares_data.h +0 -74
- data/third_party/cares/cares/src/lib/ares_destroy.c +0 -113
- data/third_party/cares/cares/src/lib/ares_expand_name.c +0 -300
- data/third_party/cares/cares/src/lib/ares_expand_string.c +0 -67
- data/third_party/cares/cares/src/lib/ares_fds.c +0 -59
- data/third_party/cares/cares/src/lib/ares_free_hostent.c +0 -43
- data/third_party/cares/cares/src/lib/ares_free_string.c +0 -25
- data/third_party/cares/cares/src/lib/ares_freeaddrinfo.c +0 -59
- data/third_party/cares/cares/src/lib/ares_getaddrinfo.c +0 -772
- data/third_party/cares/cares/src/lib/ares_getenv.c +0 -28
- data/third_party/cares/cares/src/lib/ares_getenv.h +0 -26
- data/third_party/cares/cares/src/lib/ares_gethostbyaddr.c +0 -287
- data/third_party/cares/cares/src/lib/ares_gethostbyname.c +0 -534
- data/third_party/cares/cares/src/lib/ares_getnameinfo.c +0 -447
- data/third_party/cares/cares/src/lib/ares_getsock.c +0 -66
- data/third_party/cares/cares/src/lib/ares_inet_net_pton.h +0 -25
- data/third_party/cares/cares/src/lib/ares_init.c +0 -2654
- data/third_party/cares/cares/src/lib/ares_iphlpapi.h +0 -221
- data/third_party/cares/cares/src/lib/ares_ipv6.h +0 -85
- data/third_party/cares/cares/src/lib/ares_library_init.c +0 -200
- data/third_party/cares/cares/src/lib/ares_library_init.h +0 -43
- data/third_party/cares/cares/src/lib/ares_llist.c +0 -63
- data/third_party/cares/cares/src/lib/ares_llist.h +0 -39
- data/third_party/cares/cares/src/lib/ares_mkquery.c +0 -24
- data/third_party/cares/cares/src/lib/ares_nameser.h +0 -482
- data/third_party/cares/cares/src/lib/ares_nowarn.c +0 -260
- data/third_party/cares/cares/src/lib/ares_nowarn.h +0 -61
- data/third_party/cares/cares/src/lib/ares_options.c +0 -406
- data/third_party/cares/cares/src/lib/ares_parse_a_reply.c +0 -209
- data/third_party/cares/cares/src/lib/ares_parse_aaaa_reply.c +0 -212
- data/third_party/cares/cares/src/lib/ares_parse_caa_reply.c +0 -199
- data/third_party/cares/cares/src/lib/ares_parse_mx_reply.c +0 -164
- data/third_party/cares/cares/src/lib/ares_parse_naptr_reply.c +0 -183
- data/third_party/cares/cares/src/lib/ares_parse_ns_reply.c +0 -177
- data/third_party/cares/cares/src/lib/ares_parse_ptr_reply.c +0 -228
- data/third_party/cares/cares/src/lib/ares_parse_soa_reply.c +0 -179
- data/third_party/cares/cares/src/lib/ares_parse_srv_reply.c +0 -168
- data/third_party/cares/cares/src/lib/ares_parse_txt_reply.c +0 -214
- data/third_party/cares/cares/src/lib/ares_platform.c +0 -11042
- data/third_party/cares/cares/src/lib/ares_platform.h +0 -43
- data/third_party/cares/cares/src/lib/ares_private.h +0 -423
- data/third_party/cares/cares/src/lib/ares_process.c +0 -1548
- data/third_party/cares/cares/src/lib/ares_query.c +0 -180
- data/third_party/cares/cares/src/lib/ares_search.c +0 -321
- data/third_party/cares/cares/src/lib/ares_send.c +0 -131
- data/third_party/cares/cares/src/lib/ares_setup.h +0 -220
- data/third_party/cares/cares/src/lib/ares_strcasecmp.c +0 -66
- data/third_party/cares/cares/src/lib/ares_strcasecmp.h +0 -30
- data/third_party/cares/cares/src/lib/ares_strdup.c +0 -49
- data/third_party/cares/cares/src/lib/ares_strdup.h +0 -24
- data/third_party/cares/cares/src/lib/ares_strerror.c +0 -56
- data/third_party/cares/cares/src/lib/ares_strsplit.c +0 -178
- data/third_party/cares/cares/src/lib/ares_strsplit.h +0 -43
- data/third_party/cares/cares/src/lib/ares_timeout.c +0 -88
- data/third_party/cares/cares/src/lib/ares_version.c +0 -11
- data/third_party/cares/cares/src/lib/ares_writev.c +0 -79
- data/third_party/cares/cares/src/lib/ares_writev.h +0 -36
- data/third_party/cares/cares/src/lib/bitncmp.c +0 -59
- data/third_party/cares/cares/src/lib/bitncmp.h +0 -26
- data/third_party/cares/cares/src/lib/config-dos.h +0 -115
- data/third_party/cares/cares/src/lib/config-win32.h +0 -351
- data/third_party/cares/cares/src/lib/inet_net_pton.c +0 -444
- data/third_party/cares/cares/src/lib/inet_ntop.c +0 -201
- data/third_party/cares/cares/src/lib/setup_once.h +0 -554
- data/third_party/cares/cares/src/lib/windows_port.c +0 -22
- data/third_party/cares/config_darwin/ares_config.h +0 -428
- data/third_party/cares/config_freebsd/ares_config.h +0 -505
- data/third_party/cares/config_linux/ares_config.h +0 -461
- data/third_party/cares/config_openbsd/ares_config.h +0 -505
- data/third_party/re2/re2/bitmap256.h +0 -117
- data/third_party/re2/re2/bitstate.cc +0 -385
- data/third_party/re2/re2/compile.cc +0 -1261
- data/third_party/re2/re2/dfa.cc +0 -2118
- data/third_party/re2/re2/filtered_re2.cc +0 -137
- data/third_party/re2/re2/filtered_re2.h +0 -114
- data/third_party/re2/re2/mimics_pcre.cc +0 -197
- data/third_party/re2/re2/nfa.cc +0 -713
- data/third_party/re2/re2/onepass.cc +0 -623
- data/third_party/re2/re2/parse.cc +0 -2483
- data/third_party/re2/re2/perl_groups.cc +0 -119
- data/third_party/re2/re2/pod_array.h +0 -55
- data/third_party/re2/re2/prefilter.cc +0 -711
- data/third_party/re2/re2/prefilter.h +0 -108
- data/third_party/re2/re2/prefilter_tree.cc +0 -407
- data/third_party/re2/re2/prefilter_tree.h +0 -139
- data/third_party/re2/re2/prog.cc +0 -1166
- data/third_party/re2/re2/prog.h +0 -455
- data/third_party/re2/re2/re2.cc +0 -1331
- data/third_party/re2/re2/re2.h +0 -1017
- data/third_party/re2/re2/regexp.cc +0 -987
- data/third_party/re2/re2/regexp.h +0 -665
- data/third_party/re2/re2/set.cc +0 -176
- data/third_party/re2/re2/set.h +0 -85
- data/third_party/re2/re2/simplify.cc +0 -665
- data/third_party/re2/re2/sparse_array.h +0 -392
- data/third_party/re2/re2/sparse_set.h +0 -264
- data/third_party/re2/re2/stringpiece.cc +0 -65
- data/third_party/re2/re2/stringpiece.h +0 -210
- data/third_party/re2/re2/tostring.cc +0 -351
- data/third_party/re2/re2/unicode_casefold.cc +0 -582
- data/third_party/re2/re2/unicode_casefold.h +0 -78
- data/third_party/re2/re2/unicode_groups.cc +0 -6269
- data/third_party/re2/re2/unicode_groups.h +0 -67
- data/third_party/re2/re2/walker-inl.h +0 -246
- data/third_party/re2/util/benchmark.h +0 -156
- data/third_party/re2/util/flags.h +0 -26
- data/third_party/re2/util/logging.h +0 -109
- data/third_party/re2/util/malloc_counter.h +0 -19
- data/third_party/re2/util/mix.h +0 -41
- data/third_party/re2/util/mutex.h +0 -148
- data/third_party/re2/util/pcre.cc +0 -1025
- data/third_party/re2/util/pcre.h +0 -681
- data/third_party/re2/util/rune.cc +0 -260
- data/third_party/re2/util/strutil.cc +0 -149
- data/third_party/re2/util/strutil.h +0 -21
- data/third_party/re2/util/test.h +0 -50
- data/third_party/re2/util/utf.h +0 -44
- data/third_party/re2/util/util.h +0 -42
- data/third_party/upb/third_party/utf8_range/naive.c +0 -92
- data/third_party/upb/third_party/utf8_range/range2-neon.c +0 -157
- data/third_party/upb/third_party/utf8_range/range2-sse.c +0 -170
- data/third_party/upb/third_party/utf8_range/utf8_range.h +0 -9
- data/third_party/upb/upb/arena.c +0 -277
- data/third_party/upb/upb/arena.h +0 -225
- data/third_party/upb/upb/array.c +0 -114
- data/third_party/upb/upb/array.h +0 -83
- data/third_party/upb/upb/collections.h +0 -36
- data/third_party/upb/upb/decode.c +0 -1221
- data/third_party/upb/upb/decode.h +0 -95
- data/third_party/upb/upb/decode_fast.c +0 -1055
- data/third_party/upb/upb/decode_fast.h +0 -153
- data/third_party/upb/upb/def.c +0 -3269
- data/third_party/upb/upb/def.h +0 -416
- data/third_party/upb/upb/def.hpp +0 -441
- data/third_party/upb/upb/encode.c +0 -613
- data/third_party/upb/upb/encode.h +0 -81
- data/third_party/upb/upb/extension_registry.c +0 -93
- data/third_party/upb/upb/extension_registry.h +0 -84
- data/third_party/upb/upb/internal/decode.h +0 -211
- data/third_party/upb/upb/internal/table.h +0 -385
- data/third_party/upb/upb/internal/upb.h +0 -68
- data/third_party/upb/upb/internal/vsnprintf_compat.h +0 -52
- data/third_party/upb/upb/json_decode.c +0 -1512
- data/third_party/upb/upb/json_decode.h +0 -47
- data/third_party/upb/upb/json_encode.c +0 -780
- data/third_party/upb/upb/json_encode.h +0 -65
- data/third_party/upb/upb/map.c +0 -108
- data/third_party/upb/upb/map.h +0 -117
- data/third_party/upb/upb/message_value.h +0 -66
- data/third_party/upb/upb/mini_table.c +0 -1147
- data/third_party/upb/upb/mini_table.h +0 -189
- data/third_party/upb/upb/mini_table.hpp +0 -112
- data/third_party/upb/upb/msg.c +0 -368
- data/third_party/upb/upb/msg.h +0 -71
- data/third_party/upb/upb/msg_internal.h +0 -837
- data/third_party/upb/upb/port_def.inc +0 -262
- data/third_party/upb/upb/port_undef.inc +0 -63
- data/third_party/upb/upb/reflection.c +0 -323
- data/third_party/upb/upb/reflection.h +0 -110
- data/third_party/upb/upb/reflection.hpp +0 -37
- data/third_party/upb/upb/status.c +0 -86
- data/third_party/upb/upb/status.h +0 -66
- data/third_party/upb/upb/table.c +0 -926
- data/third_party/upb/upb/table_internal.h +0 -36
- data/third_party/upb/upb/text_encode.c +0 -473
- data/third_party/upb/upb/text_encode.h +0 -64
- data/third_party/upb/upb/upb.c +0 -76
- data/third_party/upb/upb/upb.h +0 -184
- data/third_party/upb/upb/upb.hpp +0 -115
- data/third_party/xxhash/xxhash.h +0 -5580
- data/third_party/zlib/adler32.c +0 -186
- data/third_party/zlib/compress.c +0 -86
- data/third_party/zlib/crc32.c +0 -1125
- data/third_party/zlib/crc32.h +0 -9446
- data/third_party/zlib/deflate.c +0 -2217
- data/third_party/zlib/deflate.h +0 -346
- data/third_party/zlib/gzclose.c +0 -25
- data/third_party/zlib/gzguts.h +0 -219
- data/third_party/zlib/gzlib.c +0 -639
- data/third_party/zlib/gzread.c +0 -650
- data/third_party/zlib/gzwrite.c +0 -677
- data/third_party/zlib/infback.c +0 -644
- data/third_party/zlib/inffast.c +0 -323
- data/third_party/zlib/inffast.h +0 -11
- data/third_party/zlib/inffixed.h +0 -94
- data/third_party/zlib/inflate.c +0 -1595
- data/third_party/zlib/inflate.h +0 -126
- data/third_party/zlib/inftrees.c +0 -304
- data/third_party/zlib/inftrees.h +0 -62
- data/third_party/zlib/trees.c +0 -1181
- data/third_party/zlib/trees.h +0 -128
- data/third_party/zlib/uncompr.c +0 -93
- data/third_party/zlib/zconf.h +0 -547
- data/third_party/zlib/zlib.h +0 -1935
- data/third_party/zlib/zutil.c +0 -327
- data/third_party/zlib/zutil.h +0 -275
@@ -1,2365 +0,0 @@
|
|
1
|
-
// Copyright 2018 The Abseil Authors.
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
//
|
15
|
-
// An open-addressing
|
16
|
-
// hashtable with quadratic probing.
|
17
|
-
//
|
18
|
-
// This is a low level hashtable on top of which different interfaces can be
|
19
|
-
// implemented, like flat_hash_set, node_hash_set, string_hash_set, etc.
|
20
|
-
//
|
21
|
-
// The table interface is similar to that of std::unordered_set. Notable
|
22
|
-
// differences are that most member functions support heterogeneous keys when
|
23
|
-
// BOTH the hash and eq functions are marked as transparent. They do so by
|
24
|
-
// providing a typedef called `is_transparent`.
|
25
|
-
//
|
26
|
-
// When heterogeneous lookup is enabled, functions that take key_type act as if
|
27
|
-
// they have an overload set like:
|
28
|
-
//
|
29
|
-
// iterator find(const key_type& key);
|
30
|
-
// template <class K>
|
31
|
-
// iterator find(const K& key);
|
32
|
-
//
|
33
|
-
// size_type erase(const key_type& key);
|
34
|
-
// template <class K>
|
35
|
-
// size_type erase(const K& key);
|
36
|
-
//
|
37
|
-
// std::pair<iterator, iterator> equal_range(const key_type& key);
|
38
|
-
// template <class K>
|
39
|
-
// std::pair<iterator, iterator> equal_range(const K& key);
|
40
|
-
//
|
41
|
-
// When heterogeneous lookup is disabled, only the explicit `key_type` overloads
|
42
|
-
// exist.
|
43
|
-
//
|
44
|
-
// find() also supports passing the hash explicitly:
|
45
|
-
//
|
46
|
-
// iterator find(const key_type& key, size_t hash);
|
47
|
-
// template <class U>
|
48
|
-
// iterator find(const U& key, size_t hash);
|
49
|
-
//
|
50
|
-
// In addition the pointer to element and iterator stability guarantees are
|
51
|
-
// weaker: all iterators and pointers are invalidated after a new element is
|
52
|
-
// inserted.
|
53
|
-
//
|
54
|
-
// IMPLEMENTATION DETAILS
|
55
|
-
//
|
56
|
-
// # Table Layout
|
57
|
-
//
|
58
|
-
// A raw_hash_set's backing array consists of control bytes followed by slots
|
59
|
-
// that may or may not contain objects.
|
60
|
-
//
|
61
|
-
// The layout of the backing array, for `capacity` slots, is thus, as a
|
62
|
-
// pseudo-struct:
|
63
|
-
//
|
64
|
-
// struct BackingArray {
|
65
|
-
// // Control bytes for the "real" slots.
|
66
|
-
// ctrl_t ctrl[capacity];
|
67
|
-
// // Always `ctrl_t::kSentinel`. This is used by iterators to find when to
|
68
|
-
// // stop and serves no other purpose.
|
69
|
-
// ctrl_t sentinel;
|
70
|
-
// // A copy of the first `kWidth - 1` elements of `ctrl`. This is used so
|
71
|
-
// // that if a probe sequence picks a value near the end of `ctrl`,
|
72
|
-
// // `Group` will have valid control bytes to look at.
|
73
|
-
// ctrl_t clones[kWidth - 1];
|
74
|
-
// // The actual slot data.
|
75
|
-
// slot_type slots[capacity];
|
76
|
-
// };
|
77
|
-
//
|
78
|
-
// The length of this array is computed by `AllocSize()` below.
|
79
|
-
//
|
80
|
-
// Control bytes (`ctrl_t`) are bytes (collected into groups of a
|
81
|
-
// platform-specific size) that define the state of the corresponding slot in
|
82
|
-
// the slot array. Group manipulation is tightly optimized to be as efficient
|
83
|
-
// as possible: SSE and friends on x86, clever bit operations on other arches.
|
84
|
-
//
|
85
|
-
// Group 1 Group 2 Group 3
|
86
|
-
// +---------------+---------------+---------------+
|
87
|
-
// | | | | | | | | | | | | | | | | | | | | | | | | |
|
88
|
-
// +---------------+---------------+---------------+
|
89
|
-
//
|
90
|
-
// Each control byte is either a special value for empty slots, deleted slots
|
91
|
-
// (sometimes called *tombstones*), and a special end-of-table marker used by
|
92
|
-
// iterators, or, if occupied, seven bits (H2) from the hash of the value in the
|
93
|
-
// corresponding slot.
|
94
|
-
//
|
95
|
-
// Storing control bytes in a separate array also has beneficial cache effects,
|
96
|
-
// since more logical slots will fit into a cache line.
|
97
|
-
//
|
98
|
-
// # Hashing
|
99
|
-
//
|
100
|
-
// We compute two separate hashes, `H1` and `H2`, from the hash of an object.
|
101
|
-
// `H1(hash(x))` is an index into `slots`, and essentially the starting point
|
102
|
-
// for the probe sequence. `H2(hash(x))` is a 7-bit value used to filter out
|
103
|
-
// objects that cannot possibly be the one we are looking for.
|
104
|
-
//
|
105
|
-
// # Table operations.
|
106
|
-
//
|
107
|
-
// The key operations are `insert`, `find`, and `erase`.
|
108
|
-
//
|
109
|
-
// Since `insert` and `erase` are implemented in terms of `find`, we describe
|
110
|
-
// `find` first. To `find` a value `x`, we compute `hash(x)`. From
|
111
|
-
// `H1(hash(x))` and the capacity, we construct a `probe_seq` that visits every
|
112
|
-
// group of slots in some interesting order.
|
113
|
-
//
|
114
|
-
// We now walk through these indices. At each index, we select the entire group
|
115
|
-
// starting with that index and extract potential candidates: occupied slots
|
116
|
-
// with a control byte equal to `H2(hash(x))`. If we find an empty slot in the
|
117
|
-
// group, we stop and return an error. Each candidate slot `y` is compared with
|
118
|
-
// `x`; if `x == y`, we are done and return `&y`; otherwise we contine to the
|
119
|
-
// next probe index. Tombstones effectively behave like full slots that never
|
120
|
-
// match the value we're looking for.
|
121
|
-
//
|
122
|
-
// The `H2` bits ensure when we compare a slot to an object with `==`, we are
|
123
|
-
// likely to have actually found the object. That is, the chance is low that
|
124
|
-
// `==` is called and returns `false`. Thus, when we search for an object, we
|
125
|
-
// are unlikely to call `==` many times. This likelyhood can be analyzed as
|
126
|
-
// follows (assuming that H2 is a random enough hash function).
|
127
|
-
//
|
128
|
-
// Let's assume that there are `k` "wrong" objects that must be examined in a
|
129
|
-
// probe sequence. For example, when doing a `find` on an object that is in the
|
130
|
-
// table, `k` is the number of objects between the start of the probe sequence
|
131
|
-
// and the final found object (not including the final found object). The
|
132
|
-
// expected number of objects with an H2 match is then `k/128`. Measurements
|
133
|
-
// and analysis indicate that even at high load factors, `k` is less than 32,
|
134
|
-
// meaning that the number of "false positive" comparisons we must perform is
|
135
|
-
// less than 1/8 per `find`.
|
136
|
-
|
137
|
-
// `insert` is implemented in terms of `unchecked_insert`, which inserts a
|
138
|
-
// value presumed to not be in the table (violating this requirement will cause
|
139
|
-
// the table to behave erratically). Given `x` and its hash `hash(x)`, to insert
|
140
|
-
// it, we construct a `probe_seq` once again, and use it to find the first
|
141
|
-
// group with an unoccupied (empty *or* deleted) slot. We place `x` into the
|
142
|
-
// first such slot in the group and mark it as full with `x`'s H2.
|
143
|
-
//
|
144
|
-
// To `insert`, we compose `unchecked_insert` with `find`. We compute `h(x)` and
|
145
|
-
// perform a `find` to see if it's already present; if it is, we're done. If
|
146
|
-
// it's not, we may decide the table is getting overcrowded (i.e. the load
|
147
|
-
// factor is greater than 7/8 for big tables; `is_small()` tables use a max load
|
148
|
-
// factor of 1); in this case, we allocate a bigger array, `unchecked_insert`
|
149
|
-
// each element of the table into the new array (we know that no insertion here
|
150
|
-
// will insert an already-present value), and discard the old backing array. At
|
151
|
-
// this point, we may `unchecked_insert` the value `x`.
|
152
|
-
//
|
153
|
-
// Below, `unchecked_insert` is partly implemented by `prepare_insert`, which
|
154
|
-
// presents a viable, initialized slot pointee to the caller.
|
155
|
-
//
|
156
|
-
// `erase` is implemented in terms of `erase_at`, which takes an index to a
|
157
|
-
// slot. Given an offset, we simply create a tombstone and destroy its contents.
|
158
|
-
// If we can prove that the slot would not appear in a probe sequence, we can
|
159
|
-
// make the slot as empty, instead. We can prove this by observing that if a
|
160
|
-
// group has any empty slots, it has never been full (assuming we never create
|
161
|
-
// an empty slot in a group with no empties, which this heuristic guarantees we
|
162
|
-
// never do) and find would stop at this group anyways (since it does not probe
|
163
|
-
// beyond groups with empties).
|
164
|
-
//
|
165
|
-
// `erase` is `erase_at` composed with `find`: if we
|
166
|
-
// have a value `x`, we can perform a `find`, and then `erase_at` the resulting
|
167
|
-
// slot.
|
168
|
-
//
|
169
|
-
// To iterate, we simply traverse the array, skipping empty and deleted slots
|
170
|
-
// and stopping when we hit a `kSentinel`.
|
171
|
-
|
172
|
-
#ifndef ABSL_CONTAINER_INTERNAL_RAW_HASH_SET_H_
|
173
|
-
#define ABSL_CONTAINER_INTERNAL_RAW_HASH_SET_H_
|
174
|
-
|
175
|
-
#include <algorithm>
|
176
|
-
#include <cmath>
|
177
|
-
#include <cstdint>
|
178
|
-
#include <cstring>
|
179
|
-
#include <iterator>
|
180
|
-
#include <limits>
|
181
|
-
#include <memory>
|
182
|
-
#include <tuple>
|
183
|
-
#include <type_traits>
|
184
|
-
#include <utility>
|
185
|
-
|
186
|
-
#include "absl/base/config.h"
|
187
|
-
#include "absl/base/internal/endian.h"
|
188
|
-
#include "absl/base/internal/prefetch.h"
|
189
|
-
#include "absl/base/optimization.h"
|
190
|
-
#include "absl/base/port.h"
|
191
|
-
#include "absl/container/internal/common.h"
|
192
|
-
#include "absl/container/internal/compressed_tuple.h"
|
193
|
-
#include "absl/container/internal/container_memory.h"
|
194
|
-
#include "absl/container/internal/hash_policy_traits.h"
|
195
|
-
#include "absl/container/internal/hashtable_debug_hooks.h"
|
196
|
-
#include "absl/container/internal/hashtablez_sampler.h"
|
197
|
-
#include "absl/memory/memory.h"
|
198
|
-
#include "absl/meta/type_traits.h"
|
199
|
-
#include "absl/numeric/bits.h"
|
200
|
-
#include "absl/utility/utility.h"
|
201
|
-
|
202
|
-
#ifdef ABSL_INTERNAL_HAVE_SSE2
|
203
|
-
#include <emmintrin.h>
|
204
|
-
#endif
|
205
|
-
|
206
|
-
#ifdef ABSL_INTERNAL_HAVE_SSSE3
|
207
|
-
#include <tmmintrin.h>
|
208
|
-
#endif
|
209
|
-
|
210
|
-
#ifdef _MSC_VER
|
211
|
-
#include <intrin.h>
|
212
|
-
#endif
|
213
|
-
|
214
|
-
#ifdef ABSL_INTERNAL_HAVE_ARM_NEON
|
215
|
-
#include <arm_neon.h>
|
216
|
-
#endif
|
217
|
-
|
218
|
-
namespace absl {
|
219
|
-
ABSL_NAMESPACE_BEGIN
|
220
|
-
namespace container_internal {
|
221
|
-
|
222
|
-
template <typename AllocType>
|
223
|
-
void SwapAlloc(AllocType& lhs, AllocType& rhs,
|
224
|
-
std::true_type /* propagate_on_container_swap */) {
|
225
|
-
using std::swap;
|
226
|
-
swap(lhs, rhs);
|
227
|
-
}
|
228
|
-
template <typename AllocType>
|
229
|
-
void SwapAlloc(AllocType& /*lhs*/, AllocType& /*rhs*/,
|
230
|
-
std::false_type /* propagate_on_container_swap */) {}
|
231
|
-
|
232
|
-
// The state for a probe sequence.
|
233
|
-
//
|
234
|
-
// Currently, the sequence is a triangular progression of the form
|
235
|
-
//
|
236
|
-
// p(i) := Width * (i^2 + i)/2 + hash (mod mask + 1)
|
237
|
-
//
|
238
|
-
// The use of `Width` ensures that each probe step does not overlap groups;
|
239
|
-
// the sequence effectively outputs the addresses of *groups* (although not
|
240
|
-
// necessarily aligned to any boundary). The `Group` machinery allows us
|
241
|
-
// to check an entire group with minimal branching.
|
242
|
-
//
|
243
|
-
// Wrapping around at `mask + 1` is important, but not for the obvious reason.
|
244
|
-
// As described above, the first few entries of the control byte array
|
245
|
-
// are mirrored at the end of the array, which `Group` will find and use
|
246
|
-
// for selecting candidates. However, when those candidates' slots are
|
247
|
-
// actually inspected, there are no corresponding slots for the cloned bytes,
|
248
|
-
// so we need to make sure we've treated those offsets as "wrapping around".
|
249
|
-
//
|
250
|
-
// It turns out that this probe sequence visits every group exactly once if the
|
251
|
-
// number of groups is a power of two, since (i^2+i)/2 is a bijection in
|
252
|
-
// Z/(2^m). See https://en.wikipedia.org/wiki/Quadratic_probing
|
253
|
-
template <size_t Width>
|
254
|
-
class probe_seq {
|
255
|
-
public:
|
256
|
-
// Creates a new probe sequence using `hash` as the initial value of the
|
257
|
-
// sequence and `mask` (usually the capacity of the table) as the mask to
|
258
|
-
// apply to each value in the progression.
|
259
|
-
probe_seq(size_t hash, size_t mask) {
|
260
|
-
assert(((mask + 1) & mask) == 0 && "not a mask");
|
261
|
-
mask_ = mask;
|
262
|
-
offset_ = hash & mask_;
|
263
|
-
}
|
264
|
-
|
265
|
-
// The offset within the table, i.e., the value `p(i)` above.
|
266
|
-
size_t offset() const { return offset_; }
|
267
|
-
size_t offset(size_t i) const { return (offset_ + i) & mask_; }
|
268
|
-
|
269
|
-
void next() {
|
270
|
-
index_ += Width;
|
271
|
-
offset_ += index_;
|
272
|
-
offset_ &= mask_;
|
273
|
-
}
|
274
|
-
// 0-based probe index, a multiple of `Width`.
|
275
|
-
size_t index() const { return index_; }
|
276
|
-
|
277
|
-
private:
|
278
|
-
size_t mask_;
|
279
|
-
size_t offset_;
|
280
|
-
size_t index_ = 0;
|
281
|
-
};
|
282
|
-
|
283
|
-
template <class ContainerKey, class Hash, class Eq>
|
284
|
-
struct RequireUsableKey {
|
285
|
-
template <class PassedKey, class... Args>
|
286
|
-
std::pair<
|
287
|
-
decltype(std::declval<const Hash&>()(std::declval<const PassedKey&>())),
|
288
|
-
decltype(std::declval<const Eq&>()(std::declval<const ContainerKey&>(),
|
289
|
-
std::declval<const PassedKey&>()))>*
|
290
|
-
operator()(const PassedKey&, const Args&...) const;
|
291
|
-
};
|
292
|
-
|
293
|
-
template <class E, class Policy, class Hash, class Eq, class... Ts>
|
294
|
-
struct IsDecomposable : std::false_type {};
|
295
|
-
|
296
|
-
template <class Policy, class Hash, class Eq, class... Ts>
|
297
|
-
struct IsDecomposable<
|
298
|
-
absl::void_t<decltype(Policy::apply(
|
299
|
-
RequireUsableKey<typename Policy::key_type, Hash, Eq>(),
|
300
|
-
std::declval<Ts>()...))>,
|
301
|
-
Policy, Hash, Eq, Ts...> : std::true_type {};
|
302
|
-
|
303
|
-
// TODO(alkis): Switch to std::is_nothrow_swappable when gcc/clang supports it.
|
304
|
-
template <class T>
|
305
|
-
constexpr bool IsNoThrowSwappable(std::true_type = {} /* is_swappable */) {
|
306
|
-
using std::swap;
|
307
|
-
return noexcept(swap(std::declval<T&>(), std::declval<T&>()));
|
308
|
-
}
|
309
|
-
template <class T>
|
310
|
-
constexpr bool IsNoThrowSwappable(std::false_type /* is_swappable */) {
|
311
|
-
return false;
|
312
|
-
}
|
313
|
-
|
314
|
-
template <typename T>
|
315
|
-
uint32_t TrailingZeros(T x) {
|
316
|
-
ABSL_ASSUME(x != 0);
|
317
|
-
return static_cast<uint32_t>(countr_zero(x));
|
318
|
-
}
|
319
|
-
|
320
|
-
// An abstract bitmask, such as that emitted by a SIMD instruction.
|
321
|
-
//
|
322
|
-
// Specifically, this type implements a simple bitset whose representation is
|
323
|
-
// controlled by `SignificantBits` and `Shift`. `SignificantBits` is the number
|
324
|
-
// of abstract bits in the bitset, while `Shift` is the log-base-two of the
|
325
|
-
// width of an abstract bit in the representation.
|
326
|
-
// This mask provides operations for any number of real bits set in an abstract
|
327
|
-
// bit. To add iteration on top of that, implementation must guarantee no more
|
328
|
-
// than one real bit is set in an abstract bit.
|
329
|
-
template <class T, int SignificantBits, int Shift = 0>
|
330
|
-
class NonIterableBitMask {
|
331
|
-
public:
|
332
|
-
explicit NonIterableBitMask(T mask) : mask_(mask) {}
|
333
|
-
|
334
|
-
explicit operator bool() const { return this->mask_ != 0; }
|
335
|
-
|
336
|
-
// Returns the index of the lowest *abstract* bit set in `self`.
|
337
|
-
uint32_t LowestBitSet() const {
|
338
|
-
return container_internal::TrailingZeros(mask_) >> Shift;
|
339
|
-
}
|
340
|
-
|
341
|
-
// Returns the index of the highest *abstract* bit set in `self`.
|
342
|
-
uint32_t HighestBitSet() const {
|
343
|
-
return static_cast<uint32_t>((bit_width(mask_) - 1) >> Shift);
|
344
|
-
}
|
345
|
-
|
346
|
-
// Return the number of trailing zero *abstract* bits.
|
347
|
-
uint32_t TrailingZeros() const {
|
348
|
-
return container_internal::TrailingZeros(mask_) >> Shift;
|
349
|
-
}
|
350
|
-
|
351
|
-
// Return the number of leading zero *abstract* bits.
|
352
|
-
uint32_t LeadingZeros() const {
|
353
|
-
constexpr int total_significant_bits = SignificantBits << Shift;
|
354
|
-
constexpr int extra_bits = sizeof(T) * 8 - total_significant_bits;
|
355
|
-
return static_cast<uint32_t>(countl_zero(mask_ << extra_bits)) >> Shift;
|
356
|
-
}
|
357
|
-
|
358
|
-
T mask_;
|
359
|
-
};
|
360
|
-
|
361
|
-
// Mask that can be iterable
|
362
|
-
//
|
363
|
-
// For example, when `SignificantBits` is 16 and `Shift` is zero, this is just
|
364
|
-
// an ordinary 16-bit bitset occupying the low 16 bits of `mask`. When
|
365
|
-
// `SignificantBits` is 8 and `Shift` is 3, abstract bits are represented as
|
366
|
-
// the bytes `0x00` and `0x80`, and it occupies all 64 bits of the bitmask.
|
367
|
-
//
|
368
|
-
// For example:
|
369
|
-
// for (int i : BitMask<uint32_t, 16>(0b101)) -> yields 0, 2
|
370
|
-
// for (int i : BitMask<uint64_t, 8, 3>(0x0000000080800000)) -> yields 2, 3
|
371
|
-
template <class T, int SignificantBits, int Shift = 0>
|
372
|
-
class BitMask : public NonIterableBitMask<T, SignificantBits, Shift> {
|
373
|
-
using Base = NonIterableBitMask<T, SignificantBits, Shift>;
|
374
|
-
static_assert(std::is_unsigned<T>::value, "");
|
375
|
-
static_assert(Shift == 0 || Shift == 3, "");
|
376
|
-
|
377
|
-
public:
|
378
|
-
explicit BitMask(T mask) : Base(mask) {}
|
379
|
-
// BitMask is an iterator over the indices of its abstract bits.
|
380
|
-
using value_type = int;
|
381
|
-
using iterator = BitMask;
|
382
|
-
using const_iterator = BitMask;
|
383
|
-
|
384
|
-
BitMask& operator++() {
|
385
|
-
this->mask_ &= (this->mask_ - 1);
|
386
|
-
return *this;
|
387
|
-
}
|
388
|
-
|
389
|
-
uint32_t operator*() const { return Base::LowestBitSet(); }
|
390
|
-
|
391
|
-
BitMask begin() const { return *this; }
|
392
|
-
BitMask end() const { return BitMask(0); }
|
393
|
-
|
394
|
-
private:
|
395
|
-
friend bool operator==(const BitMask& a, const BitMask& b) {
|
396
|
-
return a.mask_ == b.mask_;
|
397
|
-
}
|
398
|
-
friend bool operator!=(const BitMask& a, const BitMask& b) {
|
399
|
-
return a.mask_ != b.mask_;
|
400
|
-
}
|
401
|
-
};
|
402
|
-
|
403
|
-
using h2_t = uint8_t;
|
404
|
-
|
405
|
-
// The values here are selected for maximum performance. See the static asserts
|
406
|
-
// below for details.
|
407
|
-
|
408
|
-
// A `ctrl_t` is a single control byte, which can have one of four
|
409
|
-
// states: empty, deleted, full (which has an associated seven-bit h2_t value)
|
410
|
-
// and the sentinel. They have the following bit patterns:
|
411
|
-
//
|
412
|
-
// empty: 1 0 0 0 0 0 0 0
|
413
|
-
// deleted: 1 1 1 1 1 1 1 0
|
414
|
-
// full: 0 h h h h h h h // h represents the hash bits.
|
415
|
-
// sentinel: 1 1 1 1 1 1 1 1
|
416
|
-
//
|
417
|
-
// These values are specifically tuned for SSE-flavored SIMD.
|
418
|
-
// The static_asserts below detail the source of these choices.
|
419
|
-
//
|
420
|
-
// We use an enum class so that when strict aliasing is enabled, the compiler
|
421
|
-
// knows ctrl_t doesn't alias other types.
|
422
|
-
enum class ctrl_t : int8_t {
|
423
|
-
kEmpty = -128, // 0b10000000
|
424
|
-
kDeleted = -2, // 0b11111110
|
425
|
-
kSentinel = -1, // 0b11111111
|
426
|
-
};
|
427
|
-
static_assert(
|
428
|
-
(static_cast<int8_t>(ctrl_t::kEmpty) &
|
429
|
-
static_cast<int8_t>(ctrl_t::kDeleted) &
|
430
|
-
static_cast<int8_t>(ctrl_t::kSentinel) & 0x80) != 0,
|
431
|
-
"Special markers need to have the MSB to make checking for them efficient");
|
432
|
-
static_assert(
|
433
|
-
ctrl_t::kEmpty < ctrl_t::kSentinel && ctrl_t::kDeleted < ctrl_t::kSentinel,
|
434
|
-
"ctrl_t::kEmpty and ctrl_t::kDeleted must be smaller than "
|
435
|
-
"ctrl_t::kSentinel to make the SIMD test of IsEmptyOrDeleted() efficient");
|
436
|
-
static_assert(
|
437
|
-
ctrl_t::kSentinel == static_cast<ctrl_t>(-1),
|
438
|
-
"ctrl_t::kSentinel must be -1 to elide loading it from memory into SIMD "
|
439
|
-
"registers (pcmpeqd xmm, xmm)");
|
440
|
-
static_assert(ctrl_t::kEmpty == static_cast<ctrl_t>(-128),
|
441
|
-
"ctrl_t::kEmpty must be -128 to make the SIMD check for its "
|
442
|
-
"existence efficient (psignb xmm, xmm)");
|
443
|
-
static_assert(
|
444
|
-
(~static_cast<int8_t>(ctrl_t::kEmpty) &
|
445
|
-
~static_cast<int8_t>(ctrl_t::kDeleted) &
|
446
|
-
static_cast<int8_t>(ctrl_t::kSentinel) & 0x7F) != 0,
|
447
|
-
"ctrl_t::kEmpty and ctrl_t::kDeleted must share an unset bit that is not "
|
448
|
-
"shared by ctrl_t::kSentinel to make the scalar test for "
|
449
|
-
"MaskEmptyOrDeleted() efficient");
|
450
|
-
static_assert(ctrl_t::kDeleted == static_cast<ctrl_t>(-2),
|
451
|
-
"ctrl_t::kDeleted must be -2 to make the implementation of "
|
452
|
-
"ConvertSpecialToEmptyAndFullToDeleted efficient");
|
453
|
-
|
454
|
-
ABSL_DLL extern const ctrl_t kEmptyGroup[16];
|
455
|
-
|
456
|
-
// Returns a pointer to a control byte group that can be used by empty tables.
|
457
|
-
inline ctrl_t* EmptyGroup() {
|
458
|
-
// Const must be cast away here; no uses of this function will actually write
|
459
|
-
// to it, because it is only used for empty tables.
|
460
|
-
return const_cast<ctrl_t*>(kEmptyGroup);
|
461
|
-
}
|
462
|
-
|
463
|
-
// Mixes a randomly generated per-process seed with `hash` and `ctrl` to
|
464
|
-
// randomize insertion order within groups.
|
465
|
-
bool ShouldInsertBackwards(size_t hash, const ctrl_t* ctrl);
|
466
|
-
|
467
|
-
// Returns a per-table, hash salt, which changes on resize. This gets mixed into
|
468
|
-
// H1 to randomize iteration order per-table.
|
469
|
-
//
|
470
|
-
// The seed consists of the ctrl_ pointer, which adds enough entropy to ensure
|
471
|
-
// non-determinism of iteration order in most cases.
|
472
|
-
inline size_t PerTableSalt(const ctrl_t* ctrl) {
|
473
|
-
// The low bits of the pointer have little or no entropy because of
|
474
|
-
// alignment. We shift the pointer to try to use higher entropy bits. A
|
475
|
-
// good number seems to be 12 bits, because that aligns with page size.
|
476
|
-
return reinterpret_cast<uintptr_t>(ctrl) >> 12;
|
477
|
-
}
|
478
|
-
// Extracts the H1 portion of a hash: 57 bits mixed with a per-table salt.
|
479
|
-
inline size_t H1(size_t hash, const ctrl_t* ctrl) {
|
480
|
-
return (hash >> 7) ^ PerTableSalt(ctrl);
|
481
|
-
}
|
482
|
-
|
483
|
-
// Extracts the H2 portion of a hash: the 7 bits not used for H1.
|
484
|
-
//
|
485
|
-
// These are used as an occupied control byte.
|
486
|
-
inline h2_t H2(size_t hash) { return hash & 0x7F; }
|
487
|
-
|
488
|
-
// Helpers for checking the state of a control byte.
|
489
|
-
inline bool IsEmpty(ctrl_t c) { return c == ctrl_t::kEmpty; }
|
490
|
-
inline bool IsFull(ctrl_t c) { return c >= static_cast<ctrl_t>(0); }
|
491
|
-
inline bool IsDeleted(ctrl_t c) { return c == ctrl_t::kDeleted; }
|
492
|
-
inline bool IsEmptyOrDeleted(ctrl_t c) { return c < ctrl_t::kSentinel; }
|
493
|
-
|
494
|
-
#ifdef ABSL_INTERNAL_HAVE_SSE2
|
495
|
-
// Quick reference guide for intrinsics used below:
|
496
|
-
//
|
497
|
-
// * __m128i: An XMM (128-bit) word.
|
498
|
-
//
|
499
|
-
// * _mm_setzero_si128: Returns a zero vector.
|
500
|
-
// * _mm_set1_epi8: Returns a vector with the same i8 in each lane.
|
501
|
-
//
|
502
|
-
// * _mm_subs_epi8: Saturating-subtracts two i8 vectors.
|
503
|
-
// * _mm_and_si128: Ands two i128s together.
|
504
|
-
// * _mm_or_si128: Ors two i128s together.
|
505
|
-
// * _mm_andnot_si128: And-nots two i128s together.
|
506
|
-
//
|
507
|
-
// * _mm_cmpeq_epi8: Component-wise compares two i8 vectors for equality,
|
508
|
-
// filling each lane with 0x00 or 0xff.
|
509
|
-
// * _mm_cmpgt_epi8: Same as above, but using > rather than ==.
|
510
|
-
//
|
511
|
-
// * _mm_loadu_si128: Performs an unaligned load of an i128.
|
512
|
-
// * _mm_storeu_si128: Performs an unaligned store of an i128.
|
513
|
-
//
|
514
|
-
// * _mm_sign_epi8: Retains, negates, or zeroes each i8 lane of the first
|
515
|
-
// argument if the corresponding lane of the second
|
516
|
-
// argument is positive, negative, or zero, respectively.
|
517
|
-
// * _mm_movemask_epi8: Selects the sign bit out of each i8 lane and produces a
|
518
|
-
// bitmask consisting of those bits.
|
519
|
-
// * _mm_shuffle_epi8: Selects i8s from the first argument, using the low
|
520
|
-
// four bits of each i8 lane in the second argument as
|
521
|
-
// indices.
|
522
|
-
|
523
|
-
// https://github.com/abseil/abseil-cpp/issues/209
|
524
|
-
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87853
|
525
|
-
// _mm_cmpgt_epi8 is broken under GCC with -funsigned-char
|
526
|
-
// Work around this by using the portable implementation of Group
|
527
|
-
// when using -funsigned-char under GCC.
|
528
|
-
inline __m128i _mm_cmpgt_epi8_fixed(__m128i a, __m128i b) {
|
529
|
-
#if defined(__GNUC__) && !defined(__clang__)
|
530
|
-
if (std::is_unsigned<char>::value) {
|
531
|
-
const __m128i mask = _mm_set1_epi8(0x80);
|
532
|
-
const __m128i diff = _mm_subs_epi8(b, a);
|
533
|
-
return _mm_cmpeq_epi8(_mm_and_si128(diff, mask), mask);
|
534
|
-
}
|
535
|
-
#endif
|
536
|
-
return _mm_cmpgt_epi8(a, b);
|
537
|
-
}
|
538
|
-
|
539
|
-
struct GroupSse2Impl {
|
540
|
-
static constexpr size_t kWidth = 16; // the number of slots per group
|
541
|
-
|
542
|
-
explicit GroupSse2Impl(const ctrl_t* pos) {
|
543
|
-
ctrl = _mm_loadu_si128(reinterpret_cast<const __m128i*>(pos));
|
544
|
-
}
|
545
|
-
|
546
|
-
// Returns a bitmask representing the positions of slots that match hash.
|
547
|
-
BitMask<uint32_t, kWidth> Match(h2_t hash) const {
|
548
|
-
auto match = _mm_set1_epi8(hash);
|
549
|
-
return BitMask<uint32_t, kWidth>(
|
550
|
-
static_cast<uint32_t>(_mm_movemask_epi8(_mm_cmpeq_epi8(match, ctrl))));
|
551
|
-
}
|
552
|
-
|
553
|
-
// Returns a bitmask representing the positions of empty slots.
|
554
|
-
NonIterableBitMask<uint32_t, kWidth> MaskEmpty() const {
|
555
|
-
#ifdef ABSL_INTERNAL_HAVE_SSSE3
|
556
|
-
// This only works because ctrl_t::kEmpty is -128.
|
557
|
-
return NonIterableBitMask<uint32_t, kWidth>(
|
558
|
-
static_cast<uint32_t>(_mm_movemask_epi8(_mm_sign_epi8(ctrl, ctrl))));
|
559
|
-
#else
|
560
|
-
auto match = _mm_set1_epi8(static_cast<h2_t>(ctrl_t::kEmpty));
|
561
|
-
return NonIterableBitMask<uint32_t, kWidth>(
|
562
|
-
static_cast<uint32_t>(_mm_movemask_epi8(_mm_cmpeq_epi8(match, ctrl))));
|
563
|
-
#endif
|
564
|
-
}
|
565
|
-
|
566
|
-
// Returns a bitmask representing the positions of empty or deleted slots.
|
567
|
-
NonIterableBitMask<uint32_t, kWidth> MaskEmptyOrDeleted() const {
|
568
|
-
auto special = _mm_set1_epi8(static_cast<uint8_t>(ctrl_t::kSentinel));
|
569
|
-
return NonIterableBitMask<uint32_t, kWidth>(static_cast<uint32_t>(
|
570
|
-
_mm_movemask_epi8(_mm_cmpgt_epi8_fixed(special, ctrl))));
|
571
|
-
}
|
572
|
-
|
573
|
-
// Returns the number of trailing empty or deleted elements in the group.
|
574
|
-
uint32_t CountLeadingEmptyOrDeleted() const {
|
575
|
-
auto special = _mm_set1_epi8(static_cast<uint8_t>(ctrl_t::kSentinel));
|
576
|
-
return TrailingZeros(static_cast<uint32_t>(
|
577
|
-
_mm_movemask_epi8(_mm_cmpgt_epi8_fixed(special, ctrl)) + 1));
|
578
|
-
}
|
579
|
-
|
580
|
-
void ConvertSpecialToEmptyAndFullToDeleted(ctrl_t* dst) const {
|
581
|
-
auto msbs = _mm_set1_epi8(static_cast<char>(-128));
|
582
|
-
auto x126 = _mm_set1_epi8(126);
|
583
|
-
#ifdef ABSL_INTERNAL_HAVE_SSSE3
|
584
|
-
auto res = _mm_or_si128(_mm_shuffle_epi8(x126, ctrl), msbs);
|
585
|
-
#else
|
586
|
-
auto zero = _mm_setzero_si128();
|
587
|
-
auto special_mask = _mm_cmpgt_epi8_fixed(zero, ctrl);
|
588
|
-
auto res = _mm_or_si128(msbs, _mm_andnot_si128(special_mask, x126));
|
589
|
-
#endif
|
590
|
-
_mm_storeu_si128(reinterpret_cast<__m128i*>(dst), res);
|
591
|
-
}
|
592
|
-
|
593
|
-
__m128i ctrl;
|
594
|
-
};
|
595
|
-
#endif // ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSE2
|
596
|
-
|
597
|
-
#if defined(ABSL_INTERNAL_HAVE_ARM_NEON) && defined(ABSL_IS_LITTLE_ENDIAN)
|
598
|
-
struct GroupAArch64Impl {
|
599
|
-
static constexpr size_t kWidth = 8;
|
600
|
-
|
601
|
-
explicit GroupAArch64Impl(const ctrl_t* pos) {
|
602
|
-
ctrl = vld1_u8(reinterpret_cast<const uint8_t*>(pos));
|
603
|
-
}
|
604
|
-
|
605
|
-
BitMask<uint64_t, kWidth, 3> Match(h2_t hash) const {
|
606
|
-
uint8x8_t dup = vdup_n_u8(hash);
|
607
|
-
auto mask = vceq_u8(ctrl, dup);
|
608
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
609
|
-
return BitMask<uint64_t, kWidth, 3>(
|
610
|
-
vget_lane_u64(vreinterpret_u64_u8(mask), 0) & msbs);
|
611
|
-
}
|
612
|
-
|
613
|
-
NonIterableBitMask<uint64_t, kWidth, 3> MaskEmpty() const {
|
614
|
-
uint64_t mask =
|
615
|
-
vget_lane_u64(vreinterpret_u64_u8(
|
616
|
-
vceq_s8(vdup_n_s8(static_cast<h2_t>(ctrl_t::kEmpty)),
|
617
|
-
vreinterpret_s8_u8(ctrl))),
|
618
|
-
0);
|
619
|
-
return NonIterableBitMask<uint64_t, kWidth, 3>(mask);
|
620
|
-
}
|
621
|
-
|
622
|
-
NonIterableBitMask<uint64_t, kWidth, 3> MaskEmptyOrDeleted() const {
|
623
|
-
uint64_t mask =
|
624
|
-
vget_lane_u64(vreinterpret_u64_u8(vcgt_s8(
|
625
|
-
vdup_n_s8(static_cast<int8_t>(ctrl_t::kSentinel)),
|
626
|
-
vreinterpret_s8_u8(ctrl))),
|
627
|
-
0);
|
628
|
-
return NonIterableBitMask<uint64_t, kWidth, 3>(mask);
|
629
|
-
}
|
630
|
-
|
631
|
-
uint32_t CountLeadingEmptyOrDeleted() const {
|
632
|
-
uint64_t mask = vget_lane_u64(vreinterpret_u64_u8(ctrl), 0);
|
633
|
-
// ctrl | ~(ctrl >> 7) will have the lowest bit set to zero for kEmpty and
|
634
|
-
// kDeleted. We lower all other bits and count number of trailing zeros.
|
635
|
-
// Clang and GCC optimize countr_zero to rbit+clz without any check for 0,
|
636
|
-
// so we should be fine.
|
637
|
-
constexpr uint64_t bits = 0x0101010101010101ULL;
|
638
|
-
return countr_zero((mask | ~(mask >> 7)) & bits) >> 3;
|
639
|
-
}
|
640
|
-
|
641
|
-
void ConvertSpecialToEmptyAndFullToDeleted(ctrl_t* dst) const {
|
642
|
-
uint64_t mask = vget_lane_u64(vreinterpret_u64_u8(ctrl), 0);
|
643
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
644
|
-
constexpr uint64_t lsbs = 0x0101010101010101ULL;
|
645
|
-
auto x = mask & msbs;
|
646
|
-
auto res = (~x + (x >> 7)) & ~lsbs;
|
647
|
-
little_endian::Store64(dst, res);
|
648
|
-
}
|
649
|
-
|
650
|
-
uint8x8_t ctrl;
|
651
|
-
};
|
652
|
-
#endif // ABSL_INTERNAL_HAVE_ARM_NEON && ABSL_IS_LITTLE_ENDIAN
|
653
|
-
|
654
|
-
struct GroupPortableImpl {
|
655
|
-
static constexpr size_t kWidth = 8;
|
656
|
-
|
657
|
-
explicit GroupPortableImpl(const ctrl_t* pos)
|
658
|
-
: ctrl(little_endian::Load64(pos)) {}
|
659
|
-
|
660
|
-
BitMask<uint64_t, kWidth, 3> Match(h2_t hash) const {
|
661
|
-
// For the technique, see:
|
662
|
-
// http://graphics.stanford.edu/~seander/bithacks.html##ValueInWord
|
663
|
-
// (Determine if a word has a byte equal to n).
|
664
|
-
//
|
665
|
-
// Caveat: there are false positives but:
|
666
|
-
// - they only occur if there is a real match
|
667
|
-
// - they never occur on ctrl_t::kEmpty, ctrl_t::kDeleted, ctrl_t::kSentinel
|
668
|
-
// - they will be handled gracefully by subsequent checks in code
|
669
|
-
//
|
670
|
-
// Example:
|
671
|
-
// v = 0x1716151413121110
|
672
|
-
// hash = 0x12
|
673
|
-
// retval = (v - lsbs) & ~v & msbs = 0x0000000080800000
|
674
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
675
|
-
constexpr uint64_t lsbs = 0x0101010101010101ULL;
|
676
|
-
auto x = ctrl ^ (lsbs * hash);
|
677
|
-
return BitMask<uint64_t, kWidth, 3>((x - lsbs) & ~x & msbs);
|
678
|
-
}
|
679
|
-
|
680
|
-
NonIterableBitMask<uint64_t, kWidth, 3> MaskEmpty() const {
|
681
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
682
|
-
return NonIterableBitMask<uint64_t, kWidth, 3>((ctrl & (~ctrl << 6)) &
|
683
|
-
msbs);
|
684
|
-
}
|
685
|
-
|
686
|
-
NonIterableBitMask<uint64_t, kWidth, 3> MaskEmptyOrDeleted() const {
|
687
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
688
|
-
return NonIterableBitMask<uint64_t, kWidth, 3>((ctrl & (~ctrl << 7)) &
|
689
|
-
msbs);
|
690
|
-
}
|
691
|
-
|
692
|
-
uint32_t CountLeadingEmptyOrDeleted() const {
|
693
|
-
// ctrl | ~(ctrl >> 7) will have the lowest bit set to zero for kEmpty and
|
694
|
-
// kDeleted. We lower all other bits and count number of trailing zeros.
|
695
|
-
constexpr uint64_t bits = 0x0101010101010101ULL;
|
696
|
-
return countr_zero((ctrl | ~(ctrl >> 7)) & bits) >> 3;
|
697
|
-
}
|
698
|
-
|
699
|
-
void ConvertSpecialToEmptyAndFullToDeleted(ctrl_t* dst) const {
|
700
|
-
constexpr uint64_t msbs = 0x8080808080808080ULL;
|
701
|
-
constexpr uint64_t lsbs = 0x0101010101010101ULL;
|
702
|
-
auto x = ctrl & msbs;
|
703
|
-
auto res = (~x + (x >> 7)) & ~lsbs;
|
704
|
-
little_endian::Store64(dst, res);
|
705
|
-
}
|
706
|
-
|
707
|
-
uint64_t ctrl;
|
708
|
-
};
|
709
|
-
|
710
|
-
#ifdef ABSL_INTERNAL_HAVE_SSE2
|
711
|
-
using Group = GroupSse2Impl;
|
712
|
-
#elif defined(ABSL_INTERNAL_HAVE_ARM_NEON) && defined(ABSL_IS_LITTLE_ENDIAN)
|
713
|
-
using Group = GroupAArch64Impl;
|
714
|
-
#else
|
715
|
-
using Group = GroupPortableImpl;
|
716
|
-
#endif
|
717
|
-
|
718
|
-
// Returns he number of "cloned control bytes".
|
719
|
-
//
|
720
|
-
// This is the number of control bytes that are present both at the beginning
|
721
|
-
// of the control byte array and at the end, such that we can create a
|
722
|
-
// `Group::kWidth`-width probe window starting from any control byte.
|
723
|
-
constexpr size_t NumClonedBytes() { return Group::kWidth - 1; }
|
724
|
-
|
725
|
-
template <class Policy, class Hash, class Eq, class Alloc>
|
726
|
-
class raw_hash_set;
|
727
|
-
|
728
|
-
// Returns whether `n` is a valid capacity (i.e., number of slots).
|
729
|
-
//
|
730
|
-
// A valid capacity is a non-zero integer `2^m - 1`.
|
731
|
-
inline bool IsValidCapacity(size_t n) { return ((n + 1) & n) == 0 && n > 0; }
|
732
|
-
|
733
|
-
// Applies the following mapping to every byte in the control array:
|
734
|
-
// * kDeleted -> kEmpty
|
735
|
-
// * kEmpty -> kEmpty
|
736
|
-
// * _ -> kDeleted
|
737
|
-
// PRECONDITION:
|
738
|
-
// IsValidCapacity(capacity)
|
739
|
-
// ctrl[capacity] == ctrl_t::kSentinel
|
740
|
-
// ctrl[i] != ctrl_t::kSentinel for all i < capacity
|
741
|
-
void ConvertDeletedToEmptyAndFullToDeleted(ctrl_t* ctrl, size_t capacity);
|
742
|
-
|
743
|
-
// Converts `n` into the next valid capacity, per `IsValidCapacity`.
|
744
|
-
inline size_t NormalizeCapacity(size_t n) {
|
745
|
-
return n ? ~size_t{} >> countl_zero(n) : 1;
|
746
|
-
}
|
747
|
-
|
748
|
-
// General notes on capacity/growth methods below:
|
749
|
-
// - We use 7/8th as maximum load factor. For 16-wide groups, that gives an
|
750
|
-
// average of two empty slots per group.
|
751
|
-
// - For (capacity+1) >= Group::kWidth, growth is 7/8*capacity.
|
752
|
-
// - For (capacity+1) < Group::kWidth, growth == capacity. In this case, we
|
753
|
-
// never need to probe (the whole table fits in one group) so we don't need a
|
754
|
-
// load factor less than 1.
|
755
|
-
|
756
|
-
// Given `capacity`, applies the load factor; i.e., it returns the maximum
|
757
|
-
// number of values we should put into the table before a resizing rehash.
|
758
|
-
inline size_t CapacityToGrowth(size_t capacity) {
|
759
|
-
assert(IsValidCapacity(capacity));
|
760
|
-
// `capacity*7/8`
|
761
|
-
if (Group::kWidth == 8 && capacity == 7) {
|
762
|
-
// x-x/8 does not work when x==7.
|
763
|
-
return 6;
|
764
|
-
}
|
765
|
-
return capacity - capacity / 8;
|
766
|
-
}
|
767
|
-
|
768
|
-
// Given `growth`, "unapplies" the load factor to find how large the capacity
|
769
|
-
// should be to stay within the load factor.
|
770
|
-
//
|
771
|
-
// This might not be a valid capacity and `NormalizeCapacity()` should be
|
772
|
-
// called on this.
|
773
|
-
inline size_t GrowthToLowerboundCapacity(size_t growth) {
|
774
|
-
// `growth*8/7`
|
775
|
-
if (Group::kWidth == 8 && growth == 7) {
|
776
|
-
// x+(x-1)/7 does not work when x==7.
|
777
|
-
return 8;
|
778
|
-
}
|
779
|
-
return growth + static_cast<size_t>((static_cast<int64_t>(growth) - 1) / 7);
|
780
|
-
}
|
781
|
-
|
782
|
-
template <class InputIter>
|
783
|
-
size_t SelectBucketCountForIterRange(InputIter first, InputIter last,
|
784
|
-
size_t bucket_count) {
|
785
|
-
if (bucket_count != 0) {
|
786
|
-
return bucket_count;
|
787
|
-
}
|
788
|
-
using InputIterCategory =
|
789
|
-
typename std::iterator_traits<InputIter>::iterator_category;
|
790
|
-
if (std::is_base_of<std::random_access_iterator_tag,
|
791
|
-
InputIterCategory>::value) {
|
792
|
-
return GrowthToLowerboundCapacity(
|
793
|
-
static_cast<size_t>(std::distance(first, last)));
|
794
|
-
}
|
795
|
-
return 0;
|
796
|
-
}
|
797
|
-
|
798
|
-
#define ABSL_INTERNAL_ASSERT_IS_FULL(ctrl, msg) \
|
799
|
-
ABSL_HARDENING_ASSERT((ctrl != nullptr && IsFull(*ctrl)) && msg)
|
800
|
-
|
801
|
-
inline void AssertIsValid(ctrl_t* ctrl) {
|
802
|
-
ABSL_HARDENING_ASSERT(
|
803
|
-
(ctrl == nullptr || IsFull(*ctrl)) &&
|
804
|
-
"Invalid operation on iterator. The element might have "
|
805
|
-
"been erased, the table might have rehashed, or this may "
|
806
|
-
"be an end() iterator.");
|
807
|
-
}
|
808
|
-
|
809
|
-
struct FindInfo {
|
810
|
-
size_t offset;
|
811
|
-
size_t probe_length;
|
812
|
-
};
|
813
|
-
|
814
|
-
// Whether a table is "small". A small table fits entirely into a probing
|
815
|
-
// group, i.e., has a capacity < `Group::kWidth`.
|
816
|
-
//
|
817
|
-
// In small mode we are able to use the whole capacity. The extra control
|
818
|
-
// bytes give us at least one "empty" control byte to stop the iteration.
|
819
|
-
// This is important to make 1 a valid capacity.
|
820
|
-
//
|
821
|
-
// In small mode only the first `capacity` control bytes after the sentinel
|
822
|
-
// are valid. The rest contain dummy ctrl_t::kEmpty values that do not
|
823
|
-
// represent a real slot. This is important to take into account on
|
824
|
-
// `find_first_non_full()`, where we never try
|
825
|
-
// `ShouldInsertBackwards()` for small tables.
|
826
|
-
inline bool is_small(size_t capacity) { return capacity < Group::kWidth - 1; }
|
827
|
-
|
828
|
-
// Begins a probing operation on `ctrl`, using `hash`.
|
829
|
-
inline probe_seq<Group::kWidth> probe(const ctrl_t* ctrl, size_t hash,
|
830
|
-
size_t capacity) {
|
831
|
-
return probe_seq<Group::kWidth>(H1(hash, ctrl), capacity);
|
832
|
-
}
|
833
|
-
|
834
|
-
// Probes an array of control bits using a probe sequence derived from `hash`,
|
835
|
-
// and returns the offset corresponding to the first deleted or empty slot.
|
836
|
-
//
|
837
|
-
// Behavior when the entire table is full is undefined.
|
838
|
-
//
|
839
|
-
// NOTE: this function must work with tables having both empty and deleted
|
840
|
-
// slots in the same group. Such tables appear during `erase()`.
|
841
|
-
template <typename = void>
|
842
|
-
inline FindInfo find_first_non_full(const ctrl_t* ctrl, size_t hash,
|
843
|
-
size_t capacity) {
|
844
|
-
auto seq = probe(ctrl, hash, capacity);
|
845
|
-
while (true) {
|
846
|
-
Group g{ctrl + seq.offset()};
|
847
|
-
auto mask = g.MaskEmptyOrDeleted();
|
848
|
-
if (mask) {
|
849
|
-
#if !defined(NDEBUG)
|
850
|
-
// We want to add entropy even when ASLR is not enabled.
|
851
|
-
// In debug build we will randomly insert in either the front or back of
|
852
|
-
// the group.
|
853
|
-
// TODO(kfm,sbenza): revisit after we do unconditional mixing
|
854
|
-
if (!is_small(capacity) && ShouldInsertBackwards(hash, ctrl)) {
|
855
|
-
return {seq.offset(mask.HighestBitSet()), seq.index()};
|
856
|
-
}
|
857
|
-
#endif
|
858
|
-
return {seq.offset(mask.LowestBitSet()), seq.index()};
|
859
|
-
}
|
860
|
-
seq.next();
|
861
|
-
assert(seq.index() <= capacity && "full table!");
|
862
|
-
}
|
863
|
-
}
|
864
|
-
|
865
|
-
// Extern template for inline function keep possibility of inlining.
|
866
|
-
// When compiler decided to not inline, no symbols will be added to the
|
867
|
-
// corresponding translation unit.
|
868
|
-
extern template FindInfo find_first_non_full(const ctrl_t*, size_t, size_t);
|
869
|
-
|
870
|
-
// Sets `ctrl` to `{kEmpty, kSentinel, ..., kEmpty}`, marking the entire
|
871
|
-
// array as marked as empty.
|
872
|
-
inline void ResetCtrl(size_t capacity, ctrl_t* ctrl, const void* slot,
|
873
|
-
size_t slot_size) {
|
874
|
-
std::memset(ctrl, static_cast<int8_t>(ctrl_t::kEmpty),
|
875
|
-
capacity + 1 + NumClonedBytes());
|
876
|
-
ctrl[capacity] = ctrl_t::kSentinel;
|
877
|
-
SanitizerPoisonMemoryRegion(slot, slot_size * capacity);
|
878
|
-
}
|
879
|
-
|
880
|
-
// Sets `ctrl[i]` to `h`.
|
881
|
-
//
|
882
|
-
// Unlike setting it directly, this function will perform bounds checks and
|
883
|
-
// mirror the value to the cloned tail if necessary.
|
884
|
-
inline void SetCtrl(size_t i, ctrl_t h, size_t capacity, ctrl_t* ctrl,
|
885
|
-
const void* slot, size_t slot_size) {
|
886
|
-
assert(i < capacity);
|
887
|
-
|
888
|
-
auto* slot_i = static_cast<const char*>(slot) + i * slot_size;
|
889
|
-
if (IsFull(h)) {
|
890
|
-
SanitizerUnpoisonMemoryRegion(slot_i, slot_size);
|
891
|
-
} else {
|
892
|
-
SanitizerPoisonMemoryRegion(slot_i, slot_size);
|
893
|
-
}
|
894
|
-
|
895
|
-
ctrl[i] = h;
|
896
|
-
ctrl[((i - NumClonedBytes()) & capacity) + (NumClonedBytes() & capacity)] = h;
|
897
|
-
}
|
898
|
-
|
899
|
-
// Overload for setting to an occupied `h2_t` rather than a special `ctrl_t`.
|
900
|
-
inline void SetCtrl(size_t i, h2_t h, size_t capacity, ctrl_t* ctrl,
|
901
|
-
const void* slot, size_t slot_size) {
|
902
|
-
SetCtrl(i, static_cast<ctrl_t>(h), capacity, ctrl, slot, slot_size);
|
903
|
-
}
|
904
|
-
|
905
|
-
// Given the capacity of a table, computes the offset (from the start of the
|
906
|
-
// backing allocation) at which the slots begin.
|
907
|
-
inline size_t SlotOffset(size_t capacity, size_t slot_align) {
|
908
|
-
assert(IsValidCapacity(capacity));
|
909
|
-
const size_t num_control_bytes = capacity + 1 + NumClonedBytes();
|
910
|
-
return (num_control_bytes + slot_align - 1) & (~slot_align + 1);
|
911
|
-
}
|
912
|
-
|
913
|
-
// Given the capacity of a table, computes the total size of the backing
|
914
|
-
// array.
|
915
|
-
inline size_t AllocSize(size_t capacity, size_t slot_size, size_t slot_align) {
|
916
|
-
return SlotOffset(capacity, slot_align) + capacity * slot_size;
|
917
|
-
}
|
918
|
-
|
919
|
-
// A SwissTable.
|
920
|
-
//
|
921
|
-
// Policy: a policy defines how to perform different operations on
|
922
|
-
// the slots of the hashtable (see hash_policy_traits.h for the full interface
|
923
|
-
// of policy).
|
924
|
-
//
|
925
|
-
// Hash: a (possibly polymorphic) functor that hashes keys of the hashtable. The
|
926
|
-
// functor should accept a key and return size_t as hash. For best performance
|
927
|
-
// it is important that the hash function provides high entropy across all bits
|
928
|
-
// of the hash.
|
929
|
-
//
|
930
|
-
// Eq: a (possibly polymorphic) functor that compares two keys for equality. It
|
931
|
-
// should accept two (of possibly different type) keys and return a bool: true
|
932
|
-
// if they are equal, false if they are not. If two keys compare equal, then
|
933
|
-
// their hash values as defined by Hash MUST be equal.
|
934
|
-
//
|
935
|
-
// Allocator: an Allocator
|
936
|
-
// [https://en.cppreference.com/w/cpp/named_req/Allocator] with which
|
937
|
-
// the storage of the hashtable will be allocated and the elements will be
|
938
|
-
// constructed and destroyed.
|
939
|
-
template <class Policy, class Hash, class Eq, class Alloc>
|
940
|
-
class raw_hash_set {
|
941
|
-
using PolicyTraits = hash_policy_traits<Policy>;
|
942
|
-
using KeyArgImpl =
|
943
|
-
KeyArg<IsTransparent<Eq>::value && IsTransparent<Hash>::value>;
|
944
|
-
|
945
|
-
public:
|
946
|
-
using init_type = typename PolicyTraits::init_type;
|
947
|
-
using key_type = typename PolicyTraits::key_type;
|
948
|
-
// TODO(sbenza): Hide slot_type as it is an implementation detail. Needs user
|
949
|
-
// code fixes!
|
950
|
-
using slot_type = typename PolicyTraits::slot_type;
|
951
|
-
using allocator_type = Alloc;
|
952
|
-
using size_type = size_t;
|
953
|
-
using difference_type = ptrdiff_t;
|
954
|
-
using hasher = Hash;
|
955
|
-
using key_equal = Eq;
|
956
|
-
using policy_type = Policy;
|
957
|
-
using value_type = typename PolicyTraits::value_type;
|
958
|
-
using reference = value_type&;
|
959
|
-
using const_reference = const value_type&;
|
960
|
-
using pointer = typename absl::allocator_traits<
|
961
|
-
allocator_type>::template rebind_traits<value_type>::pointer;
|
962
|
-
using const_pointer = typename absl::allocator_traits<
|
963
|
-
allocator_type>::template rebind_traits<value_type>::const_pointer;
|
964
|
-
|
965
|
-
// Alias used for heterogeneous lookup functions.
|
966
|
-
// `key_arg<K>` evaluates to `K` when the functors are transparent and to
|
967
|
-
// `key_type` otherwise. It permits template argument deduction on `K` for the
|
968
|
-
// transparent case.
|
969
|
-
template <class K>
|
970
|
-
using key_arg = typename KeyArgImpl::template type<K, key_type>;
|
971
|
-
|
972
|
-
private:
|
973
|
-
// Give an early error when key_type is not hashable/eq.
|
974
|
-
auto KeyTypeCanBeHashed(const Hash& h, const key_type& k) -> decltype(h(k));
|
975
|
-
auto KeyTypeCanBeEq(const Eq& eq, const key_type& k) -> decltype(eq(k, k));
|
976
|
-
|
977
|
-
using AllocTraits = absl::allocator_traits<allocator_type>;
|
978
|
-
using SlotAlloc = typename absl::allocator_traits<
|
979
|
-
allocator_type>::template rebind_alloc<slot_type>;
|
980
|
-
using SlotAllocTraits = typename absl::allocator_traits<
|
981
|
-
allocator_type>::template rebind_traits<slot_type>;
|
982
|
-
|
983
|
-
static_assert(std::is_lvalue_reference<reference>::value,
|
984
|
-
"Policy::element() must return a reference");
|
985
|
-
|
986
|
-
template <typename T>
|
987
|
-
struct SameAsElementReference
|
988
|
-
: std::is_same<typename std::remove_cv<
|
989
|
-
typename std::remove_reference<reference>::type>::type,
|
990
|
-
typename std::remove_cv<
|
991
|
-
typename std::remove_reference<T>::type>::type> {};
|
992
|
-
|
993
|
-
// An enabler for insert(T&&): T must be convertible to init_type or be the
|
994
|
-
// same as [cv] value_type [ref].
|
995
|
-
// Note: we separate SameAsElementReference into its own type to avoid using
|
996
|
-
// reference unless we need to. MSVC doesn't seem to like it in some
|
997
|
-
// cases.
|
998
|
-
template <class T>
|
999
|
-
using RequiresInsertable = typename std::enable_if<
|
1000
|
-
absl::disjunction<std::is_convertible<T, init_type>,
|
1001
|
-
SameAsElementReference<T>>::value,
|
1002
|
-
int>::type;
|
1003
|
-
|
1004
|
-
// RequiresNotInit is a workaround for gcc prior to 7.1.
|
1005
|
-
// See https://godbolt.org/g/Y4xsUh.
|
1006
|
-
template <class T>
|
1007
|
-
using RequiresNotInit =
|
1008
|
-
typename std::enable_if<!std::is_same<T, init_type>::value, int>::type;
|
1009
|
-
|
1010
|
-
template <class... Ts>
|
1011
|
-
using IsDecomposable = IsDecomposable<void, PolicyTraits, Hash, Eq, Ts...>;
|
1012
|
-
|
1013
|
-
public:
|
1014
|
-
static_assert(std::is_same<pointer, value_type*>::value,
|
1015
|
-
"Allocators with custom pointer types are not supported");
|
1016
|
-
static_assert(std::is_same<const_pointer, const value_type*>::value,
|
1017
|
-
"Allocators with custom pointer types are not supported");
|
1018
|
-
|
1019
|
-
class iterator {
|
1020
|
-
friend class raw_hash_set;
|
1021
|
-
|
1022
|
-
public:
|
1023
|
-
using iterator_category = std::forward_iterator_tag;
|
1024
|
-
using value_type = typename raw_hash_set::value_type;
|
1025
|
-
using reference =
|
1026
|
-
absl::conditional_t<PolicyTraits::constant_iterators::value,
|
1027
|
-
const value_type&, value_type&>;
|
1028
|
-
using pointer = absl::remove_reference_t<reference>*;
|
1029
|
-
using difference_type = typename raw_hash_set::difference_type;
|
1030
|
-
|
1031
|
-
iterator() {}
|
1032
|
-
|
1033
|
-
// PRECONDITION: not an end() iterator.
|
1034
|
-
reference operator*() const {
|
1035
|
-
ABSL_INTERNAL_ASSERT_IS_FULL(ctrl_,
|
1036
|
-
"operator*() called on invalid iterator.");
|
1037
|
-
return PolicyTraits::element(slot_);
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
// PRECONDITION: not an end() iterator.
|
1041
|
-
pointer operator->() const {
|
1042
|
-
ABSL_INTERNAL_ASSERT_IS_FULL(ctrl_,
|
1043
|
-
"operator-> called on invalid iterator.");
|
1044
|
-
return &operator*();
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
// PRECONDITION: not an end() iterator.
|
1048
|
-
iterator& operator++() {
|
1049
|
-
ABSL_INTERNAL_ASSERT_IS_FULL(ctrl_,
|
1050
|
-
"operator++ called on invalid iterator.");
|
1051
|
-
++ctrl_;
|
1052
|
-
++slot_;
|
1053
|
-
skip_empty_or_deleted();
|
1054
|
-
return *this;
|
1055
|
-
}
|
1056
|
-
// PRECONDITION: not an end() iterator.
|
1057
|
-
iterator operator++(int) {
|
1058
|
-
auto tmp = *this;
|
1059
|
-
++*this;
|
1060
|
-
return tmp;
|
1061
|
-
}
|
1062
|
-
|
1063
|
-
friend bool operator==(const iterator& a, const iterator& b) {
|
1064
|
-
AssertIsValid(a.ctrl_);
|
1065
|
-
AssertIsValid(b.ctrl_);
|
1066
|
-
return a.ctrl_ == b.ctrl_;
|
1067
|
-
}
|
1068
|
-
friend bool operator!=(const iterator& a, const iterator& b) {
|
1069
|
-
return !(a == b);
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
private:
|
1073
|
-
iterator(ctrl_t* ctrl, slot_type* slot) : ctrl_(ctrl), slot_(slot) {
|
1074
|
-
// This assumption helps the compiler know that any non-end iterator is
|
1075
|
-
// not equal to any end iterator.
|
1076
|
-
ABSL_ASSUME(ctrl != nullptr);
|
1077
|
-
}
|
1078
|
-
|
1079
|
-
// Fixes up `ctrl_` to point to a full by advancing it and `slot_` until
|
1080
|
-
// they reach one.
|
1081
|
-
//
|
1082
|
-
// If a sentinel is reached, we null both of them out instead.
|
1083
|
-
void skip_empty_or_deleted() {
|
1084
|
-
while (IsEmptyOrDeleted(*ctrl_)) {
|
1085
|
-
uint32_t shift = Group{ctrl_}.CountLeadingEmptyOrDeleted();
|
1086
|
-
ctrl_ += shift;
|
1087
|
-
slot_ += shift;
|
1088
|
-
}
|
1089
|
-
if (ABSL_PREDICT_FALSE(*ctrl_ == ctrl_t::kSentinel)) ctrl_ = nullptr;
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
ctrl_t* ctrl_ = nullptr;
|
1093
|
-
// To avoid uninitialized member warnings, put slot_ in an anonymous union.
|
1094
|
-
// The member is not initialized on singleton and end iterators.
|
1095
|
-
union {
|
1096
|
-
slot_type* slot_;
|
1097
|
-
};
|
1098
|
-
};
|
1099
|
-
|
1100
|
-
class const_iterator {
|
1101
|
-
friend class raw_hash_set;
|
1102
|
-
|
1103
|
-
public:
|
1104
|
-
using iterator_category = typename iterator::iterator_category;
|
1105
|
-
using value_type = typename raw_hash_set::value_type;
|
1106
|
-
using reference = typename raw_hash_set::const_reference;
|
1107
|
-
using pointer = typename raw_hash_set::const_pointer;
|
1108
|
-
using difference_type = typename raw_hash_set::difference_type;
|
1109
|
-
|
1110
|
-
const_iterator() {}
|
1111
|
-
// Implicit construction from iterator.
|
1112
|
-
const_iterator(iterator i) : inner_(std::move(i)) {}
|
1113
|
-
|
1114
|
-
reference operator*() const { return *inner_; }
|
1115
|
-
pointer operator->() const { return inner_.operator->(); }
|
1116
|
-
|
1117
|
-
const_iterator& operator++() {
|
1118
|
-
++inner_;
|
1119
|
-
return *this;
|
1120
|
-
}
|
1121
|
-
const_iterator operator++(int) { return inner_++; }
|
1122
|
-
|
1123
|
-
friend bool operator==(const const_iterator& a, const const_iterator& b) {
|
1124
|
-
return a.inner_ == b.inner_;
|
1125
|
-
}
|
1126
|
-
friend bool operator!=(const const_iterator& a, const const_iterator& b) {
|
1127
|
-
return !(a == b);
|
1128
|
-
}
|
1129
|
-
|
1130
|
-
private:
|
1131
|
-
const_iterator(const ctrl_t* ctrl, const slot_type* slot)
|
1132
|
-
: inner_(const_cast<ctrl_t*>(ctrl), const_cast<slot_type*>(slot)) {}
|
1133
|
-
|
1134
|
-
iterator inner_;
|
1135
|
-
};
|
1136
|
-
|
1137
|
-
using node_type = node_handle<Policy, hash_policy_traits<Policy>, Alloc>;
|
1138
|
-
using insert_return_type = InsertReturnType<iterator, node_type>;
|
1139
|
-
|
1140
|
-
raw_hash_set() noexcept(
|
1141
|
-
std::is_nothrow_default_constructible<hasher>::value&&
|
1142
|
-
std::is_nothrow_default_constructible<key_equal>::value&&
|
1143
|
-
std::is_nothrow_default_constructible<allocator_type>::value) {}
|
1144
|
-
|
1145
|
-
explicit raw_hash_set(size_t bucket_count, const hasher& hash = hasher(),
|
1146
|
-
const key_equal& eq = key_equal(),
|
1147
|
-
const allocator_type& alloc = allocator_type())
|
1148
|
-
: ctrl_(EmptyGroup()),
|
1149
|
-
settings_(0, HashtablezInfoHandle(), hash, eq, alloc) {
|
1150
|
-
if (bucket_count) {
|
1151
|
-
capacity_ = NormalizeCapacity(bucket_count);
|
1152
|
-
initialize_slots();
|
1153
|
-
}
|
1154
|
-
}
|
1155
|
-
|
1156
|
-
raw_hash_set(size_t bucket_count, const hasher& hash,
|
1157
|
-
const allocator_type& alloc)
|
1158
|
-
: raw_hash_set(bucket_count, hash, key_equal(), alloc) {}
|
1159
|
-
|
1160
|
-
raw_hash_set(size_t bucket_count, const allocator_type& alloc)
|
1161
|
-
: raw_hash_set(bucket_count, hasher(), key_equal(), alloc) {}
|
1162
|
-
|
1163
|
-
explicit raw_hash_set(const allocator_type& alloc)
|
1164
|
-
: raw_hash_set(0, hasher(), key_equal(), alloc) {}
|
1165
|
-
|
1166
|
-
template <class InputIter>
|
1167
|
-
raw_hash_set(InputIter first, InputIter last, size_t bucket_count = 0,
|
1168
|
-
const hasher& hash = hasher(), const key_equal& eq = key_equal(),
|
1169
|
-
const allocator_type& alloc = allocator_type())
|
1170
|
-
: raw_hash_set(SelectBucketCountForIterRange(first, last, bucket_count),
|
1171
|
-
hash, eq, alloc) {
|
1172
|
-
insert(first, last);
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
template <class InputIter>
|
1176
|
-
raw_hash_set(InputIter first, InputIter last, size_t bucket_count,
|
1177
|
-
const hasher& hash, const allocator_type& alloc)
|
1178
|
-
: raw_hash_set(first, last, bucket_count, hash, key_equal(), alloc) {}
|
1179
|
-
|
1180
|
-
template <class InputIter>
|
1181
|
-
raw_hash_set(InputIter first, InputIter last, size_t bucket_count,
|
1182
|
-
const allocator_type& alloc)
|
1183
|
-
: raw_hash_set(first, last, bucket_count, hasher(), key_equal(), alloc) {}
|
1184
|
-
|
1185
|
-
template <class InputIter>
|
1186
|
-
raw_hash_set(InputIter first, InputIter last, const allocator_type& alloc)
|
1187
|
-
: raw_hash_set(first, last, 0, hasher(), key_equal(), alloc) {}
|
1188
|
-
|
1189
|
-
// Instead of accepting std::initializer_list<value_type> as the first
|
1190
|
-
// argument like std::unordered_set<value_type> does, we have two overloads
|
1191
|
-
// that accept std::initializer_list<T> and std::initializer_list<init_type>.
|
1192
|
-
// This is advantageous for performance.
|
1193
|
-
//
|
1194
|
-
// // Turns {"abc", "def"} into std::initializer_list<std::string>, then
|
1195
|
-
// // copies the strings into the set.
|
1196
|
-
// std::unordered_set<std::string> s = {"abc", "def"};
|
1197
|
-
//
|
1198
|
-
// // Turns {"abc", "def"} into std::initializer_list<const char*>, then
|
1199
|
-
// // copies the strings into the set.
|
1200
|
-
// absl::flat_hash_set<std::string> s = {"abc", "def"};
|
1201
|
-
//
|
1202
|
-
// The same trick is used in insert().
|
1203
|
-
//
|
1204
|
-
// The enabler is necessary to prevent this constructor from triggering where
|
1205
|
-
// the copy constructor is meant to be called.
|
1206
|
-
//
|
1207
|
-
// absl::flat_hash_set<int> a, b{a};
|
1208
|
-
//
|
1209
|
-
// RequiresNotInit<T> is a workaround for gcc prior to 7.1.
|
1210
|
-
template <class T, RequiresNotInit<T> = 0, RequiresInsertable<T> = 0>
|
1211
|
-
raw_hash_set(std::initializer_list<T> init, size_t bucket_count = 0,
|
1212
|
-
const hasher& hash = hasher(), const key_equal& eq = key_equal(),
|
1213
|
-
const allocator_type& alloc = allocator_type())
|
1214
|
-
: raw_hash_set(init.begin(), init.end(), bucket_count, hash, eq, alloc) {}
|
1215
|
-
|
1216
|
-
raw_hash_set(std::initializer_list<init_type> init, size_t bucket_count = 0,
|
1217
|
-
const hasher& hash = hasher(), const key_equal& eq = key_equal(),
|
1218
|
-
const allocator_type& alloc = allocator_type())
|
1219
|
-
: raw_hash_set(init.begin(), init.end(), bucket_count, hash, eq, alloc) {}
|
1220
|
-
|
1221
|
-
template <class T, RequiresNotInit<T> = 0, RequiresInsertable<T> = 0>
|
1222
|
-
raw_hash_set(std::initializer_list<T> init, size_t bucket_count,
|
1223
|
-
const hasher& hash, const allocator_type& alloc)
|
1224
|
-
: raw_hash_set(init, bucket_count, hash, key_equal(), alloc) {}
|
1225
|
-
|
1226
|
-
raw_hash_set(std::initializer_list<init_type> init, size_t bucket_count,
|
1227
|
-
const hasher& hash, const allocator_type& alloc)
|
1228
|
-
: raw_hash_set(init, bucket_count, hash, key_equal(), alloc) {}
|
1229
|
-
|
1230
|
-
template <class T, RequiresNotInit<T> = 0, RequiresInsertable<T> = 0>
|
1231
|
-
raw_hash_set(std::initializer_list<T> init, size_t bucket_count,
|
1232
|
-
const allocator_type& alloc)
|
1233
|
-
: raw_hash_set(init, bucket_count, hasher(), key_equal(), alloc) {}
|
1234
|
-
|
1235
|
-
raw_hash_set(std::initializer_list<init_type> init, size_t bucket_count,
|
1236
|
-
const allocator_type& alloc)
|
1237
|
-
: raw_hash_set(init, bucket_count, hasher(), key_equal(), alloc) {}
|
1238
|
-
|
1239
|
-
template <class T, RequiresNotInit<T> = 0, RequiresInsertable<T> = 0>
|
1240
|
-
raw_hash_set(std::initializer_list<T> init, const allocator_type& alloc)
|
1241
|
-
: raw_hash_set(init, 0, hasher(), key_equal(), alloc) {}
|
1242
|
-
|
1243
|
-
raw_hash_set(std::initializer_list<init_type> init,
|
1244
|
-
const allocator_type& alloc)
|
1245
|
-
: raw_hash_set(init, 0, hasher(), key_equal(), alloc) {}
|
1246
|
-
|
1247
|
-
raw_hash_set(const raw_hash_set& that)
|
1248
|
-
: raw_hash_set(that, AllocTraits::select_on_container_copy_construction(
|
1249
|
-
that.alloc_ref())) {}
|
1250
|
-
|
1251
|
-
raw_hash_set(const raw_hash_set& that, const allocator_type& a)
|
1252
|
-
: raw_hash_set(0, that.hash_ref(), that.eq_ref(), a) {
|
1253
|
-
reserve(that.size());
|
1254
|
-
// Because the table is guaranteed to be empty, we can do something faster
|
1255
|
-
// than a full `insert`.
|
1256
|
-
for (const auto& v : that) {
|
1257
|
-
const size_t hash = PolicyTraits::apply(HashElement{hash_ref()}, v);
|
1258
|
-
auto target = find_first_non_full(ctrl_, hash, capacity_);
|
1259
|
-
SetCtrl(target.offset, H2(hash), capacity_, ctrl_, slots_,
|
1260
|
-
sizeof(slot_type));
|
1261
|
-
emplace_at(target.offset, v);
|
1262
|
-
infoz().RecordInsert(hash, target.probe_length);
|
1263
|
-
}
|
1264
|
-
size_ = that.size();
|
1265
|
-
growth_left() -= that.size();
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
raw_hash_set(raw_hash_set&& that) noexcept(
|
1269
|
-
std::is_nothrow_copy_constructible<hasher>::value&&
|
1270
|
-
std::is_nothrow_copy_constructible<key_equal>::value&&
|
1271
|
-
std::is_nothrow_copy_constructible<allocator_type>::value)
|
1272
|
-
: ctrl_(absl::exchange(that.ctrl_, EmptyGroup())),
|
1273
|
-
slots_(absl::exchange(that.slots_, nullptr)),
|
1274
|
-
size_(absl::exchange(that.size_, 0)),
|
1275
|
-
capacity_(absl::exchange(that.capacity_, 0)),
|
1276
|
-
// Hash, equality and allocator are copied instead of moved because
|
1277
|
-
// `that` must be left valid. If Hash is std::function<Key>, moving it
|
1278
|
-
// would create a nullptr functor that cannot be called.
|
1279
|
-
settings_(absl::exchange(that.growth_left(), 0),
|
1280
|
-
absl::exchange(that.infoz(), HashtablezInfoHandle()),
|
1281
|
-
that.hash_ref(), that.eq_ref(), that.alloc_ref()) {}
|
1282
|
-
|
1283
|
-
raw_hash_set(raw_hash_set&& that, const allocator_type& a)
|
1284
|
-
: ctrl_(EmptyGroup()),
|
1285
|
-
slots_(nullptr),
|
1286
|
-
size_(0),
|
1287
|
-
capacity_(0),
|
1288
|
-
settings_(0, HashtablezInfoHandle(), that.hash_ref(), that.eq_ref(),
|
1289
|
-
a) {
|
1290
|
-
if (a == that.alloc_ref()) {
|
1291
|
-
std::swap(ctrl_, that.ctrl_);
|
1292
|
-
std::swap(slots_, that.slots_);
|
1293
|
-
std::swap(size_, that.size_);
|
1294
|
-
std::swap(capacity_, that.capacity_);
|
1295
|
-
std::swap(growth_left(), that.growth_left());
|
1296
|
-
std::swap(infoz(), that.infoz());
|
1297
|
-
} else {
|
1298
|
-
reserve(that.size());
|
1299
|
-
// Note: this will copy elements of dense_set and unordered_set instead of
|
1300
|
-
// moving them. This can be fixed if it ever becomes an issue.
|
1301
|
-
for (auto& elem : that) insert(std::move(elem));
|
1302
|
-
}
|
1303
|
-
}
|
1304
|
-
|
1305
|
-
raw_hash_set& operator=(const raw_hash_set& that) {
|
1306
|
-
raw_hash_set tmp(that,
|
1307
|
-
AllocTraits::propagate_on_container_copy_assignment::value
|
1308
|
-
? that.alloc_ref()
|
1309
|
-
: alloc_ref());
|
1310
|
-
swap(tmp);
|
1311
|
-
return *this;
|
1312
|
-
}
|
1313
|
-
|
1314
|
-
raw_hash_set& operator=(raw_hash_set&& that) noexcept(
|
1315
|
-
absl::allocator_traits<allocator_type>::is_always_equal::value&&
|
1316
|
-
std::is_nothrow_move_assignable<hasher>::value&&
|
1317
|
-
std::is_nothrow_move_assignable<key_equal>::value) {
|
1318
|
-
// TODO(sbenza): We should only use the operations from the noexcept clause
|
1319
|
-
// to make sure we actually adhere to that contract.
|
1320
|
-
return move_assign(
|
1321
|
-
std::move(that),
|
1322
|
-
typename AllocTraits::propagate_on_container_move_assignment());
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
~raw_hash_set() { destroy_slots(); }
|
1326
|
-
|
1327
|
-
iterator begin() {
|
1328
|
-
auto it = iterator_at(0);
|
1329
|
-
it.skip_empty_or_deleted();
|
1330
|
-
return it;
|
1331
|
-
}
|
1332
|
-
iterator end() { return {}; }
|
1333
|
-
|
1334
|
-
const_iterator begin() const {
|
1335
|
-
return const_cast<raw_hash_set*>(this)->begin();
|
1336
|
-
}
|
1337
|
-
const_iterator end() const { return {}; }
|
1338
|
-
const_iterator cbegin() const { return begin(); }
|
1339
|
-
const_iterator cend() const { return end(); }
|
1340
|
-
|
1341
|
-
bool empty() const { return !size(); }
|
1342
|
-
size_t size() const { return size_; }
|
1343
|
-
size_t capacity() const { return capacity_; }
|
1344
|
-
size_t max_size() const { return (std::numeric_limits<size_t>::max)(); }
|
1345
|
-
|
1346
|
-
ABSL_ATTRIBUTE_REINITIALIZES void clear() {
|
1347
|
-
// Iterating over this container is O(bucket_count()). When bucket_count()
|
1348
|
-
// is much greater than size(), iteration becomes prohibitively expensive.
|
1349
|
-
// For clear() it is more important to reuse the allocated array when the
|
1350
|
-
// container is small because allocation takes comparatively long time
|
1351
|
-
// compared to destruction of the elements of the container. So we pick the
|
1352
|
-
// largest bucket_count() threshold for which iteration is still fast and
|
1353
|
-
// past that we simply deallocate the array.
|
1354
|
-
if (capacity_ > 127) {
|
1355
|
-
destroy_slots();
|
1356
|
-
|
1357
|
-
infoz().RecordClearedReservation();
|
1358
|
-
} else if (capacity_) {
|
1359
|
-
for (size_t i = 0; i != capacity_; ++i) {
|
1360
|
-
if (IsFull(ctrl_[i])) {
|
1361
|
-
PolicyTraits::destroy(&alloc_ref(), slots_ + i);
|
1362
|
-
}
|
1363
|
-
}
|
1364
|
-
size_ = 0;
|
1365
|
-
ResetCtrl(capacity_, ctrl_, slots_, sizeof(slot_type));
|
1366
|
-
reset_growth_left();
|
1367
|
-
}
|
1368
|
-
assert(empty());
|
1369
|
-
infoz().RecordStorageChanged(0, capacity_);
|
1370
|
-
}
|
1371
|
-
|
1372
|
-
// This overload kicks in when the argument is an rvalue of insertable and
|
1373
|
-
// decomposable type other than init_type.
|
1374
|
-
//
|
1375
|
-
// flat_hash_map<std::string, int> m;
|
1376
|
-
// m.insert(std::make_pair("abc", 42));
|
1377
|
-
// TODO(cheshire): A type alias T2 is introduced as a workaround for the nvcc
|
1378
|
-
// bug.
|
1379
|
-
template <class T, RequiresInsertable<T> = 0, class T2 = T,
|
1380
|
-
typename std::enable_if<IsDecomposable<T2>::value, int>::type = 0,
|
1381
|
-
T* = nullptr>
|
1382
|
-
std::pair<iterator, bool> insert(T&& value) {
|
1383
|
-
return emplace(std::forward<T>(value));
|
1384
|
-
}
|
1385
|
-
|
1386
|
-
// This overload kicks in when the argument is a bitfield or an lvalue of
|
1387
|
-
// insertable and decomposable type.
|
1388
|
-
//
|
1389
|
-
// union { int n : 1; };
|
1390
|
-
// flat_hash_set<int> s;
|
1391
|
-
// s.insert(n);
|
1392
|
-
//
|
1393
|
-
// flat_hash_set<std::string> s;
|
1394
|
-
// const char* p = "hello";
|
1395
|
-
// s.insert(p);
|
1396
|
-
//
|
1397
|
-
// TODO(romanp): Once we stop supporting gcc 5.1 and below, replace
|
1398
|
-
// RequiresInsertable<T> with RequiresInsertable<const T&>.
|
1399
|
-
// We are hitting this bug: https://godbolt.org/g/1Vht4f.
|
1400
|
-
template <
|
1401
|
-
class T, RequiresInsertable<T> = 0,
|
1402
|
-
typename std::enable_if<IsDecomposable<const T&>::value, int>::type = 0>
|
1403
|
-
std::pair<iterator, bool> insert(const T& value) {
|
1404
|
-
return emplace(value);
|
1405
|
-
}
|
1406
|
-
|
1407
|
-
// This overload kicks in when the argument is an rvalue of init_type. Its
|
1408
|
-
// purpose is to handle brace-init-list arguments.
|
1409
|
-
//
|
1410
|
-
// flat_hash_map<std::string, int> s;
|
1411
|
-
// s.insert({"abc", 42});
|
1412
|
-
std::pair<iterator, bool> insert(init_type&& value) {
|
1413
|
-
return emplace(std::move(value));
|
1414
|
-
}
|
1415
|
-
|
1416
|
-
// TODO(cheshire): A type alias T2 is introduced as a workaround for the nvcc
|
1417
|
-
// bug.
|
1418
|
-
template <class T, RequiresInsertable<T> = 0, class T2 = T,
|
1419
|
-
typename std::enable_if<IsDecomposable<T2>::value, int>::type = 0,
|
1420
|
-
T* = nullptr>
|
1421
|
-
iterator insert(const_iterator, T&& value) {
|
1422
|
-
return insert(std::forward<T>(value)).first;
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
// TODO(romanp): Once we stop supporting gcc 5.1 and below, replace
|
1426
|
-
// RequiresInsertable<T> with RequiresInsertable<const T&>.
|
1427
|
-
// We are hitting this bug: https://godbolt.org/g/1Vht4f.
|
1428
|
-
template <
|
1429
|
-
class T, RequiresInsertable<T> = 0,
|
1430
|
-
typename std::enable_if<IsDecomposable<const T&>::value, int>::type = 0>
|
1431
|
-
iterator insert(const_iterator, const T& value) {
|
1432
|
-
return insert(value).first;
|
1433
|
-
}
|
1434
|
-
|
1435
|
-
iterator insert(const_iterator, init_type&& value) {
|
1436
|
-
return insert(std::move(value)).first;
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
template <class InputIt>
|
1440
|
-
void insert(InputIt first, InputIt last) {
|
1441
|
-
for (; first != last; ++first) emplace(*first);
|
1442
|
-
}
|
1443
|
-
|
1444
|
-
template <class T, RequiresNotInit<T> = 0, RequiresInsertable<const T&> = 0>
|
1445
|
-
void insert(std::initializer_list<T> ilist) {
|
1446
|
-
insert(ilist.begin(), ilist.end());
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
void insert(std::initializer_list<init_type> ilist) {
|
1450
|
-
insert(ilist.begin(), ilist.end());
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
insert_return_type insert(node_type&& node) {
|
1454
|
-
if (!node) return {end(), false, node_type()};
|
1455
|
-
const auto& elem = PolicyTraits::element(CommonAccess::GetSlot(node));
|
1456
|
-
auto res = PolicyTraits::apply(
|
1457
|
-
InsertSlot<false>{*this, std::move(*CommonAccess::GetSlot(node))},
|
1458
|
-
elem);
|
1459
|
-
if (res.second) {
|
1460
|
-
CommonAccess::Reset(&node);
|
1461
|
-
return {res.first, true, node_type()};
|
1462
|
-
} else {
|
1463
|
-
return {res.first, false, std::move(node)};
|
1464
|
-
}
|
1465
|
-
}
|
1466
|
-
|
1467
|
-
iterator insert(const_iterator, node_type&& node) {
|
1468
|
-
auto res = insert(std::move(node));
|
1469
|
-
node = std::move(res.node);
|
1470
|
-
return res.position;
|
1471
|
-
}
|
1472
|
-
|
1473
|
-
// This overload kicks in if we can deduce the key from args. This enables us
|
1474
|
-
// to avoid constructing value_type if an entry with the same key already
|
1475
|
-
// exists.
|
1476
|
-
//
|
1477
|
-
// For example:
|
1478
|
-
//
|
1479
|
-
// flat_hash_map<std::string, std::string> m = {{"abc", "def"}};
|
1480
|
-
// // Creates no std::string copies and makes no heap allocations.
|
1481
|
-
// m.emplace("abc", "xyz");
|
1482
|
-
template <class... Args, typename std::enable_if<
|
1483
|
-
IsDecomposable<Args...>::value, int>::type = 0>
|
1484
|
-
std::pair<iterator, bool> emplace(Args&&... args) {
|
1485
|
-
return PolicyTraits::apply(EmplaceDecomposable{*this},
|
1486
|
-
std::forward<Args>(args)...);
|
1487
|
-
}
|
1488
|
-
|
1489
|
-
// This overload kicks in if we cannot deduce the key from args. It constructs
|
1490
|
-
// value_type unconditionally and then either moves it into the table or
|
1491
|
-
// destroys.
|
1492
|
-
template <class... Args, typename std::enable_if<
|
1493
|
-
!IsDecomposable<Args...>::value, int>::type = 0>
|
1494
|
-
std::pair<iterator, bool> emplace(Args&&... args) {
|
1495
|
-
alignas(slot_type) unsigned char raw[sizeof(slot_type)];
|
1496
|
-
slot_type* slot = reinterpret_cast<slot_type*>(&raw);
|
1497
|
-
|
1498
|
-
PolicyTraits::construct(&alloc_ref(), slot, std::forward<Args>(args)...);
|
1499
|
-
const auto& elem = PolicyTraits::element(slot);
|
1500
|
-
return PolicyTraits::apply(InsertSlot<true>{*this, std::move(*slot)}, elem);
|
1501
|
-
}
|
1502
|
-
|
1503
|
-
template <class... Args>
|
1504
|
-
iterator emplace_hint(const_iterator, Args&&... args) {
|
1505
|
-
return emplace(std::forward<Args>(args)...).first;
|
1506
|
-
}
|
1507
|
-
|
1508
|
-
// Extension API: support for lazy emplace.
|
1509
|
-
//
|
1510
|
-
// Looks up key in the table. If found, returns the iterator to the element.
|
1511
|
-
// Otherwise calls `f` with one argument of type `raw_hash_set::constructor`.
|
1512
|
-
//
|
1513
|
-
// `f` must abide by several restrictions:
|
1514
|
-
// - it MUST call `raw_hash_set::constructor` with arguments as if a
|
1515
|
-
// `raw_hash_set::value_type` is constructed,
|
1516
|
-
// - it MUST NOT access the container before the call to
|
1517
|
-
// `raw_hash_set::constructor`, and
|
1518
|
-
// - it MUST NOT erase the lazily emplaced element.
|
1519
|
-
// Doing any of these is undefined behavior.
|
1520
|
-
//
|
1521
|
-
// For example:
|
1522
|
-
//
|
1523
|
-
// std::unordered_set<ArenaString> s;
|
1524
|
-
// // Makes ArenaStr even if "abc" is in the map.
|
1525
|
-
// s.insert(ArenaString(&arena, "abc"));
|
1526
|
-
//
|
1527
|
-
// flat_hash_set<ArenaStr> s;
|
1528
|
-
// // Makes ArenaStr only if "abc" is not in the map.
|
1529
|
-
// s.lazy_emplace("abc", [&](const constructor& ctor) {
|
1530
|
-
// ctor(&arena, "abc");
|
1531
|
-
// });
|
1532
|
-
//
|
1533
|
-
// WARNING: This API is currently experimental. If there is a way to implement
|
1534
|
-
// the same thing with the rest of the API, prefer that.
|
1535
|
-
class constructor {
|
1536
|
-
friend class raw_hash_set;
|
1537
|
-
|
1538
|
-
public:
|
1539
|
-
template <class... Args>
|
1540
|
-
void operator()(Args&&... args) const {
|
1541
|
-
assert(*slot_);
|
1542
|
-
PolicyTraits::construct(alloc_, *slot_, std::forward<Args>(args)...);
|
1543
|
-
*slot_ = nullptr;
|
1544
|
-
}
|
1545
|
-
|
1546
|
-
private:
|
1547
|
-
constructor(allocator_type* a, slot_type** slot) : alloc_(a), slot_(slot) {}
|
1548
|
-
|
1549
|
-
allocator_type* alloc_;
|
1550
|
-
slot_type** slot_;
|
1551
|
-
};
|
1552
|
-
|
1553
|
-
template <class K = key_type, class F>
|
1554
|
-
iterator lazy_emplace(const key_arg<K>& key, F&& f) {
|
1555
|
-
auto res = find_or_prepare_insert(key);
|
1556
|
-
if (res.second) {
|
1557
|
-
slot_type* slot = slots_ + res.first;
|
1558
|
-
std::forward<F>(f)(constructor(&alloc_ref(), &slot));
|
1559
|
-
assert(!slot);
|
1560
|
-
}
|
1561
|
-
return iterator_at(res.first);
|
1562
|
-
}
|
1563
|
-
|
1564
|
-
// Extension API: support for heterogeneous keys.
|
1565
|
-
//
|
1566
|
-
// std::unordered_set<std::string> s;
|
1567
|
-
// // Turns "abc" into std::string.
|
1568
|
-
// s.erase("abc");
|
1569
|
-
//
|
1570
|
-
// flat_hash_set<std::string> s;
|
1571
|
-
// // Uses "abc" directly without copying it into std::string.
|
1572
|
-
// s.erase("abc");
|
1573
|
-
template <class K = key_type>
|
1574
|
-
size_type erase(const key_arg<K>& key) {
|
1575
|
-
auto it = find(key);
|
1576
|
-
if (it == end()) return 0;
|
1577
|
-
erase(it);
|
1578
|
-
return 1;
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
// Erases the element pointed to by `it`. Unlike `std::unordered_set::erase`,
|
1582
|
-
// this method returns void to reduce algorithmic complexity to O(1). The
|
1583
|
-
// iterator is invalidated, so any increment should be done before calling
|
1584
|
-
// erase. In order to erase while iterating across a map, use the following
|
1585
|
-
// idiom (which also works for standard containers):
|
1586
|
-
//
|
1587
|
-
// for (auto it = m.begin(), end = m.end(); it != end;) {
|
1588
|
-
// // `erase()` will invalidate `it`, so advance `it` first.
|
1589
|
-
// auto copy_it = it++;
|
1590
|
-
// if (<pred>) {
|
1591
|
-
// m.erase(copy_it);
|
1592
|
-
// }
|
1593
|
-
// }
|
1594
|
-
void erase(const_iterator cit) { erase(cit.inner_); }
|
1595
|
-
|
1596
|
-
// This overload is necessary because otherwise erase<K>(const K&) would be
|
1597
|
-
// a better match if non-const iterator is passed as an argument.
|
1598
|
-
void erase(iterator it) {
|
1599
|
-
ABSL_INTERNAL_ASSERT_IS_FULL(it.ctrl_,
|
1600
|
-
"erase() called on invalid iterator.");
|
1601
|
-
PolicyTraits::destroy(&alloc_ref(), it.slot_);
|
1602
|
-
erase_meta_only(it);
|
1603
|
-
}
|
1604
|
-
|
1605
|
-
iterator erase(const_iterator first, const_iterator last) {
|
1606
|
-
while (first != last) {
|
1607
|
-
erase(first++);
|
1608
|
-
}
|
1609
|
-
return last.inner_;
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
// Moves elements from `src` into `this`.
|
1613
|
-
// If the element already exists in `this`, it is left unmodified in `src`.
|
1614
|
-
template <typename H, typename E>
|
1615
|
-
void merge(raw_hash_set<Policy, H, E, Alloc>& src) { // NOLINT
|
1616
|
-
assert(this != &src);
|
1617
|
-
for (auto it = src.begin(), e = src.end(); it != e;) {
|
1618
|
-
auto next = std::next(it);
|
1619
|
-
if (PolicyTraits::apply(InsertSlot<false>{*this, std::move(*it.slot_)},
|
1620
|
-
PolicyTraits::element(it.slot_))
|
1621
|
-
.second) {
|
1622
|
-
src.erase_meta_only(it);
|
1623
|
-
}
|
1624
|
-
it = next;
|
1625
|
-
}
|
1626
|
-
}
|
1627
|
-
|
1628
|
-
template <typename H, typename E>
|
1629
|
-
void merge(raw_hash_set<Policy, H, E, Alloc>&& src) {
|
1630
|
-
merge(src);
|
1631
|
-
}
|
1632
|
-
|
1633
|
-
node_type extract(const_iterator position) {
|
1634
|
-
ABSL_INTERNAL_ASSERT_IS_FULL(position.inner_.ctrl_,
|
1635
|
-
"extract() called on invalid iterator.");
|
1636
|
-
auto node =
|
1637
|
-
CommonAccess::Transfer<node_type>(alloc_ref(), position.inner_.slot_);
|
1638
|
-
erase_meta_only(position);
|
1639
|
-
return node;
|
1640
|
-
}
|
1641
|
-
|
1642
|
-
template <
|
1643
|
-
class K = key_type,
|
1644
|
-
typename std::enable_if<!std::is_same<K, iterator>::value, int>::type = 0>
|
1645
|
-
node_type extract(const key_arg<K>& key) {
|
1646
|
-
auto it = find(key);
|
1647
|
-
return it == end() ? node_type() : extract(const_iterator{it});
|
1648
|
-
}
|
1649
|
-
|
1650
|
-
void swap(raw_hash_set& that) noexcept(
|
1651
|
-
IsNoThrowSwappable<hasher>() && IsNoThrowSwappable<key_equal>() &&
|
1652
|
-
IsNoThrowSwappable<allocator_type>(
|
1653
|
-
typename AllocTraits::propagate_on_container_swap{})) {
|
1654
|
-
using std::swap;
|
1655
|
-
swap(ctrl_, that.ctrl_);
|
1656
|
-
swap(slots_, that.slots_);
|
1657
|
-
swap(size_, that.size_);
|
1658
|
-
swap(capacity_, that.capacity_);
|
1659
|
-
swap(growth_left(), that.growth_left());
|
1660
|
-
swap(hash_ref(), that.hash_ref());
|
1661
|
-
swap(eq_ref(), that.eq_ref());
|
1662
|
-
swap(infoz(), that.infoz());
|
1663
|
-
SwapAlloc(alloc_ref(), that.alloc_ref(),
|
1664
|
-
typename AllocTraits::propagate_on_container_swap{});
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
void rehash(size_t n) {
|
1668
|
-
if (n == 0 && capacity_ == 0) return;
|
1669
|
-
if (n == 0 && size_ == 0) {
|
1670
|
-
destroy_slots();
|
1671
|
-
infoz().RecordStorageChanged(0, 0);
|
1672
|
-
infoz().RecordClearedReservation();
|
1673
|
-
return;
|
1674
|
-
}
|
1675
|
-
|
1676
|
-
// bitor is a faster way of doing `max` here. We will round up to the next
|
1677
|
-
// power-of-2-minus-1, so bitor is good enough.
|
1678
|
-
auto m = NormalizeCapacity(n | GrowthToLowerboundCapacity(size()));
|
1679
|
-
// n == 0 unconditionally rehashes as per the standard.
|
1680
|
-
if (n == 0 || m > capacity_) {
|
1681
|
-
resize(m);
|
1682
|
-
|
1683
|
-
// This is after resize, to ensure that we have completed the allocation
|
1684
|
-
// and have potentially sampled the hashtable.
|
1685
|
-
infoz().RecordReservation(n);
|
1686
|
-
}
|
1687
|
-
}
|
1688
|
-
|
1689
|
-
void reserve(size_t n) {
|
1690
|
-
if (n > size() + growth_left()) {
|
1691
|
-
size_t m = GrowthToLowerboundCapacity(n);
|
1692
|
-
resize(NormalizeCapacity(m));
|
1693
|
-
|
1694
|
-
// This is after resize, to ensure that we have completed the allocation
|
1695
|
-
// and have potentially sampled the hashtable.
|
1696
|
-
infoz().RecordReservation(n);
|
1697
|
-
}
|
1698
|
-
}
|
1699
|
-
|
1700
|
-
// Extension API: support for heterogeneous keys.
|
1701
|
-
//
|
1702
|
-
// std::unordered_set<std::string> s;
|
1703
|
-
// // Turns "abc" into std::string.
|
1704
|
-
// s.count("abc");
|
1705
|
-
//
|
1706
|
-
// ch_set<std::string> s;
|
1707
|
-
// // Uses "abc" directly without copying it into std::string.
|
1708
|
-
// s.count("abc");
|
1709
|
-
template <class K = key_type>
|
1710
|
-
size_t count(const key_arg<K>& key) const {
|
1711
|
-
return find(key) == end() ? 0 : 1;
|
1712
|
-
}
|
1713
|
-
|
1714
|
-
// Issues CPU prefetch instructions for the memory needed to find or insert
|
1715
|
-
// a key. Like all lookup functions, this support heterogeneous keys.
|
1716
|
-
//
|
1717
|
-
// NOTE: This is a very low level operation and should not be used without
|
1718
|
-
// specific benchmarks indicating its importance.
|
1719
|
-
template <class K = key_type>
|
1720
|
-
void prefetch(const key_arg<K>& key) const {
|
1721
|
-
(void)key;
|
1722
|
-
// Avoid probing if we won't be able to prefetch the addresses received.
|
1723
|
-
#ifdef ABSL_INTERNAL_HAVE_PREFETCH
|
1724
|
-
prefetch_heap_block();
|
1725
|
-
auto seq = probe(ctrl_, hash_ref()(key), capacity_);
|
1726
|
-
base_internal::PrefetchT0(ctrl_ + seq.offset());
|
1727
|
-
base_internal::PrefetchT0(slots_ + seq.offset());
|
1728
|
-
#endif // ABSL_INTERNAL_HAVE_PREFETCH
|
1729
|
-
}
|
1730
|
-
|
1731
|
-
// The API of find() has two extensions.
|
1732
|
-
//
|
1733
|
-
// 1. The hash can be passed by the user. It must be equal to the hash of the
|
1734
|
-
// key.
|
1735
|
-
//
|
1736
|
-
// 2. The type of the key argument doesn't have to be key_type. This is so
|
1737
|
-
// called heterogeneous key support.
|
1738
|
-
template <class K = key_type>
|
1739
|
-
iterator find(const key_arg<K>& key, size_t hash) {
|
1740
|
-
auto seq = probe(ctrl_, hash, capacity_);
|
1741
|
-
while (true) {
|
1742
|
-
Group g{ctrl_ + seq.offset()};
|
1743
|
-
for (uint32_t i : g.Match(H2(hash))) {
|
1744
|
-
if (ABSL_PREDICT_TRUE(PolicyTraits::apply(
|
1745
|
-
EqualElement<K>{key, eq_ref()},
|
1746
|
-
PolicyTraits::element(slots_ + seq.offset(i)))))
|
1747
|
-
return iterator_at(seq.offset(i));
|
1748
|
-
}
|
1749
|
-
if (ABSL_PREDICT_TRUE(g.MaskEmpty())) return end();
|
1750
|
-
seq.next();
|
1751
|
-
assert(seq.index() <= capacity_ && "full table!");
|
1752
|
-
}
|
1753
|
-
}
|
1754
|
-
template <class K = key_type>
|
1755
|
-
iterator find(const key_arg<K>& key) {
|
1756
|
-
prefetch_heap_block();
|
1757
|
-
return find(key, hash_ref()(key));
|
1758
|
-
}
|
1759
|
-
|
1760
|
-
template <class K = key_type>
|
1761
|
-
const_iterator find(const key_arg<K>& key, size_t hash) const {
|
1762
|
-
return const_cast<raw_hash_set*>(this)->find(key, hash);
|
1763
|
-
}
|
1764
|
-
template <class K = key_type>
|
1765
|
-
const_iterator find(const key_arg<K>& key) const {
|
1766
|
-
prefetch_heap_block();
|
1767
|
-
return find(key, hash_ref()(key));
|
1768
|
-
}
|
1769
|
-
|
1770
|
-
template <class K = key_type>
|
1771
|
-
bool contains(const key_arg<K>& key) const {
|
1772
|
-
return find(key) != end();
|
1773
|
-
}
|
1774
|
-
|
1775
|
-
template <class K = key_type>
|
1776
|
-
std::pair<iterator, iterator> equal_range(const key_arg<K>& key) {
|
1777
|
-
auto it = find(key);
|
1778
|
-
if (it != end()) return {it, std::next(it)};
|
1779
|
-
return {it, it};
|
1780
|
-
}
|
1781
|
-
template <class K = key_type>
|
1782
|
-
std::pair<const_iterator, const_iterator> equal_range(
|
1783
|
-
const key_arg<K>& key) const {
|
1784
|
-
auto it = find(key);
|
1785
|
-
if (it != end()) return {it, std::next(it)};
|
1786
|
-
return {it, it};
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
size_t bucket_count() const { return capacity_; }
|
1790
|
-
float load_factor() const {
|
1791
|
-
return capacity_ ? static_cast<double>(size()) / capacity_ : 0.0;
|
1792
|
-
}
|
1793
|
-
float max_load_factor() const { return 1.0f; }
|
1794
|
-
void max_load_factor(float) {
|
1795
|
-
// Does nothing.
|
1796
|
-
}
|
1797
|
-
|
1798
|
-
hasher hash_function() const { return hash_ref(); }
|
1799
|
-
key_equal key_eq() const { return eq_ref(); }
|
1800
|
-
allocator_type get_allocator() const { return alloc_ref(); }
|
1801
|
-
|
1802
|
-
friend bool operator==(const raw_hash_set& a, const raw_hash_set& b) {
|
1803
|
-
if (a.size() != b.size()) return false;
|
1804
|
-
const raw_hash_set* outer = &a;
|
1805
|
-
const raw_hash_set* inner = &b;
|
1806
|
-
if (outer->capacity() > inner->capacity()) std::swap(outer, inner);
|
1807
|
-
for (const value_type& elem : *outer)
|
1808
|
-
if (!inner->has_element(elem)) return false;
|
1809
|
-
return true;
|
1810
|
-
}
|
1811
|
-
|
1812
|
-
friend bool operator!=(const raw_hash_set& a, const raw_hash_set& b) {
|
1813
|
-
return !(a == b);
|
1814
|
-
}
|
1815
|
-
|
1816
|
-
template <typename H>
|
1817
|
-
friend typename std::enable_if<H::template is_hashable<value_type>::value,
|
1818
|
-
H>::type
|
1819
|
-
AbslHashValue(H h, const raw_hash_set& s) {
|
1820
|
-
return H::combine(H::combine_unordered(std::move(h), s.begin(), s.end()),
|
1821
|
-
s.size());
|
1822
|
-
}
|
1823
|
-
|
1824
|
-
friend void swap(raw_hash_set& a,
|
1825
|
-
raw_hash_set& b) noexcept(noexcept(a.swap(b))) {
|
1826
|
-
a.swap(b);
|
1827
|
-
}
|
1828
|
-
|
1829
|
-
private:
|
1830
|
-
template <class Container, typename Enabler>
|
1831
|
-
friend struct absl::container_internal::hashtable_debug_internal::
|
1832
|
-
HashtableDebugAccess;
|
1833
|
-
|
1834
|
-
struct FindElement {
|
1835
|
-
template <class K, class... Args>
|
1836
|
-
const_iterator operator()(const K& key, Args&&...) const {
|
1837
|
-
return s.find(key);
|
1838
|
-
}
|
1839
|
-
const raw_hash_set& s;
|
1840
|
-
};
|
1841
|
-
|
1842
|
-
struct HashElement {
|
1843
|
-
template <class K, class... Args>
|
1844
|
-
size_t operator()(const K& key, Args&&...) const {
|
1845
|
-
return h(key);
|
1846
|
-
}
|
1847
|
-
const hasher& h;
|
1848
|
-
};
|
1849
|
-
|
1850
|
-
template <class K1>
|
1851
|
-
struct EqualElement {
|
1852
|
-
template <class K2, class... Args>
|
1853
|
-
bool operator()(const K2& lhs, Args&&...) const {
|
1854
|
-
return eq(lhs, rhs);
|
1855
|
-
}
|
1856
|
-
const K1& rhs;
|
1857
|
-
const key_equal& eq;
|
1858
|
-
};
|
1859
|
-
|
1860
|
-
struct EmplaceDecomposable {
|
1861
|
-
template <class K, class... Args>
|
1862
|
-
std::pair<iterator, bool> operator()(const K& key, Args&&... args) const {
|
1863
|
-
auto res = s.find_or_prepare_insert(key);
|
1864
|
-
if (res.second) {
|
1865
|
-
s.emplace_at(res.first, std::forward<Args>(args)...);
|
1866
|
-
}
|
1867
|
-
return {s.iterator_at(res.first), res.second};
|
1868
|
-
}
|
1869
|
-
raw_hash_set& s;
|
1870
|
-
};
|
1871
|
-
|
1872
|
-
template <bool do_destroy>
|
1873
|
-
struct InsertSlot {
|
1874
|
-
template <class K, class... Args>
|
1875
|
-
std::pair<iterator, bool> operator()(const K& key, Args&&...) && {
|
1876
|
-
auto res = s.find_or_prepare_insert(key);
|
1877
|
-
if (res.second) {
|
1878
|
-
PolicyTraits::transfer(&s.alloc_ref(), s.slots_ + res.first, &slot);
|
1879
|
-
} else if (do_destroy) {
|
1880
|
-
PolicyTraits::destroy(&s.alloc_ref(), &slot);
|
1881
|
-
}
|
1882
|
-
return {s.iterator_at(res.first), res.second};
|
1883
|
-
}
|
1884
|
-
raw_hash_set& s;
|
1885
|
-
// Constructed slot. Either moved into place or destroyed.
|
1886
|
-
slot_type&& slot;
|
1887
|
-
};
|
1888
|
-
|
1889
|
-
// Erases, but does not destroy, the value pointed to by `it`.
|
1890
|
-
//
|
1891
|
-
// This merely updates the pertinent control byte. This can be used in
|
1892
|
-
// conjunction with Policy::transfer to move the object to another place.
|
1893
|
-
void erase_meta_only(const_iterator it) {
|
1894
|
-
assert(IsFull(*it.inner_.ctrl_) && "erasing a dangling iterator");
|
1895
|
-
--size_;
|
1896
|
-
const size_t index = static_cast<size_t>(it.inner_.ctrl_ - ctrl_);
|
1897
|
-
const size_t index_before = (index - Group::kWidth) & capacity_;
|
1898
|
-
const auto empty_after = Group(it.inner_.ctrl_).MaskEmpty();
|
1899
|
-
const auto empty_before = Group(ctrl_ + index_before).MaskEmpty();
|
1900
|
-
|
1901
|
-
// We count how many consecutive non empties we have to the right and to the
|
1902
|
-
// left of `it`. If the sum is >= kWidth then there is at least one probe
|
1903
|
-
// window that might have seen a full group.
|
1904
|
-
bool was_never_full =
|
1905
|
-
empty_before && empty_after &&
|
1906
|
-
static_cast<size_t>(empty_after.TrailingZeros() +
|
1907
|
-
empty_before.LeadingZeros()) < Group::kWidth;
|
1908
|
-
|
1909
|
-
SetCtrl(index, was_never_full ? ctrl_t::kEmpty : ctrl_t::kDeleted,
|
1910
|
-
capacity_, ctrl_, slots_, sizeof(slot_type));
|
1911
|
-
growth_left() += was_never_full;
|
1912
|
-
infoz().RecordErase();
|
1913
|
-
}
|
1914
|
-
|
1915
|
-
// Allocates a backing array for `self` and initializes its control bytes.
|
1916
|
-
// This reads `capacity_` and updates all other fields based on the result of
|
1917
|
-
// the allocation.
|
1918
|
-
//
|
1919
|
-
// This does not free the currently held array; `capacity_` must be nonzero.
|
1920
|
-
void initialize_slots() {
|
1921
|
-
assert(capacity_);
|
1922
|
-
// Folks with custom allocators often make unwarranted assumptions about the
|
1923
|
-
// behavior of their classes vis-a-vis trivial destructability and what
|
1924
|
-
// calls they will or wont make. Avoid sampling for people with custom
|
1925
|
-
// allocators to get us out of this mess. This is not a hard guarantee but
|
1926
|
-
// a workaround while we plan the exact guarantee we want to provide.
|
1927
|
-
//
|
1928
|
-
// People are often sloppy with the exact type of their allocator (sometimes
|
1929
|
-
// it has an extra const or is missing the pair, but rebinds made it work
|
1930
|
-
// anyway). To avoid the ambiguity, we work off SlotAlloc which we have
|
1931
|
-
// bound more carefully.
|
1932
|
-
if (std::is_same<SlotAlloc, std::allocator<slot_type>>::value &&
|
1933
|
-
slots_ == nullptr) {
|
1934
|
-
infoz() = Sample(sizeof(slot_type));
|
1935
|
-
}
|
1936
|
-
|
1937
|
-
char* mem = static_cast<char*>(Allocate<alignof(slot_type)>(
|
1938
|
-
&alloc_ref(),
|
1939
|
-
AllocSize(capacity_, sizeof(slot_type), alignof(slot_type))));
|
1940
|
-
ctrl_ = reinterpret_cast<ctrl_t*>(mem);
|
1941
|
-
slots_ = reinterpret_cast<slot_type*>(
|
1942
|
-
mem + SlotOffset(capacity_, alignof(slot_type)));
|
1943
|
-
ResetCtrl(capacity_, ctrl_, slots_, sizeof(slot_type));
|
1944
|
-
reset_growth_left();
|
1945
|
-
infoz().RecordStorageChanged(size_, capacity_);
|
1946
|
-
}
|
1947
|
-
|
1948
|
-
// Destroys all slots in the backing array, frees the backing array, and
|
1949
|
-
// clears all top-level book-keeping data.
|
1950
|
-
//
|
1951
|
-
// This essentially implements `map = raw_hash_set();`.
|
1952
|
-
void destroy_slots() {
|
1953
|
-
if (!capacity_) return;
|
1954
|
-
for (size_t i = 0; i != capacity_; ++i) {
|
1955
|
-
if (IsFull(ctrl_[i])) {
|
1956
|
-
PolicyTraits::destroy(&alloc_ref(), slots_ + i);
|
1957
|
-
}
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
// Unpoison before returning the memory to the allocator.
|
1961
|
-
SanitizerUnpoisonMemoryRegion(slots_, sizeof(slot_type) * capacity_);
|
1962
|
-
Deallocate<alignof(slot_type)>(
|
1963
|
-
&alloc_ref(), ctrl_,
|
1964
|
-
AllocSize(capacity_, sizeof(slot_type), alignof(slot_type)));
|
1965
|
-
ctrl_ = EmptyGroup();
|
1966
|
-
slots_ = nullptr;
|
1967
|
-
size_ = 0;
|
1968
|
-
capacity_ = 0;
|
1969
|
-
growth_left() = 0;
|
1970
|
-
}
|
1971
|
-
|
1972
|
-
void resize(size_t new_capacity) {
|
1973
|
-
assert(IsValidCapacity(new_capacity));
|
1974
|
-
auto* old_ctrl = ctrl_;
|
1975
|
-
auto* old_slots = slots_;
|
1976
|
-
const size_t old_capacity = capacity_;
|
1977
|
-
capacity_ = new_capacity;
|
1978
|
-
initialize_slots();
|
1979
|
-
|
1980
|
-
size_t total_probe_length = 0;
|
1981
|
-
for (size_t i = 0; i != old_capacity; ++i) {
|
1982
|
-
if (IsFull(old_ctrl[i])) {
|
1983
|
-
size_t hash = PolicyTraits::apply(HashElement{hash_ref()},
|
1984
|
-
PolicyTraits::element(old_slots + i));
|
1985
|
-
auto target = find_first_non_full(ctrl_, hash, capacity_);
|
1986
|
-
size_t new_i = target.offset;
|
1987
|
-
total_probe_length += target.probe_length;
|
1988
|
-
SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type));
|
1989
|
-
PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i);
|
1990
|
-
}
|
1991
|
-
}
|
1992
|
-
if (old_capacity) {
|
1993
|
-
SanitizerUnpoisonMemoryRegion(old_slots,
|
1994
|
-
sizeof(slot_type) * old_capacity);
|
1995
|
-
Deallocate<alignof(slot_type)>(
|
1996
|
-
&alloc_ref(), old_ctrl,
|
1997
|
-
AllocSize(old_capacity, sizeof(slot_type), alignof(slot_type)));
|
1998
|
-
}
|
1999
|
-
infoz().RecordRehash(total_probe_length);
|
2000
|
-
}
|
2001
|
-
|
2002
|
-
// Prunes control bytes to remove as many tombstones as possible.
|
2003
|
-
//
|
2004
|
-
// See the comment on `rehash_and_grow_if_necessary()`.
|
2005
|
-
void drop_deletes_without_resize() ABSL_ATTRIBUTE_NOINLINE {
|
2006
|
-
assert(IsValidCapacity(capacity_));
|
2007
|
-
assert(!is_small(capacity_));
|
2008
|
-
// Algorithm:
|
2009
|
-
// - mark all DELETED slots as EMPTY
|
2010
|
-
// - mark all FULL slots as DELETED
|
2011
|
-
// - for each slot marked as DELETED
|
2012
|
-
// hash = Hash(element)
|
2013
|
-
// target = find_first_non_full(hash)
|
2014
|
-
// if target is in the same group
|
2015
|
-
// mark slot as FULL
|
2016
|
-
// else if target is EMPTY
|
2017
|
-
// transfer element to target
|
2018
|
-
// mark slot as EMPTY
|
2019
|
-
// mark target as FULL
|
2020
|
-
// else if target is DELETED
|
2021
|
-
// swap current element with target element
|
2022
|
-
// mark target as FULL
|
2023
|
-
// repeat procedure for current slot with moved from element (target)
|
2024
|
-
ConvertDeletedToEmptyAndFullToDeleted(ctrl_, capacity_);
|
2025
|
-
alignas(slot_type) unsigned char raw[sizeof(slot_type)];
|
2026
|
-
size_t total_probe_length = 0;
|
2027
|
-
slot_type* slot = reinterpret_cast<slot_type*>(&raw);
|
2028
|
-
for (size_t i = 0; i != capacity_; ++i) {
|
2029
|
-
if (!IsDeleted(ctrl_[i])) continue;
|
2030
|
-
const size_t hash = PolicyTraits::apply(
|
2031
|
-
HashElement{hash_ref()}, PolicyTraits::element(slots_ + i));
|
2032
|
-
const FindInfo target = find_first_non_full(ctrl_, hash, capacity_);
|
2033
|
-
const size_t new_i = target.offset;
|
2034
|
-
total_probe_length += target.probe_length;
|
2035
|
-
|
2036
|
-
// Verify if the old and new i fall within the same group wrt the hash.
|
2037
|
-
// If they do, we don't need to move the object as it falls already in the
|
2038
|
-
// best probe we can.
|
2039
|
-
const size_t probe_offset = probe(ctrl_, hash, capacity_).offset();
|
2040
|
-
const auto probe_index = [probe_offset, this](size_t pos) {
|
2041
|
-
return ((pos - probe_offset) & capacity_) / Group::kWidth;
|
2042
|
-
};
|
2043
|
-
|
2044
|
-
// Element doesn't move.
|
2045
|
-
if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) {
|
2046
|
-
SetCtrl(i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type));
|
2047
|
-
continue;
|
2048
|
-
}
|
2049
|
-
if (IsEmpty(ctrl_[new_i])) {
|
2050
|
-
// Transfer element to the empty spot.
|
2051
|
-
// SetCtrl poisons/unpoisons the slots so we have to call it at the
|
2052
|
-
// right time.
|
2053
|
-
SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type));
|
2054
|
-
PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i);
|
2055
|
-
SetCtrl(i, ctrl_t::kEmpty, capacity_, ctrl_, slots_, sizeof(slot_type));
|
2056
|
-
} else {
|
2057
|
-
assert(IsDeleted(ctrl_[new_i]));
|
2058
|
-
SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type));
|
2059
|
-
// Until we are done rehashing, DELETED marks previously FULL slots.
|
2060
|
-
// Swap i and new_i elements.
|
2061
|
-
PolicyTraits::transfer(&alloc_ref(), slot, slots_ + i);
|
2062
|
-
PolicyTraits::transfer(&alloc_ref(), slots_ + i, slots_ + new_i);
|
2063
|
-
PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slot);
|
2064
|
-
--i; // repeat
|
2065
|
-
}
|
2066
|
-
}
|
2067
|
-
reset_growth_left();
|
2068
|
-
infoz().RecordRehash(total_probe_length);
|
2069
|
-
}
|
2070
|
-
|
2071
|
-
// Called whenever the table *might* need to conditionally grow.
|
2072
|
-
//
|
2073
|
-
// This function is an optimization opportunity to perform a rehash even when
|
2074
|
-
// growth is unnecessary, because vacating tombstones is beneficial for
|
2075
|
-
// performance in the long-run.
|
2076
|
-
void rehash_and_grow_if_necessary() {
|
2077
|
-
if (capacity_ == 0) {
|
2078
|
-
resize(1);
|
2079
|
-
} else if (capacity_ > Group::kWidth &&
|
2080
|
-
// Do these calcuations in 64-bit to avoid overflow.
|
2081
|
-
size() * uint64_t{32} <= capacity_ * uint64_t{25}) {
|
2082
|
-
// Squash DELETED without growing if there is enough capacity.
|
2083
|
-
//
|
2084
|
-
// Rehash in place if the current size is <= 25/32 of capacity_.
|
2085
|
-
// Rationale for such a high factor: 1) drop_deletes_without_resize() is
|
2086
|
-
// faster than resize, and 2) it takes quite a bit of work to add
|
2087
|
-
// tombstones. In the worst case, seems to take approximately 4
|
2088
|
-
// insert/erase pairs to create a single tombstone and so if we are
|
2089
|
-
// rehashing because of tombstones, we can afford to rehash-in-place as
|
2090
|
-
// long as we are reclaiming at least 1/8 the capacity without doing more
|
2091
|
-
// than 2X the work. (Where "work" is defined to be size() for rehashing
|
2092
|
-
// or rehashing in place, and 1 for an insert or erase.) But rehashing in
|
2093
|
-
// place is faster per operation than inserting or even doubling the size
|
2094
|
-
// of the table, so we actually afford to reclaim even less space from a
|
2095
|
-
// resize-in-place. The decision is to rehash in place if we can reclaim
|
2096
|
-
// at about 1/8th of the usable capacity (specifically 3/28 of the
|
2097
|
-
// capacity) which means that the total cost of rehashing will be a small
|
2098
|
-
// fraction of the total work.
|
2099
|
-
//
|
2100
|
-
// Here is output of an experiment using the BM_CacheInSteadyState
|
2101
|
-
// benchmark running the old case (where we rehash-in-place only if we can
|
2102
|
-
// reclaim at least 7/16*capacity_) vs. this code (which rehashes in place
|
2103
|
-
// if we can recover 3/32*capacity_).
|
2104
|
-
//
|
2105
|
-
// Note that although in the worst-case number of rehashes jumped up from
|
2106
|
-
// 15 to 190, but the number of operations per second is almost the same.
|
2107
|
-
//
|
2108
|
-
// Abridged output of running BM_CacheInSteadyState benchmark from
|
2109
|
-
// raw_hash_set_benchmark. N is the number of insert/erase operations.
|
2110
|
-
//
|
2111
|
-
// | OLD (recover >= 7/16 | NEW (recover >= 3/32)
|
2112
|
-
// size | N/s LoadFactor NRehashes | N/s LoadFactor NRehashes
|
2113
|
-
// 448 | 145284 0.44 18 | 140118 0.44 19
|
2114
|
-
// 493 | 152546 0.24 11 | 151417 0.48 28
|
2115
|
-
// 538 | 151439 0.26 11 | 151152 0.53 38
|
2116
|
-
// 583 | 151765 0.28 11 | 150572 0.57 50
|
2117
|
-
// 628 | 150241 0.31 11 | 150853 0.61 66
|
2118
|
-
// 672 | 149602 0.33 12 | 150110 0.66 90
|
2119
|
-
// 717 | 149998 0.35 12 | 149531 0.70 129
|
2120
|
-
// 762 | 149836 0.37 13 | 148559 0.74 190
|
2121
|
-
// 807 | 149736 0.39 14 | 151107 0.39 14
|
2122
|
-
// 852 | 150204 0.42 15 | 151019 0.42 15
|
2123
|
-
drop_deletes_without_resize();
|
2124
|
-
} else {
|
2125
|
-
// Otherwise grow the container.
|
2126
|
-
resize(capacity_ * 2 + 1);
|
2127
|
-
}
|
2128
|
-
}
|
2129
|
-
|
2130
|
-
bool has_element(const value_type& elem) const {
|
2131
|
-
size_t hash = PolicyTraits::apply(HashElement{hash_ref()}, elem);
|
2132
|
-
auto seq = probe(ctrl_, hash, capacity_);
|
2133
|
-
while (true) {
|
2134
|
-
Group g{ctrl_ + seq.offset()};
|
2135
|
-
for (uint32_t i : g.Match(H2(hash))) {
|
2136
|
-
if (ABSL_PREDICT_TRUE(PolicyTraits::element(slots_ + seq.offset(i)) ==
|
2137
|
-
elem))
|
2138
|
-
return true;
|
2139
|
-
}
|
2140
|
-
if (ABSL_PREDICT_TRUE(g.MaskEmpty())) return false;
|
2141
|
-
seq.next();
|
2142
|
-
assert(seq.index() <= capacity_ && "full table!");
|
2143
|
-
}
|
2144
|
-
return false;
|
2145
|
-
}
|
2146
|
-
|
2147
|
-
// TODO(alkis): Optimize this assuming *this and that don't overlap.
|
2148
|
-
raw_hash_set& move_assign(raw_hash_set&& that, std::true_type) {
|
2149
|
-
raw_hash_set tmp(std::move(that));
|
2150
|
-
swap(tmp);
|
2151
|
-
return *this;
|
2152
|
-
}
|
2153
|
-
raw_hash_set& move_assign(raw_hash_set&& that, std::false_type) {
|
2154
|
-
raw_hash_set tmp(std::move(that), alloc_ref());
|
2155
|
-
swap(tmp);
|
2156
|
-
return *this;
|
2157
|
-
}
|
2158
|
-
|
2159
|
-
protected:
|
2160
|
-
// Attempts to find `key` in the table; if it isn't found, returns a slot that
|
2161
|
-
// the value can be inserted into, with the control byte already set to
|
2162
|
-
// `key`'s H2.
|
2163
|
-
template <class K>
|
2164
|
-
std::pair<size_t, bool> find_or_prepare_insert(const K& key) {
|
2165
|
-
prefetch_heap_block();
|
2166
|
-
auto hash = hash_ref()(key);
|
2167
|
-
auto seq = probe(ctrl_, hash, capacity_);
|
2168
|
-
while (true) {
|
2169
|
-
Group g{ctrl_ + seq.offset()};
|
2170
|
-
for (uint32_t i : g.Match(H2(hash))) {
|
2171
|
-
if (ABSL_PREDICT_TRUE(PolicyTraits::apply(
|
2172
|
-
EqualElement<K>{key, eq_ref()},
|
2173
|
-
PolicyTraits::element(slots_ + seq.offset(i)))))
|
2174
|
-
return {seq.offset(i), false};
|
2175
|
-
}
|
2176
|
-
if (ABSL_PREDICT_TRUE(g.MaskEmpty())) break;
|
2177
|
-
seq.next();
|
2178
|
-
assert(seq.index() <= capacity_ && "full table!");
|
2179
|
-
}
|
2180
|
-
return {prepare_insert(hash), true};
|
2181
|
-
}
|
2182
|
-
|
2183
|
-
// Given the hash of a value not currently in the table, finds the next
|
2184
|
-
// viable slot index to insert it at.
|
2185
|
-
//
|
2186
|
-
// REQUIRES: At least one non-full slot available.
|
2187
|
-
size_t prepare_insert(size_t hash) ABSL_ATTRIBUTE_NOINLINE {
|
2188
|
-
auto target = find_first_non_full(ctrl_, hash, capacity_);
|
2189
|
-
if (ABSL_PREDICT_FALSE(growth_left() == 0 &&
|
2190
|
-
!IsDeleted(ctrl_[target.offset]))) {
|
2191
|
-
rehash_and_grow_if_necessary();
|
2192
|
-
target = find_first_non_full(ctrl_, hash, capacity_);
|
2193
|
-
}
|
2194
|
-
++size_;
|
2195
|
-
growth_left() -= IsEmpty(ctrl_[target.offset]);
|
2196
|
-
SetCtrl(target.offset, H2(hash), capacity_, ctrl_, slots_,
|
2197
|
-
sizeof(slot_type));
|
2198
|
-
infoz().RecordInsert(hash, target.probe_length);
|
2199
|
-
return target.offset;
|
2200
|
-
}
|
2201
|
-
|
2202
|
-
// Constructs the value in the space pointed by the iterator. This only works
|
2203
|
-
// after an unsuccessful find_or_prepare_insert() and before any other
|
2204
|
-
// modifications happen in the raw_hash_set.
|
2205
|
-
//
|
2206
|
-
// PRECONDITION: i is an index returned from find_or_prepare_insert(k), where
|
2207
|
-
// k is the key decomposed from `forward<Args>(args)...`, and the bool
|
2208
|
-
// returned by find_or_prepare_insert(k) was true.
|
2209
|
-
// POSTCONDITION: *m.iterator_at(i) == value_type(forward<Args>(args)...).
|
2210
|
-
template <class... Args>
|
2211
|
-
void emplace_at(size_t i, Args&&... args) {
|
2212
|
-
PolicyTraits::construct(&alloc_ref(), slots_ + i,
|
2213
|
-
std::forward<Args>(args)...);
|
2214
|
-
|
2215
|
-
assert(PolicyTraits::apply(FindElement{*this}, *iterator_at(i)) ==
|
2216
|
-
iterator_at(i) &&
|
2217
|
-
"constructed value does not match the lookup key");
|
2218
|
-
}
|
2219
|
-
|
2220
|
-
iterator iterator_at(size_t i) { return {ctrl_ + i, slots_ + i}; }
|
2221
|
-
const_iterator iterator_at(size_t i) const { return {ctrl_ + i, slots_ + i}; }
|
2222
|
-
|
2223
|
-
private:
|
2224
|
-
friend struct RawHashSetTestOnlyAccess;
|
2225
|
-
|
2226
|
-
void reset_growth_left() {
|
2227
|
-
growth_left() = CapacityToGrowth(capacity()) - size_;
|
2228
|
-
}
|
2229
|
-
|
2230
|
-
// The number of slots we can still fill without needing to rehash.
|
2231
|
-
//
|
2232
|
-
// This is stored separately due to tombstones: we do not include tombstones
|
2233
|
-
// in the growth capacity, because we'd like to rehash when the table is
|
2234
|
-
// otherwise filled with tombstones: otherwise, probe sequences might get
|
2235
|
-
// unacceptably long without triggering a rehash. Callers can also force a
|
2236
|
-
// rehash via the standard `rehash(0)`, which will recompute this value as a
|
2237
|
-
// side-effect.
|
2238
|
-
//
|
2239
|
-
// See `CapacityToGrowth()`.
|
2240
|
-
size_t& growth_left() { return settings_.template get<0>(); }
|
2241
|
-
|
2242
|
-
// Prefetch the heap-allocated memory region to resolve potential TLB misses.
|
2243
|
-
// This is intended to overlap with execution of calculating the hash for a
|
2244
|
-
// key.
|
2245
|
-
void prefetch_heap_block() const {
|
2246
|
-
base_internal::PrefetchT2(ctrl_);
|
2247
|
-
}
|
2248
|
-
|
2249
|
-
HashtablezInfoHandle& infoz() { return settings_.template get<1>(); }
|
2250
|
-
|
2251
|
-
hasher& hash_ref() { return settings_.template get<2>(); }
|
2252
|
-
const hasher& hash_ref() const { return settings_.template get<2>(); }
|
2253
|
-
key_equal& eq_ref() { return settings_.template get<3>(); }
|
2254
|
-
const key_equal& eq_ref() const { return settings_.template get<3>(); }
|
2255
|
-
allocator_type& alloc_ref() { return settings_.template get<4>(); }
|
2256
|
-
const allocator_type& alloc_ref() const {
|
2257
|
-
return settings_.template get<4>();
|
2258
|
-
}
|
2259
|
-
|
2260
|
-
// TODO(alkis): Investigate removing some of these fields:
|
2261
|
-
// - ctrl/slots can be derived from each other
|
2262
|
-
// - size can be moved into the slot array
|
2263
|
-
|
2264
|
-
// The control bytes (and, also, a pointer to the base of the backing array).
|
2265
|
-
//
|
2266
|
-
// This contains `capacity_ + 1 + NumClonedBytes()` entries, even
|
2267
|
-
// when the table is empty (hence EmptyGroup).
|
2268
|
-
ctrl_t* ctrl_ = EmptyGroup();
|
2269
|
-
// The beginning of the slots, located at `SlotOffset()` bytes after
|
2270
|
-
// `ctrl_`. May be null for empty tables.
|
2271
|
-
slot_type* slots_ = nullptr;
|
2272
|
-
|
2273
|
-
// The number of filled slots.
|
2274
|
-
size_t size_ = 0;
|
2275
|
-
|
2276
|
-
// The total number of available slots.
|
2277
|
-
size_t capacity_ = 0;
|
2278
|
-
absl::container_internal::CompressedTuple<size_t /* growth_left */,
|
2279
|
-
HashtablezInfoHandle, hasher,
|
2280
|
-
key_equal, allocator_type>
|
2281
|
-
settings_{0u, HashtablezInfoHandle{}, hasher{}, key_equal{},
|
2282
|
-
allocator_type{}};
|
2283
|
-
};
|
2284
|
-
|
2285
|
-
// Erases all elements that satisfy the predicate `pred` from the container `c`.
|
2286
|
-
template <typename P, typename H, typename E, typename A, typename Predicate>
|
2287
|
-
typename raw_hash_set<P, H, E, A>::size_type EraseIf(
|
2288
|
-
Predicate& pred, raw_hash_set<P, H, E, A>* c) {
|
2289
|
-
const auto initial_size = c->size();
|
2290
|
-
for (auto it = c->begin(), last = c->end(); it != last;) {
|
2291
|
-
if (pred(*it)) {
|
2292
|
-
c->erase(it++);
|
2293
|
-
} else {
|
2294
|
-
++it;
|
2295
|
-
}
|
2296
|
-
}
|
2297
|
-
return initial_size - c->size();
|
2298
|
-
}
|
2299
|
-
|
2300
|
-
namespace hashtable_debug_internal {
|
2301
|
-
template <typename Set>
|
2302
|
-
struct HashtableDebugAccess<Set, absl::void_t<typename Set::raw_hash_set>> {
|
2303
|
-
using Traits = typename Set::PolicyTraits;
|
2304
|
-
using Slot = typename Traits::slot_type;
|
2305
|
-
|
2306
|
-
static size_t GetNumProbes(const Set& set,
|
2307
|
-
const typename Set::key_type& key) {
|
2308
|
-
size_t num_probes = 0;
|
2309
|
-
size_t hash = set.hash_ref()(key);
|
2310
|
-
auto seq = probe(set.ctrl_, hash, set.capacity_);
|
2311
|
-
while (true) {
|
2312
|
-
container_internal::Group g{set.ctrl_ + seq.offset()};
|
2313
|
-
for (uint32_t i : g.Match(container_internal::H2(hash))) {
|
2314
|
-
if (Traits::apply(
|
2315
|
-
typename Set::template EqualElement<typename Set::key_type>{
|
2316
|
-
key, set.eq_ref()},
|
2317
|
-
Traits::element(set.slots_ + seq.offset(i))))
|
2318
|
-
return num_probes;
|
2319
|
-
++num_probes;
|
2320
|
-
}
|
2321
|
-
if (g.MaskEmpty()) return num_probes;
|
2322
|
-
seq.next();
|
2323
|
-
++num_probes;
|
2324
|
-
}
|
2325
|
-
}
|
2326
|
-
|
2327
|
-
static size_t AllocatedByteSize(const Set& c) {
|
2328
|
-
size_t capacity = c.capacity_;
|
2329
|
-
if (capacity == 0) return 0;
|
2330
|
-
size_t m = AllocSize(capacity, sizeof(Slot), alignof(Slot));
|
2331
|
-
|
2332
|
-
size_t per_slot = Traits::space_used(static_cast<const Slot*>(nullptr));
|
2333
|
-
if (per_slot != ~size_t{}) {
|
2334
|
-
m += per_slot * c.size();
|
2335
|
-
} else {
|
2336
|
-
for (size_t i = 0; i != capacity; ++i) {
|
2337
|
-
if (container_internal::IsFull(c.ctrl_[i])) {
|
2338
|
-
m += Traits::space_used(c.slots_ + i);
|
2339
|
-
}
|
2340
|
-
}
|
2341
|
-
}
|
2342
|
-
return m;
|
2343
|
-
}
|
2344
|
-
|
2345
|
-
static size_t LowerBoundAllocatedByteSize(size_t size) {
|
2346
|
-
size_t capacity = GrowthToLowerboundCapacity(size);
|
2347
|
-
if (capacity == 0) return 0;
|
2348
|
-
size_t m =
|
2349
|
-
AllocSize(NormalizeCapacity(capacity), sizeof(Slot), alignof(Slot));
|
2350
|
-
size_t per_slot = Traits::space_used(static_cast<const Slot*>(nullptr));
|
2351
|
-
if (per_slot != ~size_t{}) {
|
2352
|
-
m += per_slot * size;
|
2353
|
-
}
|
2354
|
-
return m;
|
2355
|
-
}
|
2356
|
-
};
|
2357
|
-
|
2358
|
-
} // namespace hashtable_debug_internal
|
2359
|
-
} // namespace container_internal
|
2360
|
-
ABSL_NAMESPACE_END
|
2361
|
-
} // namespace absl
|
2362
|
-
|
2363
|
-
#undef ABSL_INTERNAL_ASSERT_IS_FULL
|
2364
|
-
|
2365
|
-
#endif // ABSL_CONTAINER_INTERNAL_RAW_HASH_SET_H_
|