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

Method Recv

library/cpp/neh/udp.cpp:459–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 }
458
459 inline TPacketRef Recv() {
460 TBuffer tmp;
461
462 tmp.Resize(128 * 1024);
463
464 while (true) {
465 try {
466 return new TPacket(S_, tmp);
467 } catch (...) {
468 Cdbg << CurrentExceptionMessage() << Endl;
469
470 continue;
471 }
472 }
473 }
474
475 typedef THashMap<TString, TRequestDescrRef> TInFlyBase;
476

Callers

nothing calls this directly

Calls 2

CurrentExceptionMessageFunction · 0.85
ResizeMethod · 0.45

Tested by

no test coverage detected