beginning of a range for storing per-edit state in endpoint_base_ and insert_
| 410 | |
| 411 | // beginning of a range for storing per-edit state in endpoint_base_ and insert_ |
| 412 | int64_t StorageOffset(int64_t edit_count) const { |
| 413 | return edit_count * (edit_count + 1) / 2; |
| 414 | } |
| 415 | |
| 416 | // given edit_count and index, augment endpoint_base_[index] with the corresponding |
| 417 | // position in target (which is only implicitly represented in edit_count, index) |
nothing calls this directly
no outgoing calls
no test coverage detected