MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / CorrHuff

Method CorrHuff

Libraries/unrar/unpack15.cpp:459–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457
458
459void Unpack::CorrHuff(ushort *CharSet,byte *NumToPlace)
460{
461 int I,J;
462 for (I=7;I>=0;I--)
463 for (J=0;J<32;J++,CharSet++)
464 *CharSet=(*CharSet & ~0xff) | I;
465 memset(NumToPlace,0,sizeof(NToPl));
466 for (I=6;I>=0;I--)
467 NumToPlace[I]=(7-I)*32;
468}
469
470
471void Unpack::CopyString15(uint Distance,uint Length)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected