Differences From Artifact [9530d9435c]:
- File
src/OFLHAArchive.m
— part of check-in
[44413ada84]
at
2018-06-03 20:11:18
on branch trunk
— Work around GCC being extremely buggy
This includes GCC thinking uint16_t and uint_fast16_t have a different
signedness and pointers to subclasses of OFStream and pointers to
OFStream being incompatible pointer types. (user: js, size: 18221) [annotate] [blame] [check-ins using]
To Artifact [56fa949e3a]:
- File src/OFLHAArchive.m — part of check-in [aacb5897a0] at 2018-06-03 23:31:17 on branch trunk — Add -[OFObject allocZeroedMemoryWithSize:(count:)] (user: js, size: 18063) [annotate] [blame] [check-ins using]
︙ | |||
292 293 294 295 296 297 298 | 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | - + - - | /* 0-7 address the bit, 8 means fetch next byte */ _bitIndex = 8; _distanceBits = distanceBits; _dictionaryBits = dictionaryBits; _slidingWindowMask = (1 << dictionaryBits) - 1; |
︙ | |||
356 357 358 359 360 361 362 | 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 | - + - | if OF_UNLIKELY (bits == 0) { _state = STATE_CODE_LEN_TREE_SINGLE; goto start; } _codesCount = bits; _codesReceived = 0; |
︙ | |||
437 438 439 440 441 442 443 | 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | - + - | _state = STATE_LITLEN_TREE_SINGLE; goto start; } _codesCount = bits; _codesReceived = 0; |
︙ | |||
527 528 529 530 531 532 533 | 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 | - + - | if OF_UNLIKELY (bits == 0) { _state = STATE_DIST_TREE_SINGLE; goto start; } _codesCount = bits; _codesReceived = 0; |
︙ |