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

Function MaxPortion

util/stream/zlib.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 };
41
42 static inline ui32 MaxPortion(size_t s) noexcept {
43 return (ui32)Min<size_t>(Max<ui32>(), s);
44 }
45
46 struct TChunkedZeroCopyInput {
47 inline TChunkedZeroCopyInput(IZeroCopyInput* in)

Callers 2

WritePartFunction · 0.85
zlib.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected