Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_generated_longwords8_0.cc

Issue 122007: [chromium-reviews] Add Compact Language Detection (CLD) library to Chrome. This works in Windows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_generated_longwords8_0.cc
===================================================================
--- third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_generated_longwords8_0.cc (revision 0)
+++ third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_generated_longwords8_0.cc (revision 0)
@@ -0,0 +1,49 @@
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil.h"
+
+// Suppressed:
+// az-Arab az-Cyrl ku-Latn tg-Arab za-Hani zzb-Latn zze-Latn zzh-Latn ru-Latn
+
+// Remapped:
+// xxx-Latn=>ut-Latn sh-Latn=>hr-Latn sh-Cyrl=>sr-Cyrl
+
+// ms/id probabilities leveled
+
+static const int kLongWord8TableBuildDate = 20081007; // yyyymmdd
+
+COMPILE_ASSERT(MONTENEGRIN == 160, k_montenegrin_changed);
+COMPILE_ASSERT(EXT_NUM_LANGUAGES == 209, k_ext_num_languages_changed);
+
+static const int kLongWord8TableSize = 1; // Bucket count
+static const int kLongWord8TableKeyMask = 0xffffffff; // Mask hash key
+
+COMPILE_ASSERT(MONTENEGRIN == 160, k_montenegrin_changed);
+COMPILE_ASSERT(EXT_NUM_LANGUAGES == 209, k_ext_num_languages_changed);
+
+// Empty table
+static const cld::IndirectProbBucket4 kLongWord8Table[kLongWord8TableSize] = {
+ // key[4], words[4] in UTF-8
+ // value[4]
+ { {0x00000000,0x00000000,0x00000000,0x00000000}}, // [000] c
+};
+
+static const uint32 kLongWord8TableInd[1] = {
+ // [0000]
+ 0x00000000, };
+
+COMPILE_ASSERT(1 < (1 << 16), k_indirectbits_too_small);
+
+
+extern const cld::CLDTableSummary kLongWord8Table_obj = {
+ kLongWord8Table,
+ kLongWord8TableInd,
+ kLongWord8TableSize,
+ ARRAYSIZE(kLongWord8TableInd),
+ kLongWord8TableKeyMask,
+ kLongWord8TableBuildDate,
+};
+
+// End of generated tables
Property changes on: third_party\cld\bar\toolbar\cld\i18n\encodings\compact_lang_det\compact_lang_det_generated_longwords8_0.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698