Lines Matching refs:row1
19 * row2 holds the current row, row1 the previous row (i.e. for the substring
46 int *row1 = malloc(sizeof(int) * (len2 + 1));
51 row1[j] = j * a;
58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]);
65 if (row2[j + 1] > row1[j + 1] + d)
66 row2[j + 1] = row1[j + 1] + d;
73 row0 = row1;
74 row1 = row2;
78 i = row1[len2];
80 free(row1);