MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / Close

Method Close

framework/data_source/cache/cachedSource.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void cachedSource::Close()
107 {
108 std::lock_guard<std::mutex> uMutex(mMutex);
109 mIsOpen = false;
110 mDataSource->Close();
111 }
112
113 int cachedSource::readAt(void *buf, size_t nbyte, uint64_t where)
114 {

Callers 3

testSliceBufferFunction · 0.45
~cachedSourceMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

testSliceBufferFunction · 0.36
mainFunction · 0.36