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

Method HasFreeSpace

library/cpp/neh/tcp2.cpp:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 bool HasFreeSpace() const noexcept {
290 return DataSize_ < 64000 && (PoolBytes_ < (MemPoolSize_ - maxHeaderSize));
291 }
292
293 bool HasData() const noexcept {
294 return !Parts_.empty();

Callers 2

SendMessagesMethod · 0.80
SendMessagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected