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

Method Construct

common/values/bytes_value_input_stream.h:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 absl::variant<google::protobuf::io::ArrayInputStream, google::protobuf::io::CordInputStream>;
88
89 void Construct(const BytesValue* absl_nonnull value) {
90 ABSL_DCHECK(value != nullptr);
91
92 switch (value->value_.GetKind()) {
93 case common_internal::ByteStringKind::kSmall:
94 Construct(value->value_.GetSmall());
95 break;
96 case common_internal::ByteStringKind::kMedium:
97 Construct(value->value_.GetMedium());
98 break;
99 case common_internal::ByteStringKind::kLarge:
100 Construct(&value->value_.GetLarge());
101 break;
102 }
103 }
104
105 void Construct(absl::string_view value) {
106 ABSL_DCHECK_LE(value.size(),

Callers 2

ListValueBuilderImplMethod · 0.45
MapValueBuilderImplMethod · 0.45

Calls 2

GetKindMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected