| 310 | static const size_t hist_entry_size = PersistentDataItem::int28_size * 4; |
| 311 | |
| 312 | size_t history_size() { |
| 313 | return history.data_size() / hist_entry_size; |
| 314 | } |
| 315 | int history_value(int idx, HistoryItem item) { |
| 316 | size_t hsize = history_size(); |
| 317 | size_t base = ((history.ival(0)+1+idx) % hsize) * hist_entry_size; |
no outgoing calls
no test coverage detected