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

Function ChooseTos

library/cpp/netliba/v12/udp_host.cpp:590–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588 }
589
590 static ui8 ChooseTos(const int explicit_, const int default_) {
591 return (ui8)(explicit_ == -1 ? default_ : explicit_);
592 }
593
594 TTransfer TUdpHost::Send(const TIntrusivePtr<IConnection>& connectionPtr, TAutoPtr<TRopeDataPacket> data, EPacketPriority pp, const TTos& tos, ui8 netlibaColor) {
595 TConnection* connection = CheckedCast<TConnection*>(connectionPtr.Get());

Callers 2

SendLowMethod · 0.85
ProcessDataPacketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected