| /* |
| * Copyright 2015, Google Inc. |
| * All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions are |
| * met: |
| * |
| * * Redistributions of source code must retain the above copyright |
| * notice, this list of conditions and the following disclaimer. |
| * * Redistributions in binary form must reproduce the above |
| * copyright notice, this list of conditions and the following disclaimer |
| * in the documentation and/or other materials provided with the |
| * distribution. |
| * * Neither the name of Google Inc. nor the names of its |
| * contributors may be used to endorse or promote products derived from |
| * this software without specific prior written permission. |
| * |
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| |
| /* |
| * WARNING: Auto-generated code. |
| * |
| * To make changes to this file, change |
| * tools/codegen/core/gen_static_metadata.py, and then re-run it. |
| * |
| * See metadata.h for an explanation of the interface here, and metadata.c for |
| * an explanation of what's going on. |
| */ |
| |
| #include "src/core/lib/transport/static_metadata.h" |
| |
| #include "src/core/lib/slice/slice_internal.h" |
| |
| static uint8_t g_bytes[] = { |
| 58, 112, 97, 116, 104, 58, 109, 101, 116, 104, 111, 100, 58, 115, 116, |
| 97, 116, 117, 115, 58, 97, 117, 116, 104, 111, 114, 105, 116, 121, 58, |
| 115, 99, 104, 101, 109, 101, 116, 101, 103, 114, 112, 99, 45, 109, 101, |
| 115, 115, 97, 103, 101, 103, 114, 112, 99, 45, 115, 116, 97, 116, 117, |
| 115, 103, 114, 112, 99, 45, 112, 97, 121, 108, 111, 97, 100, 45, 98, |
| 105, 110, 103, 114, 112, 99, 45, 101, 110, 99, 111, 100, 105, 110, 103, |
| 103, 114, 112, 99, 45, 97, 99, 99, 101, 112, 116, 45, 101, 110, 99, |
| 111, 100, 105, 110, 103, 99, 111, 110, 116, 101, 110, 116, 45, 116, 121, |
| 112, 101, 103, 114, 112, 99, 45, 105, 110, 116, 101, 114, 110, 97, 108, |
| 45, 101, 110, 99, 111, 100, 105, 110, 103, 45, 114, 101, 113, 117, 101, |
| 115, 116, 117, 115, 101, 114, 45, 97, 103, 101, 110, 116, 104, 111, 115, |
| 116, 108, 98, 45, 116, 111, 107, 101, 110, 108, 98, 45, 99, 111, 115, |
| 116, 45, 98, 105, 110, 103, 114, 112, 99, 45, 116, 105, 109, 101, 111, |
| 117, 116, 103, 114, 112, 99, 45, 116, 114, 97, 99, 105, 110, 103, 45, |
| 98, 105, 110, 103, 114, 112, 99, 45, 115, 116, 97, 116, 115, 45, 98, |
| 105, 110, 103, 114, 112, 99, 46, 119, 97, 105, 116, 95, 102, 111, 114, |
| 95, 114, 101, 97, 100, 121, 103, 114, 112, 99, 46, 116, 105, 109, 101, |
| 111, 117, 116, 103, 114, 112, 99, 46, 109, 97, 120, 95, 114, 101, 113, |
| 117, 101, 115, 116, 95, 109, 101, 115, 115, 97, 103, 101, 95, 98, 121, |
| 116, 101, 115, 103, 114, 112, 99, 46, 109, 97, 120, 95, 114, 101, 115, |
| 112, 111, 110, 115, 101, 95, 109, 101, 115, 115, 97, 103, 101, 95, 98, |
| 121, 116, 101, 115, 47, 103, 114, 112, 99, 46, 108, 98, 46, 118, 49, |
| 46, 76, 111, 97, 100, 66, 97, 108, 97, 110, 99, 101, 114, 47, 66, |
| 97, 108, 97, 110, 99, 101, 76, 111, 97, 100, 48, 49, 50, 105, 100, |
| 101, 110, 116, 105, 116, 121, 103, 122, 105, 112, 100, 101, 102, 108, 97, |
| 116, 101, 116, 114, 97, 105, 108, 101, 114, 115, 97, 112, 112, 108, 105, |
| 99, 97, 116, 105, 111, 110, 47, 103, 114, 112, 99, 80, 79, 83, 84, |
| 50, 48, 48, 52, 48, 52, 104, 116, 116, 112, 104, 116, 116, 112, 115, |
| 103, 114, 112, 99, 71, 69, 84, 80, 85, 84, 47, 47, 105, 110, 100, |
| 101, 120, 46, 104, 116, 109, 108, 50, 48, 52, 50, 48, 54, 51, 48, |
| 52, 52, 48, 48, 53, 48, 48, 97, 99, 99, 101, 112, 116, 45, 99, |
| 104, 97, 114, 115, 101, 116, 97, 99, 99, 101, 112, 116, 45, 101, 110, |
| 99, 111, 100, 105, 110, 103, 103, 122, 105, 112, 44, 32, 100, 101, 102, |
| 108, 97, 116, 101, 97, 99, 99, 101, 112, 116, 45, 108, 97, 110, 103, |
| 117, 97, 103, 101, 97, 99, 99, 101, 112, 116, 45, 114, 97, 110, 103, |
| 101, 115, 97, 99, 99, 101, 112, 116, 97, 99, 99, 101, 115, 115, 45, |
| 99, 111, 110, 116, 114, 111, 108, 45, 97, 108, 108, 111, 119, 45, 111, |
| 114, 105, 103, 105, 110, 97, 103, 101, 97, 108, 108, 111, 119, 97, 117, |
| 116, 104, 111, 114, 105, 122, 97, 116, 105, 111, 110, 99, 97, 99, 104, |
| 101, 45, 99, 111, 110, 116, 114, 111, 108, 99, 111, 110, 116, 101, 110, |
| 116, 45, 100, 105, 115, 112, 111, 115, 105, 116, 105, 111, 110, 99, 111, |
| 110, 116, 101, 110, 116, 45, 101, 110, 99, 111, 100, 105, 110, 103, 99, |
| 111, 110, 116, 101, 110, 116, 45, 108, 97, 110, 103, 117, 97, 103, 101, |
| 99, 111, 110, 116, 101, 110, 116, 45, 108, 101, 110, 103, 116, 104, 99, |
| 111, 110, 116, 101, 110, 116, 45, 108, 111, 99, 97, 116, 105, 111, 110, |
| 99, 111, 110, 116, 101, 110, 116, 45, 114, 97, 110, 103, 101, 99, 111, |
| 111, 107, 105, 101, 100, 97, 116, 101, 101, 116, 97, 103, 101, 120, 112, |
| 101, 99, 116, 101, 120, 112, 105, 114, 101, 115, 102, 114, 111, 109, 105, |
| 102, 45, 109, 97, 116, 99, 104, 105, 102, 45, 109, 111, 100, 105, 102, |
| 105, 101, 100, 45, 115, 105, 110, 99, 101, 105, 102, 45, 110, 111, 110, |
| 101, 45, 109, 97, 116, 99, 104, 105, 102, 45, 114, 97, 110, 103, 101, |
| 105, 102, 45, 117, 110, 109, 111, 100, 105, 102, 105, 101, 100, 45, 115, |
| 105, 110, 99, 101, 108, 97, 115, 116, 45, 109, 111, 100, 105, 102, 105, |
| 101, 100, 108, 105, 110, 107, 108, 111, 99, 97, 116, 105, 111, 110, 109, |
| 97, 120, 45, 102, 111, 114, 119, 97, 114, 100, 115, 112, 114, 111, 120, |
| 121, 45, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 101, 112, |
| 114, 111, 120, 121, 45, 97, 117, 116, 104, 111, 114, 105, 122, 97, 116, |
| 105, 111, 110, 114, 97, 110, 103, 101, 114, 101, 102, 101, 114, 101, 114, |
| 114, 101, 102, 114, 101, 115, 104, 114, 101, 116, 114, 121, 45, 97, 102, |
| 116, 101, 114, 115, 101, 114, 118, 101, 114, 115, 101, 116, 45, 99, 111, |
| 111, 107, 105, 101, 115, 116, 114, 105, 99, 116, 45, 116, 114, 97, 110, |
| 115, 112, 111, 114, 116, 45, 115, 101, 99, 117, 114, 105, 116, 121, 116, |
| 114, 97, 110, 115, 102, 101, 114, 45, 101, 110, 99, 111, 100, 105, 110, |
| 103, 118, 97, 114, 121, 118, 105, 97, 119, 119, 119, 45, 97, 117, 116, |
| 104, 101, 110, 116, 105, 99, 97, 116, 101, 105, 100, 101, 110, 116, 105, |
| 116, 121, 44, 100, 101, 102, 108, 97, 116, 101, 105, 100, 101, 110, 116, |
| 105, 116, 121, 44, 103, 122, 105, 112, 100, 101, 102, 108, 97, 116, 101, |
| 44, 103, 122, 105, 112, 105, 100, 101, 110, 116, 105, 116, 121, 44, 100, |
| 101, 102, 108, 97, 116, 101, 44, 103, 122, 105, 112}; |
| |
| static void static_ref(void *unused) {} |
| static void static_unref(grpc_exec_ctx *exec_ctx, void *unused) {} |
| static const grpc_slice_refcount_vtable static_sub_vtable = { |
| static_ref, static_unref, grpc_slice_default_eq_impl, |
| grpc_slice_default_hash_impl}; |
| const grpc_slice_refcount_vtable grpc_static_metadata_vtable = { |
| static_ref, static_unref, grpc_static_slice_eq, grpc_static_slice_hash}; |
| static grpc_slice_refcount static_sub_refcnt = {&static_sub_vtable, |
| &static_sub_refcnt}; |
| grpc_slice_refcount grpc_static_metadata_refcounts[GRPC_STATIC_MDSTR_COUNT] = { |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| {&grpc_static_metadata_vtable, &static_sub_refcnt}, |
| }; |
| |
| const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT] = { |
| {.refcount = &grpc_static_metadata_refcounts[0], |
| .data.refcounted = {g_bytes + 0, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[1], |
| .data.refcounted = {g_bytes + 5, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[3], |
| .data.refcounted = {g_bytes + 19, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[4], |
| .data.refcounted = {g_bytes + 29, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[5], |
| .data.refcounted = {g_bytes + 36, 2}}, |
| {.refcount = &grpc_static_metadata_refcounts[6], |
| .data.refcounted = {g_bytes + 38, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[7], |
| .data.refcounted = {g_bytes + 50, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[8], |
| .data.refcounted = {g_bytes + 61, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[9], |
| .data.refcounted = {g_bytes + 77, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[11], |
| .data.refcounted = {g_bytes + 110, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[12], |
| .data.refcounted = {g_bytes + 122, 30}}, |
| {.refcount = &grpc_static_metadata_refcounts[13], |
| .data.refcounted = {g_bytes + 152, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[14], |
| .data.refcounted = {g_bytes + 162, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[15], |
| .data.refcounted = {g_bytes + 166, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[16], |
| .data.refcounted = {g_bytes + 174, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[17], |
| .data.refcounted = {g_bytes + 185, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[18], |
| .data.refcounted = {g_bytes + 197, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[19], |
| .data.refcounted = {g_bytes + 213, 14}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}, |
| {.refcount = &grpc_static_metadata_refcounts[21], |
| .data.refcounted = {g_bytes + 227, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[22], |
| .data.refcounted = {g_bytes + 246, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[23], |
| .data.refcounted = {g_bytes + 258, 30}}, |
| {.refcount = &grpc_static_metadata_refcounts[24], |
| .data.refcounted = {g_bytes + 288, 31}}, |
| {.refcount = &grpc_static_metadata_refcounts[25], |
| .data.refcounted = {g_bytes + 319, 36}}, |
| {.refcount = &grpc_static_metadata_refcounts[26], |
| .data.refcounted = {g_bytes + 355, 1}}, |
| {.refcount = &grpc_static_metadata_refcounts[27], |
| .data.refcounted = {g_bytes + 356, 1}}, |
| {.refcount = &grpc_static_metadata_refcounts[28], |
| .data.refcounted = {g_bytes + 357, 1}}, |
| {.refcount = &grpc_static_metadata_refcounts[29], |
| .data.refcounted = {g_bytes + 358, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[30], |
| .data.refcounted = {g_bytes + 366, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[31], |
| .data.refcounted = {g_bytes + 370, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[32], |
| .data.refcounted = {g_bytes + 377, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[33], |
| .data.refcounted = {g_bytes + 385, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[34], |
| .data.refcounted = {g_bytes + 401, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[35], |
| .data.refcounted = {g_bytes + 405, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[36], |
| .data.refcounted = {g_bytes + 408, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[37], |
| .data.refcounted = {g_bytes + 411, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[38], |
| .data.refcounted = {g_bytes + 415, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[39], |
| .data.refcounted = {g_bytes + 420, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[40], |
| .data.refcounted = {g_bytes + 424, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[41], |
| .data.refcounted = {g_bytes + 427, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[42], |
| .data.refcounted = {g_bytes + 430, 1}}, |
| {.refcount = &grpc_static_metadata_refcounts[43], |
| .data.refcounted = {g_bytes + 431, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[44], |
| .data.refcounted = {g_bytes + 442, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[45], |
| .data.refcounted = {g_bytes + 445, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[46], |
| .data.refcounted = {g_bytes + 448, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[47], |
| .data.refcounted = {g_bytes + 451, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[48], |
| .data.refcounted = {g_bytes + 454, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[49], |
| .data.refcounted = {g_bytes + 457, 14}}, |
| {.refcount = &grpc_static_metadata_refcounts[50], |
| .data.refcounted = {g_bytes + 471, 15}}, |
| {.refcount = &grpc_static_metadata_refcounts[51], |
| .data.refcounted = {g_bytes + 486, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[52], |
| .data.refcounted = {g_bytes + 499, 15}}, |
| {.refcount = &grpc_static_metadata_refcounts[53], |
| .data.refcounted = {g_bytes + 514, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[54], |
| .data.refcounted = {g_bytes + 527, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[55], |
| .data.refcounted = {g_bytes + 533, 27}}, |
| {.refcount = &grpc_static_metadata_refcounts[56], |
| .data.refcounted = {g_bytes + 560, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[57], |
| .data.refcounted = {g_bytes + 563, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[58], |
| .data.refcounted = {g_bytes + 568, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[59], |
| .data.refcounted = {g_bytes + 581, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[60], |
| .data.refcounted = {g_bytes + 594, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[61], |
| .data.refcounted = {g_bytes + 613, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[62], |
| .data.refcounted = {g_bytes + 629, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[63], |
| .data.refcounted = {g_bytes + 645, 14}}, |
| {.refcount = &grpc_static_metadata_refcounts[64], |
| .data.refcounted = {g_bytes + 659, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[65], |
| .data.refcounted = {g_bytes + 675, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[66], |
| .data.refcounted = {g_bytes + 688, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[67], |
| .data.refcounted = {g_bytes + 694, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[68], |
| .data.refcounted = {g_bytes + 698, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[69], |
| .data.refcounted = {g_bytes + 702, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[70], |
| .data.refcounted = {g_bytes + 708, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[71], |
| .data.refcounted = {g_bytes + 715, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[72], |
| .data.refcounted = {g_bytes + 719, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[73], |
| .data.refcounted = {g_bytes + 727, 17}}, |
| {.refcount = &grpc_static_metadata_refcounts[74], |
| .data.refcounted = {g_bytes + 744, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[75], |
| .data.refcounted = {g_bytes + 757, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[76], |
| .data.refcounted = {g_bytes + 765, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[77], |
| .data.refcounted = {g_bytes + 784, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[78], |
| .data.refcounted = {g_bytes + 797, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[79], |
| .data.refcounted = {g_bytes + 801, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[80], |
| .data.refcounted = {g_bytes + 809, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[81], |
| .data.refcounted = {g_bytes + 821, 18}}, |
| {.refcount = &grpc_static_metadata_refcounts[82], |
| .data.refcounted = {g_bytes + 839, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[83], |
| .data.refcounted = {g_bytes + 858, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[84], |
| .data.refcounted = {g_bytes + 863, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[85], |
| .data.refcounted = {g_bytes + 870, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[86], |
| .data.refcounted = {g_bytes + 877, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[87], |
| .data.refcounted = {g_bytes + 888, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[88], |
| .data.refcounted = {g_bytes + 894, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[89], |
| .data.refcounted = {g_bytes + 904, 25}}, |
| {.refcount = &grpc_static_metadata_refcounts[90], |
| .data.refcounted = {g_bytes + 929, 17}}, |
| {.refcount = &grpc_static_metadata_refcounts[91], |
| .data.refcounted = {g_bytes + 946, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[92], |
| .data.refcounted = {g_bytes + 950, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[93], |
| .data.refcounted = {g_bytes + 953, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[94], |
| .data.refcounted = {g_bytes + 969, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[95], |
| .data.refcounted = {g_bytes + 985, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[96], |
| .data.refcounted = {g_bytes + 998, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[97], |
| .data.refcounted = {g_bytes + 1010, 21}}, |
| }; |
| |
| uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT] = { |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 4, 6, 6, 8, 8}; |
| |
| #define ELEMS_PHASHLEN 0x40 |
| #define ELEMS_PHASHNKEYS 81 |
| #define ELEMS_PHASHRANGE 128 |
| #define ELEMS_PHASHSALT 0x9e3779b9 |
| |
| static const uint8_t elems_tab[] = { |
| 20, 1, 0, 61, 61, 34, 10, 16, 0, 0, 0, 0, 34, 61, 0, 1, |
| 0, 0, 0, 61, 0, 88, 0, 4, 0, 47, 0, 47, 12, 7, 0, 16, |
| 51, 87, 76, 4, 79, 10, 70, 47, 76, 61, 71, 88, 0, 88, 0, 47, |
| 0, 16, 0, 83, 0, 57, 0, 75, 0, 42, 0, 90, 0, 42, 70, 0, |
| }; |
| |
| static uint32_t elems_phash(uint32_t val) { |
| val += (uint32_t)-11; |
| |
| uint32_t a, b, rsl; |
| |
| b = (val & 0x3f); |
| a = ((val << 18) >> 26); |
| rsl = (a ^ elems_tab[b]); |
| return rsl; |
| } |
| |
| static const uint16_t elem_keys[] = { |
| 138, 522, 714, 5116, 1098, 430, 5802, 232, 8840, 913, 240, 8644, |
| 231, 8742, 7762, 1392, 42, 5410, 4822, 5998, 139, 1490, 5900, 7664, |
| 6292, 8448, 6684, 7272, 7370, 8350, 8154, 7958, 7566, 912, 9036, 7860, |
| 6488, 8546, 1111, 9134, 712, 5214, 132, 1074, 1010, 5312, 314, 242, |
| 8252, 4951, 8938, 43, 7076, 6096, 6586, 6194, 1294, 1076, 5606, 1588, |
| 5704, 244, 911, 5508, 6390, 7174, 6880, 1077, 713, 1009, 241, 8056, |
| 1075, 6782, 7468, 4920, 243, 429, 431, 1011, 6978, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 0, 0, 0, 0, 0, 0, 0, 0}; |
| static const uint8_t elem_idxs[] = { |
| 15, 6, 2, 27, 41, 12, 34, 10, 69, 5, 19, 67, 9, 68, 58, 48, 17, |
| 30, 24, 36, 16, 55, 35, 57, 39, 65, 44, 51, 52, 64, 62, 60, 54, 4, |
| 72, 59, 42, 66, 7, 73, 0, 28, 8, 76, 77, 29, 14, 21, 63, 26, 71, |
| 18, 49, 37, 43, 38, 70, 79, 32, 56, 33, 23, 3, 31, 40, 50, 46, 80, |
| 1, 74, 20, 61, 78, 45, 53, 25, 22, 11, 13, 75, 47}; |
| |
| grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b) { |
| if (a == -1 || b == -1) return GRPC_MDNULL; |
| uint32_t k = (uint32_t)(a * 98 + b); |
| uint32_t h = elems_phash(k); |
| return elem_keys[h] == k |
| ? GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[elem_idxs[h]], |
| GRPC_MDELEM_STORAGE_STATIC) |
| : GRPC_MDNULL; |
| } |
| |
| grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT] = { |
| {{.refcount = &grpc_static_metadata_refcounts[7], |
| .data.refcounted = {g_bytes + 50, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[26], |
| .data.refcounted = {g_bytes + 355, 1}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[7], |
| .data.refcounted = {g_bytes + 50, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[27], |
| .data.refcounted = {g_bytes + 356, 1}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[7], |
| .data.refcounted = {g_bytes + 50, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[28], |
| .data.refcounted = {g_bytes + 357, 1}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[9], |
| .data.refcounted = {g_bytes + 77, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[29], |
| .data.refcounted = {g_bytes + 358, 8}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[9], |
| .data.refcounted = {g_bytes + 77, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[30], |
| .data.refcounted = {g_bytes + 366, 4}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[9], |
| .data.refcounted = {g_bytes + 77, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[31], |
| .data.refcounted = {g_bytes + 370, 7}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[5], |
| .data.refcounted = {g_bytes + 36, 2}}, |
| {.refcount = &grpc_static_metadata_refcounts[32], |
| .data.refcounted = {g_bytes + 377, 8}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[11], |
| .data.refcounted = {g_bytes + 110, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[33], |
| .data.refcounted = {g_bytes + 385, 16}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[1], |
| .data.refcounted = {g_bytes + 5, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[34], |
| .data.refcounted = {g_bytes + 401, 4}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[35], |
| .data.refcounted = {g_bytes + 405, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[36], |
| .data.refcounted = {g_bytes + 408, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[4], |
| .data.refcounted = {g_bytes + 29, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[37], |
| .data.refcounted = {g_bytes + 411, 4}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[4], |
| .data.refcounted = {g_bytes + 29, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[38], |
| .data.refcounted = {g_bytes + 415, 5}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[4], |
| .data.refcounted = {g_bytes + 29, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[39], |
| .data.refcounted = {g_bytes + 420, 4}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[3], |
| .data.refcounted = {g_bytes + 19, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[1], |
| .data.refcounted = {g_bytes + 5, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[40], |
| .data.refcounted = {g_bytes + 424, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[1], |
| .data.refcounted = {g_bytes + 5, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[41], |
| .data.refcounted = {g_bytes + 427, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[0], |
| .data.refcounted = {g_bytes + 0, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[42], |
| .data.refcounted = {g_bytes + 430, 1}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[0], |
| .data.refcounted = {g_bytes + 0, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[43], |
| .data.refcounted = {g_bytes + 431, 11}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[44], |
| .data.refcounted = {g_bytes + 442, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[45], |
| .data.refcounted = {g_bytes + 445, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[46], |
| .data.refcounted = {g_bytes + 448, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[47], |
| .data.refcounted = {g_bytes + 451, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[2], |
| .data.refcounted = {g_bytes + 12, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[48], |
| .data.refcounted = {g_bytes + 454, 3}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[49], |
| .data.refcounted = {g_bytes + 457, 14}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[50], |
| .data.refcounted = {g_bytes + 471, 15}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[50], |
| .data.refcounted = {g_bytes + 471, 15}}, |
| {.refcount = &grpc_static_metadata_refcounts[51], |
| .data.refcounted = {g_bytes + 486, 13}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[52], |
| .data.refcounted = {g_bytes + 499, 15}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[53], |
| .data.refcounted = {g_bytes + 514, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[54], |
| .data.refcounted = {g_bytes + 527, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[55], |
| .data.refcounted = {g_bytes + 533, 27}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[56], |
| .data.refcounted = {g_bytes + 560, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[57], |
| .data.refcounted = {g_bytes + 563, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[58], |
| .data.refcounted = {g_bytes + 568, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[59], |
| .data.refcounted = {g_bytes + 581, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[60], |
| .data.refcounted = {g_bytes + 594, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[61], |
| .data.refcounted = {g_bytes + 613, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[62], |
| .data.refcounted = {g_bytes + 629, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[63], |
| .data.refcounted = {g_bytes + 645, 14}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[64], |
| .data.refcounted = {g_bytes + 659, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[65], |
| .data.refcounted = {g_bytes + 675, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[11], |
| .data.refcounted = {g_bytes + 110, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[66], |
| .data.refcounted = {g_bytes + 688, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[67], |
| .data.refcounted = {g_bytes + 694, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[68], |
| .data.refcounted = {g_bytes + 698, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[69], |
| .data.refcounted = {g_bytes + 702, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[70], |
| .data.refcounted = {g_bytes + 708, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[71], |
| .data.refcounted = {g_bytes + 715, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[14], |
| .data.refcounted = {g_bytes + 162, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[72], |
| .data.refcounted = {g_bytes + 719, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[73], |
| .data.refcounted = {g_bytes + 727, 17}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[74], |
| .data.refcounted = {g_bytes + 744, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[75], |
| .data.refcounted = {g_bytes + 757, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[76], |
| .data.refcounted = {g_bytes + 765, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[77], |
| .data.refcounted = {g_bytes + 784, 13}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[15], |
| .data.refcounted = {g_bytes + 166, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[16], |
| .data.refcounted = {g_bytes + 174, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[78], |
| .data.refcounted = {g_bytes + 797, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[79], |
| .data.refcounted = {g_bytes + 801, 8}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[80], |
| .data.refcounted = {g_bytes + 809, 12}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[81], |
| .data.refcounted = {g_bytes + 821, 18}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[82], |
| .data.refcounted = {g_bytes + 839, 19}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[83], |
| .data.refcounted = {g_bytes + 858, 5}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[84], |
| .data.refcounted = {g_bytes + 863, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[85], |
| .data.refcounted = {g_bytes + 870, 7}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[86], |
| .data.refcounted = {g_bytes + 877, 11}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[87], |
| .data.refcounted = {g_bytes + 888, 6}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[88], |
| .data.refcounted = {g_bytes + 894, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[89], |
| .data.refcounted = {g_bytes + 904, 25}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[90], |
| .data.refcounted = {g_bytes + 929, 17}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[13], |
| .data.refcounted = {g_bytes + 152, 10}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[91], |
| .data.refcounted = {g_bytes + 946, 4}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[92], |
| .data.refcounted = {g_bytes + 950, 3}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[93], |
| .data.refcounted = {g_bytes + 953, 16}}, |
| {.refcount = &grpc_static_metadata_refcounts[20], |
| .data.refcounted = {g_bytes + 227, 0}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[29], |
| .data.refcounted = {g_bytes + 358, 8}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[31], |
| .data.refcounted = {g_bytes + 370, 7}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[94], |
| .data.refcounted = {g_bytes + 969, 16}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[30], |
| .data.refcounted = {g_bytes + 366, 4}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[95], |
| .data.refcounted = {g_bytes + 985, 13}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[96], |
| .data.refcounted = {g_bytes + 998, 12}}}, |
| {{.refcount = &grpc_static_metadata_refcounts[10], |
| .data.refcounted = {g_bytes + 90, 20}}, |
| {.refcount = &grpc_static_metadata_refcounts[97], |
| .data.refcounted = {g_bytes + 1010, 21}}}, |
| }; |
| #define BATCH_PHASHLEN 0x10 |
| #define BATCH_PHASHNKEYS 17 |
| #define BATCH_PHASHRANGE 32 |
| #define BATCH_PHASHSALT 0x9e3779b9 |
| |
| static const uint8_t batch_tab[] = { |
| 0, 13, 0, 13, 0, 13, 0, 13, 0, 13, 0, 15, 0, 13, 0, 23, |
| }; |
| |
| static uint32_t batch_phash(uint32_t val) { |
| val += (uint32_t)0; |
| |
| uint32_t a, b, rsl; |
| |
| b = (val & 0xf); |
| a = ((val << 27) >> 28); |
| rsl = (a ^ batch_tab[b]); |
| return rsl; |
| } |
| |
| static const uint8_t batch_hash_to_idx[] = { |
| 0, 2, 4, 6, 8, 10, 12, 14, 16, 9, 11, 13, 3, 1, 7, 5, |
| 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
| |
| grpc_metadata_batch_callouts_index grpc_batch_index_of(grpc_slice slice) { |
| if (!grpc_is_static_metadata_string(slice)) return GRPC_BATCH_CALLOUTS_COUNT; |
| uint32_t idx = (uint32_t)grpc_static_metadata_index(slice); |
| uint32_t hash = batch_phash(idx); |
| if (hash < GPR_ARRAY_SIZE(batch_hash_to_idx) && |
| batch_hash_to_idx[hash] == idx) |
| return (grpc_metadata_batch_callouts_index)hash; |
| return GRPC_BATCH_CALLOUTS_COUNT; |
| } |
| |
| const uint8_t grpc_static_accept_encoding_metadata[8] = {0, 74, 75, 76, |
| 77, 78, 79, 80}; |