| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ENCODINGS_COMPACT_LANG_DET_TOTE_H_ | 5 #ifndef ENCODINGS_COMPACT_LANG_DET_TOTE_H_ |
| 6 #define ENCODINGS_COMPACT_LANG_DET_TOTE_H_ | 6 #define ENCODINGS_COMPACT_LANG_DET_TOTE_H_ |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include "encodings/compact_lang_det/win/cld_basictypes.h" | 9 #include "encodings/compact_lang_det/win/cld_basictypes.h" |
| 10 | 10 |
| 11 // Take a set of <key, value> pairs and tote them up. | 11 // Take a set of <key, value> pairs and tote them up. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Align at multiple of 8 bytes | 80 // Align at multiple of 8 bytes |
| 81 int closepair_[kMaxClosePairSize_]; | 81 int closepair_[kMaxClosePairSize_]; |
| 82 uint8 key_[kMaxSize_]; // Lang unassigned = 0, valid = 1..255 | 82 uint8 key_[kMaxSize_]; // Lang unassigned = 0, valid = 1..255 |
| 83 int value_[kMaxSize_]; // Bytecount this lang | 83 int value_[kMaxSize_]; // Bytecount this lang |
| 84 int score_[kMaxSize_]; // Probability score sum | 84 int score_[kMaxSize_]; // Probability score sum |
| 85 int reliability_[kMaxSize_]; // Percentage 0..100 | 85 int reliability_[kMaxSize_]; // Percentage 0..100 |
| 86 ////SubsetSequence ss_; | 86 ////SubsetSequence ss_; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 #endif // ENCODINGS_COMPACT_LANG_DET_TOTE_H_ | 89 #endif // ENCODINGS_COMPACT_LANG_DET_TOTE_H_ |
| OLD | NEW |