Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/babylon
/ process
Function
process
example/anyflow/anyflow_multi_nodes.cpp:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
8
struct AddProcessor : public GraphProcessor {
9
virtual int process() noexcept override {
10
*c.emit() = *a + *b;
11
return 0;
12
}
13
14
ANYFLOW_INTERFACE(ANYFLOW_DEPEND_DATA(int32_t, a, 0)
15
ANYFLOW_DEPEND_DATA(int32_t, b, 1)
Callers
nothing calls this directly
Calls
1
emit
Method · 0.80
Tested by
no test coverage detected