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

Function MakeReferenceCountedString

common/internal/reference_count.cc:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104} // namespace
105
106std::pair<const ReferenceCount* absl_nonnull, absl::string_view>
107MakeReferenceCountedString(absl::string_view value) {
108 ABSL_DCHECK(!value.empty());
109 return ReferenceCountedString::New(value);
110}
111
112std::pair<const ReferenceCount* absl_nonnull, absl::string_view>
113MakeReferenceCountedString(std::string&& value) {

Callers 2

BorrowedMethod · 0.85
SetMediumMethod · 0.85

Calls 2

NewFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected