![]() |
PandA-2024.02
|
#include <stdlib.h>#include <stdio.h>#include <stdint.h>#include "support.h"

Go to the source code of this file.
Data Structures | |
| struct | bench_args_t |
Macros | |
| #define | PATTERN_SIZE 4 |
| #define | STRING_SIZE (32411) |
Functions | |
| int | kmp (char pattern[PATTERN_SIZE], char input[STRING_SIZE], int32_t kmpNext[PATTERN_SIZE], int32_t n_matches[1]) |
| #define PATTERN_SIZE 4 |
Definition at line 10 of file kmp.h.
Referenced by CPF(), data_to_input(), input_to_data(), and main().
| #define STRING_SIZE (32411) |
Definition at line 11 of file kmp.h.
Referenced by data_to_input(), input_to_data(), kmp(), and main().
| int kmp | ( | char | pattern[PATTERN_SIZE], |
| char | input[STRING_SIZE], | ||
| int32_t | kmpNext[PATTERN_SIZE], | ||
| int32_t | n_matches[1] | ||
| ) |
Definition at line 24 of file kmp.c.
References CPF(), input, and STRING_SIZE.
Referenced by main(), and run_benchmark().


1.8.13