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

Method Swap

util/network/socket.h:274–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272 }
273
274 inline void Swap(TSocketHolder& r) noexcept {
275 DoSwap(Fd_, r.Fd_);
276 }
277
278 inline bool Closed() const noexcept {
279 return Fd_ == INVALID_SOCKET;

Callers 1

AcceptMethod · 0.45

Calls 1

DoSwapFunction · 0.50

Tested by

no test coverage detected