Download include/google/protobuf/compiler/python/helpers.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/python/helpers.h
- Command line
-
hf download hf://Shenghong/dai_env/include/google/protobuf/compiler/python/helpers.h
-
curl -L -o helpers.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/python/helpers.h
1.47 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 | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| namespace python { | |
| std::string ModuleName(absl::string_view filename); | |
| std::string StrippedModuleName(absl::string_view filename); | |
| bool ContainsPythonKeyword(absl::string_view module_name); | |
| bool IsPythonKeyword(absl::string_view name); | |
| std::string ResolveKeyword(absl::string_view name); | |
| std::string GetFileName(const FileDescriptor* file_des, | |
| absl::string_view suffix); | |
| bool HasGenericServices(const FileDescriptor* file); | |
| std::string GeneratedCodeToBase64(const GeneratedCodeInfo& annotations); | |
| template <typename DescriptorT> | |
| std::string NamePrefixedWithNestedTypes(const DescriptorT& descriptor, | |
| absl::string_view separator); | |
| } // namespace python | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |