MCPcopy Create free account
hub / github.com/OpenXRay/xray-16 / refresh

Method refresh

src/xrCore/Compression/Model.cpp:299–313  ·  view source on GitHub ↗

void PPM_CONTEXT::write( int o, FILE* fp ) { int EscFreq = EscCount; //(Stats) ? Stats->Freq & ~0x80 : 0; int nc = 0; STATE* p; int f, a, b, c; if (nc < o) nc=o; putc(NumStats,fp); if ( !NumStats ) { f=(p=&oneState())->Freq; if ( EscFreq ) f=(2*f)/EscFreq; f=CLAMP(f,1,127) | 0x80*(p->Successor != NULL);

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RestoreModelRareFunction · 0.80

Calls 1

ShrinkUnitsFunction · 0.85

Tested by

no test coverage detected