MCPcopy Create free account
hub / github.com/LAStools/LAStools / update

Method update

LASzip/unused/rangemodel.cpp:243–251  ·  view source on GitHub ↗

update model */ sym symbol that occurred (must be <n from init) */

Source from the content-addressed store, hash-verified

241/* update model */
242/* sym symbol that occurred (must be <n from init) */
243void RangeModel::update(U32 sym)
244{
245 if (left <= 0)
246 {
247 dorescale();
248 }
249 left--;
250 newf[sym] += incr;
251}

Callers 3

updateFunction · 0.45
mainFunction · 0.45
encodeSymbolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected