/Users/deen/code/yugabyte-db/src/yb/gutil/casts.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2009 Google Inc. All Rights Reserved. |
2 | | // |
3 | | // The following only applies to changes made to this file as part of YugaByte development. |
4 | | // |
5 | | // Portions Copyright (c) YugaByte, Inc. |
6 | | // |
7 | | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
8 | | // in compliance with the License. You may obtain a copy of the License at |
9 | | // |
10 | | // http://www.apache.org/licenses/LICENSE-2.0 |
11 | | // |
12 | | // Unless required by applicable law or agreed to in writing, software distributed under the License |
13 | | // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
14 | | // or implied. See the License for the specific language governing permissions and limitations |
15 | | // under the License. |
16 | | // |
17 | | // Various Google-specific casting templates. |
18 | | // |
19 | | // This code is compiled directly on many platforms, including client |
20 | | // platforms like Windows, Mac, and embedded systems. Before making |
21 | | // any changes here, make sure that you're not breaking any platforms. |
22 | | // |
23 | | |
24 | | #ifndef YB_GUTIL_CASTS_H |
25 | | #define YB_GUTIL_CASTS_H |
26 | | |
27 | | #include <assert.h> // for use with down_cast<> |
28 | | #include <string.h> // for memcpy |
29 | | #include <limits.h> // for enumeration casts and tests |
30 | | |
31 | | #include <limits> |
32 | | #include <string> |
33 | | |
34 | | #include "yb/gutil/macros.h" |
35 | | #include "yb/gutil/template_util.h" |
36 | | #include "yb/gutil/type_traits.h" |
37 | | |
38 | | namespace yb { |
39 | | |
40 | | // Use implicit_cast as a safe version of static_cast or const_cast |
41 | | // for implicit conversions. For example: |
42 | | // - Upcasting in a type hierarchy. |
43 | | // - Performing arithmetic conversions (int32 to int64, int to double, etc.). |
44 | | // - Adding const or volatile qualifiers. |
45 | | // |
46 | | // In general, implicit_cast can be used to convert this code |
47 | | // To to = from; |
48 | | // DoSomething(to); |
49 | | // to this |
50 | | // DoSomething(implicit_cast<To>(from)); |
51 | | // |
52 | | // base::identity_ is used to make a non-deduced context, which |
53 | | // forces all callers to explicitly specify the template argument. |
54 | | template<typename To> |
55 | 285M | inline To implicit_cast(typename base::identity_<To>::type to) { |
56 | 285M | return to; |
57 | 285M | } unsigned long yb::implicit_cast<unsigned long>(base::identity_<unsigned long>::type) Line | Count | Source | 55 | 132M | inline To implicit_cast(typename base::identity_<To>::type to) { | 56 | 132M | return to; | 57 | 132M | } |
int yb::implicit_cast<int>(base::identity_<int>::type) Line | Count | Source | 55 | 148M | inline To implicit_cast(typename base::identity_<To>::type to) { | 56 | 148M | return to; | 57 | 148M | } |
long yb::implicit_cast<long>(base::identity_<long>::type) Line | Count | Source | 55 | 3.53M | inline To implicit_cast(typename base::identity_<To>::type to) { | 56 | 3.53M | return to; | 57 | 3.53M | } |
rocksdb::InternalIterator* yb::implicit_cast<rocksdb::InternalIterator*>(base::identity_<rocksdb::InternalIterator*>::type) Line | Count | Source | 55 | 101k | inline To implicit_cast(typename base::identity_<To>::type to) { | 56 | 101k | return to; | 57 | 101k | } |
long long yb::implicit_cast<long long>(base::identity_<long long>::type) Line | Count | Source | 55 | 92.6k | inline To implicit_cast(typename base::identity_<To>::type to) { | 56 | 92.6k | return to; | 57 | 92.6k | } |
|
58 | | |
59 | | // This version of implicit_cast is used when two template arguments |
60 | | // are specified. It's obsolete and should not be used. |
61 | | template<typename To, typename From> |
62 | 0 | inline To implicit_cast(typename base::identity_<From>::type const &f) { |
63 | 0 | return f; |
64 | 0 | } Unexecuted instantiation: rocksdb::UserFrontier const* yb::implicit_cast<rocksdb::UserFrontier const*, rocksdb::test::TestUserFrontier const*>(base::identity_<rocksdb::test::TestUserFrontier const*>::type const&) Unexecuted instantiation: rocksdb::UserFrontiers const* yb::implicit_cast<rocksdb::UserFrontiers const*, rocksdb::UserFrontiersBase<rocksdb::test::TestUserFrontier> const*>(base::identity_<rocksdb::UserFrontiersBase<rocksdb::test::TestUserFrontier> const*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::FunctionGauge<unsigned long long>*>(base::identity_<yb::FunctionGauge<unsigned long long>*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::FunctionGauge<long long>*>(base::identity_<yb::FunctionGauge<long long>*>::type const&) Unexecuted instantiation: yb::ql::PTDmlStmt* yb::implicit_cast<yb::ql::PTDmlStmt*, yb::ql::PTSelectStmt*>(base::identity_<yb::ql::PTSelectStmt*>::type const&) Unexecuted instantiation: yb::ql::PTExpr* yb::implicit_cast<yb::ql::PTExpr*, yb::ql::PTRef*>(base::identity_<yb::ql::PTRef*>::type const&) Unexecuted instantiation: yb::ql::PTDmlStmt const* yb::implicit_cast<yb::ql::PTDmlStmt const*, yb::ql::PTSelectStmt const*>(base::identity_<yb::ql::PTSelectStmt const*>::type const&) Unexecuted instantiation: yb::client::YBRedisOp* yb::implicit_cast<yb::client::YBRedisOp*, yb::client::YBRedisReadOp*>(base::identity_<yb::client::YBRedisReadOp*>::type const&) Unexecuted instantiation: yb::client::YBRedisOp* yb::implicit_cast<yb::client::YBRedisOp*, yb::client::YBRedisWriteOp*>(base::identity_<yb::client::YBRedisWriteOp*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::AtomicGauge<unsigned long long>*>(base::identity_<yb::AtomicGauge<unsigned long long>*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::BeginRemoteBootstrapSessionRequestPB const*>(base::identity_<yb::tserver::BeginRemoteBootstrapSessionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::BeginRemoteBootstrapSessionResponsePB*>(base::identity_<yb::tserver::BeginRemoteBootstrapSessionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB const*>(base::identity_<yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB*>(base::identity_<yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::FetchDataRequestPB const*>(base::identity_<yb::tserver::FetchDataRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::FetchDataResponsePB*>(base::identity_<yb::tserver::FetchDataResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::EndRemoteBootstrapSessionRequestPB const*>(base::identity_<yb::tserver::EndRemoteBootstrapSessionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::EndRemoteBootstrapSessionResponsePB*>(base::identity_<yb::tserver::EndRemoteBootstrapSessionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::RemoveSessionRequestPB const*>(base::identity_<yb::tserver::RemoveSessionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::RemoveSessionResponsePB*>(base::identity_<yb::tserver::RemoveSessionResponsePB*>::type const&) Unexecuted instantiation: yb::client::YBPgsqlOp const* yb::implicit_cast<yb::client::YBPgsqlOp const*, yb::client::YBPgsqlReadOp const*>(base::identity_<yb::client::YBPgsqlReadOp const*>::type const&) Unexecuted instantiation: yb::tablet::AbstractTablet* yb::implicit_cast<yb::tablet::AbstractTablet*, yb::tablet::Tablet*>(base::identity_<yb::tablet::Tablet*>::type const&) Unexecuted instantiation: yb::consensus::Consensus* yb::implicit_cast<yb::consensus::Consensus*, yb::consensus::RaftConsensus*>(base::identity_<yb::consensus::RaftConsensus*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::CreateTabletRequestPB const*>(base::identity_<yb::tserver::CreateTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::CreateTabletResponsePB*>(base::identity_<yb::tserver::CreateTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::DeleteTabletRequestPB const*>(base::identity_<yb::tserver::DeleteTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::DeleteTabletResponsePB*>(base::identity_<yb::tserver::DeleteTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tablet::ChangeMetadataRequestPB const*>(base::identity_<yb::tablet::ChangeMetadataRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ChangeMetadataResponsePB*>(base::identity_<yb::tserver::ChangeMetadataResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetSafeTimeRequestPB const*>(base::identity_<yb::tserver::GetSafeTimeRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetSafeTimeResponsePB*>(base::identity_<yb::tserver::GetSafeTimeResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::BackfillIndexRequestPB const*>(base::identity_<yb::tserver::BackfillIndexRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::BackfillIndexResponsePB*>(base::identity_<yb::tserver::BackfillIndexResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::CopartitionTableRequestPB const*>(base::identity_<yb::tserver::CopartitionTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::CopartitionTableResponsePB*>(base::identity_<yb::tserver::CopartitionTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::FlushTabletsRequestPB const*>(base::identity_<yb::tserver::FlushTabletsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::FlushTabletsResponsePB*>(base::identity_<yb::tserver::FlushTabletsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::CountIntentsRequestPB const*>(base::identity_<yb::tserver::CountIntentsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::CountIntentsResponsePB*>(base::identity_<yb::tserver::CountIntentsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::AddTableToTabletRequestPB const*>(base::identity_<yb::tserver::AddTableToTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::AddTableToTabletResponsePB*>(base::identity_<yb::tserver::AddTableToTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::RemoveTableFromTabletRequestPB const*>(base::identity_<yb::tserver::RemoveTableFromTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::RemoveTableFromTabletResponsePB*>(base::identity_<yb::tserver::RemoveTableFromTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tablet::SplitTabletRequestPB const*>(base::identity_<yb::tablet::SplitTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::SplitTabletResponsePB*>(base::identity_<yb::tserver::SplitTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::UpgradeYsqlRequestPB const*>(base::identity_<yb::tserver::UpgradeYsqlRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::UpgradeYsqlResponsePB*>(base::identity_<yb::tserver::UpgradeYsqlResponsePB*>::type const&) Unexecuted instantiation: yb::ql::TreeNode* yb::implicit_cast<yb::ql::TreeNode*, yb::ql::PTDmlStmt*>(base::identity_<yb::ql::PTDmlStmt*>::type const&) Unexecuted instantiation: rocksdb::UserFrontier const* yb::implicit_cast<rocksdb::UserFrontier const*, yb::docdb::ConsensusFrontier const*>(base::identity_<yb::docdb::ConsensusFrontier const*>::type const&) Unexecuted instantiation: rocksdb::UserFrontier* yb::implicit_cast<rocksdb::UserFrontier*, yb::docdb::ConsensusFrontier*>(base::identity_<yb::docdb::ConsensusFrontier*>::type const&) Unexecuted instantiation: rocksdb::UserFrontiers const* yb::implicit_cast<rocksdb::UserFrontiers const*, rocksdb::UserFrontiersBase<yb::docdb::ConsensusFrontier> const*>(base::identity_<rocksdb::UserFrontiersBase<yb::docdb::ConsensusFrontier> const*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::AtomicGauge<unsigned int>*>(base::identity_<yb::AtomicGauge<unsigned int>*>::type const&) Unexecuted instantiation: yb::docdb::DocOperation* yb::implicit_cast<yb::docdb::DocOperation*, yb::docdb::RedisWriteOperation*>(base::identity_<yb::docdb::RedisWriteOperation*>::type const&) Unexecuted instantiation: yb::docdb::DocOperation* yb::implicit_cast<yb::docdb::DocOperation*, yb::docdb::QLWriteOperation*>(base::identity_<yb::docdb::QLWriteOperation*>::type const&) Unexecuted instantiation: yb::docdb::DocOperation* yb::implicit_cast<yb::docdb::DocOperation*, yb::docdb::PgsqlWriteOperation*>(base::identity_<yb::docdb::PgsqlWriteOperation*>::type const&) Unexecuted instantiation: yb::rpc::LightweightMessage const* yb::implicit_cast<yb::rpc::LightweightMessage const*, yb::rpc::LWErrorStatusPB const*>(base::identity_<yb::rpc::LWErrorStatusPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc::ErrorStatusPB const*>(base::identity_<yb::rpc::ErrorStatusPB const*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::AtomicGauge<long long>*>(base::identity_<yb::AtomicGauge<long long>*>::type const&) Unexecuted instantiation: yb::rpc::InboundCall* yb::implicit_cast<yb::rpc::InboundCall*, yb::rpc::QueueableInboundCall*>(base::identity_<yb::rpc::QueueableInboundCall*>::type const&) Unexecuted instantiation: yb::rpc::InboundCall* yb::implicit_cast<yb::rpc::InboundCall*, yb::rpc::YBInboundCall*>(base::identity_<yb::rpc::YBInboundCall*>::type const&) Unexecuted instantiation: yb::rpc::RpcService* yb::implicit_cast<yb::rpc::RpcService*, yb::rpc::ServicePool*>(base::identity_<yb::rpc::ServicePool*>::type const&) Unexecuted instantiation: yb::server::RpcAndWebServerBase* yb::implicit_cast<yb::server::RpcAndWebServerBase*, yb::master::Master*>(base::identity_<yb::master::Master*>::type const&) Unexecuted instantiation: yb::server::RpcAndWebServerBase* yb::implicit_cast<yb::server::RpcAndWebServerBase*, yb::tserver::TabletServer*>(base::identity_<yb::tserver::TabletServer*>::type const&) Unexecuted instantiation: yb::docdb::YQLRowwiseIteratorIf* yb::implicit_cast<yb::docdb::YQLRowwiseIteratorIf*, yb::docdb::DocRowwiseIterator*>(base::identity_<yb::docdb::DocRowwiseIterator*>::type const&) Unexecuted instantiation: yb::docdb::YQLStorageIf const* yb::implicit_cast<yb::docdb::YQLStorageIf const*, yb::master::YQLPartitionsVTable const*>(base::identity_<yb::master::YQLPartitionsVTable const*>::type const&) Unexecuted instantiation: yb::master::CatalogManager* yb::implicit_cast<yb::master::CatalogManager*, yb::master::enterprise::CatalogManager*>(base::identity_<yb::master::enterprise::CatalogManager*>::type const&) Unexecuted instantiation: yb::QLValue const* yb::implicit_cast<yb::QLValue const*, yb::QLValue const*>(base::identity_<yb::QLValue const*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::CreateCDCStreamRequestPB const*>(base::identity_<yb::cdc::CreateCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::CreateCDCStreamResponsePB*>(base::identity_<yb::cdc::CreateCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::DeleteCDCStreamRequestPB const*>(base::identity_<yb::cdc::DeleteCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::DeleteCDCStreamResponsePB*>(base::identity_<yb::cdc::DeleteCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::ListTabletsRequestPB const*>(base::identity_<yb::cdc::ListTabletsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::ListTabletsResponsePB*>(base::identity_<yb::cdc::ListTabletsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::GetChangesRequestPB const*>(base::identity_<yb::cdc::GetChangesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::GetChangesResponsePB*>(base::identity_<yb::cdc::GetChangesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::GetCheckpointRequestPB const*>(base::identity_<yb::cdc::GetCheckpointRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::GetCheckpointResponsePB*>(base::identity_<yb::cdc::GetCheckpointResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::UpdateCdcReplicatedIndexRequestPB const*>(base::identity_<yb::cdc::UpdateCdcReplicatedIndexRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::UpdateCdcReplicatedIndexResponsePB*>(base::identity_<yb::cdc::UpdateCdcReplicatedIndexResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::BootstrapProducerRequestPB const*>(base::identity_<yb::cdc::BootstrapProducerRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::BootstrapProducerResponsePB*>(base::identity_<yb::cdc::BootstrapProducerResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::GetLatestEntryOpIdRequestPB const*>(base::identity_<yb::cdc::GetLatestEntryOpIdRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::GetLatestEntryOpIdResponsePB*>(base::identity_<yb::cdc::GetLatestEntryOpIdResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::GetCDCDBStreamInfoRequestPB const*>(base::identity_<yb::cdc::GetCDCDBStreamInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::GetCDCDBStreamInfoResponsePB*>(base::identity_<yb::cdc::GetCDCDBStreamInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::cdc::SetCDCCheckpointRequestPB const*>(base::identity_<yb::cdc::SetCDCCheckpointRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::cdc::SetCDCCheckpointResponsePB*>(base::identity_<yb::cdc::SetCDCCheckpointResponsePB*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBRedisReadOp*>(base::identity_<yb::client::YBRedisReadOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBRedisWriteOp*>(base::identity_<yb::client::YBRedisWriteOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBRedisOp*>(base::identity_<yb::client::YBRedisOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBqlOp*>(base::identity_<yb::client::YBqlOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBPgsqlOp*>(base::identity_<yb::client::YBPgsqlOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBqlWriteOp*>(base::identity_<yb::client::YBqlWriteOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBPgsqlWriteOp*>(base::identity_<yb::client::YBPgsqlWriteOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBqlReadOp*>(base::identity_<yb::client::YBqlReadOp*>::type const&) Unexecuted instantiation: yb::client::YBOperation* yb::implicit_cast<yb::client::YBOperation*, yb::client::YBPgsqlReadOp*>(base::identity_<yb::client::YBPgsqlReadOp*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::TabletSnapshotOpRequestPB const*>(base::identity_<yb::tserver::TabletSnapshotOpRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::TabletSnapshotOpResponsePB*>(base::identity_<yb::tserver::TabletSnapshotOpResponsePB*>::type const&) Unexecuted instantiation: testutil.cc:rocksdb::UserBoundaryValue* yb::implicit_cast<rocksdb::UserBoundaryValue*, rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<0u, long long>*>(base::identity_<rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<0u, long long>*>::type const&) Unexecuted instantiation: testutil.cc:rocksdb::UserBoundaryValue* yb::implicit_cast<rocksdb::UserBoundaryValue*, rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<1u, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >*>(base::identity_<rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<1u, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateSnapshotRequestPB const*>(base::identity_<yb::master::CreateSnapshotRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateSnapshotResponsePB*>(base::identity_<yb::master::CreateSnapshotResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListSnapshotsRequestPB const*>(base::identity_<yb::master::ListSnapshotsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListSnapshotsResponsePB*>(base::identity_<yb::master::ListSnapshotsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListSnapshotRestorationsRequestPB const*>(base::identity_<yb::master::ListSnapshotRestorationsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListSnapshotRestorationsResponsePB*>(base::identity_<yb::master::ListSnapshotRestorationsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::RestoreSnapshotRequestPB const*>(base::identity_<yb::master::RestoreSnapshotRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::RestoreSnapshotResponsePB*>(base::identity_<yb::master::RestoreSnapshotResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteSnapshotRequestPB const*>(base::identity_<yb::master::DeleteSnapshotRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteSnapshotResponsePB*>(base::identity_<yb::master::DeleteSnapshotResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ImportSnapshotMetaRequestPB const*>(base::identity_<yb::master::ImportSnapshotMetaRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ImportSnapshotMetaResponsePB*>(base::identity_<yb::master::ImportSnapshotMetaResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateSnapshotScheduleRequestPB const*>(base::identity_<yb::master::CreateSnapshotScheduleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateSnapshotScheduleResponsePB*>(base::identity_<yb::master::CreateSnapshotScheduleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListSnapshotSchedulesRequestPB const*>(base::identity_<yb::master::ListSnapshotSchedulesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListSnapshotSchedulesResponsePB*>(base::identity_<yb::master::ListSnapshotSchedulesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteSnapshotScheduleRequestPB const*>(base::identity_<yb::master::DeleteSnapshotScheduleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteSnapshotScheduleResponsePB*>(base::identity_<yb::master::DeleteSnapshotScheduleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgHeartbeatRequestPB const*>(base::identity_<yb::tserver::PgHeartbeatRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgHeartbeatResponsePB*>(base::identity_<yb::tserver::PgHeartbeatResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgAlterDatabaseRequestPB const*>(base::identity_<yb::tserver::PgAlterDatabaseRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgAlterDatabaseResponsePB*>(base::identity_<yb::tserver::PgAlterDatabaseResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgAlterTableRequestPB const*>(base::identity_<yb::tserver::PgAlterTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgAlterTableResponsePB*>(base::identity_<yb::tserver::PgAlterTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgBackfillIndexRequestPB const*>(base::identity_<yb::tserver::PgBackfillIndexRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgBackfillIndexResponsePB*>(base::identity_<yb::tserver::PgBackfillIndexResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgCreateDatabaseRequestPB const*>(base::identity_<yb::tserver::PgCreateDatabaseRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgCreateDatabaseResponsePB*>(base::identity_<yb::tserver::PgCreateDatabaseResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgCreateSequencesDataTableRequestPB const*>(base::identity_<yb::tserver::PgCreateSequencesDataTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgCreateSequencesDataTableResponsePB*>(base::identity_<yb::tserver::PgCreateSequencesDataTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgCreateTableRequestPB const*>(base::identity_<yb::tserver::PgCreateTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgCreateTableResponsePB*>(base::identity_<yb::tserver::PgCreateTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgCreateTablegroupRequestPB const*>(base::identity_<yb::tserver::PgCreateTablegroupRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgCreateTablegroupResponsePB*>(base::identity_<yb::tserver::PgCreateTablegroupResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgDropDatabaseRequestPB const*>(base::identity_<yb::tserver::PgDropDatabaseRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgDropDatabaseResponsePB*>(base::identity_<yb::tserver::PgDropDatabaseResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgDropTableRequestPB const*>(base::identity_<yb::tserver::PgDropTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgDropTableResponsePB*>(base::identity_<yb::tserver::PgDropTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgDropTablegroupRequestPB const*>(base::identity_<yb::tserver::PgDropTablegroupRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgDropTablegroupResponsePB*>(base::identity_<yb::tserver::PgDropTablegroupResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgFinishTransactionRequestPB const*>(base::identity_<yb::tserver::PgFinishTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgFinishTransactionResponsePB*>(base::identity_<yb::tserver::PgFinishTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgGetCatalogMasterVersionRequestPB const*>(base::identity_<yb::tserver::PgGetCatalogMasterVersionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgGetCatalogMasterVersionResponsePB*>(base::identity_<yb::tserver::PgGetCatalogMasterVersionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgGetDatabaseInfoRequestPB const*>(base::identity_<yb::tserver::PgGetDatabaseInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgGetDatabaseInfoResponsePB*>(base::identity_<yb::tserver::PgGetDatabaseInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgIsInitDbDoneRequestPB const*>(base::identity_<yb::tserver::PgIsInitDbDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgIsInitDbDoneResponsePB*>(base::identity_<yb::tserver::PgIsInitDbDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgListLiveTabletServersRequestPB const*>(base::identity_<yb::tserver::PgListLiveTabletServersRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgListLiveTabletServersResponsePB*>(base::identity_<yb::tserver::PgListLiveTabletServersResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgOpenTableRequestPB const*>(base::identity_<yb::tserver::PgOpenTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgOpenTableResponsePB*>(base::identity_<yb::tserver::PgOpenTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgPerformRequestPB const*>(base::identity_<yb::tserver::PgPerformRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgPerformResponsePB*>(base::identity_<yb::tserver::PgPerformResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgReserveOidsRequestPB const*>(base::identity_<yb::tserver::PgReserveOidsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgReserveOidsResponsePB*>(base::identity_<yb::tserver::PgReserveOidsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgRollbackSubTransactionRequestPB const*>(base::identity_<yb::tserver::PgRollbackSubTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgRollbackSubTransactionResponsePB*>(base::identity_<yb::tserver::PgRollbackSubTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgSetActiveSubTransactionRequestPB const*>(base::identity_<yb::tserver::PgSetActiveSubTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgSetActiveSubTransactionResponsePB*>(base::identity_<yb::tserver::PgSetActiveSubTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgTabletServerCountRequestPB const*>(base::identity_<yb::tserver::PgTabletServerCountRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgTabletServerCountResponsePB*>(base::identity_<yb::tserver::PgTabletServerCountResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgTruncateTableRequestPB const*>(base::identity_<yb::tserver::PgTruncateTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgTruncateTableResponsePB*>(base::identity_<yb::tserver::PgTruncateTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgValidatePlacementRequestPB const*>(base::identity_<yb::tserver::PgValidatePlacementRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgValidatePlacementResponsePB*>(base::identity_<yb::tserver::PgValidatePlacementResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgInsertSequenceTupleRequestPB const*>(base::identity_<yb::tserver::PgInsertSequenceTupleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgInsertSequenceTupleResponsePB*>(base::identity_<yb::tserver::PgInsertSequenceTupleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgUpdateSequenceTupleRequestPB const*>(base::identity_<yb::tserver::PgUpdateSequenceTupleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgUpdateSequenceTupleResponsePB*>(base::identity_<yb::tserver::PgUpdateSequenceTupleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgReadSequenceTupleRequestPB const*>(base::identity_<yb::tserver::PgReadSequenceTupleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgReadSequenceTupleResponsePB*>(base::identity_<yb::tserver::PgReadSequenceTupleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgDeleteSequenceTupleRequestPB const*>(base::identity_<yb::tserver::PgDeleteSequenceTupleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgDeleteSequenceTupleResponsePB*>(base::identity_<yb::tserver::PgDeleteSequenceTupleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PgDeleteDBSequencesRequestPB const*>(base::identity_<yb::tserver::PgDeleteDBSequencesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PgDeleteDBSequencesResponsePB*>(base::identity_<yb::tserver::PgDeleteDBSequencesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::WriteRequestPB const*>(base::identity_<yb::tserver::WriteRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::WriteResponsePB*>(base::identity_<yb::tserver::WriteResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::ReadRequestPB const*>(base::identity_<yb::tserver::ReadRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ReadResponsePB*>(base::identity_<yb::tserver::ReadResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::VerifyTableRowRangeRequestPB const*>(base::identity_<yb::tserver::VerifyTableRowRangeRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::VerifyTableRowRangeResponsePB*>(base::identity_<yb::tserver::VerifyTableRowRangeResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::NoOpRequestPB const*>(base::identity_<yb::tserver::NoOpRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::NoOpResponsePB*>(base::identity_<yb::tserver::NoOpResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::ListTabletsRequestPB const*>(base::identity_<yb::tserver::ListTabletsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ListTabletsResponsePB*>(base::identity_<yb::tserver::ListTabletsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetLogLocationRequestPB const*>(base::identity_<yb::tserver::GetLogLocationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetLogLocationResponsePB*>(base::identity_<yb::tserver::GetLogLocationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::ChecksumRequestPB const*>(base::identity_<yb::tserver::ChecksumRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ChecksumResponsePB*>(base::identity_<yb::tserver::ChecksumResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::ListTabletsForTabletServerRequestPB const*>(base::identity_<yb::tserver::ListTabletsForTabletServerRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ListTabletsForTabletServerResponsePB*>(base::identity_<yb::tserver::ListTabletsForTabletServerResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::ImportDataRequestPB const*>(base::identity_<yb::tserver::ImportDataRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::ImportDataResponsePB*>(base::identity_<yb::tserver::ImportDataResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::UpdateTransactionRequestPB const*>(base::identity_<yb::tserver::UpdateTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::UpdateTransactionResponsePB*>(base::identity_<yb::tserver::UpdateTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetTransactionStatusRequestPB const*>(base::identity_<yb::tserver::GetTransactionStatusRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetTransactionStatusResponsePB*>(base::identity_<yb::tserver::GetTransactionStatusResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetTransactionStatusAtParticipantRequestPB const*>(base::identity_<yb::tserver::GetTransactionStatusAtParticipantRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetTransactionStatusAtParticipantResponsePB*>(base::identity_<yb::tserver::GetTransactionStatusAtParticipantResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::AbortTransactionRequestPB const*>(base::identity_<yb::tserver::AbortTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::AbortTransactionResponsePB*>(base::identity_<yb::tserver::AbortTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::TruncateRequestPB const*>(base::identity_<yb::tserver::TruncateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::TruncateResponsePB*>(base::identity_<yb::tserver::TruncateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetTabletStatusRequestPB const*>(base::identity_<yb::tserver::GetTabletStatusRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetTabletStatusResponsePB*>(base::identity_<yb::tserver::GetTabletStatusResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetMasterAddressesRequestPB const*>(base::identity_<yb::tserver::GetMasterAddressesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetMasterAddressesResponsePB*>(base::identity_<yb::tserver::GetMasterAddressesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::PublishRequestPB const*>(base::identity_<yb::tserver::PublishRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::PublishResponsePB*>(base::identity_<yb::tserver::PublishResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::IsTabletServerReadyRequestPB const*>(base::identity_<yb::tserver::IsTabletServerReadyRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::IsTabletServerReadyResponsePB*>(base::identity_<yb::tserver::IsTabletServerReadyResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::TakeTransactionRequestPB const*>(base::identity_<yb::tserver::TakeTransactionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::TakeTransactionResponsePB*>(base::identity_<yb::tserver::TakeTransactionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetSplitKeyRequestPB const*>(base::identity_<yb::tserver::GetSplitKeyRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetSplitKeyResponsePB*>(base::identity_<yb::tserver::GetSplitKeyResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::tserver::GetSharedDataRequestPB const*>(base::identity_<yb::tserver::GetSharedDataRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::tserver::GetSharedDataResponsePB*>(base::identity_<yb::tserver::GetSharedDataResponsePB*>::type const&) Unexecuted instantiation: yb::pggate::PgExpr* yb::implicit_cast<yb::pggate::PgExpr*, yb::pggate::PgConstant*>(base::identity_<yb::pggate::PgConstant*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgCreateDatabase*>(base::identity_<yb::pggate::PgCreateDatabase*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDropDatabase*>(base::identity_<yb::pggate::PgDropDatabase*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgAlterDatabase*>(base::identity_<yb::pggate::PgAlterDatabase*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgCreateTablegroup*>(base::identity_<yb::pggate::PgCreateTablegroup*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDropTablegroup*>(base::identity_<yb::pggate::PgDropTablegroup*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgCreateTable*>(base::identity_<yb::pggate::PgCreateTable*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgAlterTable*>(base::identity_<yb::pggate::PgAlterTable*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgTruncateTable*>(base::identity_<yb::pggate::PgTruncateTable*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDmlWrite*>(base::identity_<yb::pggate::PgDmlWrite*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDml*>(base::identity_<yb::pggate::PgDml*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDropTable*>(base::identity_<yb::pggate::PgDropTable*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDropIndex*>(base::identity_<yb::pggate::PgDropIndex*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDmlRead*>(base::identity_<yb::pggate::PgDmlRead*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgInsert*>(base::identity_<yb::pggate::PgInsert*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgUpdate*>(base::identity_<yb::pggate::PgUpdate*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgDelete*>(base::identity_<yb::pggate::PgDelete*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgSample*>(base::identity_<yb::pggate::PgSample*>::type const&) Unexecuted instantiation: yb::pggate::PgStatement* yb::implicit_cast<yb::pggate::PgStatement*, yb::pggate::PgTruncateColocated*>(base::identity_<yb::pggate::PgTruncateColocated*>::type const&) Unexecuted instantiation: yb::pggate::PgExpr* yb::implicit_cast<yb::pggate::PgExpr*, yb::pggate::PgOperator*>(base::identity_<yb::pggate::PgOperator*>::type const&) Unexecuted instantiation: yb::pggate::PgsqlOp* yb::implicit_cast<yb::pggate::PgsqlOp*, yb::pggate::PgsqlReadOp*>(base::identity_<yb::pggate::PgsqlReadOp*>::type const&) Unexecuted instantiation: yb::pggate::PgsqlOp* yb::implicit_cast<yb::pggate::PgsqlOp*, yb::pggate::PgsqlWriteOp*>(base::identity_<yb::pggate::PgsqlWriteOp*>::type const&) Unexecuted instantiation: yb::pggate::PgSelectIndex* yb::implicit_cast<yb::pggate::PgSelectIndex*, yb::pggate::PgSamplePicker*>(base::identity_<yb::pggate::PgSamplePicker*>::type const&) Unexecuted instantiation: yb::pggate::PgDocOp* yb::implicit_cast<yb::pggate::PgDocOp*, yb::pggate::PgDocReadOp*>(base::identity_<yb::pggate::PgDocReadOp*>::type const&) Unexecuted instantiation: yb::pggate::PgsqlOp const* yb::implicit_cast<yb::pggate::PgsqlOp const*, yb::pggate::PgsqlReadOp const*>(base::identity_<yb::pggate::PgsqlReadOp const*>::type const&) Unexecuted instantiation: yb::pggate::PgsqlOp const* yb::implicit_cast<yb::pggate::PgsqlOp const*, yb::pggate::PgsqlWriteOp const*>(base::identity_<yb::pggate::PgsqlWriteOp const*>::type const&) Unexecuted instantiation: yb::pggate::PgDocOp* yb::implicit_cast<yb::pggate::PgDocOp*, yb::pggate::PgDocWriteOp*>(base::identity_<yb::pggate::PgDocWriteOp*>::type const&) Unexecuted instantiation: yb::server::Clock* yb::implicit_cast<yb::server::Clock*, yb::server::HybridClock*>(base::identity_<yb::server::HybridClock*>::type const&) Unexecuted instantiation: rocksdb::DB* yb::implicit_cast<rocksdb::DB*, rocksdb::DBImpl*>(base::identity_<rocksdb::DBImpl*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::AddRequestPB const*>(base::identity_<yb::rpc_test::AddRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::AddResponsePB*>(base::identity_<yb::rpc_test::AddResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::SleepRequestPB const*>(base::identity_<yb::rpc_test::SleepRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::SleepResponsePB*>(base::identity_<yb::rpc_test::SleepResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::EchoRequestPB const*>(base::identity_<yb::rpc_test::EchoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::EchoResponsePB*>(base::identity_<yb::rpc_test::EchoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::WhoAmIRequestPB const*>(base::identity_<yb::rpc_test::WhoAmIRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::WhoAmIResponsePB*>(base::identity_<yb::rpc_test::WhoAmIResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test_diff_package::ReqDiffPackagePB const*>(base::identity_<yb::rpc_test_diff_package::ReqDiffPackagePB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test_diff_package::RespDiffPackagePB*>(base::identity_<yb::rpc_test_diff_package::RespDiffPackagePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::PanicRequestPB const*>(base::identity_<yb::rpc_test::PanicRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::PanicResponsePB*>(base::identity_<yb::rpc_test::PanicResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::PingRequestPB const*>(base::identity_<yb::rpc_test::PingRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::PingResponsePB*>(base::identity_<yb::rpc_test::PingResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::DisconnectRequestPB const*>(base::identity_<yb::rpc_test::DisconnectRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::DisconnectResponsePB*>(base::identity_<yb::rpc_test::DisconnectResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::ForwardRequestPB const*>(base::identity_<yb::rpc_test::ForwardRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::ForwardResponsePB*>(base::identity_<yb::rpc_test::ForwardResponsePB*>::type const&) Unexecuted instantiation: yb::rpc::LightweightMessage const* yb::implicit_cast<yb::rpc::LightweightMessage const*, yb::rpc_test::LWLightweightRequestPB const*>(base::identity_<yb::rpc_test::LWLightweightRequestPB const*>::type const&) Unexecuted instantiation: yb::rpc::LightweightMessage* yb::implicit_cast<yb::rpc::LightweightMessage*, yb::rpc_test::LWLightweightResponsePB*>(base::identity_<yb::rpc_test::LWLightweightResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::TrivialRequestPB const*>(base::identity_<yb::rpc_test::TrivialRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::TrivialResponsePB*>(base::identity_<yb::rpc_test::TrivialResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::rpc_test::ConcatRequestPB const*>(base::identity_<yb::rpc_test::ConcatRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::rpc_test::ConcatResponsePB*>(base::identity_<yb::rpc_test::ConcatResponsePB*>::type const&) Unexecuted instantiation: yb::tablet::Operation* yb::implicit_cast<yb::tablet::Operation*, yb::tablet::WriteOperation*>(base::identity_<yb::tablet::WriteOperation*>::type const&) Unexecuted instantiation: rocksdb::ColumnFamilyHandle* yb::implicit_cast<rocksdb::ColumnFamilyHandle*, rocksdb::ColumnFamilyHandleImpl*>(base::identity_<rocksdb::ColumnFamilyHandleImpl*>::type const&) Unexecuted instantiation: rocksdb::DBImpl::ThreadPoolTask* yb::implicit_cast<rocksdb::DBImpl::ThreadPoolTask*, rocksdb::DBImpl::CompactionTask*>(base::identity_<rocksdb::DBImpl::CompactionTask*>::type const&) Unexecuted instantiation: yb::PriorityThreadPoolTask* yb::implicit_cast<yb::PriorityThreadPoolTask*, rocksdb::DBImpl::ThreadPoolTask*>(base::identity_<rocksdb::DBImpl::ThreadPoolTask*>::type const&) Unexecuted instantiation: write_batch.cc:rocksdb::WriteBatch::Handler* yb::implicit_cast<rocksdb::WriteBatch::Handler*, rocksdb::(anonymous namespace)::MemTableInserter*>(base::identity_<rocksdb::(anonymous namespace)::MemTableInserter*>::type const&) Unexecuted instantiation: rocksdb::TableReader* yb::implicit_cast<rocksdb::TableReader*, rocksdb::BlockBasedTable*>(base::identity_<rocksdb::BlockBasedTable*>::type const&) Unexecuted instantiation: env_posix.cc:rocksdb::Env* yb::implicit_cast<rocksdb::Env*, rocksdb::(anonymous namespace)::PosixEnv*>(base::identity_<rocksdb::(anonymous namespace)::PosixEnv*>::type const&) Unexecuted instantiation: env_posix.cc:yb::Env* yb::implicit_cast<yb::Env*, yb::(anonymous namespace)::PosixEnv*>(base::identity_<yb::(anonymous namespace)::PosixEnv*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::Counter*>(base::identity_<yb::Counter*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::MillisLag*>(base::identity_<yb::MillisLag*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::AtomicMillisLag*>(base::identity_<yb::AtomicMillisLag*>::type const&) Unexecuted instantiation: yb::Metric* yb::implicit_cast<yb::Metric*, yb::Histogram*>(base::identity_<yb::Histogram*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::FlushTablesRequestPB const*>(base::identity_<yb::master::FlushTablesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::FlushTablesResponsePB*>(base::identity_<yb::master::FlushTablesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsFlushTablesDoneRequestPB const*>(base::identity_<yb::master::IsFlushTablesDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsFlushTablesDoneResponsePB*>(base::identity_<yb::master::IsFlushTablesDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::FlushSysCatalogRequestPB const*>(base::identity_<yb::master::FlushSysCatalogRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::FlushSysCatalogResponsePB*>(base::identity_<yb::master::FlushSysCatalogResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CompactSysCatalogRequestPB const*>(base::identity_<yb::master::CompactSysCatalogRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CompactSysCatalogResponsePB*>(base::identity_<yb::master::CompactSysCatalogResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsInitDbDoneRequestPB const*>(base::identity_<yb::master::IsInitDbDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsInitDbDoneResponsePB*>(base::identity_<yb::master::IsInitDbDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::SplitTabletRequestPB const*>(base::identity_<yb::master::SplitTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::SplitTabletResponsePB*>(base::identity_<yb::master::SplitTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateTransactionStatusTableRequestPB const*>(base::identity_<yb::master::CreateTransactionStatusTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateTransactionStatusTableResponsePB*>(base::identity_<yb::master::CreateTransactionStatusTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteNotServingTabletRequestPB const*>(base::identity_<yb::master::DeleteNotServingTabletRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteNotServingTabletResponsePB*>(base::identity_<yb::master::DeleteNotServingTabletResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DisableTabletSplittingRequestPB const*>(base::identity_<yb::master::DisableTabletSplittingRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DisableTabletSplittingResponsePB*>(base::identity_<yb::master::DisableTabletSplittingResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsTabletSplittingCompleteRequestPB const*>(base::identity_<yb::master::IsTabletSplittingCompleteRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsTabletSplittingCompleteResponsePB*>(base::identity_<yb::master::IsTabletSplittingCompleteResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DdlLogRequestPB const*>(base::identity_<yb::master::DdlLogRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DdlLogResponsePB*>(base::identity_<yb::master::DdlLogResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetTabletLocationsRequestPB const*>(base::identity_<yb::master::GetTabletLocationsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetTabletLocationsResponsePB*>(base::identity_<yb::master::GetTabletLocationsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetTableLocationsRequestPB const*>(base::identity_<yb::master::GetTableLocationsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetTableLocationsResponsePB*>(base::identity_<yb::master::GetTableLocationsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetTransactionStatusTabletsRequestPB const*>(base::identity_<yb::master::GetTransactionStatusTabletsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetTransactionStatusTabletsResponsePB*>(base::identity_<yb::master::GetTransactionStatusTabletsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ReservePgsqlOidsRequestPB const*>(base::identity_<yb::master::ReservePgsqlOidsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ReservePgsqlOidsResponsePB*>(base::identity_<yb::master::ReservePgsqlOidsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetYsqlCatalogConfigRequestPB const*>(base::identity_<yb::master::GetYsqlCatalogConfigRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetYsqlCatalogConfigResponsePB*>(base::identity_<yb::master::GetYsqlCatalogConfigResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::RedisConfigSetRequestPB const*>(base::identity_<yb::master::RedisConfigSetRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::RedisConfigSetResponsePB*>(base::identity_<yb::master::RedisConfigSetResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::RedisConfigGetRequestPB const*>(base::identity_<yb::master::RedisConfigGetRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::RedisConfigGetResponsePB*>(base::identity_<yb::master::RedisConfigGetResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListTabletServersRequestPB const*>(base::identity_<yb::master::ListTabletServersRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListTabletServersResponsePB*>(base::identity_<yb::master::ListTabletServersResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListLiveTabletServersRequestPB const*>(base::identity_<yb::master::ListLiveTabletServersRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListLiveTabletServersResponsePB*>(base::identity_<yb::master::ListLiveTabletServersResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListMastersRequestPB const*>(base::identity_<yb::master::ListMastersRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListMastersResponsePB*>(base::identity_<yb::master::ListMastersResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListMasterRaftPeersRequestPB const*>(base::identity_<yb::master::ListMasterRaftPeersRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListMasterRaftPeersResponsePB*>(base::identity_<yb::master::ListMasterRaftPeersResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetMasterRegistrationRequestPB const*>(base::identity_<yb::master::GetMasterRegistrationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetMasterRegistrationResponsePB*>(base::identity_<yb::master::GetMasterRegistrationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsMasterLeaderReadyRequestPB const*>(base::identity_<yb::master::IsMasterLeaderReadyRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsMasterLeaderReadyResponsePB*>(base::identity_<yb::master::IsMasterLeaderReadyResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DumpMasterStateRequestPB const*>(base::identity_<yb::master::DumpMasterStateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DumpMasterStateResponsePB*>(base::identity_<yb::master::DumpMasterStateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ChangeLoadBalancerStateRequestPB const*>(base::identity_<yb::master::ChangeLoadBalancerStateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ChangeLoadBalancerStateResponsePB*>(base::identity_<yb::master::ChangeLoadBalancerStateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetLoadBalancerStateRequestPB const*>(base::identity_<yb::master::GetLoadBalancerStateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetLoadBalancerStateResponsePB*>(base::identity_<yb::master::GetLoadBalancerStateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::RemovedMasterUpdateRequestPB const*>(base::identity_<yb::master::RemovedMasterUpdateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::RemovedMasterUpdateResponsePB*>(base::identity_<yb::master::RemovedMasterUpdateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::SetPreferredZonesRequestPB const*>(base::identity_<yb::master::SetPreferredZonesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::SetPreferredZonesResponsePB*>(base::identity_<yb::master::SetPreferredZonesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetMasterClusterConfigRequestPB const*>(base::identity_<yb::master::GetMasterClusterConfigRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetMasterClusterConfigResponsePB*>(base::identity_<yb::master::GetMasterClusterConfigResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ChangeMasterClusterConfigRequestPB const*>(base::identity_<yb::master::ChangeMasterClusterConfigRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ChangeMasterClusterConfigResponsePB*>(base::identity_<yb::master::ChangeMasterClusterConfigResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetLoadMovePercentRequestPB const*>(base::identity_<yb::master::GetLoadMovePercentRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetLoadMovePercentResponsePB*>(base::identity_<yb::master::GetLoadMovePercentResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetLeaderBlacklistPercentRequestPB const*>(base::identity_<yb::master::GetLeaderBlacklistPercentRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsLoadBalancedRequestPB const*>(base::identity_<yb::master::IsLoadBalancedRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsLoadBalancedResponsePB*>(base::identity_<yb::master::IsLoadBalancedResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsLoadBalancerIdleRequestPB const*>(base::identity_<yb::master::IsLoadBalancerIdleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsLoadBalancerIdleResponsePB*>(base::identity_<yb::master::IsLoadBalancerIdleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AreLeadersOnPreferredOnlyRequestPB const*>(base::identity_<yb::master::AreLeadersOnPreferredOnlyRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AreLeadersOnPreferredOnlyResponsePB*>(base::identity_<yb::master::AreLeadersOnPreferredOnlyResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateRoleRequestPB const*>(base::identity_<yb::master::CreateRoleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateRoleResponsePB*>(base::identity_<yb::master::CreateRoleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AlterRoleRequestPB const*>(base::identity_<yb::master::AlterRoleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AlterRoleResponsePB*>(base::identity_<yb::master::AlterRoleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteRoleRequestPB const*>(base::identity_<yb::master::DeleteRoleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteRoleResponsePB*>(base::identity_<yb::master::DeleteRoleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GrantRevokeRoleRequestPB const*>(base::identity_<yb::master::GrantRevokeRoleRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GrantRevokeRoleResponsePB*>(base::identity_<yb::master::GrantRevokeRoleResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GrantRevokePermissionRequestPB const*>(base::identity_<yb::master::GrantRevokePermissionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GrantRevokePermissionResponsePB*>(base::identity_<yb::master::GrantRevokePermissionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetPermissionsRequestPB const*>(base::identity_<yb::master::GetPermissionsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetPermissionsResponsePB*>(base::identity_<yb::master::GetPermissionsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateTableRequestPB const*>(base::identity_<yb::master::CreateTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateTableResponsePB*>(base::identity_<yb::master::CreateTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsCreateTableDoneRequestPB const*>(base::identity_<yb::master::IsCreateTableDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsCreateTableDoneResponsePB*>(base::identity_<yb::master::IsCreateTableDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListTablesRequestPB const*>(base::identity_<yb::master::ListTablesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListTablesResponsePB*>(base::identity_<yb::master::ListTablesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetTableSchemaRequestPB const*>(base::identity_<yb::master::GetTableSchemaRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetTableSchemaResponsePB*>(base::identity_<yb::master::GetTableSchemaResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetTablegroupSchemaRequestPB const*>(base::identity_<yb::master::GetTablegroupSchemaRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetTablegroupSchemaResponsePB*>(base::identity_<yb::master::GetTablegroupSchemaResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetColocatedTabletSchemaRequestPB const*>(base::identity_<yb::master::GetColocatedTabletSchemaRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetColocatedTabletSchemaResponsePB*>(base::identity_<yb::master::GetColocatedTabletSchemaResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::TruncateTableRequestPB const*>(base::identity_<yb::master::TruncateTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::TruncateTableResponsePB*>(base::identity_<yb::master::TruncateTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsTruncateTableDoneRequestPB const*>(base::identity_<yb::master::IsTruncateTableDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsTruncateTableDoneResponsePB*>(base::identity_<yb::master::IsTruncateTableDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::BackfillIndexRequestPB const*>(base::identity_<yb::master::BackfillIndexRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::BackfillIndexResponsePB*>(base::identity_<yb::master::BackfillIndexResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::LaunchBackfillIndexForTableRequestPB const*>(base::identity_<yb::master::LaunchBackfillIndexForTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::LaunchBackfillIndexForTableResponsePB*>(base::identity_<yb::master::LaunchBackfillIndexForTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetBackfillJobsRequestPB const*>(base::identity_<yb::master::GetBackfillJobsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetBackfillJobsResponsePB*>(base::identity_<yb::master::GetBackfillJobsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteTableRequestPB const*>(base::identity_<yb::master::DeleteTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteTableResponsePB*>(base::identity_<yb::master::DeleteTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsDeleteTableDoneRequestPB const*>(base::identity_<yb::master::IsDeleteTableDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsDeleteTableDoneResponsePB*>(base::identity_<yb::master::IsDeleteTableDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AlterTableRequestPB const*>(base::identity_<yb::master::AlterTableRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AlterTableResponsePB*>(base::identity_<yb::master::AlterTableResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsAlterTableDoneRequestPB const*>(base::identity_<yb::master::IsAlterTableDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsAlterTableDoneResponsePB*>(base::identity_<yb::master::IsAlterTableDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateNamespaceRequestPB const*>(base::identity_<yb::master::CreateNamespaceRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateNamespaceResponsePB*>(base::identity_<yb::master::CreateNamespaceResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsCreateNamespaceDoneRequestPB const*>(base::identity_<yb::master::IsCreateNamespaceDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsCreateNamespaceDoneResponsePB*>(base::identity_<yb::master::IsCreateNamespaceDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteNamespaceRequestPB const*>(base::identity_<yb::master::DeleteNamespaceRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteNamespaceResponsePB*>(base::identity_<yb::master::DeleteNamespaceResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsDeleteNamespaceDoneRequestPB const*>(base::identity_<yb::master::IsDeleteNamespaceDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsDeleteNamespaceDoneResponsePB*>(base::identity_<yb::master::IsDeleteNamespaceDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AlterNamespaceRequestPB const*>(base::identity_<yb::master::AlterNamespaceRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AlterNamespaceResponsePB*>(base::identity_<yb::master::AlterNamespaceResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListNamespacesRequestPB const*>(base::identity_<yb::master::ListNamespacesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListNamespacesResponsePB*>(base::identity_<yb::master::ListNamespacesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetNamespaceInfoRequestPB const*>(base::identity_<yb::master::GetNamespaceInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetNamespaceInfoResponsePB*>(base::identity_<yb::master::GetNamespaceInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateTablegroupRequestPB const*>(base::identity_<yb::master::CreateTablegroupRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateTablegroupResponsePB*>(base::identity_<yb::master::CreateTablegroupResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteTablegroupRequestPB const*>(base::identity_<yb::master::DeleteTablegroupRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteTablegroupResponsePB*>(base::identity_<yb::master::DeleteTablegroupResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListTablegroupsRequestPB const*>(base::identity_<yb::master::ListTablegroupsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListTablegroupsResponsePB*>(base::identity_<yb::master::ListTablegroupsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateUDTypeRequestPB const*>(base::identity_<yb::master::CreateUDTypeRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateUDTypeResponsePB*>(base::identity_<yb::master::CreateUDTypeResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteUDTypeRequestPB const*>(base::identity_<yb::master::DeleteUDTypeRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteUDTypeResponsePB*>(base::identity_<yb::master::DeleteUDTypeResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListUDTypesRequestPB const*>(base::identity_<yb::master::ListUDTypesRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListUDTypesResponsePB*>(base::identity_<yb::master::ListUDTypesResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetUDTypeInfoRequestPB const*>(base::identity_<yb::master::GetUDTypeInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetUDTypeInfoResponsePB*>(base::identity_<yb::master::GetUDTypeInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ChangeEncryptionInfoRequestPB const*>(base::identity_<yb::master::ChangeEncryptionInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ChangeEncryptionInfoResponsePB*>(base::identity_<yb::master::ChangeEncryptionInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsEncryptionEnabledRequestPB const*>(base::identity_<yb::master::IsEncryptionEnabledRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsEncryptionEnabledResponsePB*>(base::identity_<yb::master::IsEncryptionEnabledResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AddUniverseKeysRequestPB const*>(base::identity_<yb::master::AddUniverseKeysRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AddUniverseKeysResponsePB*>(base::identity_<yb::master::AddUniverseKeysResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetUniverseKeyRegistryRequestPB const*>(base::identity_<yb::master::GetUniverseKeyRegistryRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetUniverseKeyRegistryResponsePB*>(base::identity_<yb::master::GetUniverseKeyRegistryResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::HasUniverseKeyInMemoryRequestPB const*>(base::identity_<yb::master::HasUniverseKeyInMemoryRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::HasUniverseKeyInMemoryResponsePB*>(base::identity_<yb::master::HasUniverseKeyInMemoryResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::TSHeartbeatRequestPB const*>(base::identity_<yb::master::TSHeartbeatRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::TSHeartbeatResponsePB*>(base::identity_<yb::master::TSHeartbeatResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ValidateReplicationInfoRequestPB const*>(base::identity_<yb::master::ValidateReplicationInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ValidateReplicationInfoResponsePB*>(base::identity_<yb::master::ValidateReplicationInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::CreateCDCStreamRequestPB const*>(base::identity_<yb::master::CreateCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::CreateCDCStreamResponsePB*>(base::identity_<yb::master::CreateCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteCDCStreamRequestPB const*>(base::identity_<yb::master::DeleteCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteCDCStreamResponsePB*>(base::identity_<yb::master::DeleteCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::ListCDCStreamsRequestPB const*>(base::identity_<yb::master::ListCDCStreamsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::ListCDCStreamsResponsePB*>(base::identity_<yb::master::ListCDCStreamsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetCDCStreamRequestPB const*>(base::identity_<yb::master::GetCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetCDCStreamResponsePB*>(base::identity_<yb::master::GetCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetCDCDBStreamInfoRequestPB const*>(base::identity_<yb::master::GetCDCDBStreamInfoRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetCDCDBStreamInfoResponsePB*>(base::identity_<yb::master::GetCDCDBStreamInfoResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::UpdateCDCStreamRequestPB const*>(base::identity_<yb::master::UpdateCDCStreamRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::UpdateCDCStreamResponsePB*>(base::identity_<yb::master::UpdateCDCStreamResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::SetupUniverseReplicationRequestPB const*>(base::identity_<yb::master::SetupUniverseReplicationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::SetupUniverseReplicationResponsePB*>(base::identity_<yb::master::SetupUniverseReplicationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::DeleteUniverseReplicationRequestPB const*>(base::identity_<yb::master::DeleteUniverseReplicationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::DeleteUniverseReplicationResponsePB*>(base::identity_<yb::master::DeleteUniverseReplicationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::AlterUniverseReplicationRequestPB const*>(base::identity_<yb::master::AlterUniverseReplicationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::AlterUniverseReplicationResponsePB*>(base::identity_<yb::master::AlterUniverseReplicationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::SetUniverseReplicationEnabledRequestPB const*>(base::identity_<yb::master::SetUniverseReplicationEnabledRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::SetUniverseReplicationEnabledResponsePB*>(base::identity_<yb::master::SetUniverseReplicationEnabledResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::GetUniverseReplicationRequestPB const*>(base::identity_<yb::master::GetUniverseReplicationRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::GetUniverseReplicationResponsePB*>(base::identity_<yb::master::GetUniverseReplicationResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::IsSetupUniverseReplicationDoneRequestPB const*>(base::identity_<yb::master::IsSetupUniverseReplicationDoneRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::IsSetupUniverseReplicationDoneResponsePB*>(base::identity_<yb::master::IsSetupUniverseReplicationDoneResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::master::UpdateConsumerOnProducerSplitRequestPB const*>(base::identity_<yb::master::UpdateConsumerOnProducerSplitRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::master::UpdateConsumerOnProducerSplitResponsePB*>(base::identity_<yb::master::UpdateConsumerOnProducerSplitResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::ConsensusRequestPB const*>(base::identity_<yb::consensus::ConsensusRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::ConsensusResponsePB*>(base::identity_<yb::consensus::ConsensusResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::MultiRaftConsensusRequestPB const*>(base::identity_<yb::consensus::MultiRaftConsensusRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::MultiRaftConsensusResponsePB*>(base::identity_<yb::consensus::MultiRaftConsensusResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::VoteRequestPB const*>(base::identity_<yb::consensus::VoteRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::VoteResponsePB*>(base::identity_<yb::consensus::VoteResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::ChangeConfigRequestPB const*>(base::identity_<yb::consensus::ChangeConfigRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::ChangeConfigResponsePB*>(base::identity_<yb::consensus::ChangeConfigResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::UnsafeChangeConfigRequestPB const*>(base::identity_<yb::consensus::UnsafeChangeConfigRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::UnsafeChangeConfigResponsePB*>(base::identity_<yb::consensus::UnsafeChangeConfigResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::GetNodeInstanceRequestPB const*>(base::identity_<yb::consensus::GetNodeInstanceRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::GetNodeInstanceResponsePB*>(base::identity_<yb::consensus::GetNodeInstanceResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::RunLeaderElectionRequestPB const*>(base::identity_<yb::consensus::RunLeaderElectionRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::RunLeaderElectionResponsePB*>(base::identity_<yb::consensus::RunLeaderElectionResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::LeaderElectionLostRequestPB const*>(base::identity_<yb::consensus::LeaderElectionLostRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::LeaderElectionLostResponsePB*>(base::identity_<yb::consensus::LeaderElectionLostResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::LeaderStepDownRequestPB const*>(base::identity_<yb::consensus::LeaderStepDownRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::LeaderStepDownResponsePB*>(base::identity_<yb::consensus::LeaderStepDownResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::GetLastOpIdRequestPB const*>(base::identity_<yb::consensus::GetLastOpIdRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::GetLastOpIdResponsePB*>(base::identity_<yb::consensus::GetLastOpIdResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::GetConsensusStateRequestPB const*>(base::identity_<yb::consensus::GetConsensusStateRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::GetConsensusStateResponsePB*>(base::identity_<yb::consensus::GetConsensusStateResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::consensus::StartRemoteBootstrapRequestPB const*>(base::identity_<yb::consensus::StartRemoteBootstrapRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::consensus::StartRemoteBootstrapResponsePB*>(base::identity_<yb::consensus::StartRemoteBootstrapResponsePB*>::type const&) Unexecuted instantiation: doc_boundary_values_extractor.cc:rocksdb::UserBoundaryValue const* yb::implicit_cast<rocksdb::UserBoundaryValue const*, yb::docdb::(anonymous namespace)::DocHybridTimeValue const*>(base::identity_<yb::docdb::(anonymous namespace)::DocHybridTimeValue const*>::type const&) Unexecuted instantiation: doc_boundary_values_extractor.cc:rocksdb::UserBoundaryValue const* yb::implicit_cast<rocksdb::UserBoundaryValue const*, yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue const*>(base::identity_<yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue const*>::type const&) Unexecuted instantiation: doc_boundary_values_extractor.cc:rocksdb::UserBoundaryValue* yb::implicit_cast<rocksdb::UserBoundaryValue*, yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue*>(base::identity_<yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue*>::type const&) Unexecuted instantiation: doc_boundary_values_extractor.cc:rocksdb::UserBoundaryValue* yb::implicit_cast<rocksdb::UserBoundaryValue*, yb::docdb::(anonymous namespace)::DocHybridTimeValue*>(base::identity_<yb::docdb::(anonymous namespace)::DocHybridTimeValue*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::SetFlagRequestPB const*>(base::identity_<yb::server::SetFlagRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::SetFlagResponsePB*>(base::identity_<yb::server::SetFlagResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::GetFlagRequestPB const*>(base::identity_<yb::server::GetFlagRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::GetFlagResponsePB*>(base::identity_<yb::server::GetFlagResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::RefreshFlagsRequestPB const*>(base::identity_<yb::server::RefreshFlagsRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::RefreshFlagsResponsePB*>(base::identity_<yb::server::RefreshFlagsResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::FlushCoverageRequestPB const*>(base::identity_<yb::server::FlushCoverageRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::FlushCoverageResponsePB*>(base::identity_<yb::server::FlushCoverageResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::ServerClockRequestPB const*>(base::identity_<yb::server::ServerClockRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::ServerClockResponsePB*>(base::identity_<yb::server::ServerClockResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::GetStatusRequestPB const*>(base::identity_<yb::server::GetStatusRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::GetStatusResponsePB*>(base::identity_<yb::server::GetStatusResponsePB*>::type const&) Unexecuted instantiation: google::protobuf::Message const* yb::implicit_cast<google::protobuf::Message const*, yb::server::PingRequestPB const*>(base::identity_<yb::server::PingRequestPB const*>::type const&) Unexecuted instantiation: google::protobuf::Message* yb::implicit_cast<google::protobuf::Message*, yb::server::PingResponsePB*>(base::identity_<yb::server::PingResponsePB*>::type const&) Unexecuted instantiation: yb::ql::CQLRequest const* yb::implicit_cast<yb::ql::CQLRequest const*, yb::ql::AuthResponseRequest const*>(base::identity_<yb::ql::AuthResponseRequest const*>::type const&) Unexecuted instantiation: yb::ql::CQLRequest const* yb::implicit_cast<yb::ql::CQLRequest const*, yb::ql::ExecuteRequest const*>(base::identity_<yb::ql::ExecuteRequest const*>::type const&) Unexecuted instantiation: yb::ql::CQLRequest const* yb::implicit_cast<yb::ql::CQLRequest const*, yb::ql::QueryRequest const*>(base::identity_<yb::ql::QueryRequest const*>::type const&) Unexecuted instantiation: yb::ql::CQLRequest const* yb::implicit_cast<yb::ql::CQLRequest const*, yb::ql::BatchRequest const*>(base::identity_<yb::ql::BatchRequest const*>::type const&) Unexecuted instantiation: yb::rpc::InboundCall* yb::implicit_cast<yb::rpc::InboundCall*, yb::cqlserver::CQLInboundCall*>(base::identity_<yb::cqlserver::CQLInboundCall*>::type const&) |
65 | | |
66 | | |
67 | | // When you upcast (that is, cast a pointer from type Foo to type |
68 | | // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts |
69 | | // always succeed. When you downcast (that is, cast a pointer from |
70 | | // type Foo to type SubclassOfFoo), static_cast<> isn't safe, because |
71 | | // how do you know the pointer is really of type SubclassOfFoo? It |
72 | | // could be a bare Foo, or of type DifferentSubclassOfFoo. Thus, |
73 | | // when you downcast, you should use this macro. In debug mode, we |
74 | | // use dynamic_cast<> to double-check the downcast is legal (we die |
75 | | // if it's not). In normal mode, we do the efficient static_cast<> |
76 | | // instead. Thus, it's important to test in debug mode to make sure |
77 | | // the cast is legal! |
78 | | // This is the only place in the code we should use dynamic_cast<>. |
79 | | // In particular, you SHOULDN'T be using dynamic_cast<> in order to |
80 | | // do RTTI (eg code like this: |
81 | | // if (dynamic_cast<Subclass1>(foo)) HandleASubclass1Object(foo); |
82 | | // if (dynamic_cast<Subclass2>(foo)) HandleASubclass2Object(foo); |
83 | | // You should design the code some other way not to need this. |
84 | | |
85 | | template<typename To, typename From> // use like this: down_cast<T*>(foo); |
86 | 1.09G | inline To down_cast(From* f) { // so we only accept pointers |
87 | | // Ensures that To is a sub-type of From *. This test is here only |
88 | | // for compile-time type checking, and has no overhead in an |
89 | | // optimized build at run-time, as it will be optimized away |
90 | | // completely. |
91 | | |
92 | | // TODO(user): This should use COMPILE_ASSERT. |
93 | 1.09G | if (false) { |
94 | 0 | yb::implicit_cast<From*, To>(nullptr); |
95 | 0 | } |
96 | | |
97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. |
98 | 1.09G | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); |
99 | 0 | return static_cast<To>(f); |
100 | 1.09G | } Unexecuted instantiation: yb::FunctionGauge<unsigned long long>* yb::down_cast<yb::FunctionGauge<unsigned long long>*, yb::Metric>(yb::Metric*) Unexecuted instantiation: yb::FunctionGauge<long long>* yb::down_cast<yb::FunctionGauge<long long>*, yb::Metric>(yb::Metric*) yb::ql::PTSelectStmt* yb::down_cast<yb::ql::PTSelectStmt*, yb::ql::PTDmlStmt>(yb::ql::PTDmlStmt*) Line | Count | Source | 86 | 116k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 116k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 116k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 116k | } |
yb::ql::PTRef* yb::down_cast<yb::ql::PTRef*, yb::ql::PTExpr>(yb::ql::PTExpr*) Line | Count | Source | 86 | 422 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 422 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 422 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 422 | } |
yb::ql::PTSelectStmt const* yb::down_cast<yb::ql::PTSelectStmt const*, yb::ql::PTDmlStmt const>(yb::ql::PTDmlStmt const*) Line | Count | Source | 86 | 108k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 108k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 108k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 108k | } |
yb::client::YBRedisReadOp* yb::down_cast<yb::client::YBRedisReadOp*, yb::client::YBRedisOp>(yb::client::YBRedisOp*) Line | Count | Source | 86 | 84.3k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 84.3k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 84.3k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 84.3k | } |
yb::client::YBRedisWriteOp* yb::down_cast<yb::client::YBRedisWriteOp*, yb::client::YBRedisOp>(yb::client::YBRedisOp*) Line | Count | Source | 86 | 123k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 123k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 123k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 123k | } |
yb::AtomicGauge<unsigned long long>* yb::down_cast<yb::AtomicGauge<unsigned long long>*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 42.6k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 42.6k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 42.6k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 42.6k | } |
Unexecuted instantiation: yb::tserver::BeginRemoteBootstrapSessionRequestPB const* yb::down_cast<yb::tserver::BeginRemoteBootstrapSessionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::BeginRemoteBootstrapSessionResponsePB* yb::down_cast<yb::tserver::BeginRemoteBootstrapSessionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB const* yb::down_cast<yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB* yb::down_cast<yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::FetchDataRequestPB const* yb::down_cast<yb::tserver::FetchDataRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::FetchDataResponsePB* yb::down_cast<yb::tserver::FetchDataResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::EndRemoteBootstrapSessionRequestPB const* yb::down_cast<yb::tserver::EndRemoteBootstrapSessionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::EndRemoteBootstrapSessionResponsePB* yb::down_cast<yb::tserver::EndRemoteBootstrapSessionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::RemoveSessionRequestPB const* yb::down_cast<yb::tserver::RemoveSessionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::RemoveSessionResponsePB* yb::down_cast<yb::tserver::RemoveSessionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::tablet::Tablet* yb::down_cast<yb::tablet::Tablet*, yb::tablet::AbstractTablet>(yb::tablet::AbstractTablet*) Line | Count | Source | 86 | 11.5M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 11.5M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 11.5M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 11.5M | } |
yb::consensus::RaftConsensus* yb::down_cast<yb::consensus::RaftConsensus*, yb::consensus::Consensus>(yb::consensus::Consensus*) Line | Count | Source | 86 | 200k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 200k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 200k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 200k | } |
Unexecuted instantiation: yb::tserver::CreateTabletRequestPB const* yb::down_cast<yb::tserver::CreateTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::CreateTabletResponsePB* yb::down_cast<yb::tserver::CreateTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::DeleteTabletRequestPB const* yb::down_cast<yb::tserver::DeleteTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::DeleteTabletResponsePB* yb::down_cast<yb::tserver::DeleteTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tablet::ChangeMetadataRequestPB const* yb::down_cast<yb::tablet::ChangeMetadataRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::ChangeMetadataResponsePB* yb::down_cast<yb::tserver::ChangeMetadataResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetSafeTimeRequestPB const* yb::down_cast<yb::tserver::GetSafeTimeRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetSafeTimeResponsePB* yb::down_cast<yb::tserver::GetSafeTimeResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::BackfillIndexRequestPB const* yb::down_cast<yb::tserver::BackfillIndexRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::BackfillIndexResponsePB* yb::down_cast<yb::tserver::BackfillIndexResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::CopartitionTableRequestPB const* yb::down_cast<yb::tserver::CopartitionTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::CopartitionTableResponsePB* yb::down_cast<yb::tserver::CopartitionTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::FlushTabletsRequestPB const* yb::down_cast<yb::tserver::FlushTabletsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::FlushTabletsResponsePB* yb::down_cast<yb::tserver::FlushTabletsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::CountIntentsRequestPB const* yb::down_cast<yb::tserver::CountIntentsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::CountIntentsResponsePB* yb::down_cast<yb::tserver::CountIntentsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::AddTableToTabletRequestPB const* yb::down_cast<yb::tserver::AddTableToTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::AddTableToTabletResponsePB* yb::down_cast<yb::tserver::AddTableToTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::RemoveTableFromTabletRequestPB const* yb::down_cast<yb::tserver::RemoveTableFromTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::RemoveTableFromTabletResponsePB* yb::down_cast<yb::tserver::RemoveTableFromTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tablet::SplitTabletRequestPB const* yb::down_cast<yb::tablet::SplitTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::SplitTabletResponsePB* yb::down_cast<yb::tserver::SplitTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::UpgradeYsqlRequestPB const* yb::down_cast<yb::tserver::UpgradeYsqlRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::UpgradeYsqlResponsePB* yb::down_cast<yb::tserver::UpgradeYsqlResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::ql::PTDmlStmt* yb::down_cast<yb::ql::PTDmlStmt*, yb::ql::TreeNode>(yb::ql::TreeNode*) Line | Count | Source | 86 | 165 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 165 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 165 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 165 | } |
yb::docdb::ConsensusFrontier* yb::down_cast<yb::docdb::ConsensusFrontier*, rocksdb::UserFrontier>(rocksdb::UserFrontier*) Line | Count | Source | 86 | 5.64M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 5.64M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 5.64M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 5.64M | } |
yb::AtomicGauge<unsigned int>* yb::down_cast<yb::AtomicGauge<unsigned int>*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 120k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 120k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 120k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 120k | } |
yb::docdb::RedisWriteOperation* yb::down_cast<yb::docdb::RedisWriteOperation*, yb::docdb::DocOperation>(yb::docdb::DocOperation*) Line | Count | Source | 86 | 123k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 123k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 123k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 123k | } |
yb::docdb::QLWriteOperation* yb::down_cast<yb::docdb::QLWriteOperation*, yb::docdb::DocOperation>(yb::docdb::DocOperation*) Line | Count | Source | 86 | 8.98M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 8.98M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 8.98M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 8.98M | } |
yb::docdb::PgsqlWriteOperation* yb::down_cast<yb::docdb::PgsqlWriteOperation*, yb::docdb::DocOperation>(yb::docdb::DocOperation*) Line | Count | Source | 86 | 12.8M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 12.8M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 12.8M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 12.8M | } |
yb::AtomicGauge<long long>* yb::down_cast<yb::AtomicGauge<long long>*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 1.59k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.59k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.59k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.59k | } |
yb::rpc::QueueableInboundCall* yb::down_cast<yb::rpc::QueueableInboundCall*, yb::rpc::InboundCall>(yb::rpc::InboundCall*) Line | Count | Source | 86 | 419k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 419k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 419k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 419k | } |
yb::rpc::YBInboundCall* yb::down_cast<yb::rpc::YBInboundCall*, yb::rpc::InboundCall>(yb::rpc::InboundCall*) Line | Count | Source | 86 | 141M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 141M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 141M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 141M | } |
Unexecuted instantiation: yb::rpc::ServicePool* yb::down_cast<yb::rpc::ServicePool*, yb::rpc::RpcService>(yb::rpc::RpcService*) yb::master::Master* yb::down_cast<yb::master::Master*, yb::server::RpcAndWebServerBase>(yb::server::RpcAndWebServerBase*) Line | Count | Source | 86 | 24 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 24 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 24 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 24 | } |
Unexecuted instantiation: yb::tserver::TabletServer* yb::down_cast<yb::tserver::TabletServer*, yb::server::RpcAndWebServerBase>(yb::server::RpcAndWebServerBase*) yb::docdb::DocRowwiseIterator* yb::down_cast<yb::docdb::DocRowwiseIterator*, yb::docdb::YQLRowwiseIteratorIf>(yb::docdb::YQLRowwiseIteratorIf*) Line | Count | Source | 86 | 47.4k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 47.4k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 47.4k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 47.4k | } |
yb::master::enterprise::CatalogManager* yb::down_cast<yb::master::enterprise::CatalogManager*, yb::master::CatalogManager>(yb::master::CatalogManager*) Line | Count | Source | 86 | 7.94k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 7.94k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 7.94k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 7.94k | } |
Unexecuted instantiation: yb::cdc::CreateCDCStreamRequestPB const* yb::down_cast<yb::cdc::CreateCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::CreateCDCStreamResponsePB* yb::down_cast<yb::cdc::CreateCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::DeleteCDCStreamRequestPB const* yb::down_cast<yb::cdc::DeleteCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::DeleteCDCStreamResponsePB* yb::down_cast<yb::cdc::DeleteCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::ListTabletsRequestPB const* yb::down_cast<yb::cdc::ListTabletsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::ListTabletsResponsePB* yb::down_cast<yb::cdc::ListTabletsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::GetChangesRequestPB const* yb::down_cast<yb::cdc::GetChangesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::GetChangesResponsePB* yb::down_cast<yb::cdc::GetChangesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::GetCheckpointRequestPB const* yb::down_cast<yb::cdc::GetCheckpointRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::GetCheckpointResponsePB* yb::down_cast<yb::cdc::GetCheckpointResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::UpdateCdcReplicatedIndexRequestPB const* yb::down_cast<yb::cdc::UpdateCdcReplicatedIndexRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::UpdateCdcReplicatedIndexResponsePB* yb::down_cast<yb::cdc::UpdateCdcReplicatedIndexResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::BootstrapProducerRequestPB const* yb::down_cast<yb::cdc::BootstrapProducerRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::BootstrapProducerResponsePB* yb::down_cast<yb::cdc::BootstrapProducerResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::GetLatestEntryOpIdRequestPB const* yb::down_cast<yb::cdc::GetLatestEntryOpIdRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::GetLatestEntryOpIdResponsePB* yb::down_cast<yb::cdc::GetLatestEntryOpIdResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::GetCDCDBStreamInfoRequestPB const* yb::down_cast<yb::cdc::GetCDCDBStreamInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::GetCDCDBStreamInfoResponsePB* yb::down_cast<yb::cdc::GetCDCDBStreamInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::cdc::SetCDCCheckpointRequestPB const* yb::down_cast<yb::cdc::SetCDCCheckpointRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::cdc::SetCDCCheckpointResponsePB* yb::down_cast<yb::cdc::SetCDCCheckpointResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::client::YBRedisReadOp* yb::down_cast<yb::client::YBRedisReadOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 169k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 169k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 169k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 169k | } |
yb::client::YBRedisWriteOp* yb::down_cast<yb::client::YBRedisWriteOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 246k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 246k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 246k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 246k | } |
yb::client::YBRedisOp* yb::down_cast<yb::client::YBRedisOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 9 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 9 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 9 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 9 | } |
yb::client::YBqlOp* yb::down_cast<yb::client::YBqlOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 70.5k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 70.5k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 70.5k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 70.5k | } |
yb::client::YBPgsqlOp* yb::down_cast<yb::client::YBPgsqlOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 935k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 935k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 935k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 935k | } |
yb::client::YBqlWriteOp* yb::down_cast<yb::client::YBqlWriteOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 7.93M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 7.93M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 7.93M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 7.93M | } |
yb::client::YBPgsqlWriteOp* yb::down_cast<yb::client::YBPgsqlWriteOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 21.5M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 21.5M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 21.5M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 21.5M | } |
yb::client::YBqlReadOp* yb::down_cast<yb::client::YBqlReadOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 15.0M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 15.0M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 15.0M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 15.0M | } |
yb::client::YBPgsqlReadOp* yb::down_cast<yb::client::YBPgsqlReadOp*, yb::client::YBOperation>(yb::client::YBOperation*) Line | Count | Source | 86 | 11.3M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 11.3M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 11.3M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 11.3M | } |
Unexecuted instantiation: yb::tserver::TabletSnapshotOpRequestPB const* yb::down_cast<yb::tserver::TabletSnapshotOpRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::TabletSnapshotOpResponsePB* yb::down_cast<yb::tserver::TabletSnapshotOpResponsePB*, google::protobuf::Message>(google::protobuf::Message*) testutil.cc:rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<0u, long long>* yb::down_cast<rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<0u, long long>*, rocksdb::UserBoundaryValue>(rocksdb::UserBoundaryValue*) Line | Count | Source | 86 | 8 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 8 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 8 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 8 | } |
testutil.cc:rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<1u, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* yb::down_cast<rocksdb::test::(anonymous namespace)::TestBoundaryUserValue<1u, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >*, rocksdb::UserBoundaryValue>(rocksdb::UserBoundaryValue*) Line | Count | Source | 86 | 8 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 8 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 8 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 8 | } |
Unexecuted instantiation: yb::master::CreateSnapshotRequestPB const* yb::down_cast<yb::master::CreateSnapshotRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateSnapshotResponsePB* yb::down_cast<yb::master::CreateSnapshotResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListSnapshotsRequestPB const* yb::down_cast<yb::master::ListSnapshotsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListSnapshotsResponsePB* yb::down_cast<yb::master::ListSnapshotsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListSnapshotRestorationsRequestPB const* yb::down_cast<yb::master::ListSnapshotRestorationsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListSnapshotRestorationsResponsePB* yb::down_cast<yb::master::ListSnapshotRestorationsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::RestoreSnapshotRequestPB const* yb::down_cast<yb::master::RestoreSnapshotRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::RestoreSnapshotResponsePB* yb::down_cast<yb::master::RestoreSnapshotResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteSnapshotRequestPB const* yb::down_cast<yb::master::DeleteSnapshotRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteSnapshotResponsePB* yb::down_cast<yb::master::DeleteSnapshotResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ImportSnapshotMetaRequestPB const* yb::down_cast<yb::master::ImportSnapshotMetaRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ImportSnapshotMetaResponsePB* yb::down_cast<yb::master::ImportSnapshotMetaResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateSnapshotScheduleRequestPB const* yb::down_cast<yb::master::CreateSnapshotScheduleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateSnapshotScheduleResponsePB* yb::down_cast<yb::master::CreateSnapshotScheduleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListSnapshotSchedulesRequestPB const* yb::down_cast<yb::master::ListSnapshotSchedulesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListSnapshotSchedulesResponsePB* yb::down_cast<yb::master::ListSnapshotSchedulesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteSnapshotScheduleRequestPB const* yb::down_cast<yb::master::DeleteSnapshotScheduleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteSnapshotScheduleResponsePB* yb::down_cast<yb::master::DeleteSnapshotScheduleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgHeartbeatRequestPB const* yb::down_cast<yb::tserver::PgHeartbeatRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgHeartbeatResponsePB* yb::down_cast<yb::tserver::PgHeartbeatResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgAlterDatabaseRequestPB const* yb::down_cast<yb::tserver::PgAlterDatabaseRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgAlterDatabaseResponsePB* yb::down_cast<yb::tserver::PgAlterDatabaseResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgAlterTableRequestPB const* yb::down_cast<yb::tserver::PgAlterTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgAlterTableResponsePB* yb::down_cast<yb::tserver::PgAlterTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgBackfillIndexRequestPB const* yb::down_cast<yb::tserver::PgBackfillIndexRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgBackfillIndexResponsePB* yb::down_cast<yb::tserver::PgBackfillIndexResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgCreateDatabaseRequestPB const* yb::down_cast<yb::tserver::PgCreateDatabaseRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgCreateDatabaseResponsePB* yb::down_cast<yb::tserver::PgCreateDatabaseResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgCreateSequencesDataTableRequestPB const* yb::down_cast<yb::tserver::PgCreateSequencesDataTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgCreateSequencesDataTableResponsePB* yb::down_cast<yb::tserver::PgCreateSequencesDataTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgCreateTableRequestPB const* yb::down_cast<yb::tserver::PgCreateTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgCreateTableResponsePB* yb::down_cast<yb::tserver::PgCreateTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgCreateTablegroupRequestPB const* yb::down_cast<yb::tserver::PgCreateTablegroupRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgCreateTablegroupResponsePB* yb::down_cast<yb::tserver::PgCreateTablegroupResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgDropDatabaseRequestPB const* yb::down_cast<yb::tserver::PgDropDatabaseRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgDropDatabaseResponsePB* yb::down_cast<yb::tserver::PgDropDatabaseResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgDropTableRequestPB const* yb::down_cast<yb::tserver::PgDropTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgDropTableResponsePB* yb::down_cast<yb::tserver::PgDropTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgDropTablegroupRequestPB const* yb::down_cast<yb::tserver::PgDropTablegroupRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgDropTablegroupResponsePB* yb::down_cast<yb::tserver::PgDropTablegroupResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgFinishTransactionRequestPB const* yb::down_cast<yb::tserver::PgFinishTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgFinishTransactionResponsePB* yb::down_cast<yb::tserver::PgFinishTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgGetCatalogMasterVersionRequestPB const* yb::down_cast<yb::tserver::PgGetCatalogMasterVersionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgGetCatalogMasterVersionResponsePB* yb::down_cast<yb::tserver::PgGetCatalogMasterVersionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgGetDatabaseInfoRequestPB const* yb::down_cast<yb::tserver::PgGetDatabaseInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgGetDatabaseInfoResponsePB* yb::down_cast<yb::tserver::PgGetDatabaseInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgIsInitDbDoneRequestPB const* yb::down_cast<yb::tserver::PgIsInitDbDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgIsInitDbDoneResponsePB* yb::down_cast<yb::tserver::PgIsInitDbDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgListLiveTabletServersRequestPB const* yb::down_cast<yb::tserver::PgListLiveTabletServersRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgListLiveTabletServersResponsePB* yb::down_cast<yb::tserver::PgListLiveTabletServersResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgOpenTableRequestPB const* yb::down_cast<yb::tserver::PgOpenTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgOpenTableResponsePB* yb::down_cast<yb::tserver::PgOpenTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgPerformRequestPB const* yb::down_cast<yb::tserver::PgPerformRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgPerformResponsePB* yb::down_cast<yb::tserver::PgPerformResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgReserveOidsRequestPB const* yb::down_cast<yb::tserver::PgReserveOidsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgReserveOidsResponsePB* yb::down_cast<yb::tserver::PgReserveOidsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgRollbackSubTransactionRequestPB const* yb::down_cast<yb::tserver::PgRollbackSubTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgRollbackSubTransactionResponsePB* yb::down_cast<yb::tserver::PgRollbackSubTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgSetActiveSubTransactionRequestPB const* yb::down_cast<yb::tserver::PgSetActiveSubTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgSetActiveSubTransactionResponsePB* yb::down_cast<yb::tserver::PgSetActiveSubTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgTabletServerCountRequestPB const* yb::down_cast<yb::tserver::PgTabletServerCountRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgTabletServerCountResponsePB* yb::down_cast<yb::tserver::PgTabletServerCountResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgTruncateTableRequestPB const* yb::down_cast<yb::tserver::PgTruncateTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgTruncateTableResponsePB* yb::down_cast<yb::tserver::PgTruncateTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgValidatePlacementRequestPB const* yb::down_cast<yb::tserver::PgValidatePlacementRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgValidatePlacementResponsePB* yb::down_cast<yb::tserver::PgValidatePlacementResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgInsertSequenceTupleRequestPB const* yb::down_cast<yb::tserver::PgInsertSequenceTupleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgInsertSequenceTupleResponsePB* yb::down_cast<yb::tserver::PgInsertSequenceTupleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgUpdateSequenceTupleRequestPB const* yb::down_cast<yb::tserver::PgUpdateSequenceTupleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgUpdateSequenceTupleResponsePB* yb::down_cast<yb::tserver::PgUpdateSequenceTupleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgReadSequenceTupleRequestPB const* yb::down_cast<yb::tserver::PgReadSequenceTupleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgReadSequenceTupleResponsePB* yb::down_cast<yb::tserver::PgReadSequenceTupleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgDeleteSequenceTupleRequestPB const* yb::down_cast<yb::tserver::PgDeleteSequenceTupleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgDeleteSequenceTupleResponsePB* yb::down_cast<yb::tserver::PgDeleteSequenceTupleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PgDeleteDBSequencesRequestPB const* yb::down_cast<yb::tserver::PgDeleteDBSequencesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PgDeleteDBSequencesResponsePB* yb::down_cast<yb::tserver::PgDeleteDBSequencesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::tserver::WriteRequestPB const* yb::down_cast<yb::tserver::WriteRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Line | Count | Source | 86 | 1.81M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.81M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.81M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.81M | } |
yb::tserver::WriteResponsePB* yb::down_cast<yb::tserver::WriteResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Line | Count | Source | 86 | 1.81M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.81M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.81M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.81M | } |
yb::tserver::ReadRequestPB const* yb::down_cast<yb::tserver::ReadRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Line | Count | Source | 86 | 7.43M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 7.43M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 7.43M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 7.43M | } |
yb::tserver::ReadResponsePB* yb::down_cast<yb::tserver::ReadResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Line | Count | Source | 86 | 7.43M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 7.43M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 7.43M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 7.43M | } |
Unexecuted instantiation: yb::tserver::VerifyTableRowRangeRequestPB const* yb::down_cast<yb::tserver::VerifyTableRowRangeRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::VerifyTableRowRangeResponsePB* yb::down_cast<yb::tserver::VerifyTableRowRangeResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::NoOpRequestPB const* yb::down_cast<yb::tserver::NoOpRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::NoOpResponsePB* yb::down_cast<yb::tserver::NoOpResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::ListTabletsRequestPB const* yb::down_cast<yb::tserver::ListTabletsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::ListTabletsResponsePB* yb::down_cast<yb::tserver::ListTabletsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetLogLocationRequestPB const* yb::down_cast<yb::tserver::GetLogLocationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetLogLocationResponsePB* yb::down_cast<yb::tserver::GetLogLocationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::ChecksumRequestPB const* yb::down_cast<yb::tserver::ChecksumRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::ChecksumResponsePB* yb::down_cast<yb::tserver::ChecksumResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::ListTabletsForTabletServerRequestPB const* yb::down_cast<yb::tserver::ListTabletsForTabletServerRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::ListTabletsForTabletServerResponsePB* yb::down_cast<yb::tserver::ListTabletsForTabletServerResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::ImportDataRequestPB const* yb::down_cast<yb::tserver::ImportDataRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::ImportDataResponsePB* yb::down_cast<yb::tserver::ImportDataResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::tserver::UpdateTransactionRequestPB const* yb::down_cast<yb::tserver::UpdateTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Line | Count | Source | 86 | 1.31M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.31M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.31M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.31M | } |
yb::tserver::UpdateTransactionResponsePB* yb::down_cast<yb::tserver::UpdateTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Line | Count | Source | 86 | 1.31M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.31M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.31M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.31M | } |
yb::tserver::GetTransactionStatusRequestPB const* yb::down_cast<yb::tserver::GetTransactionStatusRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Line | Count | Source | 86 | 86.6k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 86.6k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 86.6k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 86.6k | } |
yb::tserver::GetTransactionStatusResponsePB* yb::down_cast<yb::tserver::GetTransactionStatusResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Line | Count | Source | 86 | 86.6k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 86.6k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 86.6k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 86.6k | } |
Unexecuted instantiation: yb::tserver::GetTransactionStatusAtParticipantRequestPB const* yb::down_cast<yb::tserver::GetTransactionStatusAtParticipantRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetTransactionStatusAtParticipantResponsePB* yb::down_cast<yb::tserver::GetTransactionStatusAtParticipantResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::tserver::AbortTransactionRequestPB const* yb::down_cast<yb::tserver::AbortTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Line | Count | Source | 86 | 158k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 158k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 158k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 158k | } |
yb::tserver::AbortTransactionResponsePB* yb::down_cast<yb::tserver::AbortTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Line | Count | Source | 86 | 158k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 158k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 158k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 158k | } |
Unexecuted instantiation: yb::tserver::TruncateRequestPB const* yb::down_cast<yb::tserver::TruncateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::TruncateResponsePB* yb::down_cast<yb::tserver::TruncateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetTabletStatusRequestPB const* yb::down_cast<yb::tserver::GetTabletStatusRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetTabletStatusResponsePB* yb::down_cast<yb::tserver::GetTabletStatusResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetMasterAddressesRequestPB const* yb::down_cast<yb::tserver::GetMasterAddressesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetMasterAddressesResponsePB* yb::down_cast<yb::tserver::GetMasterAddressesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::PublishRequestPB const* yb::down_cast<yb::tserver::PublishRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::PublishResponsePB* yb::down_cast<yb::tserver::PublishResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::IsTabletServerReadyRequestPB const* yb::down_cast<yb::tserver::IsTabletServerReadyRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::IsTabletServerReadyResponsePB* yb::down_cast<yb::tserver::IsTabletServerReadyResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::TakeTransactionRequestPB const* yb::down_cast<yb::tserver::TakeTransactionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::TakeTransactionResponsePB* yb::down_cast<yb::tserver::TakeTransactionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetSplitKeyRequestPB const* yb::down_cast<yb::tserver::GetSplitKeyRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetSplitKeyResponsePB* yb::down_cast<yb::tserver::GetSplitKeyResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::tserver::GetSharedDataRequestPB const* yb::down_cast<yb::tserver::GetSharedDataRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::tserver::GetSharedDataResponsePB* yb::down_cast<yb::tserver::GetSharedDataResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::pggate::PgConstant* yb::down_cast<yb::pggate::PgConstant*, yb::pggate::PgExpr>(yb::pggate::PgExpr*) Line | Count | Source | 86 | 3.26k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 3.26k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 3.26k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 3.26k | } |
yb::pggate::PgCreateDatabase* yb::down_cast<yb::pggate::PgCreateDatabase*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 134 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 134 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 134 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 134 | } |
yb::pggate::PgDropDatabase* yb::down_cast<yb::pggate::PgDropDatabase*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 72 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 72 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 72 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 72 | } |
yb::pggate::PgAlterDatabase* yb::down_cast<yb::pggate::PgAlterDatabase*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 6 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 6 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 6 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 6 | } |
yb::pggate::PgCreateTablegroup* yb::down_cast<yb::pggate::PgCreateTablegroup*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 54 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 54 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 54 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 54 | } |
yb::pggate::PgDropTablegroup* yb::down_cast<yb::pggate::PgDropTablegroup*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 39 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 39 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 39 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 39 | } |
yb::pggate::PgCreateTable* yb::down_cast<yb::pggate::PgCreateTable*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 17.3k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 17.3k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 17.3k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 17.3k | } |
yb::pggate::PgAlterTable* yb::down_cast<yb::pggate::PgAlterTable*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 1.30k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.30k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.30k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.30k | } |
yb::pggate::PgTruncateTable* yb::down_cast<yb::pggate::PgTruncateTable*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 624 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 624 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 624 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 624 | } |
yb::pggate::PgDmlWrite* yb::down_cast<yb::pggate::PgDmlWrite*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 7.20M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 7.20M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 7.20M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 7.20M | } |
yb::pggate::PgDml* yb::down_cast<yb::pggate::PgDml*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 121M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 121M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 121M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 121M | } |
yb::pggate::PgDropTable* yb::down_cast<yb::pggate::PgDropTable*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 3.48k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 3.48k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 3.48k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 3.48k | } |
yb::pggate::PgDropIndex* yb::down_cast<yb::pggate::PgDropIndex*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 669 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 669 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 669 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 669 | } |
yb::pggate::PgDmlRead* yb::down_cast<yb::pggate::PgDmlRead*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 3.13M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 3.13M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 3.13M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 3.13M | } |
yb::pggate::PgInsert* yb::down_cast<yb::pggate::PgInsert*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 1.69M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.69M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.69M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.69M | } |
yb::pggate::PgUpdate* yb::down_cast<yb::pggate::PgUpdate*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 8 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 8 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 8 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 8 | } |
yb::pggate::PgDelete* yb::down_cast<yb::pggate::PgDelete*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 9 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 9 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 9 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 9 | } |
yb::pggate::PgSample* yb::down_cast<yb::pggate::PgSample*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) Line | Count | Source | 86 | 1.47k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.47k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.47k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.47k | } |
Unexecuted instantiation: yb::pggate::PgTruncateColocated* yb::down_cast<yb::pggate::PgTruncateColocated*, yb::pggate::PgStatement>(yb::pggate::PgStatement*) yb::pggate::PgOperator* yb::down_cast<yb::pggate::PgOperator*, yb::pggate::PgExpr>(yb::pggate::PgExpr*) Line | Count | Source | 86 | 22.8k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 22.8k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 22.8k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 22.8k | } |
yb::pggate::PgSamplePicker* yb::down_cast<yb::pggate::PgSamplePicker*, yb::pggate::PgSelectIndex>(yb::pggate::PgSelectIndex*) Line | Count | Source | 86 | 1.29k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.29k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.29k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.29k | } |
yb::pggate::PgDocReadOp* yb::down_cast<yb::pggate::PgDocReadOp*, yb::pggate::PgDocOp>(yb::pggate::PgDocOp*) Line | Count | Source | 86 | 178 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 178 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 178 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 178 | } |
yb::pggate::PgDocWriteOp* yb::down_cast<yb::pggate::PgDocWriteOp*, yb::pggate::PgDocOp>(yb::pggate::PgDocOp*) Line | Count | Source | 86 | 371k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 371k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 371k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 371k | } |
Unexecuted instantiation: yb::server::HybridClock* yb::down_cast<yb::server::HybridClock*, yb::server::Clock>(yb::server::Clock*) rocksdb::DBImpl* yb::down_cast<rocksdb::DBImpl*, rocksdb::DB>(rocksdb::DB*) Line | Count | Source | 86 | 2 | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 2 | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 2 | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 2 | } |
Unexecuted instantiation: yb::rpc_test::AddRequestPB const* yb::down_cast<yb::rpc_test::AddRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::AddResponsePB* yb::down_cast<yb::rpc_test::AddResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::SleepRequestPB const* yb::down_cast<yb::rpc_test::SleepRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::SleepResponsePB* yb::down_cast<yb::rpc_test::SleepResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::EchoRequestPB const* yb::down_cast<yb::rpc_test::EchoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::EchoResponsePB* yb::down_cast<yb::rpc_test::EchoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::WhoAmIRequestPB const* yb::down_cast<yb::rpc_test::WhoAmIRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::WhoAmIResponsePB* yb::down_cast<yb::rpc_test::WhoAmIResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test_diff_package::ReqDiffPackagePB const* yb::down_cast<yb::rpc_test_diff_package::ReqDiffPackagePB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test_diff_package::RespDiffPackagePB* yb::down_cast<yb::rpc_test_diff_package::RespDiffPackagePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::PanicRequestPB const* yb::down_cast<yb::rpc_test::PanicRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::PanicResponsePB* yb::down_cast<yb::rpc_test::PanicResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::PingRequestPB const* yb::down_cast<yb::rpc_test::PingRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::PingResponsePB* yb::down_cast<yb::rpc_test::PingResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::DisconnectRequestPB const* yb::down_cast<yb::rpc_test::DisconnectRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::DisconnectResponsePB* yb::down_cast<yb::rpc_test::DisconnectResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::ForwardRequestPB const* yb::down_cast<yb::rpc_test::ForwardRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::ForwardResponsePB* yb::down_cast<yb::rpc_test::ForwardResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::LWLightweightRequestPB const* yb::down_cast<yb::rpc_test::LWLightweightRequestPB const*, yb::rpc::LightweightMessage const>(yb::rpc::LightweightMessage const*) Unexecuted instantiation: yb::rpc_test::LWLightweightResponsePB* yb::down_cast<yb::rpc_test::LWLightweightResponsePB*, yb::rpc::LightweightMessage>(yb::rpc::LightweightMessage*) Unexecuted instantiation: yb::rpc_test::TrivialRequestPB const* yb::down_cast<yb::rpc_test::TrivialRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::TrivialResponsePB* yb::down_cast<yb::rpc_test::TrivialResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::rpc_test::ConcatRequestPB const* yb::down_cast<yb::rpc_test::ConcatRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::rpc_test::ConcatResponsePB* yb::down_cast<yb::rpc_test::ConcatResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::tablet::WriteOperation* yb::down_cast<yb::tablet::WriteOperation*, yb::tablet::Operation>(yb::tablet::Operation*) Line | Count | Source | 86 | 96.0k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 96.0k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 96.0k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 96.0k | } |
rocksdb::ColumnFamilyHandleImpl* yb::down_cast<rocksdb::ColumnFamilyHandleImpl*, rocksdb::ColumnFamilyHandle>(rocksdb::ColumnFamilyHandle*) Line | Count | Source | 86 | 156M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 156M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 156M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 156M | } |
rocksdb::DBImpl::CompactionTask* yb::down_cast<rocksdb::DBImpl::CompactionTask*, rocksdb::DBImpl::ThreadPoolTask>(rocksdb::DBImpl::ThreadPoolTask*) Line | Count | Source | 86 | 1.14k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.14k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.14k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.14k | } |
rocksdb::DBImpl::ThreadPoolTask* yb::down_cast<rocksdb::DBImpl::ThreadPoolTask*, yb::PriorityThreadPoolTask>(yb::PriorityThreadPoolTask*) Line | Count | Source | 86 | 1.17k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 1.17k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 1.17k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 1.17k | } |
write_batch.cc:rocksdb::(anonymous namespace)::MemTableInserter* yb::down_cast<rocksdb::(anonymous namespace)::MemTableInserter*, rocksdb::WriteBatch::Handler>(rocksdb::WriteBatch::Handler*) Line | Count | Source | 86 | 11.6M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 11.6M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 11.6M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 11.6M | } |
rocksdb::BlockBasedTable* yb::down_cast<rocksdb::BlockBasedTable*, rocksdb::TableReader>(rocksdb::TableReader*) Line | Count | Source | 86 | 12.9M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 12.9M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 12.9M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 12.9M | } |
env_posix.cc:rocksdb::(anonymous namespace)::PosixEnv* yb::down_cast<rocksdb::(anonymous namespace)::PosixEnv*, rocksdb::Env>(rocksdb::Env*) Line | Count | Source | 86 | 9.28k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 9.28k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 9.28k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 9.28k | } |
env_posix.cc:yb::(anonymous namespace)::PosixEnv* yb::down_cast<yb::(anonymous namespace)::PosixEnv*, yb::Env>(yb::Env*) Line | Count | Source | 86 | 9.27k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 9.27k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 9.27k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 9.27k | } |
yb::Counter* yb::down_cast<yb::Counter*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 23.5M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 23.5M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 23.5M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 23.5M | } |
Unexecuted instantiation: yb::MillisLag* yb::down_cast<yb::MillisLag*, yb::Metric>(yb::Metric*) yb::AtomicMillisLag* yb::down_cast<yb::AtomicMillisLag*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 176k | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 176k | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 176k | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 176k | } |
yb::Histogram* yb::down_cast<yb::Histogram*, yb::Metric>(yb::Metric*) Line | Count | Source | 86 | 14.2M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 14.2M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 14.2M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 14.2M | } |
Unexecuted instantiation: yb::master::FlushTablesRequestPB const* yb::down_cast<yb::master::FlushTablesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::FlushTablesResponsePB* yb::down_cast<yb::master::FlushTablesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsFlushTablesDoneRequestPB const* yb::down_cast<yb::master::IsFlushTablesDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsFlushTablesDoneResponsePB* yb::down_cast<yb::master::IsFlushTablesDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::FlushSysCatalogRequestPB const* yb::down_cast<yb::master::FlushSysCatalogRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::FlushSysCatalogResponsePB* yb::down_cast<yb::master::FlushSysCatalogResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CompactSysCatalogRequestPB const* yb::down_cast<yb::master::CompactSysCatalogRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CompactSysCatalogResponsePB* yb::down_cast<yb::master::CompactSysCatalogResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsInitDbDoneRequestPB const* yb::down_cast<yb::master::IsInitDbDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsInitDbDoneResponsePB* yb::down_cast<yb::master::IsInitDbDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::SplitTabletRequestPB const* yb::down_cast<yb::master::SplitTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::SplitTabletResponsePB* yb::down_cast<yb::master::SplitTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateTransactionStatusTableRequestPB const* yb::down_cast<yb::master::CreateTransactionStatusTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateTransactionStatusTableResponsePB* yb::down_cast<yb::master::CreateTransactionStatusTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteNotServingTabletRequestPB const* yb::down_cast<yb::master::DeleteNotServingTabletRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteNotServingTabletResponsePB* yb::down_cast<yb::master::DeleteNotServingTabletResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DisableTabletSplittingRequestPB const* yb::down_cast<yb::master::DisableTabletSplittingRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DisableTabletSplittingResponsePB* yb::down_cast<yb::master::DisableTabletSplittingResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsTabletSplittingCompleteRequestPB const* yb::down_cast<yb::master::IsTabletSplittingCompleteRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsTabletSplittingCompleteResponsePB* yb::down_cast<yb::master::IsTabletSplittingCompleteResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DdlLogRequestPB const* yb::down_cast<yb::master::DdlLogRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DdlLogResponsePB* yb::down_cast<yb::master::DdlLogResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetTabletLocationsRequestPB const* yb::down_cast<yb::master::GetTabletLocationsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetTabletLocationsResponsePB* yb::down_cast<yb::master::GetTabletLocationsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetTableLocationsRequestPB const* yb::down_cast<yb::master::GetTableLocationsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetTableLocationsResponsePB* yb::down_cast<yb::master::GetTableLocationsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetTransactionStatusTabletsRequestPB const* yb::down_cast<yb::master::GetTransactionStatusTabletsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetTransactionStatusTabletsResponsePB* yb::down_cast<yb::master::GetTransactionStatusTabletsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ReservePgsqlOidsRequestPB const* yb::down_cast<yb::master::ReservePgsqlOidsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ReservePgsqlOidsResponsePB* yb::down_cast<yb::master::ReservePgsqlOidsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetYsqlCatalogConfigRequestPB const* yb::down_cast<yb::master::GetYsqlCatalogConfigRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetYsqlCatalogConfigResponsePB* yb::down_cast<yb::master::GetYsqlCatalogConfigResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::RedisConfigSetRequestPB const* yb::down_cast<yb::master::RedisConfigSetRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::RedisConfigSetResponsePB* yb::down_cast<yb::master::RedisConfigSetResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::RedisConfigGetRequestPB const* yb::down_cast<yb::master::RedisConfigGetRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::RedisConfigGetResponsePB* yb::down_cast<yb::master::RedisConfigGetResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListTabletServersRequestPB const* yb::down_cast<yb::master::ListTabletServersRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListTabletServersResponsePB* yb::down_cast<yb::master::ListTabletServersResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListLiveTabletServersRequestPB const* yb::down_cast<yb::master::ListLiveTabletServersRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListLiveTabletServersResponsePB* yb::down_cast<yb::master::ListLiveTabletServersResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListMastersRequestPB const* yb::down_cast<yb::master::ListMastersRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListMastersResponsePB* yb::down_cast<yb::master::ListMastersResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListMasterRaftPeersRequestPB const* yb::down_cast<yb::master::ListMasterRaftPeersRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListMasterRaftPeersResponsePB* yb::down_cast<yb::master::ListMasterRaftPeersResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetMasterRegistrationRequestPB const* yb::down_cast<yb::master::GetMasterRegistrationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetMasterRegistrationResponsePB* yb::down_cast<yb::master::GetMasterRegistrationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsMasterLeaderReadyRequestPB const* yb::down_cast<yb::master::IsMasterLeaderReadyRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsMasterLeaderReadyResponsePB* yb::down_cast<yb::master::IsMasterLeaderReadyResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DumpMasterStateRequestPB const* yb::down_cast<yb::master::DumpMasterStateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DumpMasterStateResponsePB* yb::down_cast<yb::master::DumpMasterStateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ChangeLoadBalancerStateRequestPB const* yb::down_cast<yb::master::ChangeLoadBalancerStateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ChangeLoadBalancerStateResponsePB* yb::down_cast<yb::master::ChangeLoadBalancerStateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetLoadBalancerStateRequestPB const* yb::down_cast<yb::master::GetLoadBalancerStateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetLoadBalancerStateResponsePB* yb::down_cast<yb::master::GetLoadBalancerStateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::RemovedMasterUpdateRequestPB const* yb::down_cast<yb::master::RemovedMasterUpdateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::RemovedMasterUpdateResponsePB* yb::down_cast<yb::master::RemovedMasterUpdateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::SetPreferredZonesRequestPB const* yb::down_cast<yb::master::SetPreferredZonesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::SetPreferredZonesResponsePB* yb::down_cast<yb::master::SetPreferredZonesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetMasterClusterConfigRequestPB const* yb::down_cast<yb::master::GetMasterClusterConfigRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetMasterClusterConfigResponsePB* yb::down_cast<yb::master::GetMasterClusterConfigResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ChangeMasterClusterConfigRequestPB const* yb::down_cast<yb::master::ChangeMasterClusterConfigRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ChangeMasterClusterConfigResponsePB* yb::down_cast<yb::master::ChangeMasterClusterConfigResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetLoadMovePercentRequestPB const* yb::down_cast<yb::master::GetLoadMovePercentRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetLoadMovePercentResponsePB* yb::down_cast<yb::master::GetLoadMovePercentResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetLeaderBlacklistPercentRequestPB const* yb::down_cast<yb::master::GetLeaderBlacklistPercentRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsLoadBalancedRequestPB const* yb::down_cast<yb::master::IsLoadBalancedRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsLoadBalancedResponsePB* yb::down_cast<yb::master::IsLoadBalancedResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsLoadBalancerIdleRequestPB const* yb::down_cast<yb::master::IsLoadBalancerIdleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsLoadBalancerIdleResponsePB* yb::down_cast<yb::master::IsLoadBalancerIdleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AreLeadersOnPreferredOnlyRequestPB const* yb::down_cast<yb::master::AreLeadersOnPreferredOnlyRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AreLeadersOnPreferredOnlyResponsePB* yb::down_cast<yb::master::AreLeadersOnPreferredOnlyResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateRoleRequestPB const* yb::down_cast<yb::master::CreateRoleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateRoleResponsePB* yb::down_cast<yb::master::CreateRoleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AlterRoleRequestPB const* yb::down_cast<yb::master::AlterRoleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AlterRoleResponsePB* yb::down_cast<yb::master::AlterRoleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteRoleRequestPB const* yb::down_cast<yb::master::DeleteRoleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteRoleResponsePB* yb::down_cast<yb::master::DeleteRoleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GrantRevokeRoleRequestPB const* yb::down_cast<yb::master::GrantRevokeRoleRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GrantRevokeRoleResponsePB* yb::down_cast<yb::master::GrantRevokeRoleResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GrantRevokePermissionRequestPB const* yb::down_cast<yb::master::GrantRevokePermissionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GrantRevokePermissionResponsePB* yb::down_cast<yb::master::GrantRevokePermissionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetPermissionsRequestPB const* yb::down_cast<yb::master::GetPermissionsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetPermissionsResponsePB* yb::down_cast<yb::master::GetPermissionsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateTableRequestPB const* yb::down_cast<yb::master::CreateTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateTableResponsePB* yb::down_cast<yb::master::CreateTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsCreateTableDoneRequestPB const* yb::down_cast<yb::master::IsCreateTableDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsCreateTableDoneResponsePB* yb::down_cast<yb::master::IsCreateTableDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListTablesRequestPB const* yb::down_cast<yb::master::ListTablesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListTablesResponsePB* yb::down_cast<yb::master::ListTablesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetTableSchemaRequestPB const* yb::down_cast<yb::master::GetTableSchemaRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetTableSchemaResponsePB* yb::down_cast<yb::master::GetTableSchemaResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetTablegroupSchemaRequestPB const* yb::down_cast<yb::master::GetTablegroupSchemaRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetTablegroupSchemaResponsePB* yb::down_cast<yb::master::GetTablegroupSchemaResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetColocatedTabletSchemaRequestPB const* yb::down_cast<yb::master::GetColocatedTabletSchemaRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetColocatedTabletSchemaResponsePB* yb::down_cast<yb::master::GetColocatedTabletSchemaResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::TruncateTableRequestPB const* yb::down_cast<yb::master::TruncateTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::TruncateTableResponsePB* yb::down_cast<yb::master::TruncateTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsTruncateTableDoneRequestPB const* yb::down_cast<yb::master::IsTruncateTableDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsTruncateTableDoneResponsePB* yb::down_cast<yb::master::IsTruncateTableDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::BackfillIndexRequestPB const* yb::down_cast<yb::master::BackfillIndexRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::BackfillIndexResponsePB* yb::down_cast<yb::master::BackfillIndexResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::LaunchBackfillIndexForTableRequestPB const* yb::down_cast<yb::master::LaunchBackfillIndexForTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::LaunchBackfillIndexForTableResponsePB* yb::down_cast<yb::master::LaunchBackfillIndexForTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetBackfillJobsRequestPB const* yb::down_cast<yb::master::GetBackfillJobsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetBackfillJobsResponsePB* yb::down_cast<yb::master::GetBackfillJobsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteTableRequestPB const* yb::down_cast<yb::master::DeleteTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteTableResponsePB* yb::down_cast<yb::master::DeleteTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsDeleteTableDoneRequestPB const* yb::down_cast<yb::master::IsDeleteTableDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsDeleteTableDoneResponsePB* yb::down_cast<yb::master::IsDeleteTableDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AlterTableRequestPB const* yb::down_cast<yb::master::AlterTableRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AlterTableResponsePB* yb::down_cast<yb::master::AlterTableResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsAlterTableDoneRequestPB const* yb::down_cast<yb::master::IsAlterTableDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsAlterTableDoneResponsePB* yb::down_cast<yb::master::IsAlterTableDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateNamespaceRequestPB const* yb::down_cast<yb::master::CreateNamespaceRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateNamespaceResponsePB* yb::down_cast<yb::master::CreateNamespaceResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsCreateNamespaceDoneRequestPB const* yb::down_cast<yb::master::IsCreateNamespaceDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsCreateNamespaceDoneResponsePB* yb::down_cast<yb::master::IsCreateNamespaceDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteNamespaceRequestPB const* yb::down_cast<yb::master::DeleteNamespaceRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteNamespaceResponsePB* yb::down_cast<yb::master::DeleteNamespaceResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsDeleteNamespaceDoneRequestPB const* yb::down_cast<yb::master::IsDeleteNamespaceDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsDeleteNamespaceDoneResponsePB* yb::down_cast<yb::master::IsDeleteNamespaceDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AlterNamespaceRequestPB const* yb::down_cast<yb::master::AlterNamespaceRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AlterNamespaceResponsePB* yb::down_cast<yb::master::AlterNamespaceResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListNamespacesRequestPB const* yb::down_cast<yb::master::ListNamespacesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListNamespacesResponsePB* yb::down_cast<yb::master::ListNamespacesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetNamespaceInfoRequestPB const* yb::down_cast<yb::master::GetNamespaceInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetNamespaceInfoResponsePB* yb::down_cast<yb::master::GetNamespaceInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateTablegroupRequestPB const* yb::down_cast<yb::master::CreateTablegroupRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateTablegroupResponsePB* yb::down_cast<yb::master::CreateTablegroupResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteTablegroupRequestPB const* yb::down_cast<yb::master::DeleteTablegroupRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteTablegroupResponsePB* yb::down_cast<yb::master::DeleteTablegroupResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListTablegroupsRequestPB const* yb::down_cast<yb::master::ListTablegroupsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListTablegroupsResponsePB* yb::down_cast<yb::master::ListTablegroupsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateUDTypeRequestPB const* yb::down_cast<yb::master::CreateUDTypeRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateUDTypeResponsePB* yb::down_cast<yb::master::CreateUDTypeResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteUDTypeRequestPB const* yb::down_cast<yb::master::DeleteUDTypeRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteUDTypeResponsePB* yb::down_cast<yb::master::DeleteUDTypeResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListUDTypesRequestPB const* yb::down_cast<yb::master::ListUDTypesRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListUDTypesResponsePB* yb::down_cast<yb::master::ListUDTypesResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetUDTypeInfoRequestPB const* yb::down_cast<yb::master::GetUDTypeInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetUDTypeInfoResponsePB* yb::down_cast<yb::master::GetUDTypeInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ChangeEncryptionInfoRequestPB const* yb::down_cast<yb::master::ChangeEncryptionInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ChangeEncryptionInfoResponsePB* yb::down_cast<yb::master::ChangeEncryptionInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsEncryptionEnabledRequestPB const* yb::down_cast<yb::master::IsEncryptionEnabledRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsEncryptionEnabledResponsePB* yb::down_cast<yb::master::IsEncryptionEnabledResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AddUniverseKeysRequestPB const* yb::down_cast<yb::master::AddUniverseKeysRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AddUniverseKeysResponsePB* yb::down_cast<yb::master::AddUniverseKeysResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetUniverseKeyRegistryRequestPB const* yb::down_cast<yb::master::GetUniverseKeyRegistryRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetUniverseKeyRegistryResponsePB* yb::down_cast<yb::master::GetUniverseKeyRegistryResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::HasUniverseKeyInMemoryRequestPB const* yb::down_cast<yb::master::HasUniverseKeyInMemoryRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::HasUniverseKeyInMemoryResponsePB* yb::down_cast<yb::master::HasUniverseKeyInMemoryResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::TSHeartbeatRequestPB const* yb::down_cast<yb::master::TSHeartbeatRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::TSHeartbeatResponsePB* yb::down_cast<yb::master::TSHeartbeatResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ValidateReplicationInfoRequestPB const* yb::down_cast<yb::master::ValidateReplicationInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ValidateReplicationInfoResponsePB* yb::down_cast<yb::master::ValidateReplicationInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::CreateCDCStreamRequestPB const* yb::down_cast<yb::master::CreateCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::CreateCDCStreamResponsePB* yb::down_cast<yb::master::CreateCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteCDCStreamRequestPB const* yb::down_cast<yb::master::DeleteCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteCDCStreamResponsePB* yb::down_cast<yb::master::DeleteCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::ListCDCStreamsRequestPB const* yb::down_cast<yb::master::ListCDCStreamsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::ListCDCStreamsResponsePB* yb::down_cast<yb::master::ListCDCStreamsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetCDCStreamRequestPB const* yb::down_cast<yb::master::GetCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetCDCStreamResponsePB* yb::down_cast<yb::master::GetCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetCDCDBStreamInfoRequestPB const* yb::down_cast<yb::master::GetCDCDBStreamInfoRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetCDCDBStreamInfoResponsePB* yb::down_cast<yb::master::GetCDCDBStreamInfoResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::UpdateCDCStreamRequestPB const* yb::down_cast<yb::master::UpdateCDCStreamRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::UpdateCDCStreamResponsePB* yb::down_cast<yb::master::UpdateCDCStreamResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::SetupUniverseReplicationRequestPB const* yb::down_cast<yb::master::SetupUniverseReplicationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::SetupUniverseReplicationResponsePB* yb::down_cast<yb::master::SetupUniverseReplicationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::DeleteUniverseReplicationRequestPB const* yb::down_cast<yb::master::DeleteUniverseReplicationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::DeleteUniverseReplicationResponsePB* yb::down_cast<yb::master::DeleteUniverseReplicationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::AlterUniverseReplicationRequestPB const* yb::down_cast<yb::master::AlterUniverseReplicationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::AlterUniverseReplicationResponsePB* yb::down_cast<yb::master::AlterUniverseReplicationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::SetUniverseReplicationEnabledRequestPB const* yb::down_cast<yb::master::SetUniverseReplicationEnabledRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::SetUniverseReplicationEnabledResponsePB* yb::down_cast<yb::master::SetUniverseReplicationEnabledResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::GetUniverseReplicationRequestPB const* yb::down_cast<yb::master::GetUniverseReplicationRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::GetUniverseReplicationResponsePB* yb::down_cast<yb::master::GetUniverseReplicationResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::IsSetupUniverseReplicationDoneRequestPB const* yb::down_cast<yb::master::IsSetupUniverseReplicationDoneRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::IsSetupUniverseReplicationDoneResponsePB* yb::down_cast<yb::master::IsSetupUniverseReplicationDoneResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::master::UpdateConsumerOnProducerSplitRequestPB const* yb::down_cast<yb::master::UpdateConsumerOnProducerSplitRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::master::UpdateConsumerOnProducerSplitResponsePB* yb::down_cast<yb::master::UpdateConsumerOnProducerSplitResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::ConsensusRequestPB const* yb::down_cast<yb::consensus::ConsensusRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::ConsensusResponsePB* yb::down_cast<yb::consensus::ConsensusResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::MultiRaftConsensusRequestPB const* yb::down_cast<yb::consensus::MultiRaftConsensusRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::MultiRaftConsensusResponsePB* yb::down_cast<yb::consensus::MultiRaftConsensusResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::VoteRequestPB const* yb::down_cast<yb::consensus::VoteRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::VoteResponsePB* yb::down_cast<yb::consensus::VoteResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::ChangeConfigRequestPB const* yb::down_cast<yb::consensus::ChangeConfigRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::ChangeConfigResponsePB* yb::down_cast<yb::consensus::ChangeConfigResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::UnsafeChangeConfigRequestPB const* yb::down_cast<yb::consensus::UnsafeChangeConfigRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::UnsafeChangeConfigResponsePB* yb::down_cast<yb::consensus::UnsafeChangeConfigResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::GetNodeInstanceRequestPB const* yb::down_cast<yb::consensus::GetNodeInstanceRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::GetNodeInstanceResponsePB* yb::down_cast<yb::consensus::GetNodeInstanceResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::RunLeaderElectionRequestPB const* yb::down_cast<yb::consensus::RunLeaderElectionRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::RunLeaderElectionResponsePB* yb::down_cast<yb::consensus::RunLeaderElectionResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::LeaderElectionLostRequestPB const* yb::down_cast<yb::consensus::LeaderElectionLostRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::LeaderElectionLostResponsePB* yb::down_cast<yb::consensus::LeaderElectionLostResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::LeaderStepDownRequestPB const* yb::down_cast<yb::consensus::LeaderStepDownRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::LeaderStepDownResponsePB* yb::down_cast<yb::consensus::LeaderStepDownResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::GetLastOpIdRequestPB const* yb::down_cast<yb::consensus::GetLastOpIdRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::GetLastOpIdResponsePB* yb::down_cast<yb::consensus::GetLastOpIdResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::GetConsensusStateRequestPB const* yb::down_cast<yb::consensus::GetConsensusStateRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::GetConsensusStateResponsePB* yb::down_cast<yb::consensus::GetConsensusStateResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::consensus::StartRemoteBootstrapRequestPB const* yb::down_cast<yb::consensus::StartRemoteBootstrapRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::consensus::StartRemoteBootstrapResponsePB* yb::down_cast<yb::consensus::StartRemoteBootstrapResponsePB*, google::protobuf::Message>(google::protobuf::Message*) doc_boundary_values_extractor.cc:yb::docdb::(anonymous namespace)::DocHybridTimeValue const* yb::down_cast<yb::docdb::(anonymous namespace)::DocHybridTimeValue const*, rocksdb::UserBoundaryValue const>(rocksdb::UserBoundaryValue const*) Line | Count | Source | 86 | 185M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 185M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 185M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 185M | } |
doc_boundary_values_extractor.cc:yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue const* yb::down_cast<yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue const*, rocksdb::UserBoundaryValue const>(rocksdb::UserBoundaryValue const*) Line | Count | Source | 86 | 116M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 116M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 116M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 116M | } |
doc_boundary_values_extractor.cc:yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue* yb::down_cast<yb::docdb::(anonymous namespace)::PrimitiveBoundaryValue*, rocksdb::UserBoundaryValue>(rocksdb::UserBoundaryValue*) Line | Count | Source | 86 | 58.0M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 58.0M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 58.0M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 58.0M | } |
doc_boundary_values_extractor.cc:yb::docdb::(anonymous namespace)::DocHybridTimeValue* yb::down_cast<yb::docdb::(anonymous namespace)::DocHybridTimeValue*, rocksdb::UserBoundaryValue>(rocksdb::UserBoundaryValue*) Line | Count | Source | 86 | 93.0M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 93.0M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 93.0M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 93.0M | } |
Unexecuted instantiation: yb::server::SetFlagRequestPB const* yb::down_cast<yb::server::SetFlagRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::SetFlagResponsePB* yb::down_cast<yb::server::SetFlagResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::GetFlagRequestPB const* yb::down_cast<yb::server::GetFlagRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::GetFlagResponsePB* yb::down_cast<yb::server::GetFlagResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::RefreshFlagsRequestPB const* yb::down_cast<yb::server::RefreshFlagsRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::RefreshFlagsResponsePB* yb::down_cast<yb::server::RefreshFlagsResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::FlushCoverageRequestPB const* yb::down_cast<yb::server::FlushCoverageRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::FlushCoverageResponsePB* yb::down_cast<yb::server::FlushCoverageResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::ServerClockRequestPB const* yb::down_cast<yb::server::ServerClockRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::ServerClockResponsePB* yb::down_cast<yb::server::ServerClockResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::GetStatusRequestPB const* yb::down_cast<yb::server::GetStatusRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::GetStatusResponsePB* yb::down_cast<yb::server::GetStatusResponsePB*, google::protobuf::Message>(google::protobuf::Message*) Unexecuted instantiation: yb::server::PingRequestPB const* yb::down_cast<yb::server::PingRequestPB const*, google::protobuf::Message const>(google::protobuf::Message const*) Unexecuted instantiation: yb::server::PingResponsePB* yb::down_cast<yb::server::PingResponsePB*, google::protobuf::Message>(google::protobuf::Message*) yb::cqlserver::CQLInboundCall* yb::down_cast<yb::cqlserver::CQLInboundCall*, yb::rpc::InboundCall>(yb::rpc::InboundCall*) Line | Count | Source | 86 | 26.8M | inline To down_cast(From* f) { // so we only accept pointers | 87 | | // Ensures that To is a sub-type of From *. This test is here only | 88 | | // for compile-time type checking, and has no overhead in an | 89 | | // optimized build at run-time, as it will be optimized away | 90 | | // completely. | 91 | | | 92 | | // TODO(user): This should use COMPILE_ASSERT. | 93 | 26.8M | if (false) { | 94 | 0 | yb::implicit_cast<From*, To>(nullptr); | 95 | 0 | } | 96 | | | 97 | | // uses RTTI in dbg and fastbuild. asserts are disabled in opt builds. | 98 | 26.8M | assert(f == nullptr || dynamic_cast<To>(f) != nullptr); | 99 | 0 | return static_cast<To>(f); | 100 | 26.8M | } |
|
101 | | |
102 | | // Overload of down_cast for references. Use like this: down_cast<T&>(foo). |
103 | | // The code is slightly convoluted because we're still using the pointer |
104 | | // form of dynamic cast. (The reference form throws an exception if it |
105 | | // fails.) |
106 | | // |
107 | | // There's no need for a special const overload either for the pointer |
108 | | // or the reference form. If you call down_cast with a const T&, the |
109 | | // compiler will just bind From to const T. |
110 | | template<typename To, typename From> |
111 | 98.8M | inline To down_cast(From& f) { // NOLINT |
112 | 98.8M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); |
113 | 98.8M | typedef typename base::remove_reference<To>::type* ToAsPointer; |
114 | 98.8M | if (false) { |
115 | | // Compile-time check that To inherits from From. See above for details. |
116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); |
117 | 0 | } |
118 | | |
119 | 98.8M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only |
120 | 0 | return static_cast<To>(f); |
121 | 98.8M | } Unexecuted instantiation: rocksdb::UserFrontiersBase<rocksdb::test::TestUserFrontier> const& yb::down_cast<rocksdb::UserFrontiersBase<rocksdb::test::TestUserFrontier> const&, rocksdb::UserFrontiers const>(rocksdb::UserFrontiers const&) yb::client::YBPgsqlReadOp const& yb::down_cast<yb::client::YBPgsqlReadOp const&, yb::client::YBPgsqlOp const>(yb::client::YBPgsqlOp const&) Line | Count | Source | 111 | 1.25M | inline To down_cast(From& f) { // NOLINT | 112 | 1.25M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 1.25M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 1.25M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 1.25M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 1.25M | } |
rocksdb::UserFrontiersBase<yb::docdb::ConsensusFrontier> const& yb::down_cast<rocksdb::UserFrontiersBase<yb::docdb::ConsensusFrontier> const&, rocksdb::UserFrontiers const>(rocksdb::UserFrontiers const&) Line | Count | Source | 111 | 11.5M | inline To down_cast(From& f) { // NOLINT | 112 | 11.5M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 11.5M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 11.5M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 11.5M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 11.5M | } |
yb::docdb::ConsensusFrontier const& yb::down_cast<yb::docdb::ConsensusFrontier const&, rocksdb::UserFrontier const>(rocksdb::UserFrontier const&) Line | Count | Source | 111 | 23.1M | inline To down_cast(From& f) { // NOLINT | 112 | 23.1M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 23.1M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 23.1M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 23.1M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 23.1M | } |
yb::docdb::ConsensusFrontier& yb::down_cast<yb::docdb::ConsensusFrontier&, rocksdb::UserFrontier>(rocksdb::UserFrontier&) Line | Count | Source | 111 | 13.6k | inline To down_cast(From& f) { // NOLINT | 112 | 13.6k | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 13.6k | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 13.6k | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 13.6k | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 13.6k | } |
Unexecuted instantiation: yb::rpc::LWErrorStatusPB const& yb::down_cast<yb::rpc::LWErrorStatusPB const&, yb::rpc::LightweightMessage const>(yb::rpc::LightweightMessage const&) yb::rpc::ErrorStatusPB const& yb::down_cast<yb::rpc::ErrorStatusPB const&, google::protobuf::Message const>(google::protobuf::Message const&) Line | Count | Source | 111 | 24 | inline To down_cast(From& f) { // NOLINT | 112 | 24 | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 24 | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 24 | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 24 | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 24 | } |
yb::master::YQLPartitionsVTable const& yb::down_cast<yb::master::YQLPartitionsVTable const&, yb::docdb::YQLStorageIf const>(yb::docdb::YQLStorageIf const&) Line | Count | Source | 111 | 635k | inline To down_cast(From& f) { // NOLINT | 112 | 635k | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 635k | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 635k | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 635k | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 635k | } |
yb::QLValue const& yb::down_cast<yb::QLValue const&, yb::QLValue const>(yb::QLValue const&) Line | Count | Source | 111 | 21.4M | inline To down_cast(From& f) { // NOLINT | 112 | 21.4M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 21.4M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 21.4M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 21.4M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 21.4M | } |
rocksdb::test::TestUserFrontier const& yb::down_cast<rocksdb::test::TestUserFrontier const&, rocksdb::UserFrontier const>(rocksdb::UserFrontier const&) Line | Count | Source | 111 | 116 | inline To down_cast(From& f) { // NOLINT | 112 | 116 | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 116 | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 116 | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 116 | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 116 | } |
yb::pggate::PgsqlReadOp& yb::down_cast<yb::pggate::PgsqlReadOp&, yb::pggate::PgsqlOp>(yb::pggate::PgsqlOp&) Line | Count | Source | 111 | 18.5M | inline To down_cast(From& f) { // NOLINT | 112 | 18.5M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 18.5M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 18.5M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 18.5M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 18.5M | } |
yb::pggate::PgsqlWriteOp& yb::down_cast<yb::pggate::PgsqlWriteOp&, yb::pggate::PgsqlOp>(yb::pggate::PgsqlOp&) Line | Count | Source | 111 | 14.3M | inline To down_cast(From& f) { // NOLINT | 112 | 14.3M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 14.3M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 14.3M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 14.3M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 14.3M | } |
yb::pggate::PgsqlReadOp const& yb::down_cast<yb::pggate::PgsqlReadOp const&, yb::pggate::PgsqlOp const>(yb::pggate::PgsqlOp const&) Line | Count | Source | 111 | 575k | inline To down_cast(From& f) { // NOLINT | 112 | 575k | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 575k | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 575k | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 575k | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 575k | } |
yb::pggate::PgsqlWriteOp const& yb::down_cast<yb::pggate::PgsqlWriteOp const&, yb::pggate::PgsqlOp const>(yb::pggate::PgsqlOp const&) Line | Count | Source | 111 | 601 | inline To down_cast(From& f) { // NOLINT | 112 | 601 | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 601 | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 601 | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 601 | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 601 | } |
yb::ql::AuthResponseRequest const& yb::down_cast<yb::ql::AuthResponseRequest const&, yb::ql::CQLRequest const>(yb::ql::CQLRequest const&) Line | Count | Source | 111 | 12.1k | inline To down_cast(From& f) { // NOLINT | 112 | 12.1k | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 12.1k | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 12.1k | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 12.1k | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 12.1k | } |
yb::ql::ExecuteRequest const& yb::down_cast<yb::ql::ExecuteRequest const&, yb::ql::CQLRequest const>(yb::ql::CQLRequest const&) Line | Count | Source | 111 | 7.22M | inline To down_cast(From& f) { // NOLINT | 112 | 7.22M | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 7.22M | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 7.22M | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 7.22M | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 7.22M | } |
yb::ql::QueryRequest const& yb::down_cast<yb::ql::QueryRequest const&, yb::ql::CQLRequest const>(yb::ql::CQLRequest const&) Line | Count | Source | 111 | 98.8k | inline To down_cast(From& f) { // NOLINT | 112 | 98.8k | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 98.8k | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 98.8k | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 98.8k | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 98.8k | } |
yb::ql::BatchRequest const& yb::down_cast<yb::ql::BatchRequest const&, yb::ql::CQLRequest const>(yb::ql::CQLRequest const&) Line | Count | Source | 111 | 52 | inline To down_cast(From& f) { // NOLINT | 112 | 52 | COMPILE_ASSERT(base::is_reference<To>::value, target_type_not_a_reference); | 113 | 52 | typedef typename base::remove_reference<To>::type* ToAsPointer; | 114 | 52 | if (false) { | 115 | | // Compile-time check that To inherits from From. See above for details. | 116 | 0 | yb::implicit_cast<From*, ToAsPointer>(nullptr); | 117 | 0 | } | 118 | | | 119 | 52 | assert(dynamic_cast<ToAsPointer>(&f) != nullptr); // RTTI: debug mode only | 120 | 0 | return static_cast<To>(f); | 121 | 52 | } |
|
122 | | |
123 | | // bit_cast<Dest,Source> is a template function that implements the |
124 | | // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in |
125 | | // very low-level functions like the protobuf library and fast math |
126 | | // support. |
127 | | // |
128 | | // float f = 3.14159265358979; |
129 | | // int i = bit_cast<int32>(f); |
130 | | // // i = 0x40490fdb |
131 | | // |
132 | | // The classical address-casting method is: |
133 | | // |
134 | | // // WRONG |
135 | | // float f = 3.14159265358979; // WRONG |
136 | | // int i = * reinterpret_cast<int*>(&f); // WRONG |
137 | | // |
138 | | // The address-casting method actually produces undefined behavior |
139 | | // according to ISO C++ specification section 3.10 -15 -. Roughly, this |
140 | | // section says: if an object in memory has one type, and a program |
141 | | // accesses it with a different type, then the result is undefined |
142 | | // behavior for most values of "different type". |
143 | | // |
144 | | // This is true for any cast syntax, either *(int*)&f or |
145 | | // *reinterpret_cast<int*>(&f). And it is particularly true for |
146 | | // conversions betweeen integral lvalues and floating-point lvalues. |
147 | | // |
148 | | // The purpose of 3.10 -15- is to allow optimizing compilers to assume |
149 | | // that expressions with different types refer to different memory. gcc |
150 | | // 4.0.1 has an optimizer that takes advantage of this. So a |
151 | | // non-conforming program quietly produces wildly incorrect output. |
152 | | // |
153 | | // The problem is not the use of reinterpret_cast. The problem is type |
154 | | // punning: holding an object in memory of one type and reading its bits |
155 | | // back using a different type. |
156 | | // |
157 | | // The C++ standard is more subtle and complex than this, but that |
158 | | // is the basic idea. |
159 | | // |
160 | | // Anyways ... |
161 | | // |
162 | | // bit_cast<> calls memcpy() which is blessed by the standard, |
163 | | // especially by the example in section 3.9 . Also, of course, |
164 | | // bit_cast<> wraps up the nasty logic in one place. |
165 | | // |
166 | | // Fortunately memcpy() is very fast. In optimized mode, with a |
167 | | // constant size, gcc 2.95.3, gcc 4.0.1, and msvc 7.1 produce inline |
168 | | // code with the minimal amount of data movement. On a 32-bit system, |
169 | | // memcpy(d,s,4) compiles to one load and one store, and memcpy(d,s,8) |
170 | | // compiles to two loads and two stores. |
171 | | // |
172 | | // I tested this code with gcc 2.95.3, gcc 4.0.1, icc 8.1, and msvc 7.1. |
173 | | // |
174 | | // WARNING: if Dest or Source is a non-POD type, the result of the memcpy |
175 | | // is likely to surprise you. |
176 | | // |
177 | | // Props to Bill Gibbons for the compile time assertion technique and |
178 | | // Art Komninos and Igor Tandetnik for the msvc experiments. |
179 | | // |
180 | | // -- mec 2005-10-17 |
181 | | |
182 | | template <class Dest, class Source> |
183 | 809k | inline Dest bit_cast(const Source& source) { |
184 | | // Compile time assertion: sizeof(Dest) == sizeof(Source) |
185 | | // A compile error here means your Dest and Source have different sizes. |
186 | 809k | COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual); |
187 | | |
188 | 809k | Dest dest; |
189 | 809k | memcpy(&dest, &source, sizeof(dest)); |
190 | 809k | return dest; |
191 | 809k | } unsigned int yb::bit_cast<unsigned int, float>(float const&) Line | Count | Source | 183 | 775k | inline Dest bit_cast(const Source& source) { | 184 | | // Compile time assertion: sizeof(Dest) == sizeof(Source) | 185 | | // A compile error here means your Dest and Source have different sizes. | 186 | 775k | COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual); | 187 | | | 188 | 775k | Dest dest; | 189 | 775k | memcpy(&dest, &source, sizeof(dest)); | 190 | 775k | return dest; | 191 | 775k | } |
unsigned long long yb::bit_cast<unsigned long long, double>(double const&) Line | Count | Source | 183 | 33.7k | inline Dest bit_cast(const Source& source) { | 184 | | // Compile time assertion: sizeof(Dest) == sizeof(Source) | 185 | | // A compile error here means your Dest and Source have different sizes. | 186 | 33.7k | COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), VerifySizesAreEqual); | 187 | | | 188 | 33.7k | Dest dest; | 189 | 33.7k | memcpy(&dest, &source, sizeof(dest)); | 190 | 33.7k | return dest; | 191 | 33.7k | } |
|
192 | | |
193 | | |
194 | | // **** Enumeration Casts and Tests |
195 | | // |
196 | | // C++ requires that the value of an integer that is converted to an |
197 | | // enumeration be within the value bounds of the enumeration. Modern |
198 | | // compilers can and do take advantage of this requirement to optimize |
199 | | // programs. So, using a raw static_cast with enums can be bad. See |
200 | | // |
201 | | // The following templates and macros enable casting from an int to an enum |
202 | | // with checking against the appropriate bounds. First, when defining an |
203 | | // enumeration, identify the limits of the values of its enumerators. |
204 | | // |
205 | | // enum A { A_min = -18, A_max = 33 }; |
206 | | // MAKE_ENUM_LIMITS(A, A_min, A_max) |
207 | | // |
208 | | // Convert an enum to an int in one of two ways. The prefered way is a |
209 | | // tight conversion, which ensures that A_min <= value <= A_max. |
210 | | // |
211 | | // A var = tight_enum_cast<A>(3); |
212 | | // |
213 | | // However, the C++ language defines the set of possible values for an |
214 | | // enumeration to be essentially the range of a bitfield that can represent |
215 | | // all the enumerators, i.e. those within the nearest containing power |
216 | | // of two. In the example above, the nearest positive power of two is 64, |
217 | | // and so the upper bound is 63. The nearest negative power of two is |
218 | | // -32 and so the lower bound is -32 (two's complement), which is upgraded |
219 | | // to match the upper bound, becoming -64. The values within this range |
220 | | // of -64 to 63 are valid, according to the C++ standard. You can cast |
221 | | // values within this range as follows. |
222 | | // |
223 | | // A var = loose_enum_cast<A>(45); |
224 | | // |
225 | | // These casts will log a message if the value does not reside within the |
226 | | // specified range, and will be fatal when in debug mode. |
227 | | // |
228 | | // For those times when an assert too strong, there are test functions. |
229 | | // |
230 | | // bool var = tight_enum_test<A>(3); |
231 | | // bool var = loose_enum_test<A>(45); |
232 | | // |
233 | | // For code that needs to use the enumeration value if and only if |
234 | | // it is good, there is a function that both tests and casts. |
235 | | // |
236 | | // int i = ....; |
237 | | // A var; |
238 | | // if (tight_enum_test_cast<A>(i, &var)) |
239 | | // .... // use valid var with value as indicated by i |
240 | | // else |
241 | | // .... // handle invalid enum cast |
242 | | // |
243 | | // The enum test/cast facility is currently limited to enumerations that |
244 | | // fit within an int. It is also limited to two's complement ints. |
245 | | |
246 | | // ** Implementation Description |
247 | | // |
248 | | // The enum_limits template class captures the minimum and maximum |
249 | | // enumerator. All uses of this template are intended to be of |
250 | | // specializations, so the generic has a field to identify itself as |
251 | | // not specialized. The test/cast templates assert specialization. |
252 | | |
253 | | template <typename Enum> |
254 | | class enum_limits { |
255 | | public: |
256 | | static const Enum min_enumerator = 0; |
257 | | static const Enum max_enumerator = 0; |
258 | | static const bool is_specialized = false; |
259 | | }; |
260 | | |
261 | | // Now we define the macro to define the specialization for enum_limits. |
262 | | // The specialization checks that the enumerators fit within an int. |
263 | | // This checking relies on integral promotion. |
264 | | |
265 | | #define MAKE_ENUM_LIMITS(ENUM_TYPE, ENUM_MIN, ENUM_MAX) \ |
266 | | namespace yb { \ |
267 | | template <> \ |
268 | | class enum_limits<ENUM_TYPE> { \ |
269 | | public: \ |
270 | | static const ENUM_TYPE min_enumerator = ENUM_MIN; \ |
271 | | static const ENUM_TYPE max_enumerator = ENUM_MAX; \ |
272 | | static const bool is_specialized = true; \ |
273 | | COMPILE_ASSERT(ENUM_MIN >= INT_MIN, enumerator_too_negative_for_int); \ |
274 | | COMPILE_ASSERT(ENUM_MAX <= INT_MAX, enumerator_too_positive_for_int); \ |
275 | | }; \ |
276 | | } // namespace yb |
277 | | |
278 | | // The loose enum test/cast is actually the more complicated one, |
279 | | // because of the problem of finding the bounds. |
280 | | // |
281 | | // The unary upper bound, ub, on a positive number is its positive |
282 | | // saturation, i.e. for a value v within pow(2,k-1) <= v < pow(2,k), |
283 | | // the upper bound is pow(2,k)-1. |
284 | | // |
285 | | // The unary lower bound, lb, on a negative number is its negative |
286 | | // saturation, i.e. for a value v within -pow(2,k) <= v < -pow(2,k-1), |
287 | | // the lower bound is -pow(2,k). |
288 | | // |
289 | | // The actual bounds are (1) the binary upper bound over the maximum |
290 | | // enumerator and the one's complement of a negative minimum enumerator |
291 | | // and (2) the binary lower bound over the minimum enumerator and the |
292 | | // one's complement of the positive maximum enumerator, except that if no |
293 | | // enumerators are negative, the lower bound is zero. |
294 | | // |
295 | | // The algorithm relies heavily on the observation that |
296 | | // |
297 | | // a,b>0 then ub(a,b) == ub(a) | ub(b) == ub(a|b) |
298 | | // a,b<0 then lb(a,b) == lb(a) & lb(b) == lb(a&b) |
299 | | // |
300 | | // Note that the compiler will boil most of this code away |
301 | | // because of value propagation on the constant enumerator bounds. |
302 | | |
303 | | template <typename Enum> |
304 | | inline bool loose_enum_test(int e_val) { |
305 | | COMPILE_ASSERT(enum_limits<Enum>::is_specialized, missing_MAKE_ENUM_LIMITS); |
306 | | const Enum e_min = enum_limits<Enum>::min_enumerator; |
307 | | const Enum e_max = enum_limits<Enum>::max_enumerator; |
308 | | COMPILE_ASSERT(sizeof(e_val) == 4 || sizeof(e_val) == 8, unexpected_int_size); |
309 | | |
310 | | // Find the unary bounding negative number of e_min and e_max. |
311 | | |
312 | | // Find the unary bounding negative number of e_max. |
313 | | // This would be b_min = e_max < 0 ? e_max : ~e_max, |
314 | | // but we want to avoid branches to help the compiler. |
315 | | int e_max_sign = e_max >> (sizeof(e_val)*8 - 1); |
316 | | int b_min = ~e_max_sign ^ e_max; |
317 | | |
318 | | // Find the binary bounding negative of both e_min and e_max. |
319 | | b_min &= e_min; |
320 | | |
321 | | // However, if e_min is postive, the result will be positive. |
322 | | // Now clear all bits right of the most significant clear bit, |
323 | | // which is a negative saturation for negative numbers. |
324 | | // In the case of positive numbers, this is flush to zero. |
325 | | b_min &= b_min >> 1; |
326 | | b_min &= b_min >> 2; |
327 | | b_min &= b_min >> 4; |
328 | | b_min &= b_min >> 8; |
329 | | b_min &= b_min >> 16; |
330 | | #if INT_MAX > 2147483647 |
331 | | b_min &= b_min >> 32; |
332 | | #endif |
333 | | |
334 | | // Find the unary bounding positive number of e_max. |
335 | | int b_max = e_max_sign ^ e_max; |
336 | | |
337 | | // Find the binary bounding postive number of that |
338 | | // and the unary bounding positive number of e_min. |
339 | | int e_min_sign = e_min >> (sizeof(e_val)*8 - 1); |
340 | | b_max |= e_min_sign ^ e_min; |
341 | | |
342 | | // Now set all bits right of the most significant set bit, |
343 | | // which is a postive saturation for positive numbers. |
344 | | b_max |= b_max >> 1; |
345 | | b_max |= b_max >> 2; |
346 | | b_max |= b_max >> 4; |
347 | | b_max |= b_max >> 8; |
348 | | b_max |= b_max >> 16; |
349 | | #if INT_MAX > 2147483647 |
350 | | b_max |= b_max >> 32; |
351 | | #endif |
352 | | |
353 | | // Finally test the bounds. |
354 | | return b_min <= e_val && e_val <= b_max; |
355 | | } |
356 | | |
357 | | template <typename Enum> |
358 | | inline bool tight_enum_test(int e_val) { |
359 | | COMPILE_ASSERT(enum_limits<Enum>::is_specialized, missing_MAKE_ENUM_LIMITS); |
360 | | const Enum e_min = enum_limits<Enum>::min_enumerator; |
361 | | const Enum e_max = enum_limits<Enum>::max_enumerator; |
362 | | return e_min <= e_val && e_val <= e_max; |
363 | | } |
364 | | |
365 | | template <typename Enum> |
366 | | inline bool loose_enum_test_cast(int e_val, Enum* e_var) { |
367 | | if (loose_enum_test<Enum>(e_val)) { |
368 | | *e_var = static_cast<Enum>(e_val); |
369 | | return true; |
370 | | } else { |
371 | | return false; |
372 | | } |
373 | | } |
374 | | |
375 | | template <typename Enum> |
376 | | inline bool tight_enum_test_cast(int e_val, Enum* e_var) { |
377 | | if (tight_enum_test<Enum>(e_val)) { |
378 | | *e_var = static_cast<Enum>(e_val); |
379 | | return true; |
380 | | } else { |
381 | | return false; |
382 | | } |
383 | | } |
384 | | |
385 | | void BadNarrowCast(char rel, const std::string& in, const std::string& limit); |
386 | | |
387 | | template <class Out, class In> |
388 | 5.69G | Out narrow_cast(const In& in) { |
389 | 5.69G | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); |
390 | 5.69G | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { |
391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); |
392 | 0 | } |
393 | 5.69G | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())2.89G ) { |
394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); |
395 | 0 | } |
396 | 5.69G | return static_cast<Out>(in); |
397 | 5.69G | } int yb::narrow_cast<int, unsigned long>(unsigned long const&) Line | Count | Source | 388 | 1.20G | Out narrow_cast(const In& in) { | 389 | 1.20G | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 1.20G | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 1.20G | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())0 ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 1.20G | return static_cast<Out>(in); | 397 | 1.20G | } |
unsigned int yb::narrow_cast<unsigned int, unsigned long long>(unsigned long long const&) Line | Count | Source | 388 | 17.9M | Out narrow_cast(const In& in) { | 389 | 17.9M | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 17.9M | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 17.9M | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())0 ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 17.9M | return static_cast<Out>(in); | 397 | 17.9M | } |
unsigned int yb::narrow_cast<unsigned int, long long>(long long const&) Line | Count | Source | 388 | 2.79G | Out narrow_cast(const In& in) { | 389 | 2.79G | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 2.79G | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 2.80G | if (std::is_signed<In>::value2.79G && in < static_cast<In>(std::numeric_limits<Out>::min())) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 2.79G | return static_cast<Out>(in); | 397 | 2.79G | } |
int yb::narrow_cast<int, long>(long const&) Line | Count | Source | 388 | 69.8M | Out narrow_cast(const In& in) { | 389 | 69.8M | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 69.8M | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 69.8M | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())69.8M ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 69.8M | return static_cast<Out>(in); | 397 | 69.8M | } |
unsigned int yb::narrow_cast<unsigned int, unsigned long>(unsigned long const&) Line | Count | Source | 388 | 1.01G | Out narrow_cast(const In& in) { | 389 | 1.01G | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 1.01G | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 1.01G | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())0 ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 1.01G | return static_cast<Out>(in); | 397 | 1.01G | } |
int yb::narrow_cast<int, long long>(long long const&) Line | Count | Source | 388 | 23.3M | Out narrow_cast(const In& in) { | 389 | 23.3M | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 23.3M | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 23.3M | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())23.2M ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 23.3M | return static_cast<Out>(in); | 397 | 23.3M | } |
int yb::narrow_cast<int, unsigned long long>(unsigned long long const&) Line | Count | Source | 388 | 571M | Out narrow_cast(const In& in) { | 389 | 571M | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 571M | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 571M | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())0 ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 571M | return static_cast<Out>(in); | 397 | 571M | } |
short yb::narrow_cast<short, unsigned long>(unsigned long const&) Line | Count | Source | 388 | 68 | Out narrow_cast(const In& in) { | 389 | 68 | static_assert(sizeof(Out) < sizeof(In), "Wrong narrow cast"); | 390 | 68 | if (in > static_cast<In>(std::numeric_limits<Out>::max())) { | 391 | 0 | BadNarrowCast('>', std::to_string(in), std::to_string(std::numeric_limits<Out>::max())); | 392 | 0 | } | 393 | 68 | if (std::is_signed<In>::value && in < static_cast<In>(std::numeric_limits<Out>::min())0 ) { | 394 | 0 | BadNarrowCast('<', std::to_string(in), std::to_string(std::numeric_limits<Out>::min())); | 395 | 0 | } | 396 | 68 | return static_cast<Out>(in); | 397 | 68 | } |
|
398 | | |
399 | | template <class Out, class In> |
400 | 24 | Out trim_cast(const In& in) { |
401 | 24 | if (in > std::numeric_limits<Out>::max()) { |
402 | 0 | return std::numeric_limits<Out>::max(); |
403 | 0 | } |
404 | 24 | if (in < std::numeric_limits<Out>::min()) { |
405 | 0 | return std::numeric_limits<Out>::min(); |
406 | 0 | } |
407 | 24 | return static_cast<Out>(in); |
408 | 24 | } |
409 | | |
410 | | } // namespace yb |
411 | | |
412 | | using yb::bit_cast; |
413 | | using yb::down_cast; |
414 | | using yb::implicit_cast; |
415 | | using yb::narrow_cast; |
416 | | using yb::trim_cast; |
417 | | |
418 | | #endif // YB_GUTIL_CASTS_H |