msgpack 0.4.3-mswin32 → 0.4.4-mswin32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/compat.h +77 -0
- data/ext/extconf.rb +1 -1
- data/ext/pack.c +20 -9
- data/ext/rbinit.c +15 -0
- data/ext/unpack.c +219 -67
- data/ext/version.rb +1 -1
- data/lib/1.8/msgpack.so +0 -0
- data/lib/1.9/msgpack.so +0 -0
- data/msgpack/pack_template.h +32 -32
- data/msgpack/sysdep.h +6 -4
- data/test/test_cases.rbc +1152 -0
- data/test/test_encoding.rb +68 -0
- data/test/test_helper.rb +3 -1
- data/test/test_helper.rbc +227 -0
- data/test/test_pack_unpack.rb +15 -10
- data/test/test_pack_unpack.rbc +5863 -0
- metadata +15 -5
data/ext/version.rb
CHANGED
data/lib/1.8/msgpack.so
CHANGED
Binary file
|
data/lib/1.9/msgpack.so
CHANGED
Binary file
|
data/msgpack/pack_template.h
CHANGED
@@ -69,7 +69,7 @@ do { \
|
|
69
69
|
} else { \
|
70
70
|
/* unsigned 16 */ \
|
71
71
|
unsigned char buf[3]; \
|
72
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
72
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
73
73
|
msgpack_pack_append_buffer(x, buf, 3); \
|
74
74
|
} \
|
75
75
|
} while(0)
|
@@ -89,12 +89,12 @@ do { \
|
|
89
89
|
if(d < (1<<16)) { \
|
90
90
|
/* unsigned 16 */ \
|
91
91
|
unsigned char buf[3]; \
|
92
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
92
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
93
93
|
msgpack_pack_append_buffer(x, buf, 3); \
|
94
94
|
} else { \
|
95
95
|
/* unsigned 32 */ \
|
96
96
|
unsigned char buf[5]; \
|
97
|
-
buf[0] = 0xce; _msgpack_store32(&buf[1], d); \
|
97
|
+
buf[0] = 0xce; _msgpack_store32(&buf[1], (uint32_t)d); \
|
98
98
|
msgpack_pack_append_buffer(x, buf, 5); \
|
99
99
|
} \
|
100
100
|
} \
|
@@ -103,7 +103,7 @@ do { \
|
|
103
103
|
#define msgpack_pack_real_uint64(x, d) \
|
104
104
|
do { \
|
105
105
|
if(d < (1ULL<<8)) { \
|
106
|
-
if(d < (
|
106
|
+
if(d < (1ULL<<7)) { \
|
107
107
|
/* fixnum */ \
|
108
108
|
msgpack_pack_append_buffer(x, &TAKE8_64(d), 1); \
|
109
109
|
} else { \
|
@@ -115,12 +115,12 @@ do { \
|
|
115
115
|
if(d < (1ULL<<16)) { \
|
116
116
|
/* unsigned 16 */ \
|
117
117
|
unsigned char buf[3]; \
|
118
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
118
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
119
119
|
msgpack_pack_append_buffer(x, buf, 3); \
|
120
120
|
} else if(d < (1ULL<<32)) { \
|
121
121
|
/* unsigned 32 */ \
|
122
122
|
unsigned char buf[5]; \
|
123
|
-
buf[0] = 0xce; _msgpack_store32(&buf[1], d); \
|
123
|
+
buf[0] = 0xce; _msgpack_store32(&buf[1], (uint32_t)d); \
|
124
124
|
msgpack_pack_append_buffer(x, buf, 5); \
|
125
125
|
} else { \
|
126
126
|
/* unsigned 64 */ \
|
@@ -149,7 +149,7 @@ do { \
|
|
149
149
|
if(d < -(1<<7)) { \
|
150
150
|
/* signed 16 */ \
|
151
151
|
unsigned char buf[3]; \
|
152
|
-
buf[0] = 0xd1; _msgpack_store16(&buf[1], d); \
|
152
|
+
buf[0] = 0xd1; _msgpack_store16(&buf[1], (int16_t)d); \
|
153
153
|
msgpack_pack_append_buffer(x, buf, 3); \
|
154
154
|
} else { \
|
155
155
|
/* signed 8 */ \
|
@@ -167,7 +167,7 @@ do { \
|
|
167
167
|
} else { \
|
168
168
|
/* unsigned 16 */ \
|
169
169
|
unsigned char buf[3]; \
|
170
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
170
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
171
171
|
msgpack_pack_append_buffer(x, buf, 3); \
|
172
172
|
} \
|
173
173
|
} \
|
@@ -179,12 +179,12 @@ do { \
|
|
179
179
|
if(d < -(1<<15)) { \
|
180
180
|
/* signed 32 */ \
|
181
181
|
unsigned char buf[5]; \
|
182
|
-
buf[0] = 0xd2; _msgpack_store32(&buf[1], d); \
|
182
|
+
buf[0] = 0xd2; _msgpack_store32(&buf[1], (int32_t)d); \
|
183
183
|
msgpack_pack_append_buffer(x, buf, 5); \
|
184
184
|
} else if(d < -(1<<7)) { \
|
185
185
|
/* signed 16 */ \
|
186
186
|
unsigned char buf[3]; \
|
187
|
-
buf[0] = 0xd1; _msgpack_store16(&buf[1], d); \
|
187
|
+
buf[0] = 0xd1; _msgpack_store16(&buf[1], (int16_t)d); \
|
188
188
|
msgpack_pack_append_buffer(x, buf, 3); \
|
189
189
|
} else { \
|
190
190
|
/* signed 8 */ \
|
@@ -202,12 +202,12 @@ do { \
|
|
202
202
|
} else if(d < (1<<16)) { \
|
203
203
|
/* unsigned 16 */ \
|
204
204
|
unsigned char buf[3]; \
|
205
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
205
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
206
206
|
msgpack_pack_append_buffer(x, buf, 3); \
|
207
207
|
} else { \
|
208
208
|
/* unsigned 32 */ \
|
209
209
|
unsigned char buf[5]; \
|
210
|
-
buf[0] = 0xce; _msgpack_store32(&buf[1], d); \
|
210
|
+
buf[0] = 0xce; _msgpack_store32(&buf[1], (uint32_t)d); \
|
211
211
|
msgpack_pack_append_buffer(x, buf, 5); \
|
212
212
|
} \
|
213
213
|
} \
|
@@ -225,14 +225,14 @@ do { \
|
|
225
225
|
} else { \
|
226
226
|
/* signed 32 */ \
|
227
227
|
unsigned char buf[5]; \
|
228
|
-
buf[0] = 0xd2; _msgpack_store32(&buf[1], d); \
|
228
|
+
buf[0] = 0xd2; _msgpack_store32(&buf[1], (int32_t)d); \
|
229
229
|
msgpack_pack_append_buffer(x, buf, 5); \
|
230
230
|
} \
|
231
231
|
} else { \
|
232
232
|
if(d < -(1<<7)) { \
|
233
233
|
/* signed 16 */ \
|
234
234
|
unsigned char buf[3]; \
|
235
|
-
buf[0] = 0xd1; _msgpack_store16(&buf[1], d); \
|
235
|
+
buf[0] = 0xd1; _msgpack_store16(&buf[1], (int16_t)d); \
|
236
236
|
msgpack_pack_append_buffer(x, buf, 3); \
|
237
237
|
} else { \
|
238
238
|
/* signed 8 */ \
|
@@ -252,14 +252,14 @@ do { \
|
|
252
252
|
} else { \
|
253
253
|
/* unsigned 16 */ \
|
254
254
|
unsigned char buf[3]; \
|
255
|
-
buf[0] = 0xcd; _msgpack_store16(&buf[1], d); \
|
255
|
+
buf[0] = 0xcd; _msgpack_store16(&buf[1], (uint16_t)d); \
|
256
256
|
msgpack_pack_append_buffer(x, buf, 3); \
|
257
257
|
} \
|
258
258
|
} else { \
|
259
259
|
if(d < (1LL<<32)) { \
|
260
260
|
/* unsigned 32 */ \
|
261
261
|
unsigned char buf[5]; \
|
262
|
-
buf[0] = 0xce; _msgpack_store32(&buf[1], d); \
|
262
|
+
buf[0] = 0xce; _msgpack_store32(&buf[1], (uint32_t)d); \
|
263
263
|
msgpack_pack_append_buffer(x, buf, 5); \
|
264
264
|
} else { \
|
265
265
|
/* unsigned 64 */ \
|
@@ -272,63 +272,63 @@ do { \
|
|
272
272
|
} while(0)
|
273
273
|
|
274
274
|
|
275
|
-
#ifdef
|
275
|
+
#ifdef msgpack_pack_inline_func_fixint
|
276
276
|
|
277
|
-
|
277
|
+
msgpack_pack_inline_func_fixint(_uint8)(msgpack_pack_user x, uint8_t d)
|
278
278
|
{
|
279
279
|
unsigned char buf[2] = {0xcc, TAKE8_8(d)};
|
280
280
|
msgpack_pack_append_buffer(x, buf, 2);
|
281
281
|
}
|
282
282
|
|
283
|
-
|
283
|
+
msgpack_pack_inline_func_fixint(_uint16)(msgpack_pack_user x, uint16_t d)
|
284
284
|
{
|
285
285
|
unsigned char buf[3];
|
286
286
|
buf[0] = 0xcd; _msgpack_store16(&buf[1], d);
|
287
287
|
msgpack_pack_append_buffer(x, buf, 3);
|
288
288
|
}
|
289
289
|
|
290
|
-
|
290
|
+
msgpack_pack_inline_func_fixint(_uint32)(msgpack_pack_user x, uint32_t d)
|
291
291
|
{
|
292
292
|
unsigned char buf[5];
|
293
293
|
buf[0] = 0xce; _msgpack_store32(&buf[1], d);
|
294
294
|
msgpack_pack_append_buffer(x, buf, 5);
|
295
295
|
}
|
296
296
|
|
297
|
-
|
297
|
+
msgpack_pack_inline_func_fixint(_uint64)(msgpack_pack_user x, uint64_t d)
|
298
298
|
{
|
299
299
|
unsigned char buf[9];
|
300
300
|
buf[0] = 0xcf; _msgpack_store64(&buf[1], d);
|
301
301
|
msgpack_pack_append_buffer(x, buf, 9);
|
302
302
|
}
|
303
303
|
|
304
|
-
|
304
|
+
msgpack_pack_inline_func_fixint(_int8)(msgpack_pack_user x, int8_t d)
|
305
305
|
{
|
306
306
|
unsigned char buf[2] = {0xd0, TAKE8_8(d)};
|
307
307
|
msgpack_pack_append_buffer(x, buf, 2);
|
308
308
|
}
|
309
309
|
|
310
|
-
|
310
|
+
msgpack_pack_inline_func_fixint(_int16)(msgpack_pack_user x, int16_t d)
|
311
311
|
{
|
312
312
|
unsigned char buf[3];
|
313
313
|
buf[0] = 0xd1; _msgpack_store16(&buf[1], d);
|
314
314
|
msgpack_pack_append_buffer(x, buf, 3);
|
315
315
|
}
|
316
316
|
|
317
|
-
|
317
|
+
msgpack_pack_inline_func_fixint(_int32)(msgpack_pack_user x, int32_t d)
|
318
318
|
{
|
319
319
|
unsigned char buf[5];
|
320
320
|
buf[0] = 0xd2; _msgpack_store32(&buf[1], d);
|
321
321
|
msgpack_pack_append_buffer(x, buf, 5);
|
322
322
|
}
|
323
323
|
|
324
|
-
|
324
|
+
msgpack_pack_inline_func_fixint(_int64)(msgpack_pack_user x, int64_t d)
|
325
325
|
{
|
326
326
|
unsigned char buf[9];
|
327
327
|
buf[0] = 0xd3; _msgpack_store64(&buf[1], d);
|
328
328
|
msgpack_pack_append_buffer(x, buf, 9);
|
329
329
|
}
|
330
330
|
|
331
|
-
#undef
|
331
|
+
#undef msgpack_pack_inline_func_fixint
|
332
332
|
#endif
|
333
333
|
|
334
334
|
|
@@ -690,11 +690,11 @@ msgpack_pack_inline_func(_array)(msgpack_pack_user x, unsigned int n)
|
|
690
690
|
msgpack_pack_append_buffer(x, &d, 1);
|
691
691
|
} else if(n < 65536) {
|
692
692
|
unsigned char buf[3];
|
693
|
-
buf[0] = 0xdc; _msgpack_store16(&buf[1], n);
|
693
|
+
buf[0] = 0xdc; _msgpack_store16(&buf[1], (uint16_t)n);
|
694
694
|
msgpack_pack_append_buffer(x, buf, 3);
|
695
695
|
} else {
|
696
696
|
unsigned char buf[5];
|
697
|
-
buf[0] = 0xdd; _msgpack_store32(&buf[1], n);
|
697
|
+
buf[0] = 0xdd; _msgpack_store32(&buf[1], (uint32_t)n);
|
698
698
|
msgpack_pack_append_buffer(x, buf, 5);
|
699
699
|
}
|
700
700
|
}
|
@@ -711,11 +711,11 @@ msgpack_pack_inline_func(_map)(msgpack_pack_user x, unsigned int n)
|
|
711
711
|
msgpack_pack_append_buffer(x, &TAKE8_8(d), 1);
|
712
712
|
} else if(n < 65536) {
|
713
713
|
unsigned char buf[3];
|
714
|
-
buf[0] = 0xde; _msgpack_store16(&buf[1], n);
|
714
|
+
buf[0] = 0xde; _msgpack_store16(&buf[1], (uint16_t)n);
|
715
715
|
msgpack_pack_append_buffer(x, buf, 3);
|
716
716
|
} else {
|
717
717
|
unsigned char buf[5];
|
718
|
-
buf[0] = 0xdf; _msgpack_store32(&buf[1], n);
|
718
|
+
buf[0] = 0xdf; _msgpack_store32(&buf[1], (uint32_t)n);
|
719
719
|
msgpack_pack_append_buffer(x, buf, 5);
|
720
720
|
}
|
721
721
|
}
|
@@ -732,11 +732,11 @@ msgpack_pack_inline_func(_raw)(msgpack_pack_user x, size_t l)
|
|
732
732
|
msgpack_pack_append_buffer(x, &TAKE8_8(d), 1);
|
733
733
|
} else if(l < 65536) {
|
734
734
|
unsigned char buf[3];
|
735
|
-
buf[0] = 0xda; _msgpack_store16(&buf[1], l);
|
735
|
+
buf[0] = 0xda; _msgpack_store16(&buf[1], (uint16_t)l);
|
736
736
|
msgpack_pack_append_buffer(x, buf, 3);
|
737
737
|
} else {
|
738
738
|
unsigned char buf[5];
|
739
|
-
buf[0] = 0xdb; _msgpack_store32(&buf[1], l);
|
739
|
+
buf[0] = 0xdb; _msgpack_store32(&buf[1], (uint32_t)l);
|
740
740
|
msgpack_pack_append_buffer(x, buf, 5);
|
741
741
|
}
|
742
742
|
}
|
data/msgpack/sysdep.h
CHANGED
@@ -18,8 +18,9 @@
|
|
18
18
|
#ifndef MSGPACK_SYSDEP_H__
|
19
19
|
#define MSGPACK_SYSDEP_H__
|
20
20
|
|
21
|
-
|
22
|
-
#
|
21
|
+
#include <stdlib.h>
|
22
|
+
#include <stddef.h>
|
23
|
+
#if defined(_MSC_VER) && _MSC_VER < 1600
|
23
24
|
typedef __int8 int8_t;
|
24
25
|
typedef unsigned __int8 uint8_t;
|
25
26
|
typedef __int16 int16_t;
|
@@ -28,8 +29,9 @@ typedef __int32 int32_t;
|
|
28
29
|
typedef unsigned __int32 uint32_t;
|
29
30
|
typedef __int64 int64_t;
|
30
31
|
typedef unsigned __int64 uint64_t;
|
32
|
+
#elif defined(_MSC_VER) // && _MSC_VER >= 1600
|
33
|
+
#include <stdint.h>
|
31
34
|
#else
|
32
|
-
#include <stddef.h>
|
33
35
|
#include <stdint.h>
|
34
36
|
#include <stdbool.h>
|
35
37
|
#endif
|
@@ -76,7 +78,7 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|
76
78
|
#define _msgpack_be16(x) ntohs(x)
|
77
79
|
#define _msgpack_be32(x) ntohl(x)
|
78
80
|
|
79
|
-
#if defined(_byteswap_uint64)
|
81
|
+
#if defined(_byteswap_uint64) || _MSC_VER >= 1400
|
80
82
|
# define _msgpack_be64(x) (_byteswap_uint64(x))
|
81
83
|
#elif defined(bswap_64)
|
82
84
|
# define _msgpack_be64(x) bswap_64(x)
|
data/test/test_cases.rbc
ADDED
@@ -0,0 +1,1152 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
180
|
13
|
+
45
|
14
|
+
0
|
15
|
+
1
|
16
|
+
65
|
17
|
+
49
|
18
|
+
2
|
19
|
+
0
|
20
|
+
49
|
21
|
+
3
|
22
|
+
1
|
23
|
+
19
|
24
|
+
0
|
25
|
+
15
|
26
|
+
5
|
27
|
+
20
|
28
|
+
0
|
29
|
+
47
|
30
|
+
49
|
31
|
+
4
|
32
|
+
0
|
33
|
+
7
|
34
|
+
5
|
35
|
+
63
|
36
|
+
2
|
37
|
+
47
|
38
|
+
49
|
39
|
+
6
|
40
|
+
1
|
41
|
+
15
|
42
|
+
26
|
43
|
+
93
|
44
|
+
0
|
45
|
+
15
|
46
|
+
29
|
47
|
+
47
|
48
|
+
0
|
49
|
+
5
|
50
|
+
7
|
51
|
+
7
|
52
|
+
64
|
53
|
+
47
|
54
|
+
49
|
55
|
+
6
|
56
|
+
1
|
57
|
+
30
|
58
|
+
8
|
59
|
+
90
|
60
|
+
26
|
61
|
+
93
|
62
|
+
1
|
63
|
+
15
|
64
|
+
24
|
65
|
+
13
|
66
|
+
45
|
67
|
+
8
|
68
|
+
9
|
69
|
+
12
|
70
|
+
49
|
71
|
+
10
|
72
|
+
1
|
73
|
+
10
|
74
|
+
64
|
75
|
+
8
|
76
|
+
85
|
77
|
+
15
|
78
|
+
5
|
79
|
+
7
|
80
|
+
11
|
81
|
+
64
|
82
|
+
47
|
83
|
+
49
|
84
|
+
6
|
85
|
+
1
|
86
|
+
15
|
87
|
+
5
|
88
|
+
7
|
89
|
+
7
|
90
|
+
64
|
91
|
+
47
|
92
|
+
49
|
93
|
+
6
|
94
|
+
1
|
95
|
+
25
|
96
|
+
8
|
97
|
+
90
|
98
|
+
15
|
99
|
+
92
|
100
|
+
1
|
101
|
+
27
|
102
|
+
34
|
103
|
+
92
|
104
|
+
0
|
105
|
+
27
|
106
|
+
15
|
107
|
+
65
|
108
|
+
7
|
109
|
+
12
|
110
|
+
20
|
111
|
+
0
|
112
|
+
47
|
113
|
+
49
|
114
|
+
4
|
115
|
+
0
|
116
|
+
7
|
117
|
+
13
|
118
|
+
63
|
119
|
+
2
|
120
|
+
49
|
121
|
+
14
|
122
|
+
2
|
123
|
+
15
|
124
|
+
65
|
125
|
+
7
|
126
|
+
15
|
127
|
+
20
|
128
|
+
0
|
129
|
+
47
|
130
|
+
49
|
131
|
+
4
|
132
|
+
0
|
133
|
+
7
|
134
|
+
16
|
135
|
+
63
|
136
|
+
2
|
137
|
+
49
|
138
|
+
14
|
139
|
+
2
|
140
|
+
15
|
141
|
+
65
|
142
|
+
7
|
143
|
+
17
|
144
|
+
20
|
145
|
+
0
|
146
|
+
47
|
147
|
+
49
|
148
|
+
4
|
149
|
+
0
|
150
|
+
7
|
151
|
+
18
|
152
|
+
63
|
153
|
+
2
|
154
|
+
49
|
155
|
+
14
|
156
|
+
2
|
157
|
+
15
|
158
|
+
99
|
159
|
+
7
|
160
|
+
19
|
161
|
+
45
|
162
|
+
20
|
163
|
+
21
|
164
|
+
43
|
165
|
+
22
|
166
|
+
43
|
167
|
+
23
|
168
|
+
65
|
169
|
+
49
|
170
|
+
24
|
171
|
+
3
|
172
|
+
13
|
173
|
+
99
|
174
|
+
12
|
175
|
+
7
|
176
|
+
25
|
177
|
+
12
|
178
|
+
7
|
179
|
+
26
|
180
|
+
12
|
181
|
+
65
|
182
|
+
12
|
183
|
+
49
|
184
|
+
27
|
185
|
+
4
|
186
|
+
15
|
187
|
+
49
|
188
|
+
25
|
189
|
+
0
|
190
|
+
15
|
191
|
+
2
|
192
|
+
11
|
193
|
+
I
|
194
|
+
9
|
195
|
+
I
|
196
|
+
1
|
197
|
+
I
|
198
|
+
0
|
199
|
+
I
|
200
|
+
0
|
201
|
+
n
|
202
|
+
p
|
203
|
+
28
|
204
|
+
x
|
205
|
+
4
|
206
|
+
File
|
207
|
+
n
|
208
|
+
x
|
209
|
+
11
|
210
|
+
active_path
|
211
|
+
x
|
212
|
+
7
|
213
|
+
dirname
|
214
|
+
x
|
215
|
+
4
|
216
|
+
to_s
|
217
|
+
s
|
218
|
+
12
|
219
|
+
/test_helper
|
220
|
+
x
|
221
|
+
7
|
222
|
+
require
|
223
|
+
s
|
224
|
+
4
|
225
|
+
json
|
226
|
+
x
|
227
|
+
9
|
228
|
+
LoadError
|
229
|
+
n
|
230
|
+
x
|
231
|
+
3
|
232
|
+
===
|
233
|
+
s
|
234
|
+
8
|
235
|
+
rubygems
|
236
|
+
x
|
237
|
+
10
|
238
|
+
CASES_PATH
|
239
|
+
s
|
240
|
+
11
|
241
|
+
/cases.mpac
|
242
|
+
x
|
243
|
+
9
|
244
|
+
const_set
|
245
|
+
x
|
246
|
+
18
|
247
|
+
CASES_COMPACT_PATH
|
248
|
+
s
|
249
|
+
19
|
250
|
+
/cases_compact.mpac
|
251
|
+
x
|
252
|
+
15
|
253
|
+
CASES_JSON_PATH
|
254
|
+
s
|
255
|
+
11
|
256
|
+
/cases.json
|
257
|
+
x
|
258
|
+
20
|
259
|
+
MessagePackTestCases
|
260
|
+
x
|
261
|
+
4
|
262
|
+
Test
|
263
|
+
n
|
264
|
+
x
|
265
|
+
4
|
266
|
+
Unit
|
267
|
+
x
|
268
|
+
8
|
269
|
+
TestCase
|
270
|
+
x
|
271
|
+
10
|
272
|
+
open_class
|
273
|
+
x
|
274
|
+
14
|
275
|
+
__class_init__
|
276
|
+
M
|
277
|
+
1
|
278
|
+
n
|
279
|
+
n
|
280
|
+
x
|
281
|
+
20
|
282
|
+
MessagePackTestCases
|
283
|
+
i
|
284
|
+
44
|
285
|
+
5
|
286
|
+
66
|
287
|
+
99
|
288
|
+
7
|
289
|
+
0
|
290
|
+
7
|
291
|
+
1
|
292
|
+
65
|
293
|
+
67
|
294
|
+
49
|
295
|
+
2
|
296
|
+
0
|
297
|
+
49
|
298
|
+
3
|
299
|
+
4
|
300
|
+
15
|
301
|
+
99
|
302
|
+
7
|
303
|
+
4
|
304
|
+
7
|
305
|
+
5
|
306
|
+
65
|
307
|
+
67
|
308
|
+
49
|
309
|
+
2
|
310
|
+
0
|
311
|
+
49
|
312
|
+
3
|
313
|
+
4
|
314
|
+
15
|
315
|
+
99
|
316
|
+
7
|
317
|
+
6
|
318
|
+
7
|
319
|
+
7
|
320
|
+
65
|
321
|
+
67
|
322
|
+
49
|
323
|
+
2
|
324
|
+
0
|
325
|
+
49
|
326
|
+
3
|
327
|
+
4
|
328
|
+
11
|
329
|
+
I
|
330
|
+
5
|
331
|
+
I
|
332
|
+
0
|
333
|
+
I
|
334
|
+
0
|
335
|
+
I
|
336
|
+
0
|
337
|
+
n
|
338
|
+
p
|
339
|
+
8
|
340
|
+
x
|
341
|
+
9
|
342
|
+
feed_file
|
343
|
+
M
|
344
|
+
1
|
345
|
+
n
|
346
|
+
n
|
347
|
+
x
|
348
|
+
9
|
349
|
+
feed_file
|
350
|
+
i
|
351
|
+
46
|
352
|
+
45
|
353
|
+
0
|
354
|
+
1
|
355
|
+
43
|
356
|
+
2
|
357
|
+
13
|
358
|
+
71
|
359
|
+
3
|
360
|
+
47
|
361
|
+
9
|
362
|
+
23
|
363
|
+
47
|
364
|
+
49
|
365
|
+
4
|
366
|
+
0
|
367
|
+
13
|
368
|
+
47
|
369
|
+
49
|
370
|
+
5
|
371
|
+
0
|
372
|
+
15
|
373
|
+
8
|
374
|
+
26
|
375
|
+
49
|
376
|
+
3
|
377
|
+
0
|
378
|
+
19
|
379
|
+
1
|
380
|
+
15
|
381
|
+
20
|
382
|
+
1
|
383
|
+
45
|
384
|
+
6
|
385
|
+
7
|
386
|
+
20
|
387
|
+
0
|
388
|
+
49
|
389
|
+
8
|
390
|
+
1
|
391
|
+
49
|
392
|
+
9
|
393
|
+
1
|
394
|
+
15
|
395
|
+
20
|
396
|
+
1
|
397
|
+
11
|
398
|
+
I
|
399
|
+
5
|
400
|
+
I
|
401
|
+
2
|
402
|
+
I
|
403
|
+
1
|
404
|
+
I
|
405
|
+
1
|
406
|
+
n
|
407
|
+
p
|
408
|
+
10
|
409
|
+
x
|
410
|
+
11
|
411
|
+
MessagePack
|
412
|
+
n
|
413
|
+
x
|
414
|
+
8
|
415
|
+
Unpacker
|
416
|
+
x
|
417
|
+
3
|
418
|
+
new
|
419
|
+
x
|
420
|
+
8
|
421
|
+
allocate
|
422
|
+
x
|
423
|
+
10
|
424
|
+
initialize
|
425
|
+
x
|
426
|
+
4
|
427
|
+
File
|
428
|
+
n
|
429
|
+
x
|
430
|
+
4
|
431
|
+
read
|
432
|
+
x
|
433
|
+
4
|
434
|
+
feed
|
435
|
+
p
|
436
|
+
9
|
437
|
+
I
|
438
|
+
0
|
439
|
+
I
|
440
|
+
11
|
441
|
+
I
|
442
|
+
0
|
443
|
+
I
|
444
|
+
12
|
445
|
+
I
|
446
|
+
1d
|
447
|
+
I
|
448
|
+
13
|
449
|
+
I
|
450
|
+
2b
|
451
|
+
I
|
452
|
+
14
|
453
|
+
I
|
454
|
+
2e
|
455
|
+
x
|
456
|
+
54
|
457
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
458
|
+
p
|
459
|
+
2
|
460
|
+
x
|
461
|
+
4
|
462
|
+
path
|
463
|
+
x
|
464
|
+
3
|
465
|
+
pac
|
466
|
+
x
|
467
|
+
17
|
468
|
+
method_visibility
|
469
|
+
x
|
470
|
+
15
|
471
|
+
add_defn_method
|
472
|
+
x
|
473
|
+
20
|
474
|
+
test_compare_compact
|
475
|
+
M
|
476
|
+
1
|
477
|
+
n
|
478
|
+
n
|
479
|
+
x
|
480
|
+
20
|
481
|
+
test_compare_compact
|
482
|
+
i
|
483
|
+
61
|
484
|
+
5
|
485
|
+
45
|
486
|
+
0
|
487
|
+
1
|
488
|
+
47
|
489
|
+
49
|
490
|
+
2
|
491
|
+
1
|
492
|
+
19
|
493
|
+
0
|
494
|
+
15
|
495
|
+
5
|
496
|
+
45
|
497
|
+
3
|
498
|
+
4
|
499
|
+
47
|
500
|
+
49
|
501
|
+
2
|
502
|
+
1
|
503
|
+
19
|
504
|
+
1
|
505
|
+
15
|
506
|
+
35
|
507
|
+
0
|
508
|
+
19
|
509
|
+
2
|
510
|
+
15
|
511
|
+
20
|
512
|
+
0
|
513
|
+
56
|
514
|
+
5
|
515
|
+
50
|
516
|
+
6
|
517
|
+
0
|
518
|
+
15
|
519
|
+
35
|
520
|
+
0
|
521
|
+
19
|
522
|
+
3
|
523
|
+
15
|
524
|
+
20
|
525
|
+
1
|
526
|
+
56
|
527
|
+
7
|
528
|
+
50
|
529
|
+
6
|
530
|
+
0
|
531
|
+
15
|
532
|
+
20
|
533
|
+
2
|
534
|
+
20
|
535
|
+
3
|
536
|
+
49
|
537
|
+
8
|
538
|
+
1
|
539
|
+
56
|
540
|
+
9
|
541
|
+
50
|
542
|
+
6
|
543
|
+
0
|
544
|
+
11
|
545
|
+
I
|
546
|
+
6
|
547
|
+
I
|
548
|
+
4
|
549
|
+
I
|
550
|
+
0
|
551
|
+
I
|
552
|
+
0
|
553
|
+
n
|
554
|
+
p
|
555
|
+
10
|
556
|
+
x
|
557
|
+
10
|
558
|
+
CASES_PATH
|
559
|
+
n
|
560
|
+
x
|
561
|
+
9
|
562
|
+
feed_file
|
563
|
+
x
|
564
|
+
18
|
565
|
+
CASES_COMPACT_PATH
|
566
|
+
n
|
567
|
+
M
|
568
|
+
1
|
569
|
+
p
|
570
|
+
2
|
571
|
+
x
|
572
|
+
9
|
573
|
+
for_block
|
574
|
+
t
|
575
|
+
n
|
576
|
+
x
|
577
|
+
20
|
578
|
+
test_compare_compact
|
579
|
+
i
|
580
|
+
13
|
581
|
+
57
|
582
|
+
19
|
583
|
+
0
|
584
|
+
15
|
585
|
+
21
|
586
|
+
1
|
587
|
+
2
|
588
|
+
20
|
589
|
+
0
|
590
|
+
49
|
591
|
+
0
|
592
|
+
1
|
593
|
+
11
|
594
|
+
I
|
595
|
+
4
|
596
|
+
I
|
597
|
+
1
|
598
|
+
I
|
599
|
+
1
|
600
|
+
I
|
601
|
+
1
|
602
|
+
n
|
603
|
+
p
|
604
|
+
1
|
605
|
+
x
|
606
|
+
2
|
607
|
+
<<
|
608
|
+
p
|
609
|
+
3
|
610
|
+
I
|
611
|
+
0
|
612
|
+
I
|
613
|
+
1b
|
614
|
+
I
|
615
|
+
d
|
616
|
+
x
|
617
|
+
54
|
618
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
619
|
+
p
|
620
|
+
1
|
621
|
+
x
|
622
|
+
3
|
623
|
+
obj
|
624
|
+
x
|
625
|
+
4
|
626
|
+
each
|
627
|
+
M
|
628
|
+
1
|
629
|
+
p
|
630
|
+
2
|
631
|
+
x
|
632
|
+
9
|
633
|
+
for_block
|
634
|
+
t
|
635
|
+
n
|
636
|
+
x
|
637
|
+
20
|
638
|
+
test_compare_compact
|
639
|
+
i
|
640
|
+
13
|
641
|
+
57
|
642
|
+
19
|
643
|
+
0
|
644
|
+
15
|
645
|
+
21
|
646
|
+
1
|
647
|
+
3
|
648
|
+
20
|
649
|
+
0
|
650
|
+
49
|
651
|
+
0
|
652
|
+
1
|
653
|
+
11
|
654
|
+
I
|
655
|
+
4
|
656
|
+
I
|
657
|
+
1
|
658
|
+
I
|
659
|
+
1
|
660
|
+
I
|
661
|
+
1
|
662
|
+
n
|
663
|
+
p
|
664
|
+
1
|
665
|
+
x
|
666
|
+
2
|
667
|
+
<<
|
668
|
+
p
|
669
|
+
3
|
670
|
+
I
|
671
|
+
0
|
672
|
+
I
|
673
|
+
1c
|
674
|
+
I
|
675
|
+
d
|
676
|
+
x
|
677
|
+
54
|
678
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
679
|
+
p
|
680
|
+
1
|
681
|
+
x
|
682
|
+
4
|
683
|
+
cobj
|
684
|
+
x
|
685
|
+
3
|
686
|
+
zip
|
687
|
+
M
|
688
|
+
1
|
689
|
+
p
|
690
|
+
2
|
691
|
+
x
|
692
|
+
9
|
693
|
+
for_block
|
694
|
+
t
|
695
|
+
n
|
696
|
+
x
|
697
|
+
20
|
698
|
+
test_compare_compact
|
699
|
+
i
|
700
|
+
21
|
701
|
+
58
|
702
|
+
36
|
703
|
+
37
|
704
|
+
19
|
705
|
+
0
|
706
|
+
15
|
707
|
+
37
|
708
|
+
19
|
709
|
+
1
|
710
|
+
15
|
711
|
+
15
|
712
|
+
5
|
713
|
+
20
|
714
|
+
0
|
715
|
+
20
|
716
|
+
1
|
717
|
+
47
|
718
|
+
49
|
719
|
+
0
|
720
|
+
2
|
721
|
+
11
|
722
|
+
I
|
723
|
+
6
|
724
|
+
I
|
725
|
+
2
|
726
|
+
I
|
727
|
+
2
|
728
|
+
I
|
729
|
+
2
|
730
|
+
n
|
731
|
+
p
|
732
|
+
1
|
733
|
+
x
|
734
|
+
12
|
735
|
+
assert_equal
|
736
|
+
p
|
737
|
+
5
|
738
|
+
I
|
739
|
+
0
|
740
|
+
I
|
741
|
+
1e
|
742
|
+
I
|
743
|
+
b
|
744
|
+
I
|
745
|
+
1f
|
746
|
+
I
|
747
|
+
15
|
748
|
+
x
|
749
|
+
54
|
750
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
751
|
+
p
|
752
|
+
2
|
753
|
+
x
|
754
|
+
3
|
755
|
+
obj
|
756
|
+
x
|
757
|
+
4
|
758
|
+
cobj
|
759
|
+
p
|
760
|
+
13
|
761
|
+
I
|
762
|
+
0
|
763
|
+
I
|
764
|
+
17
|
765
|
+
I
|
766
|
+
0
|
767
|
+
I
|
768
|
+
18
|
769
|
+
I
|
770
|
+
b
|
771
|
+
I
|
772
|
+
19
|
773
|
+
I
|
774
|
+
16
|
775
|
+
I
|
776
|
+
1b
|
777
|
+
I
|
778
|
+
23
|
779
|
+
I
|
780
|
+
1c
|
781
|
+
I
|
782
|
+
30
|
783
|
+
I
|
784
|
+
1e
|
785
|
+
I
|
786
|
+
3d
|
787
|
+
x
|
788
|
+
54
|
789
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
790
|
+
p
|
791
|
+
4
|
792
|
+
x
|
793
|
+
3
|
794
|
+
pac
|
795
|
+
x
|
796
|
+
4
|
797
|
+
cpac
|
798
|
+
x
|
799
|
+
4
|
800
|
+
objs
|
801
|
+
x
|
802
|
+
5
|
803
|
+
cobjs
|
804
|
+
x
|
805
|
+
17
|
806
|
+
test_compare_json
|
807
|
+
M
|
808
|
+
1
|
809
|
+
n
|
810
|
+
n
|
811
|
+
x
|
812
|
+
17
|
813
|
+
test_compare_json
|
814
|
+
i
|
815
|
+
52
|
816
|
+
5
|
817
|
+
45
|
818
|
+
0
|
819
|
+
1
|
820
|
+
47
|
821
|
+
49
|
822
|
+
2
|
823
|
+
1
|
824
|
+
19
|
825
|
+
0
|
826
|
+
15
|
827
|
+
35
|
828
|
+
0
|
829
|
+
19
|
830
|
+
1
|
831
|
+
15
|
832
|
+
20
|
833
|
+
0
|
834
|
+
56
|
835
|
+
3
|
836
|
+
50
|
837
|
+
4
|
838
|
+
0
|
839
|
+
15
|
840
|
+
45
|
841
|
+
5
|
842
|
+
6
|
843
|
+
45
|
844
|
+
7
|
845
|
+
8
|
846
|
+
45
|
847
|
+
9
|
848
|
+
10
|
849
|
+
49
|
850
|
+
11
|
851
|
+
1
|
852
|
+
49
|
853
|
+
12
|
854
|
+
1
|
855
|
+
19
|
856
|
+
2
|
857
|
+
15
|
858
|
+
20
|
859
|
+
1
|
860
|
+
20
|
861
|
+
2
|
862
|
+
56
|
863
|
+
13
|
864
|
+
50
|
865
|
+
14
|
866
|
+
1
|
867
|
+
11
|
868
|
+
I
|
869
|
+
6
|
870
|
+
I
|
871
|
+
3
|
872
|
+
I
|
873
|
+
0
|
874
|
+
I
|
875
|
+
0
|
876
|
+
n
|
877
|
+
p
|
878
|
+
15
|
879
|
+
x
|
880
|
+
10
|
881
|
+
CASES_PATH
|
882
|
+
n
|
883
|
+
x
|
884
|
+
9
|
885
|
+
feed_file
|
886
|
+
M
|
887
|
+
1
|
888
|
+
p
|
889
|
+
2
|
890
|
+
x
|
891
|
+
9
|
892
|
+
for_block
|
893
|
+
t
|
894
|
+
n
|
895
|
+
x
|
896
|
+
17
|
897
|
+
test_compare_json
|
898
|
+
i
|
899
|
+
13
|
900
|
+
57
|
901
|
+
19
|
902
|
+
0
|
903
|
+
15
|
904
|
+
21
|
905
|
+
1
|
906
|
+
1
|
907
|
+
20
|
908
|
+
0
|
909
|
+
49
|
910
|
+
0
|
911
|
+
1
|
912
|
+
11
|
913
|
+
I
|
914
|
+
4
|
915
|
+
I
|
916
|
+
1
|
917
|
+
I
|
918
|
+
1
|
919
|
+
I
|
920
|
+
1
|
921
|
+
n
|
922
|
+
p
|
923
|
+
1
|
924
|
+
x
|
925
|
+
2
|
926
|
+
<<
|
927
|
+
p
|
928
|
+
3
|
929
|
+
I
|
930
|
+
0
|
931
|
+
I
|
932
|
+
26
|
933
|
+
I
|
934
|
+
d
|
935
|
+
x
|
936
|
+
54
|
937
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
938
|
+
p
|
939
|
+
1
|
940
|
+
x
|
941
|
+
3
|
942
|
+
obj
|
943
|
+
x
|
944
|
+
4
|
945
|
+
each
|
946
|
+
x
|
947
|
+
4
|
948
|
+
JSON
|
949
|
+
n
|
950
|
+
x
|
951
|
+
4
|
952
|
+
File
|
953
|
+
n
|
954
|
+
x
|
955
|
+
15
|
956
|
+
CASES_JSON_PATH
|
957
|
+
n
|
958
|
+
x
|
959
|
+
4
|
960
|
+
read
|
961
|
+
x
|
962
|
+
4
|
963
|
+
load
|
964
|
+
M
|
965
|
+
1
|
966
|
+
p
|
967
|
+
2
|
968
|
+
x
|
969
|
+
9
|
970
|
+
for_block
|
971
|
+
t
|
972
|
+
n
|
973
|
+
x
|
974
|
+
17
|
975
|
+
test_compare_json
|
976
|
+
i
|
977
|
+
21
|
978
|
+
58
|
979
|
+
36
|
980
|
+
37
|
981
|
+
19
|
982
|
+
0
|
983
|
+
15
|
984
|
+
37
|
985
|
+
19
|
986
|
+
1
|
987
|
+
15
|
988
|
+
15
|
989
|
+
5
|
990
|
+
20
|
991
|
+
0
|
992
|
+
20
|
993
|
+
1
|
994
|
+
47
|
995
|
+
49
|
996
|
+
0
|
997
|
+
2
|
998
|
+
11
|
999
|
+
I
|
1000
|
+
6
|
1001
|
+
I
|
1002
|
+
2
|
1003
|
+
I
|
1004
|
+
2
|
1005
|
+
I
|
1006
|
+
2
|
1007
|
+
n
|
1008
|
+
p
|
1009
|
+
1
|
1010
|
+
x
|
1011
|
+
12
|
1012
|
+
assert_equal
|
1013
|
+
p
|
1014
|
+
5
|
1015
|
+
I
|
1016
|
+
0
|
1017
|
+
I
|
1018
|
+
29
|
1019
|
+
I
|
1020
|
+
b
|
1021
|
+
I
|
1022
|
+
2a
|
1023
|
+
I
|
1024
|
+
15
|
1025
|
+
x
|
1026
|
+
54
|
1027
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
1028
|
+
p
|
1029
|
+
2
|
1030
|
+
x
|
1031
|
+
3
|
1032
|
+
obj
|
1033
|
+
x
|
1034
|
+
4
|
1035
|
+
jobj
|
1036
|
+
x
|
1037
|
+
3
|
1038
|
+
zip
|
1039
|
+
p
|
1040
|
+
11
|
1041
|
+
I
|
1042
|
+
0
|
1043
|
+
I
|
1044
|
+
23
|
1045
|
+
I
|
1046
|
+
0
|
1047
|
+
I
|
1048
|
+
24
|
1049
|
+
I
|
1050
|
+
b
|
1051
|
+
I
|
1052
|
+
26
|
1053
|
+
I
|
1054
|
+
18
|
1055
|
+
I
|
1056
|
+
27
|
1057
|
+
I
|
1058
|
+
2a
|
1059
|
+
I
|
1060
|
+
29
|
1061
|
+
I
|
1062
|
+
34
|
1063
|
+
x
|
1064
|
+
54
|
1065
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
1066
|
+
p
|
1067
|
+
3
|
1068
|
+
x
|
1069
|
+
3
|
1070
|
+
pac
|
1071
|
+
x
|
1072
|
+
4
|
1073
|
+
objs
|
1074
|
+
x
|
1075
|
+
5
|
1076
|
+
jobjs
|
1077
|
+
p
|
1078
|
+
7
|
1079
|
+
I
|
1080
|
+
2
|
1081
|
+
I
|
1082
|
+
11
|
1083
|
+
I
|
1084
|
+
10
|
1085
|
+
I
|
1086
|
+
17
|
1087
|
+
I
|
1088
|
+
1e
|
1089
|
+
I
|
1090
|
+
23
|
1091
|
+
I
|
1092
|
+
2c
|
1093
|
+
x
|
1094
|
+
54
|
1095
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
1096
|
+
p
|
1097
|
+
0
|
1098
|
+
x
|
1099
|
+
13
|
1100
|
+
attach_method
|
1101
|
+
p
|
1102
|
+
21
|
1103
|
+
I
|
1104
|
+
0
|
1105
|
+
I
|
1106
|
+
2
|
1107
|
+
I
|
1108
|
+
d
|
1109
|
+
I
|
1110
|
+
3
|
1111
|
+
I
|
1112
|
+
1d
|
1113
|
+
I
|
1114
|
+
6
|
1115
|
+
I
|
1116
|
+
34
|
1117
|
+
I
|
1118
|
+
7
|
1119
|
+
I
|
1120
|
+
41
|
1121
|
+
I
|
1122
|
+
8
|
1123
|
+
I
|
1124
|
+
4a
|
1125
|
+
I
|
1126
|
+
9
|
1127
|
+
I
|
1128
|
+
5e
|
1129
|
+
I
|
1130
|
+
c
|
1131
|
+
I
|
1132
|
+
6f
|
1133
|
+
I
|
1134
|
+
d
|
1135
|
+
I
|
1136
|
+
80
|
1137
|
+
I
|
1138
|
+
e
|
1139
|
+
I
|
1140
|
+
91
|
1141
|
+
I
|
1142
|
+
10
|
1143
|
+
I
|
1144
|
+
b4
|
1145
|
+
x
|
1146
|
+
54
|
1147
|
+
/Users/frsyuki/project/msgpack/ruby/test/test_cases.rb
|
1148
|
+
p
|
1149
|
+
1
|
1150
|
+
x
|
1151
|
+
4
|
1152
|
+
here
|