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

Method update2

Libraries/unrar/model.cpp:457–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455
456
457inline void RARPPM_CONTEXT::update2(ModelPPM *Model,RARPPM_STATE* p)
458{
459 (Model->FoundState=p)->Freq += 4;
460 U.SummFreq += 4;
461 if (p->Freq > MAX_FREQ)
462 rescale(Model);
463 Model->EscCount++;
464 Model->RunLength=Model->InitRL;
465}
466
467
468inline RARPPM_SEE2_CONTEXT* RARPPM_CONTEXT::makeEscFreq2(ModelPPM *Model,int Diff)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected