line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one |
3
|
|
|
|
|
|
|
# or more contributor license agreements. See the NOTICE file |
4
|
|
|
|
|
|
|
# distributed with this work for additional information |
5
|
|
|
|
|
|
|
# regarding copyright ownership. The ASF licenses this file |
6
|
|
|
|
|
|
|
# to you under the Apache License, Version 2.0 (the |
7
|
|
|
|
|
|
|
# "License"); you may not use this file except in compliance |
8
|
|
|
|
|
|
|
# with the License. You may obtain a copy of the License at |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, |
13
|
|
|
|
|
|
|
# software distributed under the License is distributed on an |
14
|
|
|
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
15
|
|
|
|
|
|
|
# KIND, either express or implied. See the License for the |
16
|
|
|
|
|
|
|
# specific language governing permissions and limitations |
17
|
|
|
|
|
|
|
# under the License. |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
|
20
|
3
|
|
|
3
|
|
34
|
use 5.10.0; |
|
3
|
|
|
|
|
10
|
|
21
|
3
|
|
|
3
|
|
16
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
90
|
|
22
|
3
|
|
|
3
|
|
17
|
use warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
74
|
|
23
|
|
|
|
|
|
|
|
24
|
3
|
|
|
3
|
|
13
|
use Thrift; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
141
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# |
27
|
|
|
|
|
|
|
# Data types that can be sent via Thrift |
28
|
|
|
|
|
|
|
# |
29
|
|
|
|
|
|
|
package Thrift::TType; |
30
|
3
|
|
|
3
|
|
19
|
use version 0.77; our $VERSION = version->declare("$Thrift::VERSION"); |
|
3
|
|
|
|
|
52
|
|
|
3
|
|
|
|
|
17
|
|
31
|
|
|
|
|
|
|
|
32
|
3
|
|
|
3
|
|
327
|
use constant STOP => 0; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
213
|
|
33
|
3
|
|
|
3
|
|
21
|
use constant VOID => 1; |
|
3
|
|
|
|
|
43
|
|
|
3
|
|
|
|
|
166
|
|
34
|
3
|
|
|
3
|
|
18
|
use constant BOOL => 2; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
149
|
|
35
|
3
|
|
|
3
|
|
17
|
use constant BYTE => 3; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
139
|
|
36
|
3
|
|
|
3
|
|
76
|
use constant I08 => 3; |
|
3
|
|
|
|
|
13
|
|
|
3
|
|
|
|
|
150
|
|
37
|
3
|
|
|
3
|
|
17
|
use constant DOUBLE => 4; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
143
|
|
38
|
3
|
|
|
3
|
|
17
|
use constant I16 => 6; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
128
|
|
39
|
3
|
|
|
3
|
|
25
|
use constant I32 => 8; |
|
3
|
|
|
|
|
46
|
|
|
3
|
|
|
|
|
218
|
|
40
|
3
|
|
|
3
|
|
20
|
use constant I64 => 10; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
147
|
|
41
|
3
|
|
|
3
|
|
18
|
use constant STRING => 11; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
146
|
|
42
|
3
|
|
|
3
|
|
40
|
use constant UTF7 => 11; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
140
|
|
43
|
3
|
|
|
3
|
|
17
|
use constant STRUCT => 12; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
131
|
|
44
|
3
|
|
|
3
|
|
17
|
use constant MAP => 13; |
|
3
|
|
|
|
|
14
|
|
|
3
|
|
|
|
|
144
|
|
45
|
3
|
|
|
3
|
|
16
|
use constant SET => 14; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
139
|
|
46
|
3
|
|
|
3
|
|
18
|
use constant LIST => 15; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
140
|
|
47
|
3
|
|
|
3
|
|
17
|
use constant UTF8 => 16; |
|
3
|
|
|
|
|
13
|
|
|
3
|
|
|
|
|
145
|
|
48
|
3
|
|
|
3
|
|
18
|
use constant UTF16 => 17; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
149
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |