template<class BackInsertIterator>
Definition at line 157 of file File.h. References Impala::Util::IOBuffer::Available(), Impala::EndianSwap(), GetReadBuffer(), Impala::Util::IOBuffer::Read(), and Impala::Util::IOBuffer::Valid(). Referenced by Impala::Core::Training::PrecomputeTask::ComputeDevelKernel(), and Impala::Persistency::DistributedAccessRepositoryInFile::LoadFeatures(). 00158 { 00159 typedef typename BackInsertIterator::container_type::value_type elem_type; 00160 00161 IOBuffer* buf = (useMemoryBuffer) ? GetReadBuffer(true, "") 00162 : GetReadBuffer(); 00163 if (! (buf && buf->Valid())) 00164 return; 00165 00166 while (buf->Available() > 0) 00167 { 00168 elem_type d; 00169 buf->Read(&d, sizeof(d)); 00170 EndianSwap(&d); 00171 *bi++ = d; 00172 } 00173 delete buf; 00174 }
Here is the call graph for this function: ![]()
|