YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/src/yb/common/ql_protocol_util.h
Line
Count
Source (jump to first uncovered line)
1
// Copyright (c) YugaByte, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4
// in compliance with the License.  You may obtain a copy of the License at
5
//
6
// http://www.apache.org/licenses/LICENSE-2.0
7
//
8
// Unless required by applicable law or agreed to in writing, software distributed under the License
9
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10
// or implied.  See the License for the specific language governing permissions and limitations
11
// under the License.
12
//
13
14
#ifndef YB_COMMON_QL_PROTOCOL_UTIL_H
15
#define YB_COMMON_QL_PROTOCOL_UTIL_H
16
17
#include <boost/preprocessor/cat.hpp>
18
#include <boost/preprocessor/seq/for_each.hpp>
19
20
#include "yb/common/common_fwd.h"
21
#include "yb/common/common_types.pb.h"
22
#include "yb/common/ql_protocol.pb.h"
23
#include "yb/common/value.pb.h"
24
25
#include "yb/util/status.h"
26
#include "yb/util/status_format.h"
27
#include "yb/util/yb_partition.h"
28
29
namespace yb {
30
31
class QLRowBlock;
32
class Schema;
33
34
#define QL_PROTOCOL_TYPES \
35
    ((Int8, int8, int8_t)) \
36
    ((Int16, int16, int16_t)) \
37
    ((Int32, int32, int32_t)) \
38
    ((Int64, int64, int64_t)) \
39
    ((String, string, const std::string&)) \
40
    ((Binary, binary, const std::string&)) \
41
    ((Bool, bool, bool)) \
42
    ((Float, float, float)) \
43
    ((Double, double, double)) \
44
    ((Jsonb, jsonb, const std::string&)) \
45
    ((Timestamp, timestamp, int64_t)) \
46
47
7.41M
#define PP_CAT3(a, b, c) BOOST_PP_CAT(a, BOOST_PP_CAT(b, c))
48
49
#define QL_PROTOCOL_TYPE_DECLARATIONS_IMPL(name, lname, type) \
50
void PP_CAT3(QLAdd, name, ColumnValue)( \
51
    QLWriteRequestPB* req, int column_id, type value); \
52
\
53
void PP_CAT3(QLSet, name, Expression)(QLExpressionPB *expr, type value); \
54
\
55
template <class RequestPB> \
56
1.98M
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
1.98M
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
1.98M
} \
_ZN2yb19QLAddInt32HashValueINS_16QLWriteRequestPBEEEvPT_i
Line
Count
Source
56
1.53M
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
1.53M
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
1.53M
} \
_ZN2yb20QLAddStringHashValueINS_16QLWriteRequestPBEEEvPT_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE
Line
Count
Source
56
73.8k
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
73.8k
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
73.8k
} \
_ZN2yb19QLAddInt32HashValueINS_15QLReadRequestPBEEEvPT_i
Line
Count
Source
56
63
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
63
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
63
} \
_ZN2yb20QLAddStringHashValueINS_15QLReadRequestPBEEEvPT_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE
Line
Count
Source
56
306
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
306
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
306
} \
_ZN2yb18QLAddInt8HashValueINS_16QLWriteRequestPBEEEvPT_a
Line
Count
Source
56
135k
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
135k
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
135k
} \
_ZN2yb19QLAddInt16HashValueINS_16QLWriteRequestPBEEEvPT_s
Line
Count
Source
56
71.3k
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
71.3k
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
71.3k
} \
_ZN2yb19QLAddInt64HashValueINS_16QLWriteRequestPBEEEvPT_x
Line
Count
Source
56
174k
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
174k
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
174k
} \
_ZN2yb20QLAddBinaryHashValueINS_16QLWriteRequestPBEEEvPT_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE
Line
Count
Source
56
300
void PP_CAT3(QLAdd, name, HashValue)(RequestPB* req, type value) { \
57
300
  PP_CAT3(QLSet, name, Expression)(req->add_hashed_column_values(), value); \
58
300
} \
Unexecuted instantiation: _ZN2yb23QLAddTimestampHashValueINS_16QLWriteRequestPBEEEvPT_x
59
template <class RequestPB> \
60
2.54k
void PP_CAT3(QLAdd, name, RangeValue)(RequestPB* req, type value) { \
61
2.54k
  PP_CAT3(QLSet, name, Expression)(req->add_range_column_values(), value); \
62
2.54k
} \
Unexecuted instantiation: _ZN2yb20QLAddInt32RangeValueINS_16QLWriteRequestPBEEEvPT_i
_ZN2yb21QLAddStringRangeValueINS_16QLWriteRequestPBEEEvPT_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE
Line
Count
Source
60
2.54k
void PP_CAT3(QLAdd, name, RangeValue)(RequestPB* req, type value) { \
61
2.54k
  PP_CAT3(QLSet, name, Expression)(req->add_range_column_values(), value); \
62
2.54k
} \
Unexecuted instantiation: _ZN2yb24QLAddTimestampRangeValueINS_16QLWriteRequestPBEEEvPT_x
63
void PP_CAT3(QLSet, name, Condition)( \
64
    QLConditionPB* condition, int column_id, QLOperator op, type value); \
65
\
66
void PP_CAT3(QLAdd, name, Condition)( \
67
    QLConditionPB* condition, int column_id, QLOperator op, type value); \
68
69
#define QL_PROTOCOL_TYPE_DECLARATIONS(i, data, entry) QL_PROTOCOL_TYPE_DECLARATIONS_IMPL entry
70
71
BOOST_PP_SEQ_FOR_EACH(QL_PROTOCOL_TYPE_DECLARATIONS, ~, QL_PROTOCOL_TYPES);
72
73
void QLAddNullColumnValue(QLWriteRequestPB* req, int column_id);
74
75
template <class RequestPB>
76
124k
void QLSetHashCode(RequestPB* req) {
77
124k
  std::string tmp;
78
323k
  for (const auto& column : req->hashed_column_values()) {
79
323k
    AppendToKey(column.value(), &tmp);
80
323k
  }
81
124k
  req->set_hash_code(YBPartition::HashColumnCompoundValue(tmp));
82
124k
}
83
84
QLValuePB* QLPrepareColumn(QLWriteRequestPB* req, int column_id);
85
QLValuePB* QLPrepareCondition(QLConditionPB* condition, int column_id, QLOperator op);
86
87
void QLAddColumns(const Schema& schema, const std::vector<ColumnId>& columns,
88
                  QLReadRequestPB* req);
89
90
std::unique_ptr<QLRowBlock> CreateRowBlock(QLClient client, const Schema& schema, Slice data);
91
92
// Does this write request require reading existing data for evaluating expressions before writing?
93
bool RequireReadForExpressions(const QLWriteRequestPB& request);
94
95
// Does this write request require reading existing data in general before writing?
96
bool RequireRead(const QLWriteRequestPB& request, const Schema& schema);
97
98
// Does this write request perform a range operation (e.g. range delete)?
99
bool IsRangeOperation(const QLWriteRequestPB& request, const Schema& schema);
100
101
#define RETURN_NOT_ENOUGH(data, sz)                         \
102
156M
  do {                                                      \
103
91.6M
    if (data->size() < (sz)) {                              \
104
0
      return STATUS(NetworkError, "Truncated CQL message"); \
105
0
    }                                                       \
106
91.6M
  } while (0)
