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

Method Read

framework/data_source/proxyDataSource.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 int proxyDataSource::Read(void *buf, size_t nbyte)
47 {
48 if (mRead) {
49 return mRead(mUserArg, static_cast<uint8_t *>(buf), nbyte);
50 }
51
52 return -1;
53 }
54
55 void proxyDataSource::setImpl(readImpl read, seekImpl seek, openImpl open, interruptImpl interrupt, setSegmentListImpl setSegmentList,
56 getBufferDurationImpl getBufferDuration, enableCacheImpl enableCache, void *arg)

Callers 8

read_callbackFunction · 0.45
read_callbackMethod · 0.45
read_threadFunction · 0.45
seek_threadFunction · 0.45
TESTFunction · 0.45
callback_readFunction · 0.45
TESTFunction · 0.45
UrlDataSourceCheckDataFunction · 0.45

Calls

no outgoing calls

Tested by 7

read_callbackFunction · 0.36
read_threadFunction · 0.36
seek_threadFunction · 0.36
TESTFunction · 0.36
callback_readFunction · 0.36
TESTFunction · 0.36
UrlDataSourceCheckDataFunction · 0.36