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/ct__nlmzip__streamprocs_8cpp_source.html below:

NCBI C++ ToolKit: src/ctools/ctransition/ct_nlmzip_streamprocs.cpp Source File

75 # pragma GCC diagnostic push 76 # pragma GCC diagnostic ignored "-Wunused-function" 134  while

(

count

> bytes)

163  if

(len < 0 && db->cache_size < -

len

)

193  if

( bytes + sz >

count

)

222  while

(

count

> bytes)

276

commit = (

len

== len1) ;

301  data

->src = stream ;

302  data

->size = max_cache_size;

303  data

->cache_size = max_cache_size/10;

304  if

(

data

->cache_size < 2048 && max_cache_size > 2048)

305  data

->cache_size=2048;

310  if

(

data

->size <= 1024)

314

__FILE__,__LINE__,

data

->size*2);

345

fprintf(stderr,

"scanned buffer"

);

346  for

(bytes=0; bytes<8; bytes++)

347

fprintf(stderr,

"'%x',"

,header[bytes]);

348

fprintf(stderr,

"\n"

);

350  for

(

val

=0, bytes=0; bytes<4; bytes++,

dbuf

++)

353  for

(

val

=0 ; bytes<8; bytes++,

dbuf

++)

370  for

(bytes=0; bytes<4; bytes++,

dbuf

++)

371

*

dbuf

= (

val

>> (3-bytes)*8) & 0xff ;

373  for

( ; bytes<8; bytes++,

dbuf

++)

374

*

dbuf

= (

val

>> (7-bytes)*8) & 0xff ;

377

fprintf(stderr,

"written buffer"

);

378  for

(bytes=0; bytes<8; bytes++)

379

fprintf(stderr,

"'%x',"

,header[bytes]);

380

fprintf(stderr,

"\n"

);

396  unsigned char

lens[8];

406  if

(

strcmp

(obuf,

"ZIP"

)==0)

438  ErrPostEx

(

SEV_INFO

, 0,0,

"\n%s:%d: small compressor output buffer('%d' - required %d) "

,

457  if

( bytes < db->compr_size )

459  ErrPostEx

(

SEV_ERROR

, 0,0,

"\n%s:%d: broken data in input stream compressed(%d) != returned(%d)"

,

555  if

(max_buffer_size<1024)

556

max_buffer_size = 1024;

557  data

->src = stream ;

561  data

->bsize = max_buffer_size;

564

max_buffer_size,read);

583

asnio2fci_close(AsnIoPtr aip,

Int4

commit)

585  fci_t

stream = aip ->iostruct;

593

rc = stream->

close

(stream->

data

,commit);

600

asnio2fci_open(

int

read,

fci_t

stream)

603  return

AsnIoNew(ASNIO_BIN_IN,

NULL

, stream, asnio2fci_proc,

NULL

);

605  return

AsnIoNew(ASNIO_BIN_OUT,

NULL

, stream,

NULL

, asnio2fci_proc);

615 # pragma GCC diagnostic pop

static Int4 LIBCALLBACK cacher_write(Pointer ptr, CharPtr buf, Int4 count)

static Int4 LIBCALLBACK cacher_close(Pointer ptr, int commit)

static void compressor_header(compressor_t *db, UcharPtr header, int read)

static Int4 LIBCALLBACK compressor_write(Pointer ptr, CharPtr buf, Int4 count)

static Int4 LIBCALLBACK cacher_read(Pointer ptr, CharPtr buf, Int4 count)

static Int4 LIBCALLBACK compressor_close(Pointer ptr, int commit)

static Int4 LIBCALLBACK compressor_read(Pointer ptr, CharPtr obuf, Int4 count)

int16_t Int2

2-byte (16-bit) signed integer

int32_t Int4

4-byte (32-bit) signed integer

unsigned char Uchar

Alias for unsigned char.

uint32_t Uint4

4-byte (32-bit) unsigned integer

uint16_t Uint2

2-byte (16-bit) unsigned integer

int strcmp(const char *str1, const char *str2)


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