Commit c1c76e993f1e11a39f7b60395b1196417c86c464

Evgenii Kliuchnikov 2024-04-14T06:35:19

Don't check `cur_ix_masked` against `ring_buffer_mask`. `cur_ix_masked` isn't changing from iteration to iteration, and `max_length` ensures we never find a match long enough to walk off the ring buffer. PiperOrigin-RevId: 624701948