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

Method ioBuffer

src/IECore/StreamIndexedIO.cpp:2767–2781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2765}
2766
2767char *StreamIndexedIO::StreamFile::ioBuffer( size_t size )
2768{
2769 if ( !m_ioBuffer )
2770 {
2771 m_ioBuffer = new char[size];
2772 m_ioBufferLen = size;
2773 }
2774 else if ( size > m_ioBufferLen )
2775 {
2776 delete [] m_ioBuffer;
2777 m_ioBuffer = new char[size];
2778 m_ioBufferLen = size;
2779 }
2780 return m_ioBuffer;
2781}
2782
2783StreamIndexedIO::StreamFile::Mutex & StreamIndexedIO::StreamFile::mutex()
2784{

Callers 2

readNodeFromSubIndexMethod · 0.80
writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected