Go to the documentation of this file.
10 size_t processed =
size;
46 size_t processed =
size;
63 size_t size2 =
p->size -
p->pos;
64 if (size2 == 0 && *
size > 0) {
67 res =
p->realStream->Read(
p->realStream,
p->buf, &size2);
72 *
buf =
p->buf +
p->pos;
79 size_t size2 =
p->size -
p->pos;
80 if (size2 == 0 && *
size > 0) {
84 res =
p->realStream->Read(
p->realStream,
p->buf,
size);
85 size2 =
p->size = *
size;
89 *
buf =
p->buf +
p->pos;
101 size_t rem =
p->size -
p->pos;
103 return p->realStream->Read(
p->realStream,
buf,
size);
106 memcpy(
buf,
p->buf +
p->pos, rem);
114 p->pos =
p->size = 0;
115 return p->realStream->Seek(
p->realStream,
pos, origin);
136 return p->realStream->Read(
p->realStream,
buf,
size);
void SecToRead_CreateVTable(CSecToRead *p)
unsigned long long int UInt64
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void LookToRead_CreateVTable(CLookToRead *p, int lookahead)
SRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType)
SRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType)
SRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size)
static SRes SecToLook_Read(void *pp, void *buf, size_t *size)
SRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset)
void SecToLook_CreateVTable(CSecToLook *p)
SRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size)
static SRes LookToRead_Seek(void *pp, Int64 *pos, ESzSeek origin)
SRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size)
static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size)
#define LookToRead_BUF_SIZE
SRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf)
static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size)
void LookToRead_Init(CLookToRead *p)
static SRes SecToRead_Read(void *pp, void *buf, size_t *size)
static SRes LookToRead_Skip(void *pp, size_t offset)
static SRes LookToRead_Read(void *pp, void *buf, size_t *size)
#define SZ_ERROR_INPUT_EOF