Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ getPayload
Method
getPayload
src/io/network/message.cc:86–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
std::size_t Message::getPayload(void **p) {
87
if (this->psize_ == 0)
88
*p = nullptr;
89
else
90
*p = msg_ + hsize_ + msize_;
91
return this->psize_;
92
}
93
}
94
95
#endif // ENABLE_DIST
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
1
main
Function · 0.64