File size: 589 Bytes
bff4ec7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # String and Memory Search
## Problem Description
Implement fixed-size memory search and null-terminated string search.
## Input
The functions receive character pointers and any byte value or length arguments described by their C signatures.
## Output
Each function returns or writes the result prescribed by the corresponding standard string or memory operation.
## Constraints
Strings, byte arrays, capacities, and integer arguments satisfy the validity and bounds stated by each function contract.
## Source
C string-library benchmark adapted by the QCP LLM benchmark suite.
|