10 size_t processed =
size;
11 RINOK(stream->
Read(stream, buf, &processed));
14 buf = (
void *)((
Byte *)buf + processed);
26 RINOK(stream->
Read(stream, buf, &processed));
39 RINOK(stream->
Look(stream, &lookBuf, size));
40 memcpy(buf, lookBuf, *size);
41 return stream->
Skip(stream, *size);
46 size_t processed =
size;
47 RINOK(stream->
Read(stream, buf, &processed));
50 buf = (
void *)((
Byte *)buf + processed);
63 size_t size2 = p->
size - p->
pos;
64 if (size2 == 0 && *size > 0) {
79 size_t size2 = p->
size - p->
pos;
80 if (size2 == 0 && *size > 0) {
106 memcpy(buf, p->
buf + p->
pos, rem);
#define SZ_ERROR_INPUT_EOF
static SRes LookToRead_Read(void *pp, void *buf, size_t *size)
unsigned long long int UInt64
SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf)
SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size)
static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size)
static SRes SecToLook_Read(void *pp, void *buf, size_t *size)
SRes(* Seek)(void *p, Int64 *pos, ESzSeek origin)
void LookToRead_CreateVTable(CLookToRead *p, int lookahead)
static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size)
void SecToLook_CreateVTable(CSecToLook *p)
SRes(* Skip)(void *p, size_t offset)
static SRes SecToRead_Read(void *pp, void *buf, size_t *size)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType)
SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset)
void LookToRead_Init(CLookToRead *p)
static SRes LookToRead_Skip(void *pp, size_t offset)
ISeekInStream * realStream
static SRes LookToRead_Seek(void *pp, Int64 *pos, ESzSeek origin)
ILookInStream * realStream
#define LookToRead_BUF_SIZE
SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType)
SRes(* Read)(void *p, void *buf, size_t *size)
SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size)
ILookInStream * realStream
SRes(* Read)(void *p, void *buf, size_t *size)
SRes(* Seek)(void *p, Int64 *pos, ESzSeek origin)
SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size)
SRes(* Read)(void *p, void *buf, size_t *size)
SRes(* Look)(void *p, const void **buf, size_t *size)
tuple size
Write out results.
void SecToRead_CreateVTable(CSecToRead *p)