msgpack 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/compat.h +34 -12
- data/ext/pack.c +4 -0
- data/ext/unpack.c +8 -8
- data/ext/version.rb +1 -1
- data/msgpack/sysdep.h +39 -9
- metadata +16 -19
- data/test/test_cases.rbc +0 -1152
- data/test/test_helper.rbc +0 -227
- data/test/test_pack_unpack.rbc +0 -5863
data/ext/compat.h
CHANGED
@@ -28,46 +28,68 @@ extern int s_enc_usascii;
|
|
28
28
|
extern VALUE s_enc_utf8_value;
|
29
29
|
#endif
|
30
30
|
|
31
|
-
|
31
|
+
/* MRI 1.9 */
|
32
|
+
#if defined(RUBY_VM)
|
32
33
|
#define COMPAT_RERAISE rb_exc_raise(rb_errinfo())
|
34
|
+
|
35
|
+
/* JRuby */
|
36
|
+
#elif defined(JRUBY)
|
37
|
+
#define COMPAT_RERAISE rb_exc_raise(rb_gv_get("$!"))
|
38
|
+
|
39
|
+
/* MRI 1.8 and Rubinius */
|
33
40
|
#else
|
34
41
|
#define COMPAT_RERAISE rb_exc_raise(ruby_errinfo)
|
35
42
|
#endif
|
36
43
|
|
37
44
|
|
38
|
-
/* ruby 1.8 and Rubinius */
|
39
45
|
#ifndef RBIGNUM_POSITIVE_P
|
40
|
-
|
41
|
-
|
42
|
-
#
|
43
|
-
#
|
44
|
-
|
46
|
+
|
47
|
+
/* Rubinius */
|
48
|
+
#if defined(RUBINIUS)
|
49
|
+
#define RBIGNUM_POSITIVE_P(b) (rb_funcall(b, rb_intern(">="), 1, INT2FIX(0)) == Qtrue)
|
50
|
+
|
51
|
+
/* JRuby */
|
52
|
+
#elif defined(JRUBY)
|
53
|
+
#define RBIGNUM_POSITIVE_P(b) (rb_funcall(b, rb_intern(">="), 1, INT2FIX(0)) == Qtrue)
|
54
|
+
#define rb_big2ull(b) rb_num2ull(b)
|
55
|
+
/*#define rb_big2ll(b) rb_num2ll(b)*/
|
56
|
+
|
57
|
+
/* MRI 1.8 */
|
58
|
+
#else
|
59
|
+
#define RBIGNUM_POSITIVE_P(b) (RBIGNUM(b)->sign)
|
60
|
+
|
61
|
+
#endif
|
45
62
|
#endif
|
46
63
|
|
47
64
|
|
48
65
|
/* Rubinius */
|
49
|
-
#
|
66
|
+
#if defined(RUBINIUS)
|
67
|
+
static inline void rb_gc_enable() { return; }
|
68
|
+
static inline void rb_gc_disable() { return; }
|
69
|
+
|
70
|
+
/* JRuby */
|
71
|
+
#elif defined(JRUBY)
|
50
72
|
static inline void rb_gc_enable() { return; }
|
51
73
|
static inline void rb_gc_disable() { return; }
|
52
74
|
#endif
|
53
75
|
|
54
76
|
|
55
|
-
/*
|
77
|
+
/* MRI 1.8.5 */
|
56
78
|
#ifndef RSTRING_PTR
|
57
79
|
#define RSTRING_PTR(s) (RSTRING(s)->ptr)
|
58
80
|
#endif
|
59
81
|
|
60
|
-
/*
|
82
|
+
/* MRI 1.8.5 */
|
61
83
|
#ifndef RSTRING_LEN
|
62
84
|
#define RSTRING_LEN(s) (RSTRING(s)->len)
|
63
85
|
#endif
|
64
86
|
|
65
|
-
/*
|
87
|
+
/* MRI 1.8.5 */
|
66
88
|
#ifndef RARRAY_PTR
|
67
89
|
#define RARRAY_PTR(s) (RARRAY(s)->ptr)
|
68
90
|
#endif
|
69
91
|
|
70
|
-
/*
|
92
|
+
/* MRI 1.8.5 */
|
71
93
|
#ifndef RARRAY_LEN
|
72
94
|
#define RARRAY_LEN(s) (RARRAY(s)->len)
|
73
95
|
#endif
|
data/ext/pack.c
CHANGED
@@ -113,7 +113,11 @@ static VALUE MessagePack_FalseClass_to_msgpack(int argc, VALUE *argv, VALUE self
|
|
113
113
|
static VALUE MessagePack_Fixnum_to_msgpack(int argc, VALUE *argv, VALUE self)
|
114
114
|
{
|
115
115
|
ARG_BUFFER(out, argc, argv);
|
116
|
+
#ifdef JRUBY
|
117
|
+
msgpack_pack_long(out, FIXNUM_P(self) ? FIX2LONG(self) : rb_num2ll(self));
|
118
|
+
#else
|
116
119
|
msgpack_pack_long(out, FIX2LONG(self));
|
120
|
+
#endif
|
117
121
|
return out;
|
118
122
|
}
|
119
123
|
|
data/ext/unpack.c
CHANGED
@@ -594,14 +594,6 @@ static VALUE MessagePack_Unpacker_each(VALUE self)
|
|
594
594
|
return Qnil;
|
595
595
|
}
|
596
596
|
|
597
|
-
/**
|
598
|
-
* Document-method: MessagePack::Unpacker#feed_each
|
599
|
-
*
|
600
|
-
* call-seq:
|
601
|
-
* unpacker.feed_each(data) {|object| }
|
602
|
-
*
|
603
|
-
* Same as feed(data) + each {|object| }, but tries to avoid copying of the buffer.
|
604
|
-
*/
|
605
597
|
static VALUE feed_each_impl(VALUE args)
|
606
598
|
{
|
607
599
|
VALUE self = ((VALUE*)args)[0];
|
@@ -700,6 +692,14 @@ static VALUE feed_each_ensure(VALUE args) {
|
|
700
692
|
return Qnil;
|
701
693
|
}
|
702
694
|
|
695
|
+
/**
|
696
|
+
* Document-method: MessagePack::Unpacker#feed_each
|
697
|
+
*
|
698
|
+
* call-seq:
|
699
|
+
* unpacker.feed_each(data) {|object| }
|
700
|
+
*
|
701
|
+
* Same as feed(data) + each {|object| }, but tries to avoid copying of the buffer.
|
702
|
+
*/
|
703
703
|
static VALUE MessagePack_Unpacker_feed_each(VALUE self, VALUE data)
|
704
704
|
{
|
705
705
|
size_t consumed = 0;
|
data/ext/version.rb
CHANGED
data/msgpack/sysdep.h
CHANGED
@@ -38,6 +38,7 @@ typedef unsigned __int64 uint64_t;
|
|
38
38
|
|
39
39
|
|
40
40
|
#ifdef _WIN32
|
41
|
+
#define _msgpack_atomic_counter_header <windows.h>
|
41
42
|
typedef long _msgpack_atomic_counter_t;
|
42
43
|
#define _msgpack_sync_decr_and_fetch(ptr) InterlockedDecrement(ptr)
|
43
44
|
#define _msgpack_sync_incr_and_fetch(ptr) InterlockedIncrement(ptr)
|
@@ -49,7 +50,6 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|
49
50
|
|
50
51
|
|
51
52
|
#ifdef _WIN32
|
52
|
-
#include <winsock2.h>
|
53
53
|
|
54
54
|
#ifdef __cplusplus
|
55
55
|
/* numeric_limits<T>::min,max */
|
@@ -70,15 +70,45 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|
70
70
|
#define __LITTLE_ENDIAN__
|
71
71
|
#elif __BYTE_ORDER == __BIG_ENDIAN
|
72
72
|
#define __BIG_ENDIAN__
|
73
|
+
#elif _WIN32
|
74
|
+
#define __LITTLE_ENDIAN__
|
73
75
|
#endif
|
74
76
|
#endif
|
75
77
|
|
78
|
+
|
76
79
|
#ifdef __LITTLE_ENDIAN__
|
77
80
|
|
78
|
-
#
|
79
|
-
#
|
81
|
+
#ifdef _WIN32
|
82
|
+
# if defined(ntohs)
|
83
|
+
# define _msgpack_be16(x) ntohs(x)
|
84
|
+
# elif defined(_byteswap_ushort) || (defined(_MSC_VER) && _MSC_VER >= 1400)
|
85
|
+
# define _msgpack_be16(x) ((uint16_t)_byteswap_ushort((unsigned short)x))
|
86
|
+
# else
|
87
|
+
# define _msgpack_be16(x) \
|
88
|
+
( ((((uint16_t)x) << 8) ) | \
|
89
|
+
((((uint16_t)x) >> 8) ) )
|
90
|
+
# endif
|
91
|
+
#else
|
92
|
+
# define _msgpack_be16(x) ntohs(x)
|
93
|
+
#endif
|
94
|
+
|
95
|
+
#ifdef _WIN32
|
96
|
+
# if defined(ntohl)
|
97
|
+
# define _msgpack_be32(x) ntohl(x)
|
98
|
+
# elif defined(_byteswap_ulong) || (defined(_MSC_VER) && _MSC_VER >= 1400)
|
99
|
+
# define _msgpack_be32(x) ((uint32_t)_byteswap_ulong((unsigned long)x))
|
100
|
+
# else
|
101
|
+
# define _msgpack_be32(x) \
|
102
|
+
( ((((uint32_t)x) << 24) ) | \
|
103
|
+
((((uint32_t)x) << 8) & 0x00ff0000U ) | \
|
104
|
+
((((uint32_t)x) >> 8) & 0x0000ff00U ) | \
|
105
|
+
((((uint32_t)x) >> 24) ) )
|
106
|
+
# endif
|
107
|
+
#else
|
108
|
+
# define _msgpack_be32(x) ntohl(x)
|
109
|
+
#endif
|
80
110
|
|
81
|
-
#if defined(_byteswap_uint64) || _MSC_VER >= 1400
|
111
|
+
#if defined(_byteswap_uint64) || (defined(_MSC_VER) && _MSC_VER >= 1400)
|
82
112
|
# define _msgpack_be64(x) (_byteswap_uint64(x))
|
83
113
|
#elif defined(bswap_64)
|
84
114
|
# define _msgpack_be64(x) bswap_64(x)
|
@@ -86,14 +116,14 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|
86
116
|
# define _msgpack_be64(x) __DARWIN_OSSwapInt64(x)
|
87
117
|
#else
|
88
118
|
#define _msgpack_be64(x) \
|
89
|
-
( ((((uint64_t)x) << 56)
|
119
|
+
( ((((uint64_t)x) << 56) ) | \
|
90
120
|
((((uint64_t)x) << 40) & 0x00ff000000000000ULL ) | \
|
91
121
|
((((uint64_t)x) << 24) & 0x0000ff0000000000ULL ) | \
|
92
122
|
((((uint64_t)x) << 8) & 0x000000ff00000000ULL ) | \
|
93
123
|
((((uint64_t)x) >> 8) & 0x00000000ff000000ULL ) | \
|
94
124
|
((((uint64_t)x) >> 24) & 0x0000000000ff0000ULL ) | \
|
95
125
|
((((uint64_t)x) >> 40) & 0x000000000000ff00ULL ) | \
|
96
|
-
((((uint64_t)x) >> 56)
|
126
|
+
((((uint64_t)x) >> 56) ) )
|
97
127
|
#endif
|
98
128
|
|
99
129
|
#else
|
@@ -104,11 +134,11 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|
104
134
|
|
105
135
|
|
106
136
|
#define _msgpack_store16(to, num) \
|
107
|
-
do { uint16_t val = _msgpack_be16(num); memcpy(to, &val, 2); } while(0)
|
137
|
+
do { uint16_t val = _msgpack_be16(num); memcpy(to, &val, 2); } while(0)
|
108
138
|
#define _msgpack_store32(to, num) \
|
109
|
-
do { uint32_t val = _msgpack_be32(num); memcpy(to, &val, 4); } while(0)
|
139
|
+
do { uint32_t val = _msgpack_be32(num); memcpy(to, &val, 4); } while(0)
|
110
140
|
#define _msgpack_store64(to, num) \
|
111
|
-
do { uint64_t val = _msgpack_be64(num); memcpy(to, &val, 8); } while(0)
|
141
|
+
do { uint64_t val = _msgpack_be64(num); memcpy(to, &val, 8); } while(0)
|
112
142
|
|
113
143
|
|
114
144
|
#define _msgpack_load16(cast, from) ((cast)_msgpack_be16(*(uint16_t*)from))
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: msgpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 5
|
10
|
+
version: 0.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- FURUHASHI Sadayuki
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-05-09 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -28,29 +28,26 @@ extensions:
|
|
28
28
|
extra_rdoc_files: []
|
29
29
|
|
30
30
|
files:
|
31
|
-
- ext/compat.h
|
32
31
|
- ext/extconf.rb
|
33
|
-
- ext/pack.c
|
34
32
|
- ext/pack.h
|
35
|
-
- ext/rbinit.c
|
36
33
|
- ext/unpack.c
|
34
|
+
- ext/pack.c
|
35
|
+
- ext/compat.h
|
37
36
|
- ext/unpack.h
|
37
|
+
- ext/rbinit.c
|
38
38
|
- ext/version.rb
|
39
|
-
- msgpack/pack_define.h
|
40
39
|
- msgpack/pack_template.h
|
40
|
+
- msgpack/pack_define.h
|
41
41
|
- msgpack/sysdep.h
|
42
42
|
- msgpack/unpack_define.h
|
43
43
|
- msgpack/unpack_template.h
|
44
|
-
- test/
|
44
|
+
- test/test_pack_unpack.rb
|
45
|
+
- test/test_helper.rb
|
46
|
+
- test/test_encoding.rb
|
47
|
+
- test/test_cases.rb
|
45
48
|
- test/cases.mpac
|
49
|
+
- test/cases.json
|
46
50
|
- test/cases_compact.mpac
|
47
|
-
- test/test_cases.rb
|
48
|
-
- test/test_cases.rbc
|
49
|
-
- test/test_encoding.rb
|
50
|
-
- test/test_helper.rb
|
51
|
-
- test/test_helper.rbc
|
52
|
-
- test/test_pack_unpack.rb
|
53
|
-
- test/test_pack_unpack.rbc
|
54
51
|
has_rdoc: true
|
55
52
|
homepage: http://msgpack.sourceforge.net/
|
56
53
|
licenses: []
|
@@ -86,7 +83,7 @@ signing_key:
|
|
86
83
|
specification_version: 3
|
87
84
|
summary: MessagePack, a binary-based efficient data interchange format.
|
88
85
|
test_files:
|
89
|
-
- test/test_cases.rb
|
90
|
-
- test/test_encoding.rb
|
91
|
-
- test/test_helper.rb
|
92
86
|
- test/test_pack_unpack.rb
|
87
|
+
- test/test_helper.rb
|
88
|
+
- test/test_encoding.rb
|
89
|
+
- test/test_cases.rb
|
data/test/test_cases.rbc
DELETED
@@ -1,1152 +0,0 @@
|
|
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
|