Internal change

PiperOrigin-RevId: 694676299
pull/19190/head
Protobuf Team Bot 3 months ago committed by Copybara-Service
parent 32b138163d
commit c608704c3f
  1. 17
      csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs
  2. 7
      src/google/protobuf/map.h

@ -1,17 +0,0 @@
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#endregion
namespace Google.Protobuf.Reflection;
internal sealed partial class FeatureSetDescriptor
{
// Canonical serialized form of the edition defaults, generated by embed_edition_defaults.
private const string DefaultsBase64 =
"ChMYhAciACoMCAEQAhgCIAMoATACChMY5wciACoMCAIQARgBIAIoATABChMY6AciDAgBEAEYASACKAEwASoAIOYHKOgH";
}

@ -89,6 +89,10 @@ class DynamicMapField;
class GeneratedMessageReflection;
namespace v2 {
class TableDriven;
} // namespace v2
// The largest valid serialization for a message is INT_MAX, so we can't have
// more than 32-bits worth of elements.
using map_index_t = uint32_t;
@ -608,6 +612,7 @@ class PROTOBUF_EXPORT UntypedMapBase {
friend struct MapBenchmarkPeer;
friend class UntypedMapIterator;
friend class RustMapHelper;
friend class v2::TableDriven;
struct NodeAndBucket {
NodeBase* node;
@ -954,6 +959,7 @@ class KeyMapBase : public UntypedMapBase {
friend struct MapTestPeer;
friend struct MapBenchmarkPeer;
friend class RustMapHelper;
friend class v2::TableDriven;
PROTOBUF_NOINLINE void erase_no_destroy(map_index_t b, KeyNode* node) {
TreeIterator tree_it;
@ -1821,6 +1827,7 @@ class Map : private internal::KeyMapBase<internal::KeyForBase<Key>> {
friend struct internal::MapTestPeer;
friend struct internal::MapBenchmarkPeer;
friend class internal::RustMapHelper;
friend class internal::v2::TableDriven;
};
namespace internal {

Loading…
Cancel
Save