MCPcopy Create free account
hub / github.com/baidu/babylon / process

Method process

test/anyflow/test_processor.cpp:302–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300TEST_F(ProcessorTest, any_accept_any_type) {
301 struct P : public GraphProcessor {
302 virtual int process() noexcept override {
303 x.emit().ref(*a->get<::std::string>());
304 return 0;
305 }
306 ANYFLOW_INTERFACE(ANYFLOW_DEPEND_DATA(::babylon::Any, a)
307 ANYFLOW_EMIT_DATA(::std::string, x))
308 };

Callers 3

processMethod · 0.45
processMethod · 0.45
processMethod · 0.45

Calls 2

refMethod · 0.80
emitMethod · 0.80

Tested by

no test coverage detected