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

Method Next

common/values/value_builder.cc:887–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885 bool HasNext() override { return begin_ != end_; }
886
887 absl::Status Next(const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
888 google::protobuf::MessageFactory* absl_nonnull message_factory,
889 google::protobuf::Arena* absl_nonnull arena,
890 Value* absl_nonnull result) override {
891 if (ABSL_PREDICT_FALSE(begin_ == end_)) {
892 return absl::FailedPreconditionError(
893 "ValueManager::Next called after ValueManager::HasNext returned "
894 "false");
895 }
896 *result = begin_->first;
897 ++begin_;
898 return absl::OkStatus();
899 }
900
901 absl::StatusOr<bool> Next1(
902 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,

Callers 13

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ListValueEqualFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
MapValueEqualFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 11

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
TEST_FFunction · 0.36