Download include/google/protobuf/compiler/cpp/message_layout_helper.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/cpp/message_layout_helper.h
- Command line
-
hf download hf://Shenghong/dai_env/include/google/protobuf/compiler/cpp/message_layout_helper.h
-
curl -L -o message_layout_helper.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/cpp/message_layout_helper.h
1.28 kB
| // 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 | |
| // Author: seongkim@google.com (Seong Beom Kim) | |
| // Based on original Protocol Buffers design by | |
| // Sanjay Ghemawat, Jeff Dean, and others. | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| namespace cpp { | |
| class MessageSCCAnalyzer; | |
| // Provides an abstract interface to optimize message layout | |
| // by rearranging the fields of a message. | |
| class MessageLayoutHelper { | |
| public: | |
| virtual ~MessageLayoutHelper() {} | |
| virtual void OptimizeLayout(std::vector<const FieldDescriptor*>* fields, | |
| const Options& options, | |
| MessageSCCAnalyzer* scc_analyzer) = 0; | |
| }; | |
| } // namespace cpp | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |