MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / sync

Method sync

mllm/engine/prefix_cache/ZenFS.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void ZenFSBlobMMAPFile::sync() const {
154#if defined(_WIN32)
155 if (addr_) { ::FlushViewOfFile(addr_, size_); }
156#else
157 if (addr_) { ::msync(addr_, size_, MS_SYNC); }
158#endif
159}
160
161// -------------------- Windows --------------------
162#else // _WIN32

Callers 1

finalizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected