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

Function LoadSize

util/ysaveload.h:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286static inline size_t LoadSize(IInputStream* rh) {
287 ui32 oldVerSize;
288 ui64 newVerSize;
289 ::Load(rh, oldVerSize);
290 if (oldVerSize != 0xffffffff) {
291 return oldVerSize;
292 } else {
293 ::Load(rh, newVerSize);
294 return newVerSize;
295 }
296}
297
298template <class C>
299static inline void LoadSizeAndResize(IInputStream* rh, C& c) {

Callers 12

LoadStrFunction · 0.85
LoadLargeParametersMethod · 0.85
LoadMethod · 0.85
LoadNonOwningMethod · 0.85
LoadMethod · 0.85
LoadThinMethod · 0.85
LoadMethod · 0.85
InitNonOwningMethod · 0.85
LoadMethod · 0.85
LoadSizeAndResizeFunction · 0.85
LoadMethod · 0.85
LoadMethod · 0.85

Calls 1

LoadFunction · 0.70

Tested by

no test coverage detected