A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/zlib_2inffast_8c_source.html below:

NCBI C++ ToolKit: src/util/compress/zlib/inffast.c Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

12 # pragma message("Assembler code may have bugs -- use at your own risk"

)

58  unsigned char FAR

*beg;

59  unsigned char FAR

*end;

78  unsigned char FAR

*from;

96

lcode =

state

->lencode;

97

dcode =

state

->distcode;

98

lmask = (1U <<

state

->lenbits) - 1;

99

dmask = (1U <<

state

->distbits) - 1;

110

here = lcode + (

hold

& lmask);

112

op = (unsigned)(here->

bits

);

115

op = (unsigned)(here->

op

);

118  "inflate: literal '%c'\n"

:

119  "inflate: literal 0x%02x\n"

, here->

val

));

120

*

out

++ = (

unsigned

char)(here->

val

);

123  len

= (unsigned)(here->

val

);

130  len

+= (unsigned)

hold

& ((1U << op) - 1);

134  Tracevv

((stderr,

"inflate: length %u\n"

,

len

));

141

here = dcode + (

hold

& dmask);

143

op = (unsigned)(here->

bits

);

146

op = (unsigned)(here->

op

);

148

dist = (unsigned)(here->

val

);

158

dist += (unsigned)

hold

& ((1U << op) - 1);

159 #ifdef INFLATE_STRICT 161  strm

->

msg

= (

char

*)

"invalid distance too far back"

;

168  Tracevv

((stderr,

"inflate: distance %u\n"

, dist));

169

op = (unsigned)(

out

- beg);

175

(

char

*)

"invalid distance too far back"

;

179 #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR 189

}

while

(--op >

whave

);

210  else if

(

wnext

< op) {

266  else if

((op & 64) == 0) {

267

here = dcode + here->

val

+ (

hold

& ((1U << op) - 1));

271  strm

->

msg

= (

char

*)

"invalid distance code"

;

276  else if

((op & 64) == 0) {

277

here = lcode + here->

val

+ (

hold

& ((1U << op) - 1));

281  Tracevv

((stderr,

"inflate: end of block\n"

));

286  strm

->

msg

= (

char

*)

"invalid literal/length code"

;

303

257 + (end -

out

) : 257 - (

out

- end));

std::ofstream out("events_result.xml")

main entry point for tests

static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)

std::istream & in(std::istream &in_, double &x_)

unsigned char FAR * window

struct internal_state * state

void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start)


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