Debian Codegraph @

go/cbrotli/synth_test.go

raw symbols SCIP
1 // Copyright 2025 Google Inc. All Rights Reserved.
2 //
3 // Distributed under MIT license.
4 // See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5
6 package cbrotli_test
7
8 import (
9 "testing"
10
11 "github.com/google/brotli/go/cbrotli"
12 )
13
14 func verify(t *testing.T, compressed []uint8, expectSuccess bool, expectedOutput string) {
15 actual, err := cbrotli.Decode(compressed)
16 success := true
17 if err != nil {
18 success = false
19 }
20 if success != expectSuccess {
21 t.Fatalf("success = %v, expectSuccess = %v", success, expectSuccess)
22 }
23 if !expectSuccess {
24 return
25 }
26 same := true
27 if len(actual) == len(expectedOutput) {
28 for i := 0; i < len(expectedOutput); i++ {
29 if actual[i] != expectedOutput[i] {
30 same = false
31 }
32 }
33 } else {
34 same = false
35 }
36 if !same {
37 t.Fatalf("Expected: %v\nActual: %v", expectedOutput, actual)
38 }
39 }
40
41 func times(n int, pattern string) string {
42 k := len(pattern)
43 result := make([]uint8, n*k)
44 for i := 0; i < n; i++ {
45 offset := i * k
46 for j := 0; j < k; j++ {
47 result[offset+j] = pattern[j]
48 }
49 }
50 return string(result)
51 }
52
53 /* GENERATED CODE START */
54
55 func TestAllTransforms10(t *testing.T) {
56 compressed := []uint8{
57 0x1b, 0xfc, 0x05, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
58 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x13, 0x7c,
59 0x84, 0x26, 0xf8, 0x04, 0x10, 0x4c, 0xf0, 0x89, 0x38, 0x30, 0xc1, 0x27,
60 0x4e, 0xc1, 0x04, 0x9f, 0x64, 0x06, 0x26, 0xf8, 0x24, 0x3f, 0x34, 0xc1,
61 0x27, 0x7d, 0x82, 0x09, 0x3e, 0xe9, 0x16, 0x4d, 0xf0, 0xc9, 0xd2, 0xc0,
62 0x04, 0x9f, 0x0c, 0x8f, 0x4c, 0xf0, 0xc9, 0x06, 0xd1, 0x04, 0x9f, 0x6c,
63 0x92, 0x4d, 0xf0, 0xc9, 0x39, 0xc1, 0x04, 0x9f, 0xdc, 0x94, 0x4c, 0xf0,
64 0xc9, 0x69, 0xd1, 0x04, 0x9f, 0x3c, 0x98, 0x4d, 0xf0, 0x29, 0x9c, 0x81,
65 0x09, 0x3e, 0x45, 0x37, 0x31, 0xc1, 0xa7, 0x60, 0x47, 0x26, 0xf8, 0x14,
66 0xfa, 0xcc, 0x04, 0x9f, 0xc2, 0x20, 0x9a, 0xe0, 0x53, 0x48, 0x54, 0x13,
67 0x7c, 0x8a, 0x8f, 0x6c, 0x82, 0x4f, 0xb1, 0xd2, 0x4d, 0xf0, 0x29, 0x67,
68 0x82, 0x09, 0x3e, 0xe5, 0x4f, 0x31, 0xc1, 0xa7, 0x7c, 0x4a, 0x26, 0xf8,
69 0x94, 0x57, 0xcd, 0x04, 0x9f, 0x12, 0x2c, 0x9a, 0xe0, 0x53, 0xba, 0x55,
70 0x13, 0x7c, 0xca, 0xbf, 0x6c, 0x82, 0x4f, 0xb9, 0xd8, 0x4d, 0xf0, 0xa9,
71 0x30, 0x03, 0x13, 0x7c, 0x2a, 0xd2, 0xc2, 0x04, 0x9f, 0x4a, 0x36, 0x31,
72 0xc1, 0xa7, 0xca, 0x6d, 0x4c, 0xf0, 0xa9, 0x94, 0x23, 0x13, 0x7c, 0x2a,
73 0xeb, 0xca, 0x04, 0x9f, 0xea, 0x3c, 0x33, 0xc1, 0xa7, 0xb2, 0xef, 0x4c,
74 0xf0, 0xa9, 0xf8, 0x43, 0x13, 0x7c, 0xaa, 0x00, 0xd3, 0x04, 0x9f, 0x2a,
75 0x42, 0x35, 0xc1, 0xa7, 0xc2, 0x70, 0x4d, 0xf0, 0xa9, 0x52, 0x64, 0x13,
76 0x7c, 0x2a, 0x1a, 0xdb, 0x04, 0x9f, 0x6a, 0x48, 0x37, 0xc1, 0xa7, 0x92,
77 0xf2, 0x4d, 0xf0, 0xa9, 0xc3, 0x04, 0x13, 0x7c, 0xea, 0x32, 0xc3, 0x04,
78 0x9f, 0x7a, 0x4e, 0x31, 0xc1, 0xa7, 0x06, 0x74, 0x4c, 0xf0, 0xa9, 0x19,
79 0x25, 0x13, 0x7c, 0x6a, 0x4d, 0xcb, 0x04, 0x9f, 0x1a, 0x55, 0x33, 0xc1,
80 0xa7, 0x56, 0xf5, 0x4c, 0xf0, 0xa9, 0x5d, 0x45, 0x13, 0x7c, 0xea, 0x59,
81 0xd3, 0x04, 0x9f, 0xfa, 0x57, 0x35, 0xc1, 0xa7, 0x66, 0x76, 0x4d, 0xf0,
82 0xa9, 0x9f, 0x65, 0x13, 0x7c, 0x6a, 0x6f, 0xdb, 0x04, 0x9f, 0x9a, 0x5d,
83 0x37, 0xc1, 0xa7, 0x06, 0xf8, 0x4d, 0xf0, 0x69, 0x0c, 0x06, 0x26, 0xf8,
84 0x34, 0x08, 0x07, 0x13, 0x7c, 0x1a, 0x8b, 0x85, 0x09, 0x3e, 0x8d, 0xc8,
85 0xc3, 0x04, 0x9f, 0xe6, 0x65, 0x62, 0x82, 0x4f, 0xb3, 0x73, 0x31, 0xc1,
86 0xa7, 0x41, 0xda, 0x98, 0xe0, 0xd3, 0x54, 0x7d, 0x4c, 0xf0, 0x69, 0xc4,
87 0x46, 0x26, 0xf8, 0x34, 0x72, 0x27, 0x13, 0x7c, 0x1a, 0xc5, 0x95, 0x09,
88 0x3e, 0x8d, 0xe5, 0xcb, 0x04, 0x9f, 0x06, 0x75, 0x66, 0x82, 0x4f, 0x43,
89 0x7b, 0x33, 0xc1, 0xa7, 0x09, 0xde, 0x99, 0xe0, 0xd3, 0x34, 0xff, 0x4c,
90 0xf0, 0x69, 0xb2, 0x87, 0x26, 0xf8, 0x34, 0xe9, 0x47, 0x13, 0x7c, 0x9a,
91 0xfb, 0xa5, 0x09, 0x3e, 0x4d, 0x01, 0xd4, 0x04, 0x9f, 0x46, 0x82, 0x6a,
92 0x82, 0x4f, 0x03, 0x82, 0x35, 0xc1, 0xa7, 0x61, 0xe1, 0x9a, 0xe0, 0xd3,
93 0xe4, 0x80, 0x4d, 0xf0, 0x69, 0x8a, 0xc8, 0x26, 0xf8, 0x34, 0x52, 0x68,
94 0x13, 0x7c, 0x9a, 0x2f, 0xb6, 0x09, 0x3e, 0x8d, 0x1b, 0xdc, 0x04, 0x9f,
95 0x86, 0x8f, 0x6e, 0x82, 0x4f, 0xb3, 0x88, 0x37, 0xc1, 0xa7, 0xd9, 0xe4,
96 0x9b, 0xe0, 0xd3, 0x9e, 0x02, 0x4c, 0xf0, 0x69, 0x6d, 0x09, 0x26, 0xf8,
97 0xb4, 0xc3, 0x08, 0x13, 0x7c, 0x5a, 0x68, 0x86, 0x09, 0x3e, 0xad, 0x37,
98 0xc4, 0x04, 0x9f, 0x56, 0x9d, 0x62, 0x82, 0x4f, 0x9b, 0x8f, 0x31, 0xc1,
99 0xa7, 0x2d, 0xe8, 0x98, 0xe0, 0xd3, 0x4a, 0x84, 0x4c, 0xf0, 0x69, 0x3f,
100 0x4a, 0x26, 0xf8, 0xb4, 0x2c, 0x29, 0x13, 0x7c, 0xda, 0x9c, 0x96, 0x09,
101 0x3e, 0x2d, 0x52, 0xcc, 0x04, 0x9f, 0xb6, 0xaa, 0x66, 0x82, 0x4f, 0x2b,
102 0x96, 0x33, 0xc1, 0xa7, 0x7d, 0xeb, 0x99, 0xe0, 0xd3, 0xf6, 0x05, 0x4d,
103 0xf0, 0x69, 0x17, 0x8b, 0x26, 0xf8, 0xb4, 0x97, 0x49, 0x13, 0x7c, 0xda,
104 0xd1, 0xa6, 0x09, 0x3e, 0x2d, 0x6c, 0xd4, 0x04, 0x9f, 0xb6, 0xb7, 0x6a,
105 0x82, 0x4f, 0xab, 0x9c, 0x35, 0xc1, 0xa7, 0xc5, 0xee, 0x9a, 0xe0, 0xd3,
106 0x9a, 0x87, 0x4d, 0xf0, 0x69, 0xe9, 0xcb,
107 };
108 verify(t,
109 /*
110 * // The stream consists of word "time" with all possible transforms.
111 * main_header
112 * metablock_header_easy: 1533, 1
113 * command_easy: 10, "|", 2 // = 0 << 10 + 1 + 1
114 * command_easy: 10, "|", 1037 // = 1 << 10 + 1 + 12
115 * command_easy: 10, "|", 2073 // = 2 << 10 + 1 + 24
116 * command_easy: 10, "|", 3110 // = 3 << 10 + 1 + 37
117 * command_easy: 10, "|", 4144 // = 4 << 10 + 1 + 47
118 * command_easy: 10, "|", 5180 // = 5 << 10 + 1 + 59
119 * command_easy: 10, "|", 6220 // = 6 << 10 + 1 + 75
120 * command_easy: 10, "|", 7256 // = 7 << 10 + 1 + 87
121 * command_easy: 10, "|", 8294 // = 8 << 10 + 1 + 101
122 * command_easy: 10, "|", 9333 // = 9 << 10 + 1 + 116
123 * command_easy: 10, "|", 10368 // = 10 << 10 + 1 + 127
124 * command_easy: 10, "|", 11408 // = 11 << 10 + 1 + 143
125 * command_easy: 10, "|", 12441 // = 12 << 10 + 1 + 152
126 * command_easy: 10, "|", 13475 // = 13 << 10 + 1 + 162
127 * command_easy: 10, "|", 14513 // = 14 << 10 + 1 + 176
128 * command_easy: 10, "|", 15550 // = 15 << 10 + 1 + 189
129 * command_easy: 10, "|", 16587 // = 16 << 10 + 1 + 202
130 * command_easy: 10, "|", 17626 // = 17 << 10 + 1 + 217
131 * command_easy: 10, "|", 18665 // = 18 << 10 + 1 + 232
132 * command_easy: 10, "|", 19703 // = 19 << 10 + 1 + 246
133 * command_easy: 10, "|", 20739 // = 20 << 10 + 1 + 258
134 * command_easy: 10, "|", 21775 // = 21 << 10 + 1 + 270
135 * command_easy: 10, "|", 22812 // = 22 << 10 + 1 + 283
136 * command_easy: 10, "|", 23848 // = 23 << 10 + 1 + 295
137 * command_easy: 10, "|", 24880 // = 24 << 10 + 1 + 303
138 * command_easy: 10, "|", 25916 // = 25 << 10 + 1 + 315
139 * command_easy: 10, "|", 26956 // = 26 << 10 + 1 + 331
140 * command_easy: 10, "|", 27988 // = 27 << 10 + 1 + 339
141 * command_easy: 10, "|", 29021 // = 28 << 10 + 1 + 348
142 * command_easy: 10, "|", 30059 // = 29 << 10 + 1 + 362
143 * command_easy: 10, "|", 31100 // = 30 << 10 + 1 + 379
144 * command_easy: 10, "|", 32136 // = 31 << 10 + 1 + 391
145 * command_easy: 10, "|", 33173 // = 32 << 10 + 1 + 404
146 * command_easy: 10, "|", 34209 // = 33 << 10 + 1 + 416
147 * command_easy: 10, "|", 35247 // = 34 << 10 + 1 + 430
148 * command_easy: 10, "|", 36278 // = 35 << 10 + 1 + 437
149 * command_easy: 10, "|", 37319 // = 36 << 10 + 1 + 454
150 * command_easy: 10, "|", 38355 // = 37 << 10 + 1 + 466
151 * command_easy: 10, "|", 39396 // = 38 << 10 + 1 + 483
152 * command_easy: 10, "|", 40435 // = 39 << 10 + 1 + 498
153 * command_easy: 10, "|", 41465 // = 40 << 10 + 1 + 504
154 * command_easy: 10, "|", 42494 // = 41 << 10 + 1 + 509
155 * command_easy: 10, "|", 43534 // = 42 << 10 + 1 + 525
156 * command_easy: 10, "|", 44565 // = 43 << 10 + 1 + 532
157 * command_easy: 10, "|", 45606 // = 44 << 10 + 1 + 549
158 * command_easy: 10, "|", 46641 // = 45 << 10 + 1 + 560
159 * command_easy: 10, "|", 47680 // = 46 << 10 + 1 + 575
160 * command_easy: 10, "|", 48719 // = 47 << 10 + 1 + 590
161 * command_easy: 10, "|", 49758 // = 48 << 10 + 1 + 605
162 * command_easy: 10, "|", 50786 // = 49 << 10 + 1 + 609
163 * command_easy: 10, "|", 51824 // = 50 << 10 + 1 + 623
164 * command_easy: 10, "|", 52861 // = 51 << 10 + 1 + 636
165 * command_easy: 10, "|", 53897 // = 52 << 10 + 1 + 648
166 * command_easy: 10, "|", 54935 // = 53 << 10 + 1 + 662
167 * command_easy: 10, "|", 55973 // = 54 << 10 + 1 + 676
168 * command_easy: 10, "|", 56999 // = 55 << 10 + 1 + 678
169 * command_easy: 10, "|", 58027 // = 56 << 10 + 1 + 682
170 * command_easy: 10, "|", 59056 // = 57 << 10 + 1 + 687
171 * command_easy: 10, "|", 60092 // = 58 << 10 + 1 + 699
172 * command_easy: 10, "|", 61129 // = 59 << 10 + 1 + 712
173 * command_easy: 10, "|", 62156 // = 60 << 10 + 1 + 715
174 * command_easy: 10, "|", 63195 // = 61 << 10 + 1 + 730
175 * command_easy: 10, "|", 64233 // = 62 << 10 + 1 + 744
176 * command_easy: 10, "|", 65277 // = 63 << 10 + 1 + 764
177 * command_easy: 10, "|", 66307 // = 64 << 10 + 1 + 770
178 * command_easy: 10, "|", 67333 // = 65 << 10 + 1 + 772
179 * command_easy: 10, "|", 68371 // = 66 << 10 + 1 + 786
180 * command_easy: 10, "|", 69407 // = 67 << 10 + 1 + 798
181 * command_easy: 10, "|", 70444 // = 68 << 10 + 1 + 811
182 * command_easy: 10, "|", 71480 // = 69 << 10 + 1 + 823
183 * command_easy: 10, "|", 72517 // = 70 << 10 + 1 + 836
184 * command_easy: 10, "|", 73554 // = 71 << 10 + 1 + 849
185 * command_easy: 10, "|", 74591 // = 72 << 10 + 1 + 862
186 * command_easy: 10, "|", 75631 // = 73 << 10 + 1 + 878
187 * command_easy: 10, "|", 76679 // = 74 << 10 + 1 + 902
188 * command_easy: 10, "|", 77715 // = 75 << 10 + 1 + 914
189 * command_easy: 10, "|", 78757 // = 76 << 10 + 1 + 932
190 * command_easy: 10, "|", 79793 // = 77 << 10 + 1 + 944
191 * command_easy: 10, "|", 80830 // = 78 << 10 + 1 + 957
192 * command_easy: 10, "|", 81866 // = 79 << 10 + 1 + 969
193 * command_easy: 10, "|", 82902 // = 80 << 10 + 1 + 981
194 * command_easy: 10, "|", 83942 // = 81 << 10 + 1 + 997
195 * command_easy: 10, "|", 84980 // = 82 << 10 + 1 + 1011
196 * command_easy: 10, "|", 86018 // = 83 << 10 + 1 + 1025
197 * command_easy: 10, "|", 87055 // = 84 << 10 + 1 + 1038
198 * command_easy: 10, "|", 88093 // = 85 << 10 + 1 + 1052
199 * command_easy: 10, "|", 89129 // = 86 << 10 + 1 + 1064
200 * command_easy: 10, "|", 90166 // = 87 << 10 + 1 + 1077
201 * command_easy: 10, "|", 91202 // = 88 << 10 + 1 + 1089
202 * command_easy: 10, "|", 92239 // = 89 << 10 + 1 + 1102
203 * command_easy: 10, "|", 93276 // = 90 << 10 + 1 + 1115
204 * command_easy: 10, "|", 94315 // = 91 << 10 + 1 + 1130
205 * command_easy: 10, "|", 95353 // = 92 << 10 + 1 + 1144
206 * command_easy: 10, "|", 96392 // = 93 << 10 + 1 + 1159
207 * command_easy: 10, "|", 97432 // = 94 << 10 + 1 + 1175
208 * command_easy: 10, "|", 98468 // = 95 << 10 + 1 + 1187
209 * command_easy: 10, "|", 99507 // = 96 << 10 + 1 + 1202
210 * command_easy: 10, "|", 100544 // = 97 << 10 + 1 + 1215
211 * command_easy: 10, "|", 101581 // = 98 << 10 + 1 + 1228
212 * command_easy: 10, "|", 102619 // = 99 << 10 + 1 + 1242
213 * command_easy: 10, "|", 103655 // = 100 << 10 + 1 + 1254
214 * command_easy: 10, "|", 104694 // = 101 << 10 + 1 + 1269
215 * command_easy: 10, "|", 105730 // = 102 << 10 + 1 + 1281
216 * command_easy: 10, "|", 106767 // = 103 << 10 + 1 + 1294
217 * command_easy: 10, "|", 107804 // = 104 << 10 + 1 + 1307
218 * command_easy: 10, "|", 108841 // = 105 << 10 + 1 + 1320
219 * command_easy: 10, "|", 109878 // = 106 << 10 + 1 + 1333
220 * command_easy: 10, "|", 110917 // = 107 << 10 + 1 + 1348
221 * command_easy: 10, "|", 111954 // = 108 << 10 + 1 + 1361
222 * command_easy: 10, "|", 112991 // = 109 << 10 + 1 + 1374
223 * command_easy: 10, "|", 114028 // = 110 << 10 + 1 + 1387
224 * command_easy: 10, "|", 115066 // = 111 << 10 + 1 + 1401
225 * command_easy: 10, "|", 116104 // = 112 << 10 + 1 + 1415
226 * command_easy: 10, "|", 117140 // = 113 << 10 + 1 + 1427
227 * command_easy: 10, "|", 118176 // = 114 << 10 + 1 + 1439
228 * command_easy: 10, "|", 119213 // = 115 << 10 + 1 + 1452
229 * command_easy: 10, "|", 120250 // = 116 << 10 + 1 + 1465
230 * command_easy: 10, "|", 121287 // = 117 << 10 + 1 + 1478
231 * command_easy: 10, "|", 122325 // = 118 << 10 + 1 + 1492
232 * command_easy: 10, "|", 123363 // = 119 << 10 + 1 + 1506
233 * command_easy: 10, "|", 124401 // = 120 << 10 + 1 + 1520
234 */
235 compressed,
236 true,
237 "|categories|categories | categories |ategories|Categories |categories th" +
238 "e | categories|s categories |categories of |Categories|categories and |t" +
239 "egories|categorie|, categories |categories, | Categories |categories in " +
240 "|categories to |e categories |categories\"|categories.|categories\">|cat" +
241 "egories\n|categor|categories]|categories for |egories|categori|categorie" +
242 "s a |categories that | Categories|categories. |.categories| categories, " +
243 "|gories|categories with |categories'|categories from |categories by |ori" +
244 "es|ries| the categories|catego|categories. The |CATEGORIES|categories on" +
245 " |categories as |categories is |cat|categorieing |categories\n\t|categor" +
246 "ies:| categories. |categoriesed |s|ies|cate|categories(|Categories, |ca|" +
247 "categories at |categoriesly | the categories of |categ|c| Categories, |C" +
248 "ategories\"|.categories(|CATEGORIES |Categories\">|categories=\"| catego" +
249 "ries.|.com/categories| the categories of the |Categories'|categories. Th" +
250 "is |categories,|.categories |Categories(|Categories.|categories not | ca" +
251 "tegories=\"|categorieser | CATEGORIES |categoriesal | CATEGORIES|categor" +
252 "ies='|CATEGORIES\"|Categories. | categories(|categoriesful | Categories." +
253 " |categoriesive |categoriesless |CATEGORIES'|categoriesest | Categories." +
254 "|CATEGORIES\">| categories='|Categories,|categoriesize |CATEGORIES.|" +
255 "\302\240categories| categories,|Categories=\"|CATEGORIES=\"|categoriesou" +
256 "s |CATEGORIES, |Categories='| Categories,| CATEGORIES=\"| CATEGORIES, |C" +
257 "ATEGORIES,|CATEGORIES(|CATEGORIES. | CATEGORIES.|CATEGORIES='| CATEGORIE" +
258 "S. | Categories=\"| CATEGORIES='| Categories='",
259 );
260 }
261
262 func TestAllTransforms4(t *testing.T) {
263 compressed := []uint8{
264 0x1b, 0x40, 0x03, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
265 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x51, 0x3e,
266 0x42, 0x51, 0x3e, 0x81, 0x02, 0x51, 0x3e, 0x11, 0x04, 0xa2, 0x7c, 0xe2,
267 0x0b, 0x44, 0xf9, 0x24, 0x1b, 0x10, 0xe5, 0x93, 0x84, 0x50, 0x94, 0x4f,
268 0xba, 0x02, 0x51, 0x3e, 0x69, 0x0c, 0x45, 0xf9, 0x64, 0x39, 0x20, 0xca,
269 0x27, 0x13, 0x22, 0x51, 0x3e, 0xd9, 0x11, 0x8a, 0xf2, 0xc9, 0xa2, 0x58,
270 0x94, 0x4f, 0x4e, 0x05, 0xa2, 0x7c, 0x72, 0x2c, 0x12, 0xe5, 0x93, 0x83,
271 0xa1, 0x28, 0x9f, 0xfc, 0x8c, 0x45, 0xf9, 0x14, 0x6e, 0x40, 0x94, 0x4f,
272 0x71, 0x47, 0x44, 0xf9, 0x14, 0x80, 0x48, 0x94, 0x4f, 0x81, 0xc8, 0x44,
273 0xf9, 0x14, 0x8e, 0x50, 0x94, 0x4f, 0x41, 0x49, 0x45, 0xf9, 0x14, 0x9b,
274 0x58, 0x94, 0x4f, 0x11, 0xca, 0x45, 0xf9, 0x94, 0xa3, 0x40, 0x94, 0x4f,
275 0x99, 0x4a, 0x44, 0xf9, 0x94, 0xb3, 0x48, 0x94, 0x4f, 0x59, 0xcb, 0x44,
276 0xf9, 0x94, 0xb8, 0x50, 0x94, 0x4f, 0x09, 0x4c, 0x45, 0xf9, 0x94, 0xcb,
277 0x58, 0x94, 0x4f, 0x19, 0xcd, 0x45, 0xf9, 0x54, 0xd8, 0x80, 0x28, 0x9f,
278 0xca, 0x9b, 0x10, 0xe5, 0x53, 0x99, 0x23, 0xa2, 0x7c, 0xaa, 0x73, 0x46,
279 0x94, 0x4f, 0x25, 0x0f, 0x89, 0xf2, 0xa9, 0xf0, 0x29, 0x51, 0x3e, 0xd5,
280 0x40, 0x26, 0xca, 0xa7, 0x62, 0xe8, 0x44, 0xf9, 0x54, 0x0d, 0xa1, 0x28,
281 0x9f, 0xca, 0xa1, 0x14, 0xe5, 0x53, 0x61, 0xa4, 0xa2, 0x7c, 0xaa, 0x8c,
282 0x56, 0x94, 0x4f, 0x45, 0x12, 0x8b, 0xf2, 0xa9, 0x52, 0x6a, 0x51, 0x3e,
283 0x95, 0x4c, 0x2e, 0xca, 0xa7, 0xda, 0xe9, 0x45, 0xf9, 0xd4, 0x44, 0x81,
284 0x28, 0x9f, 0xba, 0xa8, 0x10, 0xe5, 0x53, 0x37, 0x25, 0xa2, 0x7c, 0x6a,
285 0xaa, 0x46, 0x94, 0x4f, 0xad, 0x15, 0x89, 0xf2, 0xa9, 0xc5, 0x2a, 0x51,
286 0x3e, 0xb5, 0x5a, 0x26, 0xca, 0xa7, 0x5e, 0xeb, 0x44, 0xf9, 0xd4, 0x6c,
287 0xa1, 0x28, 0x9f, 0xba, 0xad, 0x14, 0xe5, 0x53, 0xcf, 0xa5, 0xa2, 0x7c,
288 0x6a, 0xbd, 0x56, 0x94, 0x4f, 0xbd, 0x17, 0x8b, 0xf2, 0xa9, 0x09, 0x6b,
289 0x51, 0x3e, 0x35, 0x63, 0x2e, 0xca, 0xa7, 0xd6, 0xec, 0x45, 0xf9, 0x34,
290 0x9b, 0x01, 0x51, 0x3e, 0x0d, 0x67, 0x41, 0x94, 0x4f, 0x43, 0x9a, 0x10,
291 0xe5, 0xd3, 0xa8, 0x36, 0x44, 0xf9, 0x34, 0xb1, 0x11, 0x51, 0x3e, 0xcd,
292 0x6d, 0x45, 0x94, 0x4f, 0xe3, 0x9b, 0x11, 0xe5, 0xd3, 0x14, 0x77, 0x44,
293 0xf9, 0x34, 0xcc, 0x21, 0x51, 0x3e, 0x8d, 0x75, 0x49, 0x94, 0x4f, 0x83,
294 0x9e, 0x12, 0xe5, 0xd3, 0xb8, 0xb7, 0x44, 0xf9, 0x34, 0xfa, 0x31, 0x51,
295 0x3e, 0x0d, 0x80, 0x4d, 0x94, 0x4f, 0x73, 0xa0, 0x13, 0xe5, 0xd3, 0x34,
296 0xf8, 0x44, 0xf9, 0x34, 0x13, 0x42, 0x51, 0x3e, 0x4d, 0x87, 0x51, 0x94,
297 0x4f, 0x53, 0xa2, 0x14, 0xe5, 0xd3, 0xb4, 0x38, 0x45, 0xf9, 0x34, 0x34,
298 0x52, 0x51, 0x3e, 0x0d, 0x8f, 0x55, 0x94, 0x4f, 0x23, 0xa4, 0x15, 0xe5,
299 0xd3, 0x24, 0x79, 0x45, 0xf9, 0x34, 0x4f, 0x62, 0x51, 0x3e, 0x8d, 0x95,
300 0x59, 0x94, 0x4f, 0xd3, 0xa5, 0x16, 0xe5, 0xd3, 0x98, 0xb9, 0x45, 0xf9,
301 0x34, 0x6e, 0x72, 0x51, 0x3e, 0xcd, 0x9d, 0x5d, 0x94, 0x4f, 0x13, 0xa8,
302 0x17, 0xe5, 0xd3, 0x1c, 0xfa, 0x45, 0xf9, 0xb4, 0x90, 0x02, 0x51, 0x3e,
303 0xed, 0xa5, 0x41, 0x94, 0x4f, 0xeb, 0xa9, 0x10, 0xe5, 0xd3, 0x9a, 0x3a,
304 0x44, 0xf9, 0xb4, 0xac, 0x12, 0x51, 0x3e, 0x6d, 0xad, 0x45, 0x94, 0x4f,
305 0xbb, 0xab, 0x11, 0xe5, 0xd3, 0x0a, 0x7b, 0x44, 0xf9, 0xb4, 0xc9, 0x22,
306 0x51, 0x3e, 0x2d, 0xb4, 0x49, 0x94, 0x4f, 0x7b, 0xad, 0x12, 0xe5, 0xd3,
307 0x82, 0xbb, 0x44, 0xf9, 0xb4, 0xe7, 0x32, 0x51, 0x3e, 0xad, 0xbb, 0x4d,
308 0x94, 0x4f, 0x5b, 0xaf, 0x13, 0xe5, 0xd3, 0xf6, 0xfb, 0x44, 0xf9, 0xb4,
309 0x05, 0x43, 0x51, 0x3e, 0xed, 0xc2, 0x51, 0x94, 0x4f, 0x1b, 0xb1, 0x14,
310 0xe5, 0xd3, 0x62, 0x3c, 0x45, 0xf9, 0xb4, 0x1f, 0x53, 0x51, 0x3e, 0xad,
311 0xc9, 0x55, 0x94, 0x4f, 0xeb, 0xb2, 0x15, 0xe5, 0xd3, 0xda, 0x7c, 0x45,
312 0xf9, 0xb4, 0x3e, 0x63,
313 };
314 verify(t,
315 /*
316 * // The stream consists of word "time" with all possible transforms.
317 * main_header
318 * metablock_header_easy: 833, 1
319 * command_easy: 4, "|", 2 // = 0 << 10 + 1 + 1
320 * command_easy: 4, "|", 1031 // = 1 << 10 + 1 + 6
321 * command_easy: 4, "|", 2061 // = 2 << 10 + 1 + 12
322 * command_easy: 4, "|", 3092 // = 3 << 10 + 1 + 19
323 * command_easy: 4, "|", 4120 // = 4 << 10 + 1 + 23
324 * command_easy: 4, "|", 5150 // = 5 << 10 + 1 + 29
325 * command_easy: 4, "|", 6184 // = 6 << 10 + 1 + 39
326 * command_easy: 4, "|", 7214 // = 7 << 10 + 1 + 45
327 * command_easy: 4, "|", 8246 // = 8 << 10 + 1 + 53
328 * command_easy: 4, "|", 9279 // = 9 << 10 + 1 + 62
329 * command_easy: 4, "|", 10308 // = 10 << 10 + 1 + 67
330 * command_easy: 4, "|", 11342 // = 11 << 10 + 1 + 77
331 * command_easy: 4, "|", 12369 // = 12 << 10 + 1 + 80
332 * command_easy: 4, "|", 13397 // = 13 << 10 + 1 + 84
333 * command_easy: 4, "|", 14429 // = 14 << 10 + 1 + 92
334 * command_easy: 4, "|", 15460 // = 15 << 10 + 1 + 99
335 * command_easy: 4, "|", 16491 // = 16 << 10 + 1 + 106
336 * command_easy: 4, "|", 17524 // = 17 << 10 + 1 + 115
337 * command_easy: 4, "|", 18557 // = 18 << 10 + 1 + 124
338 * command_easy: 4, "|", 19589 // = 19 << 10 + 1 + 132
339 * command_easy: 4, "|", 20619 // = 20 << 10 + 1 + 138
340 * command_easy: 4, "|", 21649 // = 21 << 10 + 1 + 144
341 * command_easy: 4, "|", 22680 // = 22 << 10 + 1 + 151
342 * command_easy: 4, "|", 23710 // = 23 << 10 + 1 + 157
343 * command_easy: 4, "|", 24736 // = 24 << 10 + 1 + 159
344 * command_easy: 4, "|", 25766 // = 25 << 10 + 1 + 165
345 * command_easy: 4, "|", 26800 // = 26 << 10 + 1 + 175
346 * command_easy: 4, "|", 27826 // = 27 << 10 + 1 + 177
347 * command_easy: 4, "|", 28853 // = 28 << 10 + 1 + 180
348 * command_easy: 4, "|", 29885 // = 29 << 10 + 1 + 188
349 * command_easy: 4, "|", 30920 // = 30 << 10 + 1 + 199
350 * command_easy: 4, "|", 31950 // = 31 << 10 + 1 + 205
351 * command_easy: 4, "|", 32981 // = 32 << 10 + 1 + 212
352 * command_easy: 4, "|", 34011 // = 33 << 10 + 1 + 218
353 * command_easy: 4, "|", 35043 // = 34 << 10 + 1 + 226
354 * command_easy: 4, "|", 36068 // = 35 << 10 + 1 + 227
355 * command_easy: 4, "|", 37103 // = 36 << 10 + 1 + 238
356 * command_easy: 4, "|", 38133 // = 37 << 10 + 1 + 244
357 * command_easy: 4, "|", 39168 // = 38 << 10 + 1 + 255
358 * command_easy: 4, "|", 40201 // = 39 << 10 + 1 + 264
359 * command_easy: 4, "|", 41226 // = 40 << 10 + 1 + 265
360 * command_easy: 4, "|", 42251 // = 41 << 10 + 1 + 266
361 * command_easy: 4, "|", 43285 // = 42 << 10 + 1 + 276
362 * command_easy: 4, "|", 44310 // = 43 << 10 + 1 + 277
363 * command_easy: 4, "|", 45345 // = 44 << 10 + 1 + 288
364 * command_easy: 4, "|", 46374 // = 45 << 10 + 1 + 293
365 * command_easy: 4, "|", 47407 // = 46 << 10 + 1 + 302
366 * command_easy: 4, "|", 48440 // = 47 << 10 + 1 + 311
367 * command_easy: 4, "|", 49473 // = 48 << 10 + 1 + 320
368 * command_easy: 4, "|", 50498 // = 49 << 10 + 1 + 321
369 * command_easy: 4, "|", 51530 // = 50 << 10 + 1 + 329
370 * command_easy: 4, "|", 52561 // = 51 << 10 + 1 + 336
371 * command_easy: 4, "|", 53591 // = 52 << 10 + 1 + 342
372 * command_easy: 4, "|", 54623 // = 53 << 10 + 1 + 350
373 * command_easy: 4, "|", 55655 // = 54 << 10 + 1 + 358
374 * command_easy: 4, "|", 56680 // = 55 << 10 + 1 + 359
375 * command_easy: 4, "|", 57705 // = 56 << 10 + 1 + 360
376 * command_easy: 4, "|", 58730 // = 57 << 10 + 1 + 361
377 * command_easy: 4, "|", 59760 // = 58 << 10 + 1 + 367
378 * command_easy: 4, "|", 60791 // = 59 << 10 + 1 + 374
379 * command_easy: 4, "|", 61816 // = 60 << 10 + 1 + 375
380 * command_easy: 4, "|", 62849 // = 61 << 10 + 1 + 384
381 * command_easy: 4, "|", 63881 // = 62 << 10 + 1 + 392
382 * command_easy: 4, "|", 64919 // = 63 << 10 + 1 + 406
383 * command_easy: 4, "|", 65944 // = 64 << 10 + 1 + 407
384 * command_easy: 4, "|", 66969 // = 65 << 10 + 1 + 408
385 * command_easy: 4, "|", 68001 // = 66 << 10 + 1 + 416
386 * command_easy: 4, "|", 69031 // = 67 << 10 + 1 + 422
387 * command_easy: 4, "|", 70062 // = 68 << 10 + 1 + 429
388 * command_easy: 4, "|", 71092 // = 69 << 10 + 1 + 435
389 * command_easy: 4, "|", 72123 // = 70 << 10 + 1 + 442
390 * command_easy: 4, "|", 73154 // = 71 << 10 + 1 + 449
391 * command_easy: 4, "|", 74185 // = 72 << 10 + 1 + 456
392 * command_easy: 4, "|", 75219 // = 73 << 10 + 1 + 466
393 * command_easy: 4, "|", 76261 // = 74 << 10 + 1 + 484
394 * command_easy: 4, "|", 77291 // = 75 << 10 + 1 + 490
395 * command_easy: 4, "|", 78327 // = 76 << 10 + 1 + 502
396 * command_easy: 4, "|", 79357 // = 77 << 10 + 1 + 508
397 * command_easy: 4, "|", 80388 // = 78 << 10 + 1 + 515
398 * command_easy: 4, "|", 81418 // = 79 << 10 + 1 + 521
399 * command_easy: 4, "|", 82448 // = 80 << 10 + 1 + 527
400 * command_easy: 4, "|", 83482 // = 81 << 10 + 1 + 537
401 * command_easy: 4, "|", 84514 // = 82 << 10 + 1 + 545
402 * command_easy: 4, "|", 85546 // = 83 << 10 + 1 + 553
403 * command_easy: 4, "|", 86577 // = 84 << 10 + 1 + 560
404 * command_easy: 4, "|", 87609 // = 85 << 10 + 1 + 568
405 * command_easy: 4, "|", 88639 // = 86 << 10 + 1 + 574
406 * command_easy: 4, "|", 89670 // = 87 << 10 + 1 + 581
407 * command_easy: 4, "|", 90700 // = 88 << 10 + 1 + 587
408 * command_easy: 4, "|", 91731 // = 89 << 10 + 1 + 594
409 * command_easy: 4, "|", 92762 // = 90 << 10 + 1 + 601
410 * command_easy: 4, "|", 93795 // = 91 << 10 + 1 + 610
411 * command_easy: 4, "|", 94827 // = 92 << 10 + 1 + 618
412 * command_easy: 4, "|", 95860 // = 93 << 10 + 1 + 627
413 * command_easy: 4, "|", 96894 // = 94 << 10 + 1 + 637
414 * command_easy: 4, "|", 97924 // = 95 << 10 + 1 + 643
415 * command_easy: 4, "|", 98957 // = 96 << 10 + 1 + 652
416 * command_easy: 4, "|", 99988 // = 97 << 10 + 1 + 659
417 * command_easy: 4, "|", 101019 // = 98 << 10 + 1 + 666
418 * command_easy: 4, "|", 102051 // = 99 << 10 + 1 + 674
419 * command_easy: 4, "|", 103081 // = 100 << 10 + 1 + 680
420 * command_easy: 4, "|", 104114 // = 101 << 10 + 1 + 689
421 * command_easy: 4, "|", 105144 // = 102 << 10 + 1 + 695
422 * command_easy: 4, "|", 106175 // = 103 << 10 + 1 + 702
423 * command_easy: 4, "|", 107206 // = 104 << 10 + 1 + 709
424 * command_easy: 4, "|", 108237 // = 105 << 10 + 1 + 716
425 * command_easy: 4, "|", 109268 // = 106 << 10 + 1 + 723
426 * command_easy: 4, "|", 110301 // = 107 << 10 + 1 + 732
427 * command_easy: 4, "|", 111332 // = 108 << 10 + 1 + 739
428 * command_easy: 4, "|", 112363 // = 109 << 10 + 1 + 746
429 * command_easy: 4, "|", 113394 // = 110 << 10 + 1 + 753
430 * command_easy: 4, "|", 114426 // = 111 << 10 + 1 + 761
431 * command_easy: 4, "|", 115458 // = 112 << 10 + 1 + 769
432 * command_easy: 4, "|", 116488 // = 113 << 10 + 1 + 775
433 * command_easy: 4, "|", 117518 // = 114 << 10 + 1 + 781
434 * command_easy: 4, "|", 118549 // = 115 << 10 + 1 + 788
435 * command_easy: 4, "|", 119580 // = 116 << 10 + 1 + 795
436 * command_easy: 4, "|", 120611 // = 117 << 10 + 1 + 802
437 * command_easy: 4, "|", 121643 // = 118 << 10 + 1 + 810
438 * command_easy: 4, "|", 122675 // = 119 << 10 + 1 + 818
439 * command_easy: 4, "|", 123707 // = 120 << 10 + 1 + 826
440 */
441 compressed,
442 true,
443 "|time|time | time |ime|Time |time the | time|s time |time of |Time|time " +
444 "and |me|tim|, time |time, | Time |time in |time to |e time |time\"|time." +
445 "|time\">|time\n|t|time]|time for |e|ti|time a |time that | Time|time. |." +
446 "time| time, ||time with |time'|time from |time by ||| the time||time. Th" +
447 "e |TIME|time on |time as |time is ||timing |time\n\t|time:| time. |timee" +
448 "d ||||time(|Time, ||time at |timely | the time of ||| Time, |Time\"|.tim" +
449 "e(|TIME |Time\">|time=\"| time.|.com/time| the time of the |Time'|time. " +
450 "This |time,|.time |Time(|Time.|time not | time=\"|timeer | TIME |timeal " +
451 "| TIME|time='|TIME\"|Time. | time(|timeful | Time. |timeive |timeless |T" +
452 "IME'|timeest | Time.|TIME\">| time='|Time,|timeize |TIME.|\302\240time| " +
453 "time,|Time=\"|TIME=\"|timeous |TIME, |Time='| Time,| TIME=\"| TIME, |TIM" +
454 "E,|TIME(|TIME. | TIME.|TIME='| TIME. | Time=\"| TIME='| Time='",
455 );
456 }
457
458 func TestBaseDictWord(t *testing.T) {
459 compressed := []uint8{
460 0x1b, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
461 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x02,
462 };
463 verify(t,
464 /*
465 * // The stream consists of a base dictionary word.
466 * main_header
467 * metablock_header_easy: 4, 1
468 * command_inscopy_easy: 0, 4
469 * command_dist_easy: 1
470 */
471 compressed,
472 true,
473 "time",
474 );
475 }
476
477 func TestBaseDictWordFinishBlockOnRingbufferWrap(t *testing.T) {
478 compressed := []uint8{
479 0x1b, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
480 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x9b, 0x58, 0x32,
481 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34,
482 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x34,
483 0x34, 0x34, 0x34, 0xd4, 0x00,
484 };
485 verify(t,
486 /*
487 * main_header
488 * metablock_header_easy: 32, 1 // 32 = minimal ringbuffer size
489 * command_easy: 4, "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", 29
490 */
491 compressed,
492 true,
493 times(28, "a") +
494 "time",
495 );
496 }
497
498 func TestBaseDictWordTooLong(t *testing.T) {
499 compressed := []uint8{
500 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
501 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x02,
502 };
503 verify(t,
504 /*
505 * // Has an unmodified dictionary word that goes over the end of the
506 * // meta-block. Same as BaseDictWord, but with a shorter meta-block length.
507 * main_header
508 * metablock_header_easy: 1, 1
509 * command_inscopy_easy: 0, 4
510 * command_dist_easy: 1
511 */
512 compressed,
513 false,
514 "",
515 );
516 }
517
518 func TestBlockCountMessage(t *testing.T) {
519 compressed := []uint8{
520 0x1b, 0x0b, 0x00, 0x11, 0x01, 0x8c, 0xc1, 0xc5, 0x0d, 0x08, 0x00, 0x22,
521 0x65, 0xe1, 0xfc, 0xfd, 0x22, 0x2c, 0xc4, 0x00, 0x00, 0x38, 0xd8, 0x32,
522 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0x04, 0x10, 0x42, 0x00, 0x00,
523 0x00,
524 };
525 verify(t,
526 /*
527 * // Same as BlockSwitchMessage but also uses 0-bit block-type commands.
528 * main_header
529 * metablock_header_begin: 1, 0, 12, 0
530 * // two literal block types
531 * vlq_blocktypes: 2
532 * huffman_simple: 1,1,4, 1 // literal blocktype prefix code
533 * huffman_fixed: 26 // literal blockcount prefix code
534 * blockcount_easy: 2 // 2 a's
535 * // one ins/copy and dist block type
536 * vlq_blocktypes: 1
537 * vlq_blocktypes: 1
538 * ndirect: 0, 0
539 * // two MSB6 literal context modes
540 * bits: "00", "00"
541 * // two literal prefix codes
542 * vlq_blocktypes: 2
543 * // literal context map
544 * vlq_rlemax: 5
545 * huffman_simple: 0,3,7, 5,0,6 // context map RLE Huffman code
546 * // context map RLE: repeat 0 64 times, 1+5 64 times
547 * bits: "01", "0", "11111", "11", "0", "11111"
548 * bit: 1 // MTF enabled
549 * // one distance prefix code
550 * vlq_blocktypes: 1
551 * huffman_simple: 0,1,256, 97 // only a's
552 * huffman_simple: 0,1,256, 98 // only b's
553 * huffman_fixed: 704
554 * huffman_fixed: 64
555 * // now comes the data
556 * command_inscopy_easy: 12, 0
557 * blockcount_easy: 2 // switch to other block type; 2 b's
558 * blockcount_easy: 5 // switch to other block type; 5 a's
559 * blockcount_easy: 1 // switch to other block type; 1 b
560 * blockcount_easy: 1 // switch to other block type; 1 a
561 * blockcount_easy: 1 // switch to other block type; 1 b
562 */
563 compressed,
564 true,
565 "aabbaaaaabab",
566 );
567 }
568
569 func TestBlockSwitchMessage(t *testing.T) {
570 compressed := []uint8{
571 0x1b, 0x0b, 0x00, 0xd1, 0xe1, 0x01, 0xc6, 0xe0, 0xe2, 0x06, 0x04, 0x00,
572 0x91, 0xb2, 0x70, 0xfe, 0x7e, 0x11, 0x16, 0x62, 0x00, 0x00, 0x1c, 0x6c,
573 0x99, 0xc4, 0x00, 0x09, 0x00, 0x80, 0x3b, 0x6d, 0x02, 0x08, 0x82, 0x00,
574 0x00, 0x00,
575 };
576 verify(t,
577 /*
578 * // Uses blocks with 1-symbol Huffman codes that take 0 bits, so that it
579 * // is the block-switch commands that encode the message rather than actual
580 * // literals.
581 * main_header
582 * metablock_header_begin: 1, 0, 12, 0
583 * // two literal block types
584 * vlq_blocktypes: 2
585 * huffman_simple: 1,4,4, 1,0,2,3 // literal blocktype prefix code
586 * huffman_fixed: 26 // literal blockcount prefix code
587 * blockcount_easy: 2 // 2 a's
588 * // one ins/copy and dist block type
589 * vlq_blocktypes: 1
590 * vlq_blocktypes: 1
591 * ndirect: 0, 0
592 * // two MSB6 literal context modes
593 * bits: "00", "00"
594 * // two literal prefix codes
595 * vlq_blocktypes: 2
596 * // literal context map
597 * vlq_rlemax: 5
598 * huffman_simple: 0,3,7, 5,0,6 // context map RLE Huffman code
599 * // context map RLE: repeat 0 64 times, 1+5 64 times
600 * bits: "01", "0", "11111", "11", "0", "11111"
601 * bit: 1 // MTF enabled
602 * // one distance prefix code
603 * vlq_blocktypes: 1
604 * huffman_simple: 0,1,256, 97 // only a's
605 * huffman_simple: 0,1,256, 98 // only b's
606 * huffman_fixed: 704
607 * huffman_fixed: 64
608 * // now comes the data
609 * command_inscopy_easy: 12, 0
610 * bits: "0"; blockcount_easy: 2 // switch to other block type; 2 b's
611 * bits: "0"; blockcount_easy: 5 // switch to other block type; 5 a's
612 * bits: "0"; blockcount_easy: 1 // switch to other block type; 1 b
613 * bits: "0"; blockcount_easy: 1 // switch to other block type; 1 a
614 * bits: "0"; blockcount_easy: 1 // switch to other block type; 1 b
615 */
616 compressed,
617 true,
618 "aabbaaaaabab",
619 );
620 }
621
622 func TestClClTreeDeficiency(t *testing.T) {
623 compressed := []uint8{
624 0x1b, 0x03, 0x00, 0x00, 0x00, 0x01, 0x80, 0x43, 0x01, 0xe0, 0x05, 0x88,
625 0x55, 0x90, 0x01, 0x00, 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x00, 0x00,
626 0x77, 0xda, 0x28, 0x40, 0x23,
627 };
628 verify(t,
629 /*
630 * // This test is a copy of TooManySymbolsRepeated, with changed clcl table.
631 * main_header
632 * metablock_header_begin: 1, 0, 4, 0
633 * metablock_header_trivial_context
634 * hskip: 0
635 * clcl_ordered: 0,3,0,0,0,0,0,0,3,3,0,0,0,0,0,0,1,0
636 * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "101",\
637 * "", "", "", "", "", "", "0", ""
638 * cl_rle: 8
639 * cl_rle_rep: 9, 96
640 * cl_rle: 1
641 * cl_rle_rep: 9, 159 // 1 + 96 + 1 + 159 = 257 > 256 = alphabet size
642 * huffman_fixed: 704
643 * huffman_fixed: 64
644 * command_inscopy_easy: 4, 0
645 * command_literal_bits: 0, 0, 0, 101100010
646 */
647 compressed,
648 false,
649 "aaab",
650 );
651 }
652
653 func TestClClTreeExcess(t *testing.T) {
654 compressed := []uint8{
655 0x1b, 0x03, 0x00, 0x00, 0x00, 0x01, 0x80, 0xc3, 0x7b, 0x80, 0x58, 0x41,
656 0x06, 0x00, 0xe0, 0x60, 0xcb, 0x24, 0x06, 0x48, 0x00, 0x00, 0xdc, 0x69,
657 0xa3, 0x00, 0x8d, 0x00,
658 };
659 verify(t,
660 /*
661 * // This test is a copy of ClClTreeDeficiency, with changed clcl table.
662 * main_header
663 * metablock_header_begin: 1, 0, 4, 0
664 * metablock_header_trivial_context
665 * hskip: 0
666 * clcl_ordered: 0,3,0,0,0,0,0,0,3,1,0,0,0,0,0,0,1,0
667 * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "1",\
668 * "", "", "", "", "", "", "0", ""
669 * cl_rle: 8
670 * cl_rle_rep: 9, 96
671 * cl_rle: 1
672 * cl_rle_rep: 9, 159 // 1 + 96 + 1 + 159 = 257 > 256 = alphabet size
673 * huffman_fixed: 704
674 * huffman_fixed: 64
675 * command_inscopy_easy: 4, 0
676 * command_literal_bits: 0, 0, 0, 101100010
677 */
678 compressed,
679 false,
680 "aaab",
681 );
682 }
683
684 func TestComplexHuffmanCodeTwoSymbols(t *testing.T) {
685 compressed := []uint8{
686 0x1b, 0x01, 0x00, 0x00, 0x80, 0x03, 0xe0, 0xa2, 0x1a, 0x00, 0x00, 0x0e,
687 0xb6, 0x4c, 0x62, 0x80, 0x04, 0x00, 0xc0, 0x9d, 0x36, 0x12, 0x04,
688 };
689 verify(t,
690 /*
691 * // This tests a complex Huffman code with only two symbols followed by a
692 * // tiny amount of content.
693 * main_header
694 * metablock_header_begin: 1, 0, 2, 0
695 * metablock_header_trivial_context
696 * // begin of literal Huffman tree. The tree has symbol length 1 for "a",
697 * // symbol length 1 for "b" and symbol length 0 for all others.
698 * hskip: 0
699 * clcl_ordered: 0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
700 * set_prefix_cl_rle: "", "0", "", "", "", "", "", "", "", "",\
701 * "", "", "", "", "", "", "", "1"
702 * cl_rle_rep_0: 97
703 * cl_rle: 1 // literal number 97, that is, the letter 'a'
704 * cl_rle: 1 // literal number 98, that is, the letter 'b'
705 * // end of literal Huffman tree
706 * huffman_fixed: 704
707 * huffman_fixed: 64
708 * command_inscopy_easy: 2, 0
709 * command_literal_bits: 0, 1 // a followed by b
710 */
711 compressed,
712 true,
713 "ab",
714 );
715 }
716
717 func TestCompressedUncompressedShortCompressed(t *testing.T) {
718 compressed := []uint8{
719 0x8b, 0xfe, 0x01, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
720 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x9b, 0x66, 0x6f,
721 0x1b, 0x0a, 0x50, 0x00, 0x10, 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x31,
722 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0,
723 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x24, 0x00,
724 };
725 verify(t,
726 /*
727 * main_header: 22
728 * metablock_header_easy: 1022, 0
729 * command_easy: 1021, "a", 1 // 1022 x "a"
730 * metablock_uncompressed: "bbbbbb"
731 * metablock_header_easy: 4, 1
732 * command_easy: 4, "", 1 // 6 + 4 = 10 x "b"
733 */
734 compressed,
735 true,
736 times(1022, "a") +
737 times(10, "b"),
738 );
739 }
740
741 func TestCompressedUncompressedShortCompressedSmallWindow(t *testing.T) {
742 compressed := []uint8{
743 0x21, 0xf4, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x1c, 0xa7, 0x6d, 0x00, 0x00,
744 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0x34, 0x7b,
745 0xdb, 0x50, 0x80, 0x02, 0x80, 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x31,
746 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0,
747 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x24, 0x00,
748 };
749 verify(t,
750 /*
751 * main_header: 10
752 * metablock_header_easy: 1022, 0
753 * command_easy: 1021, "a", 1 // 1022 x "a"
754 * metablock_uncompressed: "bbbbbb"
755 * metablock_header_easy: 4, 1
756 * command_easy: 4, "", 1 // 6 + 4 = 10 x "b"
757 */
758 compressed,
759 true,
760 times(1022, "a") +
761 times(10, "b"),
762 );
763 }
764
765 func TestCopyLengthTooLong(t *testing.T) {
766 compressed := []uint8{
767 0x1b, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
768 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x11, 0x86,
769 0x02,
770 };
771 verify(t,
772 /*
773 * // Has a copy length that goes over the end of the meta-block.
774 * // Same as OneCommand, but with a shorter meta-block length.
775 * main_header
776 * metablock_header_easy: 2, 1
777 * command_easy: 2, "a", 1
778 */
779 compressed,
780 false,
781 "",
782 );
783 }
784
785 func TestCopyTooLong(t *testing.T) {
786 compressed := []uint8{
787 0xa1, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0xa7, 0x6d, 0x00, 0x00,
788 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0x34, 0xab,
789 0xdb, 0x50, 0x00,
790 };
791 verify(t,
792 /*
793 * // Has a copy length that goes over the end of the meta-block,
794 * // with a ringbuffer wrap.
795 * main_header: 10
796 * metablock_header_easy: 2, 1
797 * command_easy: 1024, "a", 1
798 */
799 compressed,
800 false,
801 "",
802 );
803 }
804
805 func TestCustomHuffmanCode(t *testing.T) {
806 compressed := []uint8{
807 0x1b, 0x03, 0x00, 0x00, 0x00, 0x01, 0x80, 0xc3, 0x3d, 0x80, 0x58, 0x82,
808 0x08, 0x00, 0xc0, 0xc1, 0x96, 0x49, 0x0c, 0x90, 0x00, 0x00, 0xb8, 0xd3,
809 0x46, 0x01, 0x1a, 0x01,
810 };
811 verify(t,
812 /*
813 * // This tests a small hand crafted Huffman code followed by a tiny amount
814 * // of content. This tests if the bit reader detects the end correctly even
815 * // with tiny content after a larger Huffman tree encoding.
816 * main_header
817 * metablock_header_begin: 1, 0, 4, 0
818 * metablock_header_trivial_context
819 * // begin of literal Huffman tree. The tree has symbol length 1 for "a",
820 * // symbol length 8 for null, symbol length 9 for all others. The length 1
821 * // for a is chosen on purpose here, the others must be like that to
822 * // fulfill the requirement that sum of 32>>length is 32768.
823 * hskip: 0
824 * clcl_ordered: 0,3,0,0,0,0,0,0,3,2,0,0,0,0,0,0,1,0
825 * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "10",\
826 * "", "", "", "", "", "", "0", ""
827 * cl_rle: 8
828 * cl_rle_rep: 9, 96
829 * cl_rle: 1 // literal number 97, that is, the letter 'a'
830 * cl_rle_rep: 9, 158
831 * // end of literal Huffman tree
832 * huffman_fixed: 704
833 * huffman_fixed: 64
834 * command_inscopy_easy: 4, 0
835 * // Here is how the code "101100010" for b is derived: remember that a has
836 * // symbol length 1, null has symbol length 8, the rest 9. So in the
837 * // canonical Huffman code, the code for "a" is "0", for null is
838 * // "10000000". The next value has "100000010" (cfr. the rules of canonical
839 * // prefix code). Counting upwards +95 from there, the value "@" (ASCII 96,
840 * // before "a") has "101100001", and so b, the next 9-bit symbol, has the
841 * // next binary value "101100010".
842 * command_literal_bits: 0, 0, 0, 101100010 // 3 a's followed by a b
843 */
844 compressed,
845 true,
846 "aaab",
847 );
848 }
849
850 func TestDistanceLut(t *testing.T) {
851 compressed := []uint8{
852 0x8b, 0x02, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
853 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x99, 0x86,
854 0x46, 0xc6, 0x22, 0x14, 0x00, 0x00, 0x03, 0x00, 0x00, 0x1c, 0xa7, 0x6d,
855 0x00, 0x00, 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x21, 0x91, 0x69, 0x62,
856 0x6a, 0x36,
857 };
858 verify(t,
859 /*
860 * main_header
861 * metablock_header_easy: 6, 0 // implicit ndirect: 0, 0
862 * command_easy: 3, "abc", 3 // Insert "abc", copy "abc"
863 * metablock_header_begin: 0, 0, 6, 0
864 * vlq_blocktypes: 1 // num litetal block types
865 * vlq_blocktypes: 1 // num command block types
866 * vlq_blocktypes: 1 // num distance block types
867 * ndirect: 3, 0
868 * bits: "00" // literal context modes
869 * vlq_blocktypes: 1 // num literal Huffman trees
870 * // command has no context -> num trees == num block types
871 * vlq_blocktypes: 1 // num distance Huffman trees
872 * huffman_fixed: 256
873 * huffman_fixed: 704
874 * huffman_simple: 0,1,67, 18
875 * command_inscopy_easy: 3, 3 // Insert 3, copy 3
876 * command_literals_easy: "def"
877 * // 0-bit Huffman code : dcode = 18 -> third direct distance
878 * metablock_lastempty // make sure that no extra distance bits are read
879 */
880 compressed,
881 true,
882 "abcabcdefdef",
883 );
884 }
885
886 func TestEmpty(t *testing.T) {
887 compressed := []uint8{
888 0x3b,
889 };
890 verify(t,
891 /*
892 * main_header
893 * metablock_lastempty
894 */
895 compressed,
896 true,
897 "",
898 );
899 }
900
901 func TestHelloWorld(t *testing.T) {
902 compressed := []uint8{
903 0x1b, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
904 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x9b, 0x00, 0x59,
905 0x98, 0xda, 0xd8, 0xd8, 0x13, 0xb8, 0xdb, 0x3b, 0xd9, 0x98, 0x00,
906 };
907 verify(t,
908 /*
909 * main_header
910 * metablock_fixed: "hello world", 1
911 */
912 compressed,
913 true,
914 "hello world",
915 );
916 }
917
918 func TestInsertTooLong(t *testing.T) {
919 compressed := []uint8{
920 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
921 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x09, 0x86,
922 0x46,
923 };
924 verify(t,
925 /*
926 * // Has an insert length that goes over the end of the meta-block.
927 * // Same as OneInsert, but with a shorter meta-block length.
928 * main_header
929 * metablock_header_easy: 1, 1
930 * command_easy: 0, "ab"
931 */
932 compressed,
933 false,
934 "",
935 );
936 }
937
938 func TestIntactDistanceRingBuffer0(t *testing.T) {
939 compressed := []uint8{
940 0x1b, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
941 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0xa1, 0x80,
942 0x20, 0x00,
943 };
944 verify(t,
945 /*
946 * main_header
947 * metablock_header_easy: 11, 1
948 * command_inscopy_easy: 0, 7 // "himself" from dictionary
949 * bits: "000000" // distance = 4 from RB; RB remains intact
950 * command_inscopy_easy: 0, 4 // copy "self"
951 * bits: "000000" // distance = 4 from RB; RB remains intact
952 */
953 compressed,
954 true,
955 "himselfself",
956 );
957 }
958
959 func TestIntactDistanceRingBuffer1(t *testing.T) {
960 compressed := []uint8{
961 0x1b, 0x09, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
962 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x21, 0xa0,
963 0x20, 0x00,
964 };
965 verify(t,
966 /*
967 * main_header
968 * metablock_header_easy: 10, 1
969 * command_inscopy_easy: 0, 6 // "scroll" from dictionary
970 * bits: "100000" // distance = 11 from RB; RB remains intact
971 * command_inscopy_easy: 0, 4 // copy "roll"
972 * bits: "000000" // distance = 4 from RB; RB remains intact
973 */
974 compressed,
975 true,
976 "scrollroll",
977 );
978 }
979
980 func TestIntactDistanceRingBuffer2(t *testing.T) {
981 compressed := []uint8{
982 0x1b, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
983 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x80,
984 0x20, 0x50, 0x10, 0x24, 0x08, 0x06,
985 };
986 verify(t,
987 /*
988 * main_header
989 * metablock_header_easy: 16, 1
990 * command_inscopy_easy: 0, 4 // "left" from dictionary (index = 3 = 4 - 1)
991 * bits: "000000" // distance = 4 from RB; RB remains intact
992 * command_inscopy_easy: 0, 4 // "data" from dictionary (index = 6 = 11 - 5)
993 * bits: "100000" // distance = 11 from RB; RB remains intact
994 * command_inscopy_easy: 0, 4 // "data" from dictionary (index = 6 = 15 - 9)
995 * bits: "010000" // distance = 15 from RB; RB remains intact
996 * command_inscopy_easy: 0, 4 // "left" from dictionary (index = 3 = 16 - 13)
997 * bits: "110000" // distance = 16 from RB; RB remains intact
998 */
999 compressed,
1000 true,
1001 "leftdatadataleft",
1002 );
1003 }
1004
1005 func TestIntactDistanceRingBufferNoDistanceValue0(t *testing.T) {
1006 compressed := []uint8{
1007 0x1b, 0x17, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1008 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x40, 0x82,
1009 0x40, 0x41, 0x90, 0x20, 0x58, 0x18, 0x00,
1010 };
1011 verify(t,
1012 /*
1013 * main_header
1014 * metablock_header_easy: 24, 1
1015 * // cmd is {ins_extra, copy_extra, distance_code, ctx, ins_off, copy_off}
1016 * // cmd.2 = {0x00, 0x00, 0, 0x02, 0x0000, 0x0004}
1017 * // cmd.2 = no insert, copy length = 4, distance_code = 0 (last distance)
1018 * command_short: 2 // "left" from dictionary (index = 3 = 4 - 1)
1019 * // Check that RB is untouched after the first command...
1020 * command_inscopy_easy: 0, 4 // "data" from dictionary (index = 6 = 11 - 5)
1021 * bits: "100000" // distance = 11 from RB; RB remains intact
1022 * command_inscopy_easy: 0, 4 // "data" from dictionary (index = 6 = 15 - 9)
1023 * bits: "010000" // distance = 15 from RB; RB remains intact
1024 * command_inscopy_easy: 0, 4 // "left" from dictionary (index = 3 = 16 - 13)
1025 * bits: "110000" // distance = 16 from RB; RB remains intact
1026 * command_inscopy_easy: 0, 8 // copy "leftleft"
1027 * bits: "000000" // distance = 4 from RB; RB remains intact
1028 */
1029 compressed,
1030 true,
1031 "leftdatadataleftleftleft",
1032 );
1033 }
1034
1035 func TestIntactDistanceRingBufferNoDistanceValue1(t *testing.T) {
1036 compressed := []uint8{
1037 0x1b, 0x19, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1038 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0xc0, 0x82,
1039 0x41, 0x41, 0x90, 0x20, 0x58, 0x18, 0x00,
1040 };
1041 verify(t,
1042 /*
1043 * main_header
1044 * metablock_header_easy: 26, 1
1045 * // cmd is {ins_extra, copy_extra, distance_code, ctx, ins_off, copy_off}
1046 * // cmd.3 = {0x00, 0x00, 0, 0x03, 0x0000, 0x0005}
1047 * // cmd.3 = no insert, copy length = 5, distance_code = 0 (last distance)
1048 * command_short: 3 // "world" from dictionary (index = 3 = 4 - 1)
1049 * // Check that RB is untouched after the first command...
1050 * command_inscopy_easy: 0, 5 // "white" from dictionary (index = 5 = 11 - 6)
1051 * bits: "100000" // distance = 11 from RB; RB remains intact
1052 * command_inscopy_easy: 0, 4 // "back" from dictionary (index = 4 = 15 - 11)
1053 * bits: "010000" // distance = 15 from RB; RB remains intact
1054 * command_inscopy_easy: 0, 4 // "down" from dictionary (index = 1 = 16 - 15)
1055 * bits: "110000" // distance = 16 from RB; RB remains intact
1056 * command_inscopy_easy: 0, 8 // copy "downdown"
1057 * bits: "000000" // distance = 4 from RB; RB remains intact
1058 */
1059 compressed,
1060 true,
1061 "worldwhitebackdowndowndown",
1062 );
1063 }
1064
1065 func TestInvalidNoLastMetablock(t *testing.T) {
1066 compressed := []uint8{
1067 0x0b, 0x06, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1068 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x9b, 0x00, 0x13,
1069 0x59, 0x98, 0xda, 0xd8, 0xd8, 0x13, 0xb8, 0xdb, 0x3b, 0xd9, 0x98, 0xe8,
1070 0x00,
1071 };
1072 verify(t,
1073 /*
1074 * main_header
1075 * metablock_fixed: \"hello world\", 0
1076 */
1077 compressed,
1078 false,
1079 "hello world",
1080 );
1081 }
1082
1083 func TestInvalidNoMetaBlocks(t *testing.T) {
1084 compressed := []uint8{
1085 0x0b,
1086 };
1087 verify(t,
1088 /*
1089 * main_header
1090 */
1091 compressed,
1092 false,
1093 "",
1094 );
1095 }
1096
1097 func TestInvalidTooFarDist(t *testing.T) {
1098 compressed := []uint8{
1099 0xa1, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0xa7, 0x6d, 0x00, 0x00,
1100 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0xe8, 0xe0,
1101 0x62, 0x6f, 0x4f, 0x60, 0x66, 0xe8, 0x44, 0x38, 0x0f, 0x09, 0x0d,
1102 };
1103 verify(t,
1104 /*
1105 * main_header: 10
1106 * metablock_header_begin: 1, 0, 10, 0
1107 * metablock_header_trivial_context
1108 * huffman_fixed: 256
1109 * huffman_fixed: 704
1110 * huffman_fixed: 64
1111 * command_easy: 2, "too far!", 1000000 // distance too far for 10 wbits
1112 */
1113 compressed,
1114 false,
1115 "",
1116 );
1117 }
1118
1119 func TestInvalidTooLargeContextMap(t *testing.T) {
1120 compressed := []uint8{
1121 0x1b, 0x00, 0x00, 0xd1, 0xe1, 0x01, 0xc6, 0xe0, 0xe2, 0x06, 0x00, 0x00,
1122 0x91, 0xb2, 0x70, 0xfe, 0xfb, 0x45, 0x58, 0x88, 0x01, 0x00, 0x70, 0xb0,
1123 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x01,
1124 };
1125 verify(t,
1126 /*
1127 * // Has a repeat code a context map that makes the size too big -> invalid.
1128 * main_header
1129 * metablock_header_begin: 1, 0, 1, 0
1130 * // two literal block types
1131 * vlq_blocktypes: 2
1132 * huffman_simple: 1,4,4, 1,0,2,3 // literal blocktype prefix code
1133 * huffman_fixed: 26 // literal blockcount prefix code
1134 * blockcount_easy: 1
1135 * // one ins/copy and dist block type
1136 * vlq_blocktypes: 1
1137 * vlq_blocktypes: 1
1138 * ndirect: 0, 0
1139 * // two MSB6 literal context modes
1140 * bits: "00", "00"
1141 * // two literal prefix codes
1142 * vlq_blocktypes: 2
1143 * // literal context map
1144 * vlq_rlemax: 5
1145 * huffman_simple: 0,3,7, 5,0,6 // context map RLE Huffman code
1146 * // Too long context map RLE: repeat 0 64 times, 1+5 65 times, that is 129
1147 * // values which is 1 too much.
1148 * bits: "01", "0", "11111", "11", "11", "0", "11111"
1149 * bit: 1 // MTF enabled
1150 * // one distance prefix code
1151 * vlq_blocktypes: 1
1152 * huffman_simple: 0,1,256, 97 // only a's
1153 * huffman_simple: 0,1,256, 98 // only b's
1154 * huffman_fixed: 704
1155 * huffman_fixed: 64
1156 * // now comes the data
1157 * command_inscopy_easy: 1, 0
1158 */
1159 compressed,
1160 false,
1161 "a",
1162 );
1163 }
1164
1165 func TestInvalidTransformType(t *testing.T) {
1166 compressed := []uint8{
1167 0x1b, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1168 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x2d,
1169 0x01, 0x19,
1170 };
1171 verify(t,
1172 /*
1173 * main_header
1174 * metablock_header_easy: 4, 1
1175 * command_inscopy_easy: 0, 4
1176 * command_dist_easy: 123905 // = 121 << 10 + 1
1177 */
1178 compressed,
1179 false,
1180 "",
1181 );
1182 }
1183
1184 func TestInvalidWindowBits9(t *testing.T) {
1185 compressed := []uint8{
1186 0x91, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0xa7, 0x6d, 0x00, 0x00,
1187 0x38, 0xd8, 0x32, 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0xc8, 0x20,
1188 0x32, 0xd4, 0x01,
1189 };
1190 verify(t,
1191 /*
1192 * main_header: 9
1193 * metablock_fixed: \"a\", 1
1194 */
1195 compressed,
1196 false,
1197 "a",
1198 );
1199 }
1200
1201 func TestManyTinyMetablocks(t *testing.T) {
1202 compressed := []uint8{
1203 0x0b, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1204 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1205 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1206 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1207 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1208 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1209 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1210 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1211 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1212 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1213 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1214 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1215 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1216 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1217 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1218 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1219 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1220 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1221 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1222 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1223 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1224 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1225 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1226 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1227 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1228 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1229 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1230 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1231 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1232 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1233 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1234 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1235 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1236 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1237 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1238 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1239 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1240 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1241 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1242 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1243 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1244 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1245 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1246 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1247 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1248 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1249 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1250 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1251 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1252 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1253 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1254 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1255 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1256 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1257 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1258 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1259 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1260 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1261 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1262 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1263 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1264 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1265 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1266 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1267 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1268 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1269 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1270 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1271 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1272 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1273 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1274 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1275 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1276 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1277 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1278 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1279 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1280 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1281 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1282 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1283 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1284 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1285 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1286 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1287 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1288 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1289 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1290 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1291 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1292 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1293 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1294 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1295 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1296 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1297 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1298 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1299 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1300 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1301 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1302 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1303 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1304 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1305 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1306 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1307 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1308 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1309 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1310 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1311 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1312 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1313 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1314 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1315 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1316 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1317 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1318 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1319 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1320 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1321 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1322 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1323 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1324 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1325 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1326 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1327 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1328 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1329 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1330 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1331 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1332 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1333 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1334 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1335 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1336 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1337 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1338 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1339 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1340 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1341 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1342 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1343 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1344 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1345 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1346 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1347 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1348 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1349 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1350 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1351 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1352 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1353 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1354 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1355 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1356 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1357 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1358 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1359 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1360 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1361 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1362 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1363 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1364 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1365 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1366 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1367 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1368 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1369 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1370 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1371 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1372 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1373 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1374 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1375 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1376 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1377 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1378 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1379 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1380 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1381 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1382 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1383 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1384 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1385 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1386 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1387 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1388 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1389 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1390 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1391 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1392 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1393 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1394 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1395 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1396 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1397 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1398 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1399 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1400 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1401 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1402 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1403 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1404 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1405 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1406 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1407 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1408 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1409 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1410 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1411 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1412 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1413 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1414 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1415 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1416 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1417 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1418 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1419 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1420 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1421 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1422 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1423 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1424 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1425 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1426 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1427 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1428 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1429 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1430 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1431 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1432 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1433 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1434 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1435 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1436 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1437 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1438 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1439 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1440 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1441 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1442 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1443 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1444 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1445 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1446 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1447 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1448 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1449 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1450 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1451 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1452 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1453 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1454 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1455 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1456 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1457 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1458 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1459 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1460 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1461 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1462 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1463 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1464 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1465 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1466 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1467 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1468 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1469 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1470 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1471 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1472 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1473 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1474 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1475 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1476 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1477 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1478 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1479 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1480 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1481 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1482 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1483 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1484 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1485 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1486 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1487 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1488 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1489 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1490 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1491 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1492 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1493 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1494 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1495 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1496 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1497 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1498 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1499 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1500 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1501 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1502 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1503 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1504 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1505 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1506 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1507 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1508 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1509 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1510 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1511 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1512 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1513 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1514 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1515 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1516 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1517 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1518 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1519 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1520 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1521 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1522 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1523 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1524 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1525 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1526 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1527 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1528 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1529 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1530 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1531 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1532 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1533 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1534 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1535 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1536 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1537 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1538 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1539 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1540 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1541 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1542 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1543 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1544 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1545 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1546 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1547 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1548 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1549 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1550 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1551 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1552 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1553 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1554 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1555 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1556 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1557 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1558 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1559 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1560 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1561 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1562 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1563 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1564 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1565 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1566 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1567 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1568 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1569 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1570 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1571 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1572 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1573 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1574 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1575 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1576 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1577 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1578 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1579 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1580 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1581 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1582 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1583 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1584 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1585 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1586 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1587 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1588 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1589 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1590 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1591 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1592 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1593 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1594 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1595 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1596 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1597 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1598 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1599 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1600 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1601 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1602 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1603 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1604 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1605 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1606 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1607 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1608 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1609 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1610 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1611 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1612 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1613 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1614 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1615 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1616 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1617 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1618 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1619 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1620 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1621 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1622 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1623 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1624 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1625 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1626 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1627 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1628 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1629 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1630 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1631 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1632 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1633 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1634 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1635 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1636 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1637 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1638 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1639 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1640 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1641 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1642 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1643 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1644 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1645 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1646 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1647 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1648 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1649 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1650 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1651 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1652 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1653 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1654 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1655 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1656 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1657 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1658 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1659 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1660 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1661 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1662 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1663 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1664 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1665 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1666 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1667 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1668 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1669 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1670 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1671 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1672 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1673 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1674 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1675 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1676 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1677 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1678 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1679 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1680 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1681 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1682 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1683 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1684 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1685 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1686 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1687 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1688 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1689 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1690 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1691 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1692 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1693 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1694 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1695 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1696 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1697 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1698 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1699 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1700 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1701 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1702 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1703 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1704 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1705 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1706 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1707 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1708 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1709 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1710 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1711 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1712 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1713 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1714 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1715 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1716 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1717 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1718 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1719 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1720 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1721 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1722 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1723 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1724 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1725 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1726 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1727 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1728 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1729 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1730 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1731 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1732 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1733 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1734 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1735 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1736 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1737 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1738 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1739 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1740 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1741 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1742 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1743 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1744 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1745 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1746 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1747 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1748 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1749 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1750 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1751 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1752 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1753 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1754 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1755 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1756 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1757 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1758 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1759 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1760 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1761 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1762 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1763 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1764 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1765 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1766 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1767 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1768 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1769 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1770 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1771 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1772 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1773 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1774 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1775 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1776 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1777 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1778 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1779 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1780 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1781 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1782 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1783 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1784 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1785 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1786 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1787 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1788 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1789 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1790 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1791 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1792 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1793 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1794 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1795 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1796 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1797 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1798 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1799 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1800 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1801 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1802 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1803 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1804 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1805 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1806 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1807 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1808 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1809 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1810 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1811 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1812 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1813 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1814 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1815 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1816 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1817 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1818 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1819 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1820 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1821 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1822 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1823 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1824 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1825 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1826 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1827 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1828 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1829 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1830 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1831 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1832 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1833 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1834 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1835 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1836 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1837 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1838 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1839 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1840 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1841 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1842 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1843 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1844 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1845 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1846 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1847 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1848 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1849 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1850 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1851 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1852 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1853 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1854 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1855 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1856 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1857 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1858 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1859 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1860 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1861 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1862 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1863 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1864 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1865 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1866 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1867 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1868 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1869 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e,
1870 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee,
1871 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00,
1872 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
1873 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80, 0x61, 0x00, 0x00,
1874 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65,
1875 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61, 0x04, 0x00, 0x80,
1876 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1877 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x11, 0x61,
1878 0x34,
1879 };
1880 verify(t,
1881 /*
1882 * main_header
1883 * repeat: 300
1884 * metablock_uncompressed: "a"
1885 * metablock_fixed: "b"
1886 * end_repeat
1887 * metablock_lastempty
1888 */
1889 compressed,
1890 true,
1891 times(300, "ab"),
1892 );
1893 }
1894
1895 func TestNegativeDistance(t *testing.T) {
1896 compressed := []uint8{
1897 0x1b, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1898 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x02,
1899 0x01, 0x42, 0x01, 0x42, 0x01, 0x42, 0x01, 0x42, 0x01, 0x42, 0x01, 0x1c,
1900 };
1901 verify(t,
1902 /*
1903 * main_header
1904 * metablock_header_easy: 16, 1
1905 * command_inscopy_easy: 0, 4 // time
1906 * command_dist_easy: 1
1907 * command_inscopy_easy: 0, 2 // me
1908 * command_dist_easy: 2
1909 * command_inscopy_easy: 0, 2 // me
1910 * command_dist_easy: 2
1911 * command_inscopy_easy: 0, 2 // me
1912 * command_dist_easy: 2
1913 * command_inscopy_easy: 0, 2 // me
1914 * command_dist_easy: 2
1915 * command_inscopy_easy: 0, 2 // me
1916 * command_dist_easy: 2 // All rb items are 2 now
1917 * command_inscopy_easy: 0, 2
1918 * bits: "011100" // 15 -> distance = rb[idx + 2] - 3
1919 */
1920 compressed,
1921 false,
1922 "timemememememeXX",
1923 );
1924 }
1925
1926 func TestNegativeRemainingLenBetweenMetablocks(t *testing.T) {
1927 compressed := []uint8{
1928 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1929 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x09, 0x86,
1930 0x46, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00,
1931 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x91, 0x60,
1932 0x68, 0x04,
1933 };
1934 verify(t,
1935 /*
1936 * main_header
1937 * metablock_header_easy: 1, 0
1938 * command_easy: 0, "ab" // remaining length == -1 -> invalid stream
1939 * metablock_header_easy: 2, 1
1940 * command_easy: 0, "ab"
1941 */
1942 compressed,
1943 false,
1944 "abab",
1945 );
1946 }
1947
1948 func TestOneCommand(t *testing.T) {
1949 compressed := []uint8{
1950 0x1b, 0x02, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1951 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x11, 0x86,
1952 0x02,
1953 };
1954 verify(t,
1955 /*
1956 * // The stream consists of one command with insert and copy.
1957 * main_header
1958 * metablock_header_easy: 3, 1
1959 * command_easy: 2, "a", 1
1960 */
1961 compressed,
1962 true,
1963 "aaa",
1964 );
1965 }
1966
1967 func TestOneInsert(t *testing.T) {
1968 compressed := []uint8{
1969 0x1b, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
1970 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x09, 0x86,
1971 0x46,
1972 };
1973 verify(t,
1974 /*
1975 * // The stream consists of one half command with insert only.
1976 * main_header
1977 * metablock_header_easy: 2, 1
1978 * command_easy: 0, "ab"
1979 */
1980 compressed,
1981 true,
1982 "ab",
1983 );
1984 }
1985
1986 func TestPeculiarWrap(t *testing.T) {
1987 compressed := []uint8{
1988 0x21, 0xfc, 0x1f, 0x00, 0x00, 0xa1, 0x12, 0x82, 0x04, 0x60, 0x1d, 0x00,
1989 0xca, 0xfe, 0xba, 0xbe, 0xde, 0xad, 0xbe, 0xef, 0x21, 0x00, 0x00, 0x00,
1990 0x00, 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03,
1991 0x24, 0x00, 0x00, 0xee, 0xb4, 0x91, 0x61, 0x68, 0x64, 0x0c,
1992 };
1993 verify(t,
1994 /*
1995 * main_header: 10
1996 * // See ZeroCostCommand
1997 * metablock_header_begin: 0, 0, 2048, 0
1998 * metablock_header_trivial_context
1999 * huffman_simple: 0,1,256, 42
2000 * huffman_simple: 0,1,704, 130
2001 * huffman_simple: 0,1,64, 0
2002 * // Metadata block; at least 8 bytes long
2003 * bits: "0", "11", "0", "01", "00000111"
2004 * byte_boundary
2005 * bits: "11001010", "11111110", "10111010", "10111110"
2006 * bits: "11011110", "10101101", "10111110", "11101111"
2007 * metablock_header_easy: 3, 1
2008 * command_easy: 0, "abc", 0
2009 */
2010 compressed,
2011 true,
2012 times(512, "left") +
2013 "abc",
2014 );
2015 }
2016
2017 func TestSimplePrefix(t *testing.T) {
2018 compressed := []uint8{
2019 0x1b, 0x03, 0x00, 0x00, 0xa0, 0xc3, 0xc4, 0xc6, 0xc8, 0x02, 0x00, 0x70,
2020 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x51, 0xa0, 0x1d,
2021 };
2022 verify(t,
2023 /*
2024 * main_header
2025 * metablock_header_begin: 1, 0, 4, 0
2026 * metablock_header_trivial_context
2027 * huffman_simple: 1,4,256, 97,98,99,100 // ASCII codes for a, b, c, d
2028 * huffman_fixed: 704
2029 * huffman_fixed: 64
2030 * command_inscopy_easy: 4, 0
2031 * command_literal_bits: 0, 10, 110, 111 // a, b, c, d
2032 */
2033 compressed,
2034 true,
2035 "abcd",
2036 );
2037 }
2038
2039 func TestSimplePrefixDuplicateSymbols(t *testing.T) {
2040 compressed := []uint8{
2041 0x1b, 0x03, 0x00, 0x00, 0xa0, 0xc3, 0xc4, 0xc2, 0xc4, 0x02, 0x00, 0x70,
2042 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x51, 0xa0, 0x1d,
2043 };
2044 verify(t,
2045 /*
2046 * main_header
2047 * metablock_header_begin: 1, 0, 4, 0
2048 * metablock_header_trivial_context
2049 * huffman_simple: 1,4,256, 97,98,97,98 // ASCII codes for a, b, a, b
2050 * huffman_fixed: 704
2051 * huffman_fixed: 64
2052 * command_inscopy_easy: 4, 0
2053 * command_literal_bits: 0, 10, 110, 111 // a, b, a, b
2054 */
2055 compressed,
2056 false,
2057 "abab",
2058 );
2059 }
2060
2061 func TestSimplePrefixOutOfRangeSymbols(t *testing.T) {
2062 compressed := []uint8{
2063 0x1b, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x4d, 0xff, 0xef,
2064 0x7f, 0xff, 0xfc, 0x07, 0x00, 0xb8, 0xd3, 0x06,
2065 };
2066 verify(t,
2067 /*
2068 * main_header
2069 * metablock_header_begin: 1, 0, 4, 0
2070 * metablock_header_trivial_context
2071 * huffman_fixed: 256
2072 * huffman_simple: 1,4,704, 1023,1022,1021,1020
2073 * huffman_fixed: 64
2074 */
2075 compressed,
2076 false,
2077 "",
2078 );
2079 }
2080
2081 func TestSimplePrefixPlusExtraData(t *testing.T) {
2082 t.Skip("nevermind")
2083 compressed := []uint8{
2084 0x1b, 0x03, 0x00, 0x00, 0xa0, 0xc3, 0xc4, 0xc6, 0xc8, 0x02, 0x00, 0x70,
2085 0xb0, 0x65, 0x12, 0x03, 0x24, 0x00, 0x00, 0xee, 0xb4, 0x51, 0xa0, 0x1d,
2086 0x55, 0xaa,
2087 };
2088 verify(t,
2089 /*
2090 * main_header
2091 * metablock_header_begin: 1, 0, 4, 0
2092 * metablock_header_trivial_context
2093 * huffman_simple: 1,4,256, 97,98,99,100 // ASCII codes for a, b, c, d
2094 * huffman_fixed: 704
2095 * huffman_fixed: 64
2096 * command_inscopy_easy: 4, 0
2097 * command_literal_bits: 0, 10, 110, 111 // a, b, c, d
2098 * byte_boundary
2099 * bits: "01010101", "10101010"
2100 */
2101 compressed,
2102 true,
2103 "abcd",
2104 );
2105 }
2106
2107 func TestStressReadDistanceExtraBits(t *testing.T) {
2108 compressed := []uint8{
2109 0x4f, 0xfe, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00,
2110 0x00, 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x9b, 0xf6,
2111 0x69, 0xef, 0xff, 0x0c, 0x8d, 0x8c, 0x05, 0x10, 0x00, 0x00, 0x00, 0x00,
2112 0x00, 0x38, 0x4e, 0xdb, 0x00, 0x00, 0x70, 0xb0, 0x65, 0x12, 0x03, 0x24,
2113 0xa8, 0xaa, 0xef, 0xab, 0xaa, 0x7f, 0x24, 0x16, 0x35, 0x8f, 0xac, 0x9e,
2114 0x3d, 0xf7, 0xf3, 0xe3, 0x0a, 0xfc, 0xff, 0x03, 0x00, 0x00, 0x78, 0x01,
2115 0x08, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41,
2116 0x42, 0x43, 0x44, 0x45, 0x46, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
2117 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x30, 0x31, 0x32,
2118 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45,
2119 0x46, 0x03,
2120 };
2121 verify(t,
2122 /*
2123 * main_header: 24
2124 * metablock_header_easy: 8388605, 0 // 2^23 - 3 = shortest 22-bit distance
2125 * command_easy: 8388602, "abc", 1
2126 * metablock_header_begin: 0, 0, 3, 0
2127 * vlq_blocktypes: 1 // num litetal block types
2128 * vlq_blocktypes: 1 // num command block types
2129 * vlq_blocktypes: 1 // num distance block types
2130 * ndirect: 0, 0
2131 * bits: "00" // literal context modes
2132 * vlq_blocktypes: 1 // num literal Huffman trees
2133 * // command has no context -> num trees == num block types
2134 * vlq_blocktypes: 1 // num distance Huffman trees
2135 * huffman_fixed: 256
2136 * huffman_fixed: 704
2137 * // Begin of distance Huffman tree. First 15 codes have lengths 1 to 15.
2138 * // Symbol that corresponds to first half of 22-bit distance range is also
2139 * // 15. All other symbols are 0.
2140 * hskip: 0
2141 * clcl_ordered: 4,4,4,4, 4,4,4,4, 4,4,4,4, 4,4, 5,5,5,5
2142 * set_prefix_cl_rle: "0000", "0001", "0010", "0011", \
2143 * "0100", "0101", "0110", "0111", \
2144 * "1000", "1001", "1010", "1011", \
2145 * "1100", "1101", \
2146 * "11100", "11101", "11110", "11111"
2147 * cl_rle: 1
2148 * cl_rle: 2
2149 * cl_rle: 3
2150 * cl_rle: 4
2151 * cl_rle: 5
2152 * cl_rle: 6
2153 * cl_rle: 7
2154 * cl_rle: 8
2155 * cl_rle: 9
2156 * cl_rle: 10
2157 * cl_rle: 11
2158 * cl_rle: 12
2159 * cl_rle: 13
2160 * cl_rle: 14
2161 * cl_rle: 15
2162 * cl_rle_rep_0: 43
2163 * cl_rle: 15 // literal number 97, that is, the letter 'a'
2164 * // end of literal Huffman tree
2165 * command_inscopy_easy: 0, 3 // Insert 0, copy 3
2166 * // 15 bits of distance code plus 22 extra bits
2167 * command_dist_bits: "111111111111111", "0000000000000000000000"
2168 * metablock_uncompressed: "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
2169 * metablock_lastempty
2170 */
2171 compressed,
2172 true,
2173 "abc" +
2174 times(8388602, "c") +
2175 "abc" +
2176 times(3, "0123456789ABCDEF"),
2177 );
2178 }
2179
2180 func TestTooManySymbolsRepeated(t *testing.T) {
2181 compressed := []uint8{
2182 0x1b, 0x03, 0x00, 0x00, 0x00, 0x01, 0x80, 0xc3, 0x3d, 0x80, 0x58, 0x82,
2183 0x0c, 0x00, 0xc0, 0xc1, 0x96, 0x49, 0x0c, 0x90, 0x00, 0x00, 0xb8, 0xd3,
2184 0x46, 0x01, 0x1a, 0x01,
2185 };
2186 verify(t,
2187 /*
2188 * // This test is a copy of CustomHuffmanCode, with changed repeat count.
2189 * main_header
2190 * metablock_header_begin: 1, 0, 4, 0
2191 * metablock_header_trivial_context
2192 * hskip: 0
2193 * clcl_ordered: 0,3,0,0,0,0,0,0,3,2,0,0,0,0,0,0,1,0
2194 * set_prefix_cl_rle: "", "110", "", "", "", "", "", "", "111", "10",\
2195 * "", "", "", "", "", "", "0", ""
2196 * cl_rle: 8
2197 * cl_rle_rep: 9, 96
2198 * cl_rle: 1
2199 * cl_rle_rep: 9, 159 // 1 + 96 + 1 + 159 = 257 > 256 = alphabet size
2200 * huffman_fixed: 704
2201 * huffman_fixed: 64
2202 * command_inscopy_easy: 4, 0
2203 * command_literal_bits: 0, 0, 0, 101100010
2204 */
2205 compressed,
2206 false,
2207 "aaab",
2208 );
2209 }
2210
2211 func TestTransformedDictWord(t *testing.T) {
2212 compressed := []uint8{
2213 0x1b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
2214 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x09,
2215 0x01, 0x01,
2216 };
2217 verify(t,
2218 /*
2219 * // The stream consists of a transformed dictionary word.
2220 * main_header
2221 * metablock_header_easy: 9, 1
2222 * command_inscopy_easy: 0, 4
2223 * command_dist_easy: 5121 // 5 << 10 + 1
2224 */
2225 compressed,
2226 true,
2227 "time the ",
2228 );
2229 }
2230
2231 func TestTransformedDictWordTooLong(t *testing.T) {
2232 compressed := []uint8{
2233 0x1b, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe3, 0xb4, 0x0d, 0x00, 0x00,
2234 0x07, 0x5b, 0x26, 0x31, 0x40, 0x02, 0x00, 0xe0, 0x4e, 0x1b, 0x41, 0x09,
2235 0x01, 0x01,
2236 };
2237 verify(t,
2238 /*
2239 * // Has a transformed dictionary word that goes over the end of the
2240 * // meta-block, but the base dictionary word fits in the meta-block.
2241 * // Same as TransformedDictWord, but with a shorter meta-block length.
2242 * main_header
2243 * metablock_header_easy: 4, 1
2244 * command_inscopy_easy: 0, 4
2245 * command_dist_easy: 5121 // 5 << 10 + 1
2246 */
2247 compressed,
2248 false,
2249 "",
2250 );
2251 }
2252
2253 func TestZeroCostCommand(t *testing.T) {
2254 compressed := []uint8{
2255 0xa1, 0xf8, 0x1f, 0x00, 0x00, 0xa1, 0x12, 0x82, 0x04, 0x00,
2256 };
2257 verify(t,
2258 /*
2259 * main_header: 10
2260 * metablock_header_begin: 1, 0, 1024, 0 // last, not empty, length, compressed
2261 * metablock_header_trivial_context
2262 * huffman_simple: 0,1,256, 42 // literal: any
2263 * huffman_simple: 0,1,704, 130 // command: insert = 0, copy = 4, distance_code = -1
2264 * huffman_simple: 0,1,64, 0 // distance: last
2265 * // 256 0-bit commands with direct distances
2266 */
2267 compressed,
2268 true,
2269 times(256, "left"),
2270 );
2271 }
2272
2273 func TestZeroCostLiterals(t *testing.T) {
2274 compressed := []uint8{
2275 0x9b, 0xff, 0xff, 0xff, 0x00, 0x20, 0x54, 0x00, 0x00, 0x38, 0xd8, 0x32,
2276 0x89, 0x01, 0x12, 0x00, 0x00, 0x77, 0xda, 0xcc, 0xe1, 0x7b, 0xfa, 0x0f,
2277 };
2278 verify(t,
2279 /*
2280 * main_header
2281 * metablock_header_begin: 1, 0, 16777216, 0
2282 * metablock_header_trivial_context
2283 * huffman_simple: 0,1,256, 42 // Single symbol alphabet
2284 * huffman_fixed: 704
2285 * huffman_fixed: 64
2286 * command_inscopy_easy: 16777216, 0
2287 * // 16777216 times 0 bits
2288 */
2289 compressed,
2290 true,
2291 times(16777216, "*"),
2292 );
2293 }
2294
2295 /* GENERATED CODE END */