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

Method Consume

common/values/bytes_value_output_stream.h:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 BytesValue Consume() && {
112 return absl::visit(absl::Overload(
113 [](String& string) -> BytesValue {
114 return BytesValue(string.arena,
115 std::move(string.target));
116 },
117 [](Cord& cord) -> BytesValue {
118 return BytesValue(cord.Consume());
119 }),
120 AsVariant());
121 }
122
123 private:
124 struct String final {

Callers 13

ToProtobufAnyFunction · 0.45
SetSingularFieldMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

BytesValueClass · 0.70

Tested by 10

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36