Lines Matching refs:row1
22 * row2 holds the current row, row1 the previous row (i.e. for the substring
49 int *row1 = malloc(sizeof(int) * (len2 + 1));
54 row1[j] = j * a;
61 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]);
68 if (row2[j + 1] > row1[j + 1] + d)
69 row2[j + 1] = row1[j + 1] + d;
76 row0 = row1;
77 row1 = row2;
81 i = row1[len2];
83 free(row1);