Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
WritePart
Function · 0.85
zlib.cpp
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected