Module all
Contains architecture independent routines.
These routines are often used as a "fallback" implementation when the more specialized architecture dependent routines are unavailable.
Modules
-
memchr
Provides architecture independent implementations of
memchrand friends. - packedpair Provides an architecture independent implementation of the "packed pair" algorithm.
- rabinkarp An implementation of the [Rabin-Karp substring search algorithm][rabinkarp].
- shiftor An implementation of the [Shift-Or substring search algorithm][shiftor].
- twoway An implementation of the [Two-Way substring search algorithm][two-way].
Functions
-
is_equal
Compare corresponding bytes in
xandyfor equality. -
is_equal_raw
Compare
nbytes at the given pointers for equality. -
is_prefix
Returns true if and only if
needleis a prefix ofhaystack. -
is_suffix
Returns true if and only if
needleis a suffix ofhaystack.