107
108
// Decode a CQL number (8, 16, 32 and 64-bit integer). <num_type> is the parsed integer type.
109
// <converter> converts the number from network byte-order to machine order and <data_type>
110
// is the coverter's return type. The converter's return type <data_type> is unsigned while
111
// <num_type> may be signed or unsigned.
112
template<typename num_type, typename data_type>
113
static inline CHECKED_STATUS CQLDecodeNum(
114
64.8M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
64.8M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
64.8M
  if (len != sizeof(num_type)) {
118
8
    return STATUS_SUBSTITUTE(NetworkError,
119
8
                             "unexpected number byte length: expected $0, provided $1",
120
8
                             static_cast<int64_t>(sizeof(num_type)), len);
121
8
  }
122
123
64.8M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
64.8M
  *val = static_cast<num_type>((*converter)(data->data()));
125
64.8M
  data->remove_prefix(sizeof(num_type));
126
64.8M
  return Status::OK();
127
64.8M
}
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL12CQLDecodeNumIijEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
cql_message.cc:_ZN2ybL12CQLDecodeNumIhhEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
4.92M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
4.92M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
4.92M
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
4.92M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
4.92M
  *val = static_cast<num_type>((*converter)(data->data()));
125
4.92M
  data->remove_prefix(sizeof(num_type));
126
4.92M
  return Status::OK();
127
4.92M
}
cql_message.cc:_ZN2ybL12CQLDecodeNumIttEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
9.59M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
9.59M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
9.59M
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
9.59M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
9.59M
  *val = static_cast<num_type>((*converter)(data->data()));
125
9.59M
  data->remove_prefix(sizeof(num_type));
126
9.59M
  return Status::OK();
127
9.59M
}
cql_message.cc:_ZN2ybL12CQLDecodeNumIijEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
11.6M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
11.6M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
11.6M
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
11.6M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
11.6M
  *val = static_cast<num_type>((*converter)(data->data()));
125
11.6M
  data->remove_prefix(sizeof(num_type));
126
11.6M
  return Status::OK();
127
11.6M
}
cql_message.cc:_ZN2ybL12CQLDecodeNumIxyEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
4.42M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
4.42M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
4.42M
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
4.42M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
4.42M
  *val = static_cast<num_type>((*converter)(data->data()));
125
4.42M
  data->remove_prefix(sizeof(num_type));
126
4.42M
  return Status::OK();
127
4.42M
}
cql_message.cc:_ZN2ybL12CQLDecodeNumINS_2ql10CQLMessage11ConsistencyEtEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
4.53M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
4.53M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
4.53M
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
4.53M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
4.53M
  *val = static_cast<num_type>((*converter)(data->data()));
125
4.53M
  data->remove_prefix(sizeof(num_type));
126
4.53M
  return Status::OK();
127
4.53M
}
ql_rowblock.cc:_ZN2ybL12CQLDecodeNumIijEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
191k
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
191k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
191k
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
191k
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
191k
  *val = static_cast<num_type>((*converter)(data->data()));
125
191k
  data->remove_prefix(sizeof(num_type));
126
191k
  return Status::OK();
127
191k
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIijEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
27.9M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
27.9M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
27.9M
  if (len != sizeof(num_type)) {
118
1
    return STATUS_SUBSTITUTE(NetworkError,
119
1
                             "unexpected number byte length: expected $0, provided $1",
120
1
                             static_cast<int64_t>(sizeof(num_type)), len);
121
1
  }
122
123
27.9M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
27.9M
  *val = static_cast<num_type>((*converter)(data->data()));
125
27.9M
  data->remove_prefix(sizeof(num_type));
126
27.9M
  return Status::OK();
127
27.9M
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIahEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
40.5k
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
40.5k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
40.5k
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
40.5k
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
40.5k
  *val = static_cast<num_type>((*converter)(data->data()));
125
40.5k
  data->remove_prefix(sizeof(num_type));
126
40.5k
  return Status::OK();
127
40.5k
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIstEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
21.3k
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
21.3k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
21.3k
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
21.3k
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
21.3k
  *val = static_cast<num_type>((*converter)(data->data()));
125
21.3k
  data->remove_prefix(sizeof(num_type));
126
21.3k
  return Status::OK();
127
21.3k
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIyyEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
117
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
117
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
117
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
117
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
117
  *val = static_cast<num_type>((*converter)(data->data()));
125
117
  data->remove_prefix(sizeof(num_type));
126
117
  return Status::OK();
127
117
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIhhEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
171k
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
171k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
171k
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
171k
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
171k
  *val = static_cast<num_type>((*converter)(data->data()));
125
171k
  data->remove_prefix(sizeof(num_type));
126
171k
  return Status::OK();
127
171k
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIxyEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
1.31M
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
1.31M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
1.31M
  if (len != sizeof(num_type)) {
118
7
    return STATUS_SUBSTITUTE(NetworkError,
119
7
                             "unexpected number byte length: expected $0, provided $1",
120
7
                             static_cast<int64_t>(sizeof(num_type)), len);
121
7
  }
122
123
1.31M
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
1.31M
  *val = static_cast<num_type>((*converter)(data->data()));
125
1.31M
  data->remove_prefix(sizeof(num_type));
126
1.31M
  return Status::OK();
127
1.31M
}
ql_value.cc:_ZN2ybL12CQLDecodeNumIjjEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
114
426
    const size_t len, data_type (*converter)(const void*), Slice* data, num_type* val) {
115
116
426
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
117
426
  if (len != sizeof(num_type)) {
118
0
    return STATUS_SUBSTITUTE(NetworkError,
119
0
                             "unexpected number byte length: expected $0, provided $1",
120
0
                             static_cast<int64_t>(sizeof(num_type)), len);
121
0
  }
122
123
426
  RETURN_NOT_ENOUGH(data, sizeof(num_type));
124
426
  *val = static_cast<num_type>((*converter)(data->data()));
125
426
  data->remove_prefix(sizeof(num_type));
126
426
  return Status::OK();
127
426
}
128
129
// Decode a CQL floating point number (float or double). <float_type> is the parsed floating point
130
// type. <converter> converts the number from network byte-order to machine order and <data_type>
131
// is the coverter's return type. The converter's return type <data_type> is an integer type.
132
template<typename float_type, typename data_type>
133
static inline CHECKED_STATUS CQLDecodeFloat(
134
204
    const size_t len, data_type (*converter)(const void*), Slice* data, float_type* val) {
135
  // Make sure float and double are exactly sizeof uint32_t and uint64_t.
136
204
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
137
204
  data_type bval = 0;
138
204
  RETURN_NOT_OK(CQLDecodeNum(len, converter, data, &bval));
139
204
  *val = *reinterpret_cast<float_type*>(&bval);
140
204
  return Status::OK();
141
204
}
ql_value.cc:_ZN2ybL14CQLDecodeFloatIfjEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
134
87
    const size_t len, data_type (*converter)(const void*), Slice* data, float_type* val) {
135
  // Make sure float and double are exactly sizeof uint32_t and uint64_t.
136
87
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
137
87
  data_type bval = 0;
138
87
  RETURN_NOT_OK(CQLDecodeNum(len, converter, data, &bval));
139
87
  *val = *reinterpret_cast<float_type*>(&bval);
140
87
  return Status::OK();
141
87
}
ql_value.cc:_ZN2ybL14CQLDecodeFloatIdyEENS_6StatusEmPFT0_PKvEPNS_5SliceEPT_
Line
Count
Source
134
117
    const size_t len, data_type (*converter)(const void*), Slice* data, float_type* val) {
135
  // Make sure float and double are exactly sizeof uint32_t and uint64_t.
136
117
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
137
117
  data_type bval = 0;
138
117
  RETURN_NOT_OK(CQLDecodeNum(len, converter, data, &bval));
139
117
  *val = *reinterpret_cast<float_type*>(&bval);
140
117
  return Status::OK();
141
117
}
142
143
22.7M
static inline CHECKED_STATUS CQLDecodeBytes(size_t len, Slice* data, std::string* val) {
144
22.7M
  RETURN_NOT_ENOUGH(data, len);
145
22.7M
  val->assign(data->cdata(), len);
146
22.7M
  data->remove_prefix(len);
147
22.7M
  return Status::OK();
148
22.7M
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: client-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: encryption-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: restart-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: twodc-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cdc_service.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: load_generator.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: test_workload.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: statement.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql_processor.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: audit_logger.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: executor.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
cql_message.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Line
Count
Source
143
4.99M
static inline CHECKED_STATUS CQLDecodeBytes(size_t len, Slice* data, std::string* val) {
144
4.99M
  RETURN_NOT_ENOUGH(data, len);
145
4.99M
  val->assign(data->cdata(), len);
146
4.99M
  data->remove_prefix(len);
147
4.99M
  return Status::OK();
148
4.99M
}
Unexecuted instantiation: statement_result.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_processor.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_server.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_service.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: cql_statement.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: table_handle.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: client-test-util.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
ql_value.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
Line
Count
Source
143
17.7M
static inline CHECKED_STATUS CQLDecodeBytes(size_t len, Slice* data, std::string* val) {
144
17.7M
  RETURN_NOT_ENOUGH(data, len);
145
17.7M
  val->assign(data->cdata(), len);
146
17.7M
  data->remove_prefix(len);
147
17.7M
  return Status::OK();
148
17.7M
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL14CQLDecodeBytesEmPNS_5SliceEPNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
149
150
Result<int32_t> CQLDecodeLength(Slice* data);
151
152
// Decode a 32-bit length from the buffer without consuming the buffer. Caller should ensure the
153
// buffer size is at least 4 bytes.
154
34.3M
static inline int32_t CQLDecodeLength(const void* buffer) {
155
34.3M
  return static_cast<int32_t>(NetworkByteOrder::Load32(buffer));
156
34.3M
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: client-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: encryption-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: restart-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: twodc-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cdc_service.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: load_generator.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: test_workload.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: statement.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql_processor.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: audit_logger.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: executor.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_message.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: statement_result.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_processor.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_server.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_service.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_statement.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: table_handle.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: client-test-util.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL15CQLDecodeLengthEPKv
ql_resultset.cc:_ZN2ybL15CQLDecodeLengthEPKv
Line
Count
Source
154
34.3M
static inline int32_t CQLDecodeLength(const void* buffer) {
155
34.3M
  return static_cast<int32_t>(NetworkByteOrder::Load32(buffer));
156
34.3M
}
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: ql_value.cc:_ZN2ybL15CQLDecodeLengthEPKv
Unexecuted instantiation: cql_operation.cc:_ZN2ybL15CQLDecodeLengthEPKv
157
158
//----------------------------------- CQL value encode functions ---------------------------------
159
void CQLEncodeLength(const ssize_t length, faststring* buffer);
160
161
// Encode a 32-bit length into the buffer without extending the buffer. Caller should ensure the
162
// buffer size is at least 4 bytes.
163
void CQLEncodeLength(const ssize_t length, void* buffer);
164
165
// Encode a CQL number (8, 16, 32 and 64-bit integer). <num_type> is the integer type.
166
// <converter> converts the number from machine byte-order to network order and <data_type>
167
// is the coverter's return type. The converter's input type <data_type> is unsigned while
168
// <num_type> may be signed or unsigned.
169
template<typename num_type, typename data_type>
170
static inline void CQLEncodeNum(
171
8.86M
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
8.86M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
8.86M
  CQLEncodeLength(sizeof(num_type), buffer);
174
8.86M
  data_type byte_value;
175
8.86M
  (*converter)(&byte_value, static_cast<data_type>(val));
176
8.86M
  buffer->append(&byte_value, sizeof(byte_value));
177
8.86M
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIahEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
40.8k
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
40.8k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
40.8k
  CQLEncodeLength(sizeof(num_type), buffer);
174
40.8k
  data_type byte_value;
175
40.8k
  (*converter)(&byte_value, static_cast<data_type>(val));
176
40.8k
  buffer->append(&byte_value, sizeof(byte_value));
177
40.8k
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIstEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
21.6k
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
21.6k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
21.6k
  CQLEncodeLength(sizeof(num_type), buffer);
174
21.6k
  data_type byte_value;
175
21.6k
  (*converter)(&byte_value, static_cast<data_type>(val));
176
21.6k
  buffer->append(&byte_value, sizeof(byte_value));
177
21.6k
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIijEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
4.36M
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
4.36M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
4.36M
  CQLEncodeLength(sizeof(num_type), buffer);
174
4.36M
  data_type byte_value;
175
4.36M
  (*converter)(&byte_value, static_cast<data_type>(val));
176
4.36M
  buffer->append(&byte_value, sizeof(byte_value));
177
4.36M
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIxyEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
4.24M
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
4.24M
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
4.24M
  CQLEncodeLength(sizeof(num_type), buffer);
174
4.24M
  data_type byte_value;
175
4.24M
  (*converter)(&byte_value, static_cast<data_type>(val));
176
4.24M
  buffer->append(&byte_value, sizeof(byte_value));
177
4.24M
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIyyEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
537
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
537
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
537
  CQLEncodeLength(sizeof(num_type), buffer);
174
537
  data_type byte_value;
175
537
  (*converter)(&byte_value, static_cast<data_type>(val));
176
537
  buffer->append(&byte_value, sizeof(byte_value));
177
537
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIhhEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
185k
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
185k
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
185k
  CQLEncodeLength(sizeof(num_type), buffer);
174
185k
  data_type byte_value;
175
185k
  (*converter)(&byte_value, static_cast<data_type>(val));
176
185k
  buffer->append(&byte_value, sizeof(byte_value));
177
185k
}
ql_value.cc:_ZN2ybL12CQLEncodeNumIjjEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
171
528
    void (*converter)(void *, data_type), const num_type val, faststring* buffer) {
172
528
  static_assert(sizeof(data_type) == sizeof(num_type), "inconsistent num type size");
173
528
  CQLEncodeLength(sizeof(num_type), buffer);
174
528
  data_type byte_value;
175
528
  (*converter)(&byte_value, static_cast<data_type>(val));
176
528
  buffer->append(&byte_value, sizeof(byte_value));
177
528
}
178
179
// Encode a CQL floating point number (float or double). <float_type> is the floating point type.
180
// <converter> converts the number from machine byte-order to network order and <data_type>
181
// is the coverter's input type. The converter's input type <data_type> is an integer type.
182
template<typename float_type, typename data_type>
183
static inline void CQLEncodeFloat(
184
990
    void (*converter)(void *, data_type), const float_type val, faststring* buffer) {
185
990
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
186
990
  const data_type value = *reinterpret_cast<const data_type*>(&val);
187
990
  CQLEncodeNum(converter, value, buffer);
188
990
}
ql_value.cc:_ZN2ybL14CQLEncodeFloatIfjEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
184
453
    void (*converter)(void *, data_type), const float_type val, faststring* buffer) {
185
453
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
186
453
  const data_type value = *reinterpret_cast<const data_type*>(&val);
187
453
  CQLEncodeNum(converter, value, buffer);
188
453
}
ql_value.cc:_ZN2ybL14CQLEncodeFloatIdyEEvPFvPvT0_ET_PNS_10faststringE
Line
Count
Source
184
537
    void (*converter)(void *, data_type), const float_type val, faststring* buffer) {
185
537
  static_assert(sizeof(float_type) == sizeof(data_type), "inconsistent floating point type size");
186
537
  const data_type value = *reinterpret_cast<const data_type*>(&val);
187
537
  CQLEncodeNum(converter, value, buffer);
188
537
}
189
190
23.3M
static inline void CQLEncodeBytes(const std::string& val, faststring* buffer) {
191
23.3M
  CQLEncodeLength(val.size(), buffer);
192
23.3M
  buffer->append(val);
193
23.3M
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: client-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: encryption-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: restart-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: twodc-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cdc_service.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: load_generator.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: test_workload.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: statement.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql_processor.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: audit_logger.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: executor.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_message.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: statement_result.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_processor.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_server.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_service.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: cql_statement.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: table_handle.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: client-test-util.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
ql_value.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
Line
Count
Source
190
23.3M
static inline void CQLEncodeBytes(const std::string& val, faststring* buffer) {
191
23.3M
  CQLEncodeLength(val.size(), buffer);
192
23.3M
  buffer->append(val);
193
23.3M
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL14CQLEncodeBytesERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPNS_10faststringE
194
195
//--------------------------------------------------------------------------------------------------
196
// For collections the serialized length (size in bytes -- not number of elements) depends on the
197
// size of their (possibly variable-length) elements so cannot be pre-computed efficiently.
198
// Therefore CQLStartCollection and CQLFinishCollection should be called before and, respectively,
199
// after serializing collection elements to set the correct value
200
201
// Allocates the space in the buffer for writing the correct length later and returns the buffer
202
// position after (i.e. where the serialization for the collection value will begin)
203
837k
static inline int32_t CQLStartCollection(faststring* buffer) {
204
837k
  CQLEncodeLength(0, buffer);
205
837k
  return static_cast<int32_t>(buffer->size());
206
837k
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: client-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: encryption-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: restart-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: twodc-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cdc_service.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: load_generator.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: test_workload.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: statement.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql_processor.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: audit_logger.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: executor.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_message.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: statement_result.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_processor.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_server.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_service.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: cql_statement.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: table_handle.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: client-test-util.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
ql_value.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
Line
Count
Source
203
837k
static inline int32_t CQLStartCollection(faststring* buffer) {
204
837k
  CQLEncodeLength(0, buffer);
205
837k
  return static_cast<int32_t>(buffer->size());
206
837k
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL18CQLStartCollectionEPNS_10faststringE
207
208
// Sets the value for the serialized size of a collection by subtracting the start position to
209
// compute length and writing it at the right position in the buffer
210
837k
static inline void CQLFinishCollection(int32_t start_pos, faststring* buffer) {
211
  // computing collection size (in bytes)
212
837k
  int32_t coll_size = static_cast<int32_t>(buffer->size()) - start_pos;
213
214
  // writing the collection size in bytes to the length component of the CQL value
215
837k
  int32_t pos = start_pos - sizeof(int32_t); // subtracting size of length component
216
837k
  NetworkByteOrder::Store32(&(*buffer)[pos], static_cast<uint32_t>(coll_size));
217
837k
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: client-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: encryption-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: restart-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: twodc-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cdc_service.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: load_generator.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: test_workload.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: statement.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql_processor.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: audit_logger.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: executor.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_message.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: statement_result.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_processor.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_server.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_service.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: cql_statement.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: table_handle.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: client-test-util.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
ql_value.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
Line
Count
Source
210
837k
static inline void CQLFinishCollection(int32_t start_pos, faststring* buffer) {
211
  // computing collection size (in bytes)
212
837k
  int32_t coll_size = static_cast<int32_t>(buffer->size()) - start_pos;
213
214
  // writing the collection size in bytes to the length component of the CQL value
215
837k
  int32_t pos = start_pos - sizeof(int32_t); // subtracting size of length component
216
837k
  NetworkByteOrder::Store32(&(*buffer)[pos], static_cast<uint32_t>(coll_size));
217
837k
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL19CQLFinishCollectionEiPNS_10faststringE
218
219
14.0M
static inline void Store8(void* p, uint8_t v) {
220
14.0M
  *static_cast<uint8_t*>(p) = v;
221
14.0M
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: client-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: encryption-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: restart-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: twodc-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cdc_service.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: load_generator.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: test_workload.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: statement.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql_processor.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: audit_logger.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: executor.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL6Store8EPvh
cql_message.cc:_ZN2ybL6Store8EPvh
Line
Count
Source
219
13.8M
static inline void Store8(void* p, uint8_t v) {
220
13.8M
  *static_cast<uint8_t*>(p) = v;
221
13.8M
}
Unexecuted instantiation: statement_result.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_processor.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_server.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_service.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: cql_statement.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: table_handle.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: client-test-util.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL6Store8EPvh
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL6Store8EPvh
ql_value.cc:_ZN2ybL6Store8EPvh
Line
Count
Source
219
226k
static inline void Store8(void* p, uint8_t v) {
220
226k
  *static_cast<uint8_t*>(p) = v;
221
226k
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL6Store8EPvh
222
223
//----------------------------------- CQL value decode functions ---------------------------------
224
18.8M
static inline uint8_t Load8(const void* p) {
225
18.8M
  return *static_cast<const uint8_t*>(p);
226
18.8M
}
Unexecuted instantiation: insert-generated-rows.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet_server_main.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: backup-txn-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: client-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-dml-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-dml-ttl-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-list-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-stress-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-tablet-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-transaction-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: seal-txn-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: serializable-txn-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: snapshot-schedule-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: snapshot-txn-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cqlserver-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: doc_operation-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: all_types-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: alter_table-randomized-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: alter_table-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cdc_service-int-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cdc_service-txn-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cdcsdk_stream-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: client-stress-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: client_failover-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: compressed_stream-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql-index-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql-tablet-split-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: encryption-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: external_mini_cluster_secure_test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: flush_under_load-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: full_stack-insert-scan-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: kv_table-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: kv_table_ts_failover-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: kv_table_ts_failover_write_if-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: linked_list-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer_colocated_tables-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer_mini_cluster-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer_multi_table-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer_placement_policy-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_balancer_respect_affinity-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: master_failover-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: network_failure-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: raft_consensus-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: redis_table-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: restart-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: secure_connection_test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: snapshot-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: stepdown_under_load-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: sys_catalog_respect_affinity-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: system_table_fault_tolerance.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-split-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet_server-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: transaction-ent-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: twodc-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: twodc_ysql-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: update_scan_delta_compact-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: xcluster-tablet-split-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-ts-cli-itest.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: flush_manager-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-query-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-select-expr-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: redisserver-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: composite-pushdown-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-metadata-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-pushdown-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-schema-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-split-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet_data_integrity-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet_random_access-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: verifyrows-tablet-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: data-patcher-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-admin-snapshot-schedule-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-admin-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-admin-test_ent.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-backup-test_ent.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-bulk_load-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb-ts-cli-test.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: admin-test-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cdc_service.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_test_base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cluster_verifier.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: load_generator.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: redis_table_test_base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: test_workload.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ts_itest-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: yb_table_test_base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cdcsdk_test_base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: sys_catalog_writer.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: catalog_manager_ent.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-dml-test-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: txn-test-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: snapshot_test_util.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: statement.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql_processor.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: audit_logger.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: eval_aggr.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: executor.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql-test-base.cc:_ZN2ybL5Load8EPKv
cql_message.cc:_ZN2ybL5Load8EPKv
Line
Count
Source
224
18.5M
static inline uint8_t Load8(const void* p) {
225
18.5M
  return *static_cast<const uint8_t*>(p);
226
18.5M
}
Unexecuted instantiation: statement_result.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-split-itest-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: local_tablet_writer.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: tablet-test-base.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: metrics_snapshotter.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_processor.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_rpc.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_server.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_server_options.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_service.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: cql_statement.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: system_query_cache.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: table_handle.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: client-test-util.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql_protocol_util.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql_resultset.cc:_ZN2ybL5Load8EPKv
Unexecuted instantiation: ql_rowblock.cc:_ZN2ybL5Load8EPKv
ql_value.cc:_ZN2ybL5Load8EPKv
Line
Count
Source
224
211k
static inline uint8_t Load8(const void* p) {
225
211k
  return *static_cast<const uint8_t*>(p);
226
211k
}
Unexecuted instantiation: cql_operation.cc:_ZN2ybL5Load8EPKv
227
228
} // namespace yb
229
230
#endif // YB_COMMON_QL_PROTOCOL_UTIL_H