MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / write_to_file

Method write_to_file

src/core/impl/utils/infile_persistent_cache.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123template <typename OutputFile>
124void InFilePersistentCache::BlobStorage::write_to_file(OutputFile& out_file) const {
125 uint32_t u_size = size;
126 out_file.write(u_size);
127 out_file.write(data_refhold.get(), u_size);
128}
129
130//////////////////////// InFilePersistentCache //////////////////////
131

Callers 1

dump_cacheMethod · 0.45

Calls 2

writeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected