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

Function LoadSizeAndResize

util/ysaveload.h:299–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298template <class C>
299static inline void LoadSizeAndResize(IInputStream* rh, C& c) {
300 c.resize(LoadSize(rh));
301}
302
303template <class TStorage>
304static inline char* AllocateFromPool(TStorage& pool, size_t len) {

Callers 2

LoadMethod · 0.85
LoadMethod · 0.85

Calls 2

LoadSizeFunction · 0.85
resizeMethod · 0.45

Tested by

no test coverage detected