remove log
This commit is contained in:
parent
0637fcdba1
commit
8e4b6fe330
8
main.c
8
main.c
@ -48,8 +48,8 @@ int main() {
|
|||||||
|
|
||||||
distribute_text();
|
distribute_text();
|
||||||
|
|
||||||
printf("%d -> input: %s\n", rank, private_text);
|
//printf("%d -> input: %s\n", rank, private_text);
|
||||||
printf("%d -> text len: %d\n", rank, private_text_len);
|
//printf("%d -> text len: %d\n", rank, private_text_len);
|
||||||
|
|
||||||
distribute_pattern();
|
distribute_pattern();
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ int main() {
|
|||||||
|
|
||||||
calculate_absolute_indices(match_number, matches);
|
calculate_absolute_indices(match_number, matches);
|
||||||
|
|
||||||
printf("%d -> result number: %d\n", rank, match_number);
|
//printf("%d -> result number: %d\n", rank, match_number);
|
||||||
|
|
||||||
collect_results(&match_number, matches);
|
collect_results(&match_number, matches);
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ void find_end(int residue, char *pattern, char *text, int **matches, int *match_
|
|||||||
}
|
}
|
||||||
|
|
||||||
void initialize() {
|
void initialize() {
|
||||||
text = read_file("data/text.txt", &text_len);
|
text = read_file("data/dante.txt", &text_len);
|
||||||
pattern = read_file("data/pattern.txt", &pattern_len);
|
pattern = read_file("data/pattern.txt", &pattern_len);
|
||||||
|
|
||||||
printf("text: %s\n", text);
|
printf("text: %s\n", text);
|
||||||
|
Loading…
Reference in New Issue
Block a user