📄 bzlib.lst
字号:
106:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "Please report it to me at: jseward@acm.org. If this happened\n" 107:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "when you were using some program which uses libbzip2 as a\n" 108:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "component, you should also report this bug to the author(s)\n" 109:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "of that program. Please make an effort to report this bug;\n" 110:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "timely and accurate bug reports eventually lead to higher\n" 111:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "quality software. Thanks. Julian Seward, 30 December 2001.\n\n", 112:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** errcode, 113:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** BZ2_bzlibVersion() 114:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** ); 115:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 116:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (errcode == 1007) { 117:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** fprintf(stderr, 118:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n*** A special note about internal error number 1007 ***\n" 119:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n"GAS LISTING /tmp/cccHVc4I.s page 4 120:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "Experience suggests that a common cause of i.e. 1007\n" 121:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "is unreliable memory or other hardware. The 1007 assertion\n" 122:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "just happens to cross-check the results of huge numbers of\n" 123:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "memory reads/writes, and so acts (unintendedly) as a stress\n" 124:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "test of your memory system.\n" 125:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n" 126:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "I suggest the following: try compressing the file again,\n" 127:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "possibly monitoring progress in detail with the -vv flag.\n" 128:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n" 129:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "* If the error cannot be reproduced, and/or happens at different\n" 130:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " points in compression, you may have a flaky memory system.\n" 131:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " Try a memory-test program. I have used Memtest86\n" 132:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " (www.memtest86.com). At the time of writing it is free (GPLd).\n" 133:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " Memtest86 tests memory much more thorougly than your BIOSs\n" 134:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " power-on test, and may find failures that the BIOS doesn't.\n" 135:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n" 136:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "* If the error can be repeatably reproduced, this is a bug in\n" 137:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " bzip2, and I would very much like to hear about it. Please\n" 138:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " let me know, and, ideally, save a copy of the file causing the\n" 139:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** " problem -- without which I will be unable to investigate it.\n" 140:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** "\n" 141:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** ); 142:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 143:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 144:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** exit(3); 145:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 146:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** #endif 147:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 148:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 149:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 150:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** static 151:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** int bz_config_ok ( void ) 152:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 153:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (sizeof(int) != 4) return 0; 154:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (sizeof(short) != 2) return 0; 155:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (sizeof(char) != 1) return 0; 156:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return 1; 157:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 158:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 159:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 160:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** #ifndef BZ_NO_COMPRESS 161:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 162:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** static 163:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** void prepare_new_block ( EState* s ) 164:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 165:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Int32 i; 166:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->nblock = 0; 167:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->numZ = 0; 168:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->state_out_pos = 0; 169:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** BZ_INITIALISE_CRC ( s->blockCRC ); 170:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** for (i = 0; i < 256; i++) s->inUse[i] = False; 171:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->blockNo++; 172:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 173:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 174:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 175:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 176:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** staticGAS LISTING /tmp/cccHVc4I.s page 5 177:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** void init_RL ( EState* s ) 178:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 179:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->state_in_ch = 256; 180:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->state_in_len = 0; 181:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 182:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 183:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 184:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** static 185:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Bool isempty_RL ( EState* s ) 186:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 187:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s->state_in_ch < 256 && s->state_in_len > 0) 188:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return False; else 189:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return True; 190:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 191:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 192:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 193:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** int BZ_API(BZ2_bzCompressInit) 194:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** ( bz_stream* strm, 195:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** int blockSize100k, 196:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** int verbosity, 197:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** int workFactor ) 198:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** { 199:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** Int32 n; 200:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** EState* s; 201:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 202:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (!bz_config_ok()) return BZ_CONFIG_ERROR; 203:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 204:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (strm == NULL || 205:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** blockSize100k < 1 || blockSize100k > 9 || 206:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** workFactor < 0 || workFactor > 250) 207:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return BZ_PARAM_ERROR; 208:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 209:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (workFactor == 0) workFactor = 30; 210:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if ((strm->bzalloc == NULL) || (strm->bzfree == NULL)) 211:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return BZ_MEM_ERROR; 212:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 213:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s = BZALLOC( sizeof(EState) ); 214:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s == NULL) return BZ_MEM_ERROR; 215:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->strm = strm; 216:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 217:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->arr1 = NULL; 218:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->arr2 = NULL; 219:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->ftab = NULL; 220:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 221:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** n = 100000 * blockSize100k; 222:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->arr1 = BZALLOC( n * sizeof(UInt32) ); 223:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->arr2 = BZALLOC( (n+BZ_N_OVERSHOOT) * sizeof(UInt32) ); 224:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->ftab = BZALLOC( 65537 * sizeof(UInt32) ); 225:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 226:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s->arr1 == NULL || s->arr2 == NULL || s->ftab == NULL) { 227:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s->arr1 != NULL) BZFREE(s->arr1); 228:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s->arr2 != NULL) BZFREE(s->arr2); 229:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s->ftab != NULL) BZFREE(s->ftab); 230:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** if (s != NULL) BZFREE(s); 231:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return BZ_MEM_ERROR; 232:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 233:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** GAS LISTING /tmp/cccHVc4I.s page 6 234:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->blockNo = 0; 235:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->state = BZ_S_INPUT; 236:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->mode = BZ_M_RUNNING; 237:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->combinedCRC = 0; 238:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->blockSize100k = blockSize100k; 239:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->nblockMAX = 100000 * blockSize100k - 19; 240:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->verbosity = verbosity; 241:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->workFactor = workFactor; 242:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 243:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->block = (UChar*)s->arr2; 244:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->mtfv = (UInt16*)s->arr1; 245:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->zbits = NULL; 246:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** s->ptr = (UInt32*)s->arr1; 247:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 248:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** strm->state = s; 249:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** strm->total_in_lo32 = 0; 250:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** strm->total_in_hi32 = 0; 251:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** strm->total_out_lo32 = 0; 252:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** strm->total_out_hi32 = 0; 253:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** init_RL ( s ); 254:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** prepare_new_block ( s ); 255:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** return BZ_OK; 256:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** } 257:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 258:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** 259:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** /*---------------------------------------------------*/ 260:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** static 261:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** void add_pair_to_block ( EState* s ) 262:/mnt/hgfs/boot/booter/source/applications/booter/bzlib.c **** {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -