MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / Recv

Method Recv

python-package/compile/src/network/linkers.h:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206inline void Linkers::Recv(int rank, char* data, int64_t len) const {
207 int64_t used = 0;
208 do {
209 int cur_size = static_cast<int>(std::min<int64_t>(len - used, INT32_MAX));
210 Recv(rank, data + used, cur_size);
211 used += cur_size;
212 } while (used < len);
213}
214
215inline void Linkers::Send(int rank, char* data, int64_t len) const {
216 int64_t used = 0;

Callers 2

ListenThreadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected