| OLD | NEW |
| 1 library levenshtein; | 1 library levenshtein; |
| 2 | 2 |
| 3 import 'dart:math' as math; | 3 import 'dart:math' as math; |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * The value returned by [levenshtein] if the distance is determined | 6 * The value returned by [levenshtein] if the distance is determined |
| 7 * to be over the specified threshold. | 7 * to be over the specified threshold. |
| 8 */ | 8 */ |
| 9 const int LEVENSHTEIN_MAX = 1 << 20; | 9 const int LEVENSHTEIN_MAX = 1 << 20; |
| 10 | 10 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 | 123 |
| 124 return LEVENSHTEIN_MAX; | 124 return LEVENSHTEIN_MAX; |
| 125 } | 125 } |
| 126 | 126 |
| 127 void _setRange(List<int> a, int start, int end, int value) { | 127 void _setRange(List<int> a, int start, int end, int value) { |
| 128 for (int i = start; i < end; i++) { | 128 for (int i = start; i < end; i++) { |
| 129 a[i] = value; | 129 a[i] = value; |
| 130 } | 130 } |
| 131 } | 131 } |
| OLD | NEW |