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