MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / AddTransitiveDescriptorSet

Method AddTransitiveDescriptorSet

tools/descriptor_pool_builder.cc:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75absl::Status DescriptorPoolBuilder::AddTransitiveDescriptorSet(
76 const google::protobuf::Descriptor* absl_nonnull desc) {
77 absl::flat_hash_set<const google::protobuf::FileDescriptor*> resolved;
78 std::vector<const google::protobuf::FileDescriptor*> to_resolve{desc->file()};
79 return FindDeps(to_resolve, resolved, *this);
80}
81
82absl::Status DescriptorPoolBuilder::AddTransitiveDescriptorSet(
83 absl::Span<const google::protobuf::Descriptor* absl_nonnull> descs) {

Callers 1

TESTFunction · 0.80

Calls 2

FindDepsFunction · 0.85
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64