MCPcopy Create free account
hub / github.com/ImageEngine/cortex / read

Method read

src/IECore/StreamIndexedIO.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191bool PosixPlatformReader::read( char *buffer, size_t size, size_t pos )
192{
193 ssize_t result = pread(m_fileHandle, buffer, size, pos);
194
195 if (result < 0)
196 {
197 return false;
198 }
199
200 return (size_t) result == size;
201}
202
203#endif
204

Callers 9

readLittleEndianFunction · 0.45
readMethod · 0.45
ReaderMethod · 0.45
openStreamMethod · 0.45
readNodeV4Method · 0.45
readNodeV5Method · 0.45
readNodeMethod · 0.45
readNodeFromSubIndexMethod · 0.45
rawReadMethod · 0.45

Calls 15

StringCacheClass · 0.85
readLittleEndianFunction · 0.85
IOExceptionFunction · 0.85
readFunction · 0.85
nodeTypeMethod · 0.80
sortChildrenMethod · 0.80
dataChildInfoMethod · 0.80
dataMethod · 0.80
strFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected