Go to the SVN repository for this file.
28 unsignedget,
max= ((unsigned)-1 >> 2) + 1;
35ret = read(
state->fd,
buf+ *have, get);
38*have += (unsigned)ret;
39}
while(*have <
len);
64 if(
state->eof == 0) {
66 unsigned char*p =
state->in;
67 unsigned const char*q = strm->
next_in;
97 if(
state->size == 0) {
113 state->strm.avail_in = 0;
149 if(
state->direct == 0) {
197 "internal error: inflate stream corrupt");
206strm->
msg==
NULL?
"compressed data error": strm->
msg);
235 switch(
state->how) {
268 if(
state->x.have) {
278 else if(
state->eof &&
state->strm.avail_in == 0)
322 if(
state->x.have) {
331 else if(
state->eof &&
state->strm.avail_in == 0) {
355 state->strm.avail_out =
n;
356 state->strm.next_out = (
unsigned char*)
buf;
394 if((
int)
len< 0) {
450 unsigned char buf[1];
464 if(
state->x.have) {
467 return*(
state->x.next)++;
509 if(
state->x.have == 0) {
512 state->x.next[0] = (
unsignedchar)c;
519 if(
state->x.have == (
state->size << 1)) {
526 unsigned char*src =
state->out +
state->x.have;
527 unsigned char*dest =
state->out + (
state->size << 1);
528 while(src >
state->out)
530 state->x.next = dest;
534 state->x.next[0] = (
unsignedchar)c;
572left = (unsigned)
len- 1;
577 if(
state->x.have == 0) {
584eol = (
unsigned char*)memchr(
state->x.next,
'\n',
n);
586 n= (unsigned)(eol -
state->x.next) + 1;
595}
while(left && eol ==
NULL);
621 return state->direct;
static const char * str(char *buf, int n)
const struct ncbi::grid::netcache::search::fields::SIZE size
int ZEXPORT gzungetc(int c, gzFile file)
static int gz_fetch(gz_statep state)
int ZEXPORT gzgetc(gzFile file)
int ZEXPORT gzdirect(gzFile file)
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
static int gz_look(gz_statep state)
int ZEXPORT gzgetc_(gzFile file)
static int gz_avail(gz_statep state)
char *ZEXPORT gzgets(gzFile file, char *buf, int len)
static int gz_load(gz_statep state, unsigned char *buf, unsigned len, unsigned *have)
int ZEXPORT gzclose_r(gzFile file)
static int gz_decomp(gz_statep state)
static int gz_skip(gz_statep state, z_off64_t len)
static z_size_t gz_read(gz_statep state, voidp buf, z_size_t len)
z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file)
static int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *))
#define inflateInit2(strm, windowBits)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4