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

Method Load

util/ysaveload.h:557–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555 }
556
557 static inline void Load(IInputStream* rh, TSetType& s) {
558 const size_t cnt = ::LoadSize(rh);
559 TSetSerializerInserter<TSetType, TValue, sorted> ins(s, cnt);
560
561 TValue v;
562 for (size_t i = 0; i != cnt; ++i) {
563 ::Load(rh, v);
564 ins.Insert(v);
565 }
566 }
567
568 template <class TStorage>
569 static inline void Load(IInputStream* rh, TSetType& s, TStorage& pool) {

Callers

nothing calls this directly

Calls 3

LoadSizeFunction · 0.85
LoadFunction · 0.70
InsertMethod · 0.45

Tested by

no test coverage detected