Initializes data members to the default values. Sets the initial rating of each class to be the worst possible rating (1.0).
| 91 | /// Initializes data members to the default values. Sets the initial |
| 92 | /// rating of each class to be the worst possible rating (1.0). |
| 93 | inline void Initialize() { |
| 94 | BlobLength = MAX_INT32; |
| 95 | HasNonfragment = false; |
| 96 | ComputeBest(); |
| 97 | } |
| 98 | // Computes best_unichar_id, best_match_index and best_rating. |
| 99 | void ComputeBest() { |
| 100 | best_unichar_id = INVALID_UNICHAR_ID; |
no outgoing calls
no test coverage detected