MCPcopy Create free account
hub / github.com/catboost/catboost / PostRecv

Method PostRecv

library/cpp/netliba/v12/ib_buffers.h:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 ++PostRecvDeficit;
131 }
132 void PostRecv() {
133 for (int i = 0; i < PostRecvDeficit; ++i) {
134 int id = AllocBuf();
135 TSingleBlock& blk = Blocks[id >> BLOCK_SIZE_LN];
136 char* buf = blk.GetBufData(id);
137 SRQ->PostReceive(blk.Mem, id, buf, SMALL_PKT_SIZE);
138 }
139 PostRecvDeficit = 0;
140 }
141 };
142
143 class TIBRecvPacketProcess: public TNonCopyable {

Callers 1

~TIBRecvPacketProcessMethod · 0.45

Calls 2

GetBufDataMethod · 0.45
PostReceiveMethod · 0.45

Tested by

no test coverage detected