Adhemerval Zanella cf11e74b0d wcsmbs: Ensure wcstr worst-case linear execution time (BZ 23865)
It uses the same two-way algorithm used on strstr, strcasestr, and
memmem.  Different than strstr, neither the "shift table" optimization
nor the self-adapting filtering check is used because it would result in
a too-large shift table (and it also simplifies the implementation bit).

Checked on x86_64-linux-gnu and aarch64-linux-gnu.
Reviewed-by: DJ Delorie <dj@redhat.com>
2024-04-11 14:21:32 -03:00
..
2024-02-27 10:52:58 -03:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2024-02-01 09:31:33 -03:00
2024-02-01 09:31:33 -03:00
2024-02-01 11:02:01 +00:00