struct TcParseTableBase

Defined at line 261 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

Base class for message-level table with info for the tail-call parser.

Public Members

uint16_t has_bits_offset
uint16_t extension_offset
uint32_t max_field_number
uint8_t fast_idx_mask
uint8_t has_post_loop_handler
uint16_t lookup_table_offset
uint32_t skipmap32
uint32_t field_entries_offset
uint16_t num_field_entries
uint16_t num_aux_entries
uint32_t aux_offset
const ClassData * class_data
PostLoopHandler post_loop_handler
TailCallParseFunc fallback

Public Methods

void TcParseTableBase (uint16_t has_bits_offset, uint16_t extension_offset, uint32_t max_field_number, uint8_t fast_idx_mask, uint16_t lookup_table_offset, uint32_t skipmap32, uint32_t field_entries_offset, uint16_t num_field_entries, uint16_t num_aux_entries, uint32_t aux_offset, const ClassData * class_data, PostLoopHandler post_loop_handler, TailCallParseFunc fallback)

This constructor exactly follows the field layout, so it's technically

not necessary. However, it makes it much much easier to add or re-arrange

fields, because it can be overloaded with an additional constructor,

temporarily allowing both old and new protocol buffer headers to be

compiled.

Defined at line 297 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const FastFieldEntry * fast_entry (size_t idx)

There is always at least one table entry.

Defined at line 356 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

FastFieldEntry * fast_entry (size_t idx)

Defined at line 359 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

uint32_t RecodeTagForFastParsing (uint32_t tag)

Defined at line 363 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

uint32_t TagToIdx (uint32_t tag, uint32_t fast_table_size)

Defined at line 379 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const uint16_t * field_lookup_begin ()

Returns a begin iterator (pointer) to the start of the field lookup table.

Defined at line 398 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

uint16_t * field_lookup_begin ()

Defined at line 402 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const FieldEntry * field_entries_begin ()

Returns a begin iterator (pointer) to the start of the field entries array.

Defined at line 418 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

absl::Span<const FieldEntry> field_entries ()

Defined at line 422 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

FieldEntry * field_entries_begin ()

Defined at line 425 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const FieldAux * field_aux (uint32_t idx)

Defined at line 477 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

FieldAux * field_aux (uint32_t idx)

Defined at line 482 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const FieldAux * field_aux (const FieldEntry * entry)

Defined at line 487 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const char * name_data ()

Field name data

Defined at line 492 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

char * name_data ()

Defined at line 497 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

const MessageLite * default_instance ()

Defined at line 503 of file ../../third_party/protobuf/src/src/google/protobuf/generated_message_tctable_decl.h

Records