Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

template<class DstT>
int Impala::Core::Matrix::VirtualMatrixIOBufferWriter::AddRowPartDirect ( int  rowNr,
int  colNr,
DstT *  buffer,
int  bufSize 
) [inline, private]

Definition at line 163 of file VirtualMatrixIOBufferWriter.h.

References ILOG_ERROR, mBaseOffset, mIOBuffer, mLineSize, mPreWrite, mStorTypeSize, Impala::Util::IOBuffer::SetPosition(), and Impala::Util::IOBuffer::Write().

Referenced by AddRowPartConv(), and AddRowPartImpl().

00164     {
00165         if (!mPreWrite)
00166         {
00167             ILOG_ERROR("AddRowPartDirect only works with preWrite");
00168             return 0;
00169         }
00170 
00171         Int64 offset = rowNr * mLineSize + colNr * mStorTypeSize;
00172         mIOBuffer->SetPosition(mBaseOffset + 200 + offset);
00173         Int64 bufWriteSize = bufSize * mStorTypeSize;
00174         mIOBuffer->Write(buffer, bufWriteSize);
00175         return bufWriteSize;
00176     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:23 2011 for ImpalaSrc by  doxygen 1.5.1