MCPcopy Create free account
hub / github.com/dmlc/xgboost / CreateReader

Method CreateReader

src/data/sparse_page_source.h:202–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 std::unique_ptr<ReaderT> CreateReader(StringView name, std::uint64_t offset,
203 std::uint64_t length) const {
204 return std::make_unique<common::PrivateMmapConstStream>(std::string{name}, offset, length);
205 }
206};
207
208template <typename S, template <typename> typename F>

Callers 2

ReadCacheMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36