From ea94ce4576765a82408fe09e58942c18346dc34e Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Wed, 7 Aug 2024 05:44:03 +0000 Subject: [PATCH] Auto-generate files after cl/660236451 --- src/google/protobuf/api.pb.cc | 8 ++++---- src/google/protobuf/field_mask.pb.cc | 2 +- src/google/protobuf/struct.pb.cc | 4 ++-- src/google/protobuf/type.pb.cc | 14 +++++++------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index e9d38dcdf6..2d51ccf914 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -567,21 +567,21 @@ PROTOBUF_NOINLINE void Api::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Method methods = 2; - { + { total_size += 1UL * this_._internal_methods_size(); for (const auto& msg : this_._internal_methods()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } // repeated .google.protobuf.Option options = 3; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } // repeated .google.protobuf.Mixin mixins = 6; - { + { total_size += 1UL * this_._internal_mixins_size(); for (const auto& msg : this_._internal_mixins()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); @@ -987,7 +987,7 @@ PROTOBUF_NOINLINE void Method::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Option options = 6; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 662eff6886..9de7ccfada 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -286,7 +286,7 @@ PROTOBUF_NOINLINE void FieldMask::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated string paths = 1; - { + { total_size += 1 * ::google::protobuf::internal::FromIntSize(this_._internal_paths().size()); for (int i = 0, n = this_._internal_paths().size(); i < n; ++i) { diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index 7df4424397..df869743a9 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -517,7 +517,7 @@ PROTOBUF_NOINLINE void Struct::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // map fields = 1; - { + { total_size += 1 * ::google::protobuf::internal::FromIntSize(this_._internal_fields_size()); for (const auto& entry : this_._internal_fields()) { @@ -1190,7 +1190,7 @@ PROTOBUF_NOINLINE void ListValue::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Value values = 1; - { + { total_size += 1UL * this_._internal_values_size(); for (const auto& msg : this_._internal_values()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index dbf5dc060c..5597e6dfc1 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -756,14 +756,14 @@ PROTOBUF_NOINLINE void Type::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Field fields = 2; - { + { total_size += 1UL * this_._internal_fields_size(); for (const auto& msg : this_._internal_fields()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } // repeated string oneofs = 3; - { + { total_size += 1 * ::google::protobuf::internal::FromIntSize(this_._internal_oneofs().size()); for (int i = 0, n = this_._internal_oneofs().size(); i < n; ++i) { @@ -772,7 +772,7 @@ PROTOBUF_NOINLINE void Type::Clear() { } } // repeated .google.protobuf.Option options = 4; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); @@ -1223,7 +1223,7 @@ PROTOBUF_NOINLINE void Field::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Option options = 9; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); @@ -1650,14 +1650,14 @@ PROTOBUF_NOINLINE void Enum::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.EnumValue enumvalue = 2; - { + { total_size += 1UL * this_._internal_enumvalue_size(); for (const auto& msg : this_._internal_enumvalue()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); } } // repeated .google.protobuf.Option options = 3; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); @@ -1979,7 +1979,7 @@ PROTOBUF_NOINLINE void EnumValue::Clear() { ::_pbi::Prefetch5LinesFrom7Lines(&this_); { // repeated .google.protobuf.Option options = 3; - { + { total_size += 1UL * this_._internal_options_size(); for (const auto& msg : this_._internal_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);