Go to the documentation of this file.Go to the SVN repository for this file.
35 #define M_BLOCK 1000000
39 #define M_BLOCK_OUT (M_BLOCK + 1000000)
74 int main (
int argc,
char** argv )
82 fprintf ( stderr,
"usage: unzcrash filename\n" );
86 f = fopen ( argv[1],
"r" );
88 fprintf ( stderr,
"unzcrash: can't open %s\n", argv[1] );
93 fprintf ( stderr,
"%d bytes read\n",
nIn );
100 fprintf ( stderr,
"%d after compression\n",
nZ );
102 for (bit = 0; bit <
nZ*8; bit++) {
103 fprintf ( stderr,
"bit %d ", bit );
111 fprintf ( stderr,
"\n" );
114 fprintf(stderr,
"nIn/nOut mismatch %d %d\n",
nIn,
nOut );
119 fprintf(stderr,
"mismatch at %d\n",
i );
122 if (
i ==
nOut) fprintf(stderr,
"really ok!\n" );
133 fprintf ( stderr,
"difference at %d !\n",
i );
139 fprintf ( stderr,
"all ok\n" );
int BZ2_bzBuffToBuffDecompress(char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int small, int verbosity)
int BZ2_bzBuffToBuffCompress(char *dest, unsigned int *destLen, char *source, unsigned int sourceLen, int blockSize100k, int verbosity, int workFactor)
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
int main(int argc, char **argv)
static char * bzerrorstrings[]
uchar zbuf[1000000+600+(1000000/100)]
uchar outbuf[(1000000+1000000)]