Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | // Copyright 2013 Google Inc. All Rights Reserved. |
michael@0 | 2 | // |
michael@0 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
michael@0 | 4 | // you may not use this file except in compliance with the License. |
michael@0 | 5 | // You may obtain a copy of the License at |
michael@0 | 6 | // |
michael@0 | 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
michael@0 | 8 | // |
michael@0 | 9 | // Unless required by applicable law or agreed to in writing, software |
michael@0 | 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
michael@0 | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
michael@0 | 12 | // See the License for the specific language governing permissions and |
michael@0 | 13 | // limitations under the License. |
michael@0 | 14 | |
michael@0 | 15 | // |
michael@0 | 16 | // Degenerate CLD2 scoring lookup table, for use as placeholder |
michael@0 | 17 | // |
michael@0 | 18 | #include "cld2tablesummary.h" |
michael@0 | 19 | |
michael@0 | 20 | namespace CLD2 { |
michael@0 | 21 | |
michael@0 | 22 | static const uint32 kDistinctBiTableBuildDate = 20130101; // yyyymmdd |
michael@0 | 23 | static const uint32 kDistinctBiTableSize = 1; // Total Bucket count |
michael@0 | 24 | static const uint32 kDistinctBiTableKeyMask = 0xffffffff; // Mask hash key |
michael@0 | 25 | static const char* const kDistinctBiTableRecognizedLangScripts = ""; |
michael@0 | 26 | |
michael@0 | 27 | // Empty table |
michael@0 | 28 | static const IndirectProbBucket4 kDistinctBiTable[kDistinctBiTableSize] = { |
michael@0 | 29 | // key[4], words[4] in UTF-8 |
michael@0 | 30 | // value[4] |
michael@0 | 31 | { {0x00000000,0x00000000,0x00000000,0x00000000}}, // [000] |
michael@0 | 32 | }; |
michael@0 | 33 | |
michael@0 | 34 | static const uint32 kDistinctBiTableSizeOne = 1; // One-langprob count |
michael@0 | 35 | static const uint32 kDistinctBiTableIndSize = 1; // Largest subscript |
michael@0 | 36 | static const uint32 kDistinctBiTableInd[kDistinctBiTableIndSize] = { |
michael@0 | 37 | // [0000] |
michael@0 | 38 | 0x00000000, }; |
michael@0 | 39 | |
michael@0 | 40 | extern const CLD2TableSummary kDistinctBiTable_obj = { |
michael@0 | 41 | kDistinctBiTable, |
michael@0 | 42 | kDistinctBiTableInd, |
michael@0 | 43 | kDistinctBiTableSizeOne, |
michael@0 | 44 | kDistinctBiTableSize, |
michael@0 | 45 | kDistinctBiTableKeyMask, |
michael@0 | 46 | kDistinctBiTableBuildDate, |
michael@0 | 47 | kDistinctBiTableRecognizedLangScripts, |
michael@0 | 48 | }; |
michael@0 | 49 | |
michael@0 | 50 | } // End namespace CLD2 |
michael@0 | 51 | |
michael@0 | 52 | // End of generated tables |