MCPcopy Create free account
hub / github.com/dmlc/parameter_server / uncompressFrom

Method uncompressFrom

src/util/shared_array.h:160–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 // function, you should allocate enough memory first (e.g. call resize(xx))
159 void uncompressFrom(const char* src, size_t src_size);
160 void uncompressFrom(const SArray<char>& src) { uncompressFrom(src.data(), src.size()); }
161
162 // read the segment [range.begin(), range.end()) from the binary file
163 bool readFromFile(SizeR range, const string& file_name);

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected