LLVMFuzzerTestOneInput:
   12|    299|{
   13|    299|        std::string input(reinterpret_cast<const char*>(data), size);
   14|    299|        std::istringstream is(input);
   15|    299|        try {
   16|    299|                json j2 = decode_cbor<json>(is);
   17|    299|        }
   18|    299|        catch(const jsoncons::ser_error&) {}
   19|    299|        catch(jsoncons::json_runtime_error<std::runtime_error> e2) {}
   20|       |
   21|    299|        return 0;
   22|    299|}

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|  10.0M|    {
   31|  10.0M|        return alloc_;
   32|  10.0M|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  2.72k|        : alloc_(alloc)
   26|  2.72k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  10.0M|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2791|   119M|        {
 2792|   119M|             destroy();
 2793|   119M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  903|   119M|        {
  904|   119M|            switch (storage_kind())
  905|   119M|            {
  906|    916|                case json_storage_kind::long_str:
  ------------------
  |  Branch (906:17): [True: 916, False: 119M]
  ------------------
  907|    916|                {
  908|    916|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (908:25): [True: 916, False: 0]
  ------------------
  909|    916|                    {
  910|    916|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  911|    916|                    }
  912|    916|                    break;
  913|      0|                }
  914|  3.44M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (914:17): [True: 3.44M, False: 115M]
  ------------------
  915|  3.44M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (915:25): [True: 3.44M, False: 0]
  ------------------
  916|  3.44M|                    {
  917|  3.44M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  918|  3.44M|                    }
  919|  3.44M|                    break;
  920|  37.1k|                case json_storage_kind::array:
  ------------------
  |  Branch (920:17): [True: 37.1k, False: 119M]
  ------------------
  921|  37.1k|                {
  922|  37.1k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (922:25): [True: 37.1k, False: 0]
  ------------------
  923|  37.1k|                    {
  924|  37.1k|                        auto& stor = cast<array_storage>();
  925|  37.1k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  926|  37.1k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  927|  37.1k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  928|  37.1k|                    }
  929|  37.1k|                    break;
  930|      0|                }
  931|  9.99M|                case json_storage_kind::object:
  ------------------
  |  Branch (931:17): [True: 9.99M, False: 109M]
  ------------------
  932|  9.99M|                {
  933|  9.99M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (933:25): [True: 9.99M, False: 0]
  ------------------
  934|  9.99M|                    {
  935|  9.99M|                        auto& stor = cast<object_storage>();
  936|  9.99M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  937|  9.99M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  938|  9.99M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  939|  9.99M|                    }
  940|  9.99M|                    break;
  941|      0|                }
  942|   105M|                default:
  ------------------
  |  Branch (942:17): [True: 105M, False: 13.4M]
  ------------------
  943|   105M|                    break;
  944|   119M|            }
  945|   119M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1467|   345M|        {
 1468|       |            // It is legal to access 'common_.storage_kind_' even though 
 1469|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1470|       |            // is a part of the common initial sequence of all union members
 1471|       |            // as defined in 11.4-25 of the Standard.
 1472|   345M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1473|   345M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1009|  6.81k|        {
 1010|  6.81k|            return cast(identity<T>());
 1011|  6.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1100|  6.81k|        {
 1101|  6.81k|            return long_str_;
 1102|  6.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1009|  27.8M|        {
 1010|  27.8M|            return cast(identity<T>());
 1011|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1110|  27.8M|        {
 1111|  27.8M|            return byte_str_;
 1112|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1009|  9.48M|        {
 1010|  9.48M|            return cast(identity<T>());
 1011|  9.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  9.48M|        {
 1131|  9.48M|            return array_;
 1132|  9.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2312|  86.1M|        {
 2313|  86.1M|            uninitialized_move(std::move(other));
 2314|  86.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1307|  86.1M|        {
 1308|  86.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1308:17): [True: 45.2M, False: 40.8M]
  ------------------
 1309|  45.2M|            {
 1310|  45.2M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1311|  45.2M|            }
 1312|  40.8M|            else
 1313|  40.8M|            {
 1314|  40.8M|                switch (other.storage_kind())
 1315|  40.8M|                {
 1316|  1.48k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1316:21): [True: 1.48k, False: 40.8M]
  ------------------
 1317|  1.48k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1318|  1.48k|                        other.construct<null_storage>();
 1319|  1.48k|                        break;
 1320|  7.03M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1320:21): [True: 7.03M, False: 33.8M]
  ------------------
 1321|  7.03M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1322|  7.03M|                        other.construct<null_storage>();
 1323|  7.03M|                        break;
 1324|  94.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1324:21): [True: 94.7k, False: 40.8M]
  ------------------
 1325|  94.7k|                        construct<array_storage>(other.cast<array_storage>());
 1326|  94.7k|                        other.construct<null_storage>();
 1327|  94.7k|                        break;
 1328|  33.7M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1328:21): [True: 33.7M, False: 7.13M]
  ------------------
 1329|  33.7M|                        construct<object_storage>(other.cast<object_storage>());
 1330|  33.7M|                        other.construct<null_storage>();
 1331|  33.7M|                        break;
 1332|      0|                    default:
  ------------------
  |  Branch (1332:21): [True: 0, False: 40.8M]
  ------------------
 1333|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1334|      0|                        break;
 1335|  40.8M|                }
 1336|  40.8M|            }
 1337|  86.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
 1000|  2.03k|        {
 1001|  2.03k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  631|  2.58k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  632|  2.58k|            {
  633|  2.58k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
 1000|  40.8M|        {
 1001|  40.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  40.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1009|  58.3M|        {
 1010|  58.3M|            return cast(identity<T>());
 1011|  58.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1020|  58.3M|        {
 1021|  58.3M|            return null_;
 1022|  58.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  455|  41.9M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  456|  41.9M|            {
  457|  41.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
 1000|  8.76M|        {
 1001|  8.76M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  8.76M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  680|  10.4M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  681|  10.4M|            {
  682|  10.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
 1000|   165k|        {
 1001|   165k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   165k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  732|   235k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  733|   235k|            {
  734|   235k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
 1000|  40.3M|        {
 1001|  40.3M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  40.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  782|  46.9M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  783|  46.9M|            {
  784|  46.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4755|  2.98k|        {
 4756|  2.98k|            switch (storage_kind())
 4757|  2.98k|            {
 4758|  2.98k|                case json_storage_kind::array:
  ------------------
  |  Branch (4758:17): [True: 2.98k, False: 0]
  ------------------
 4759|  2.98k|                    return array_range_type(cast<array_storage>().value().begin(),
 4760|  2.98k|                        cast<array_storage>().value().end());
 4761|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4761:17): [True: 0, False: 2.98k]
  ------------------
 4762|      0|                    return cast<json_ref_storage>().value().array_range();
 4763|      0|                default:
  ------------------
  |  Branch (4763:17): [True: 0, False: 2.98k]
  ------------------
 4764|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4765|  2.98k|            }
 4766|  2.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  9.04M|            {
  756|  9.04M|                return *ptr_;
  757|  9.04M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  2.98k|            : first_(first), last_(last)
  354|  2.98k|        {
  355|  2.98k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  2.98k|        {
  359|  2.98k|            return first_;
  360|  2.98k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  2.98k|        {
  363|  2.98k|            return last_;
  364|  2.98k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|   264k|        {
 3421|   264k|            switch (storage_kind())
 3422|   264k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 264k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 264k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 264k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  1.01k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 1.01k, False: 263k]
  ------------------
 3431|  1.01k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 264k]
  ------------------
 3433|      0|                    return true;
 3434|   263k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 263k, False: 1.01k]
  ------------------
 3435|   263k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 264k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 264k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 264k]
  ------------------
 3441|      0|                    return false;
 3442|   264k|            }
 3443|   264k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1015|  1.01k|        {
 1016|  1.01k|            return cast(identity<T>());
 1017|  1.01k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1135|  1.01k|        {
 1136|  1.01k|            return array_;
 1137|  1.01k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  760|  1.01k|            {
  761|  1.01k|                return *ptr_;
  762|  1.01k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1015|   263k|        {
 1016|   263k|            return cast(identity<T>());
 1017|   263k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1125|   263k|        {
 1126|   263k|            return object_;
 1127|   263k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  806|   263k|            {
  807|   263k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|   263k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 263k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  808|   263k|                return *ptr_;
  809|   263k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|  4.05M|        {
 4152|  4.05M|            switch (storage_kind())
 4153|  4.05M|            {
 4154|  2.98k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 2.98k, False: 4.05M]
  ------------------
 4155|  2.98k|                    cast<array_storage>().value().clear();
 4156|  2.98k|                    break;
 4157|  4.05M|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 4.05M, False: 2.98k]
  ------------------
 4158|  4.05M|                    cast<object_storage>().value().clear();
 4159|  4.05M|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 4.05M]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 4.05M]
  ------------------
 4164|      0|                    break;
 4165|  4.05M|            }
 4166|  4.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  800|  12.1M|            {
  801|  12.1M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  12.1M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 12.1M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  802|  12.1M|                return *ptr_;
  803|  12.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4721|  4.05M|        {
 4722|  4.05M|            switch (storage_kind())
 4723|  4.05M|            {
 4724|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4724:17): [True: 0, False: 4.05M]
  ------------------
 4725|      0|                    return object_range_type(object_iterator(), object_iterator());
 4726|  4.05M|                case json_storage_kind::object:
  ------------------
  |  Branch (4726:17): [True: 4.05M, False: 0]
  ------------------
 4727|  4.05M|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4728|  4.05M|                                                  object_iterator(cast<object_storage>().value().end()));
 4729|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4729:17): [True: 0, False: 4.05M]
  ------------------
 4730|      0|                    return cast<json_ref_storage>().value().object_range();
 4731|      0|                default:
  ------------------
  |  Branch (4731:17): [True: 0, False: 4.05M]
  ------------------
 4732|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4733|  4.05M|            }
 4734|  4.05M|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEEC2ERKSI_SP_:
  353|  4.05M|            : first_(first), last_(last)
  354|  4.05M|        {
  355|  4.05M|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|  8.11M|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|  8.11M|            {
  124|  8.11M|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|  4.05M|        {
  359|  4.05M|            return first_;
  360|  4.05M|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|  4.05M|        {
  363|  4.05M|            return last_;
  364|  4.05M|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|  4.05M|            {
  226|  4.05M|                return !(*this == rhs);
  227|  4.05M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|  4.05M|            {
  214|  4.05M|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 4.05M]
  |  Branch (214:36): [True: 0, False: 4.05M]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|  4.05M|                else
  219|  4.05M|                {
  220|  4.05M|                    return it_ == rhs.it_;
  221|  4.05M|                }
  222|  4.05M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|    484|            {
  145|    484|                return *it_;
  146|    484|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|    484|            {
  155|    484|                ++it_;
  156|    484|                return *this;
  157|    484|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1009|   122M|        {
 1010|   122M|            return cast(identity<T>());
 1011|   122M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|   122M|        {
 1121|   122M|            return object_;
 1122|   122M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2280|    299|        {
 2281|    299|            construct<empty_object_storage>(semantic_tag::none);
 2282|    299|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 1000|    299|        {
 1001|    299|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|    299|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1009|    377|        {
 1010|    377|            return cast(identity<T>());
 1011|    377|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1030|    377|        {
 1031|    377|            return empty_object_;
 1032|    377|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  467|    299|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  468|    299|            {
  469|    299|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  13.3k|        {
 3480|  13.3k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 13.3k, False: 0]
  ------------------
 3481|  13.3k|            {
 3482|  13.3k|                switch (storage_kind())
 3483|  13.3k|                {
 3484|  13.3k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 13.3k, False: 0]
  ------------------
 3485|  13.3k|                        cast<array_storage>().value().reserve(n);
 3486|  13.3k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 13.3k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 13.3k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 13.3k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 13.3k]
  ------------------
 3498|      0|                        break;
 3499|  13.3k|                }
 3500|  13.3k|            }
 3501|  13.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2325|  9.99M|        {
 2326|  9.99M|            auto ptr = create_object(alloc);
 2327|  9.99M|            construct<object_storage>(ptr, tag);
 2328|  9.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  981|  9.99M|        {
  982|  9.99M|            using stor_allocator_type = typename object_storage::allocator_type;
  983|  9.99M|            stor_allocator_type stor_alloc(alloc);
  984|  9.99M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  985|  9.99M|            JSONCONS_TRY
  ------------------
  |  |   37|  9.99M|    #define JSONCONS_TRY try
  ------------------
  986|  9.99M|            {
  987|  9.99M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  988|  9.99M|                    std::forward<Args>(args)...);
  989|  9.99M|            }
  990|  9.99M|            JSONCONS_CATCH(...)
  991|  9.99M|            {
  992|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  993|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  994|      0|            }
  995|  9.99M|            return ptr;
  996|  9.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  9.99M|        {
 1001|  9.99M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  9.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  777|  9.99M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  778|  9.99M|            {
  779|  9.99M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1458|  19.4M|        {
 1459|  19.4M|            if (this != &other)
  ------------------
  |  Branch (1459:17): [True: 19.4M, False: 0]
  ------------------
 1460|  19.4M|            {
 1461|  19.4M|                move_assignment(std::move(other));
 1462|  19.4M|            }
 1463|  19.4M|            return *this;
 1464|  19.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1420|  19.4M|        {
 1421|  19.4M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1421:17): [True: 19.4M, False: 0]
  |  Branch (1421:55): [True: 11.1M, False: 8.38M]
  ------------------
 1422|  11.1M|            {
 1423|  11.1M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1424|  11.1M|            }
 1425|  8.38M|            else
 1426|  8.38M|            {
 1427|  8.38M|                swap(other);
 1428|  8.38M|            }
 1429|  19.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4697|  9.01M|        {
 4698|  9.01M|            switch (storage_kind())
 4699|  9.01M|            {
 4700|  9.01M|                case json_storage_kind::array:
  ------------------
  |  Branch (4700:17): [True: 9.01M, False: 0]
  ------------------
 4701|  9.01M|                    cast<array_storage>().value().push_back(std::move(val));
 4702|  9.01M|                    break;
 4703|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4703:17): [True: 0, False: 9.01M]
  ------------------
 4704|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4705|      0|                    break;
 4706|      0|                default:
  ------------------
  |  Branch (4706:17): [True: 0, False: 9.01M]
  ------------------
 4707|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4708|  9.01M|            }
 4709|  9.01M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1939|  8.38M|        {
 1940|  8.38M|            if (this == &other)
  ------------------
  |  Branch (1940:17): [True: 0, False: 8.38M]
  ------------------
 1941|      0|            {
 1942|      0|                return;
 1943|      0|            }
 1944|  8.38M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1944:17): [True: 8.38M, False: 0]
  |  Branch (1944:55): [True: 0, False: 8.38M]
  ------------------
 1945|      0|            {
 1946|      0|                basic_json temp;               
 1947|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1948|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1949|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1950|      0|            }
 1951|  8.38M|            else
 1952|  8.38M|            {
 1953|  8.38M|                switch (storage_kind())
 1954|  8.38M|                {
 1955|  8.16M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 8.16M, False: 218k]
  ------------------
 1956|     39|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 39, False: 8.38M]
  ------------------
 1957|  5.79k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.79k, False: 8.37M]
  ------------------
 1958|  21.2k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 21.2k, False: 8.35M]
  ------------------
 1959|   162k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 162k, False: 8.21M]
  ------------------
 1960|     24|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 24, False: 8.38M]
  ------------------
 1961|     38|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 38, False: 8.38M]
  ------------------
 1962|  28.5k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 28.5k, False: 8.35M]
  ------------------
 1963|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 8.38M]
  ------------------
 1964|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 8.38M]
  ------------------
 1965|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 8.38M]
  ------------------
 1966|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 8.38M]
  ------------------
 1967|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1967:21): [True: 0, False: 8.38M]
  ------------------
 1968|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1968:21): [True: 0, False: 8.38M]
  ------------------
 1969|      0|                    default:
  ------------------
  |  Branch (1969:21): [True: 0, False: 8.38M]
  ------------------
 1970|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1971|      0|                        break;
 1972|  8.38M|                }
 1973|  8.38M|            }
 1974|  8.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1175|  8.16M|        {
 1176|  8.16M|            switch (other.storage_kind())
 1177|  8.16M|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 8.16M]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 8.16M]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 8.16M]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 8.16M]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 8.16M]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 8.16M]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 8.16M]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 8.16M]
  ------------------
 1186|    169|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 169, False: 8.16M]
  ------------------
 1187|  1.53M|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.53M, False: 6.62M]
  ------------------
 1188|  46.3k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 46.3k, False: 8.11M]
  ------------------
 1189|  6.57M|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 6.57M, False: 1.58M]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 8.16M]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 8.16M]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 8.16M]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  8.16M|            }
 1196|  8.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
 1000|  8.16M|        {
 1001|  8.16M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  8.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
 1000|     39|        {
 1001|     39|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|     39|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1009|  1.26M|        {
 1010|  1.26M|            return cast(identity<T>());
 1011|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1040|  1.26M|        {
 1041|  1.26M|            return boolean_;
 1042|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
 1000|  5.79k|        {
 1001|  5.79k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  5.79k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1009|  6.12M|        {
 1010|  6.12M|            return cast(identity<T>());
 1011|  6.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1050|  6.12M|        {
 1051|  6.12M|            return int64_;
 1052|  6.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
 1000|  21.2k|        {
 1001|  21.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1009|  8.36M|        {
 1010|  8.36M|            return cast(identity<T>());
 1011|  8.36M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1060|  8.36M|        {
 1061|  8.36M|            return uint64_;
 1062|  8.36M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
 1000|   162k|        {
 1001|   162k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   162k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12half_storageEEERT_v:
 1009|    448|        {
 1010|    448|            return cast(identity<T>());
 1011|    448|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12half_storageEEE:
 1070|    448|        {
 1071|    448|            return half_float_;
 1072|    448|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRS7_EEEvDpOT0_:
 1000|     24|        {
 1001|     24|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1009|  2.00M|        {
 1010|  2.00M|            return cast(identity<T>());
 1011|  2.00M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1080|  2.00M|        {
 1081|  2.00M|            return float64_;
 1082|  2.00M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
 1000|     38|        {
 1001|     38|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|     38|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1009|  1.30M|        {
 1010|  1.30M|            return cast(identity<T>());
 1011|  1.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1090|  1.30M|        {
 1091|  1.30M|            return short_str_;
 1092|  1.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  590|  28.5k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  591|  28.5k|            {
  592|  28.5k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  593|  28.5k|                data_[short_str_length_] = 0;
  594|  28.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
 1000|  28.5k|        {
 1001|  28.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  28.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1161|    169|        {
 1162|    169|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    169|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    169|        {
 1168|    169|            TypeR temp{other.cast<TypeR>()};
 1169|    169|            other.construct<TypeL>(cast<TypeL>());
 1170|    169|            construct<TypeR>(temp);
 1171|    169|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  1.53M|        {
 1162|  1.53M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.53M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.53M|        {
 1168|  1.53M|            TypeR temp{other.cast<TypeR>()};
 1169|  1.53M|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.53M|            construct<TypeR>(temp);
 1171|  1.53M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1161|  46.3k|        {
 1162|  46.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  46.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  46.3k|        {
 1168|  46.3k|            TypeR temp{other.cast<TypeR>()};
 1169|  46.3k|            other.construct<TypeL>(cast<TypeL>());
 1170|  46.3k|            construct<TypeR>(temp);
 1171|  46.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1161|  6.57M|        {
 1162|  6.57M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  6.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  6.57M|        {
 1168|  6.57M|            TypeR temp{other.cast<TypeR>()};
 1169|  6.57M|            other.construct<TypeL>(cast<TypeL>());
 1170|  6.57M|            construct<TypeR>(temp);
 1171|  6.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1175|     39|        {
 1176|     39|            switch (other.storage_kind())
 1177|     39|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 39]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 39]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 39]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 39]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 39]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 39]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 39]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 39]
  ------------------
 1186|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 39]
  ------------------
 1187|      1|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1, False: 38]
  ------------------
 1188|     19|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 19, False: 20]
  ------------------
 1189|     19|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 19, False: 20]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 39]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 39]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 39]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|     39|            }
 1196|     39|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1161|      1|        {
 1162|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      1|        {
 1168|      1|            TypeR temp{other.cast<TypeR>()};
 1169|      1|            other.construct<TypeL>(cast<TypeL>());
 1170|      1|            construct<TypeR>(temp);
 1171|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1161|     19|        {
 1162|     19|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     19|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     19|        {
 1168|     19|            TypeR temp{other.cast<TypeR>()};
 1169|     19|            other.construct<TypeL>(cast<TypeL>());
 1170|     19|            construct<TypeR>(temp);
 1171|     19|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1161|     19|        {
 1162|     19|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     19|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     19|        {
 1168|     19|            TypeR temp{other.cast<TypeR>()};
 1169|     19|            other.construct<TypeL>(cast<TypeL>());
 1170|     19|            construct<TypeR>(temp);
 1171|     19|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1175|  5.79k|        {
 1176|  5.79k|            switch (other.storage_kind())
 1177|  5.79k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.79k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.79k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.79k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 5.79k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 5.79k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 5.79k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 5.79k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.79k]
  ------------------
 1186|      2|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 2, False: 5.79k]
  ------------------
 1187|    404|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 404, False: 5.39k]
  ------------------
 1188|  4.92k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 4.92k, False: 874]
  ------------------
 1189|    468|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 468, False: 5.32k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 5.79k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 5.79k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 5.79k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  5.79k|            }
 1196|  5.79k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1161|      2|        {
 1162|      2|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      2|        {
 1168|      2|            TypeR temp{other.cast<TypeR>()};
 1169|      2|            other.construct<TypeL>(cast<TypeL>());
 1170|      2|            construct<TypeR>(temp);
 1171|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    404|        {
 1162|    404|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    404|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    404|        {
 1168|    404|            TypeR temp{other.cast<TypeR>()};
 1169|    404|            other.construct<TypeL>(cast<TypeL>());
 1170|    404|            construct<TypeR>(temp);
 1171|    404|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1161|  4.92k|        {
 1162|  4.92k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  4.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  4.92k|        {
 1168|  4.92k|            TypeR temp{other.cast<TypeR>()};
 1169|  4.92k|            other.construct<TypeL>(cast<TypeL>());
 1170|  4.92k|            construct<TypeR>(temp);
 1171|  4.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1161|    468|        {
 1162|    468|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    468|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    468|        {
 1168|    468|            TypeR temp{other.cast<TypeR>()};
 1169|    468|            other.construct<TypeL>(cast<TypeL>());
 1170|    468|            construct<TypeR>(temp);
 1171|    468|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1175|  21.2k|        {
 1176|  21.2k|            switch (other.storage_kind())
 1177|  21.2k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 21.2k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 21.2k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 21.2k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 21.2k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 21.2k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 21.2k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 21.2k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 21.2k]
  ------------------
 1186|     42|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 42, False: 21.2k]
  ------------------
 1187|  14.3k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 14.3k, False: 6.90k]
  ------------------
 1188|  3.96k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 3.96k, False: 17.3k]
  ------------------
 1189|  2.90k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 2.90k, False: 18.3k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 21.2k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 21.2k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 21.2k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  21.2k|            }
 1196|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1161|     42|        {
 1162|     42|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     42|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     42|        {
 1168|     42|            TypeR temp{other.cast<TypeR>()};
 1169|     42|            other.construct<TypeL>(cast<TypeL>());
 1170|     42|            construct<TypeR>(temp);
 1171|     42|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  14.3k|        {
 1162|  14.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  14.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  14.3k|        {
 1168|  14.3k|            TypeR temp{other.cast<TypeR>()};
 1169|  14.3k|            other.construct<TypeL>(cast<TypeL>());
 1170|  14.3k|            construct<TypeR>(temp);
 1171|  14.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1161|  3.96k|        {
 1162|  3.96k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.96k|        {
 1168|  3.96k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.96k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.96k|            construct<TypeR>(temp);
 1171|  3.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1161|  2.90k|        {
 1162|  2.90k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.90k|        {
 1168|  2.90k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.90k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.90k|            construct<TypeR>(temp);
 1171|  2.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1175|   162k|        {
 1176|   162k|            switch (other.storage_kind())
 1177|   162k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 162k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 162k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 162k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 162k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 162k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 162k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 162k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 162k]
  ------------------
 1186|    339|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 339, False: 161k]
  ------------------
 1187|   143k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 143k, False: 18.5k]
  ------------------
 1188|  11.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 11.8k, False: 150k]
  ------------------
 1189|  6.40k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 6.40k, False: 155k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 162k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 162k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 162k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|   162k|            }
 1196|   162k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1161|    339|        {
 1162|    339|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    339|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    339|        {
 1168|    339|            TypeR temp{other.cast<TypeR>()};
 1169|    339|            other.construct<TypeL>(cast<TypeL>());
 1170|    339|            construct<TypeR>(temp);
 1171|    339|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|   143k|        {
 1162|   143k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   143k|        {
 1168|   143k|            TypeR temp{other.cast<TypeR>()};
 1169|   143k|            other.construct<TypeL>(cast<TypeL>());
 1170|   143k|            construct<TypeR>(temp);
 1171|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1161|  11.8k|        {
 1162|  11.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  11.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  11.8k|        {
 1168|  11.8k|            TypeR temp{other.cast<TypeR>()};
 1169|  11.8k|            other.construct<TypeL>(cast<TypeL>());
 1170|  11.8k|            construct<TypeR>(temp);
 1171|  11.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1161|  6.40k|        {
 1162|  6.40k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  6.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  6.40k|        {
 1168|  6.40k|            TypeR temp{other.cast<TypeR>()};
 1169|  6.40k|            other.construct<TypeL>(cast<TypeL>());
 1170|  6.40k|            construct<TypeR>(temp);
 1171|  6.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12half_storageEEEvRS5_:
 1175|     24|        {
 1176|     24|            switch (other.storage_kind())
 1177|     24|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 24]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 24]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 24]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 24]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 24]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 24]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 24]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 24]
  ------------------
 1186|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 24]
  ------------------
 1187|     22|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 22, False: 2]
  ------------------
 1188|      1|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1, False: 23]
  ------------------
 1189|      1|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1, False: 23]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 24]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 24]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 24]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|     24|            }
 1196|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvRS5_:
 1161|     22|        {
 1162|     22|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     22|        {
 1168|     22|            TypeR temp{other.cast<TypeR>()};
 1169|     22|            other.construct<TypeL>(cast<TypeL>());
 1170|     22|            construct<TypeR>(temp);
 1171|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvRS5_:
 1161|      1|        {
 1162|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      1|        {
 1168|      1|            TypeR temp{other.cast<TypeR>()};
 1169|      1|            other.construct<TypeL>(cast<TypeL>());
 1170|      1|            construct<TypeR>(temp);
 1171|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvRS5_:
 1161|      1|        {
 1162|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      1|        {
 1168|      1|            TypeR temp{other.cast<TypeR>()};
 1169|      1|            other.construct<TypeL>(cast<TypeL>());
 1170|      1|            construct<TypeR>(temp);
 1171|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1175|     38|        {
 1176|     38|            switch (other.storage_kind())
 1177|     38|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 38]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 38]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 38]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 38]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 38]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 38]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 38]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 38]
  ------------------
 1186|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 38]
  ------------------
 1187|     29|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 29, False: 9]
  ------------------
 1188|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 38]
  ------------------
 1189|      9|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 9, False: 29]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 38]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 38]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 38]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|     38|            }
 1196|     38|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1161|     29|        {
 1162|     29|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     29|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     29|        {
 1168|     29|            TypeR temp{other.cast<TypeR>()};
 1169|     29|            other.construct<TypeL>(cast<TypeL>());
 1170|     29|            construct<TypeR>(temp);
 1171|     29|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1161|      9|        {
 1162|      9|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      9|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      9|        {
 1168|      9|            TypeR temp{other.cast<TypeR>()};
 1169|      9|            other.construct<TypeL>(cast<TypeL>());
 1170|      9|            construct<TypeR>(temp);
 1171|      9|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1175|  28.5k|        {
 1176|  28.5k|            switch (other.storage_kind())
 1177|  28.5k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 28.5k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 28.5k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 28.5k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 28.5k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 28.5k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 28.5k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 28.5k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 28.5k]
  ------------------
 1186|      1|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1, False: 28.5k]
  ------------------
 1187|  24.8k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 24.8k, False: 3.69k]
  ------------------
 1188|  3.57k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 3.57k, False: 24.9k]
  ------------------
 1189|    118|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 118, False: 28.4k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 28.5k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 28.5k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 28.5k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  28.5k|            }
 1196|  28.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1161|      1|        {
 1162|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      1|        {
 1168|      1|            TypeR temp{other.cast<TypeR>()};
 1169|      1|            other.construct<TypeL>(cast<TypeL>());
 1170|      1|            construct<TypeR>(temp);
 1171|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  24.8k|        {
 1162|  24.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  24.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  24.8k|        {
 1168|  24.8k|            TypeR temp{other.cast<TypeR>()};
 1169|  24.8k|            other.construct<TypeL>(cast<TypeL>());
 1170|  24.8k|            construct<TypeR>(temp);
 1171|  24.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1161|  3.57k|        {
 1162|  3.57k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.57k|        {
 1168|  3.57k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.57k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.57k|            construct<TypeR>(temp);
 1171|  3.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1161|    118|        {
 1162|    118|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    118|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    118|        {
 1168|    118|            TypeR temp{other.cast<TypeR>()};
 1169|    118|            other.construct<TypeL>(cast<TypeL>());
 1170|    118|            construct<TypeR>(temp);
 1171|    118|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2631|  8.03M|        {
 2632|  8.03M|            construct<uint64_storage>(val, tag);
 2633|  8.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 1000|  8.03M|        {
 1001|  8.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  8.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  521|  8.03M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  522|  8.03M|                  val_(val)
  523|  8.03M|            {
  524|  8.03M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2662|  6.07M|        {
 2663|  6.07M|            construct<int64_storage>(val, tag);
 2664|  6.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 1000|  6.07M|        {
 1001|  6.07M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  6.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  501|  6.07M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  502|  6.07M|                  val_(val)
  503|  6.07M|            {
  504|  6.07M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2619|  2.00M|        {
 2620|  2.00M|            construct<double_storage>(val, tag);
 2621|  2.00M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 1000|  2.00M|        {
 1001|  2.00M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.00M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  560|  2.00M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  561|  2.00M|                  val_(val)
  562|  2.00M|            {
  563|  2.00M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2406|  37.1k|        {
 2407|  37.1k|            auto ptr = create_array(Allocator());
 2408|  37.1k|            construct<array_storage>(ptr, tag);
 2409|  37.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  962|  37.1k|        {
  963|  37.1k|            using stor_allocator_type = typename array_storage::allocator_type;
  964|  37.1k|            stor_allocator_type stor_alloc(alloc);
  965|  37.1k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  37.1k|            JSONCONS_TRY
  ------------------
  |  |   37|  37.1k|    #define JSONCONS_TRY try
  ------------------
  967|  37.1k|            {
  968|  37.1k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  37.1k|                    std::forward<Args>(args)...);
  970|  37.1k|            }
  971|  37.1k|            JSONCONS_CATCH(...)
  972|  37.1k|            {
  973|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  974|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  975|      0|            }
  976|  37.1k|            return ptr;
  977|  37.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  37.1k|        {
 1001|  37.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  37.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  727|  37.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  728|  37.1k|            {
  729|  37.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2708|  1.08M|        {
 2709|  1.08M|            construct<null_storage>(tag);
 2710|  1.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.08M|        {
 1001|  1.08M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2718|  1.25M|        {
 2719|  1.25M|            construct<bool_storage>(val,tag);
 2720|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.25M|        {
 1001|  1.25M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  480|  1.25M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  481|  1.25M|                  val_(val)
  482|  1.25M|            {
  483|  1.25M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2566|  1.24M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2567|  1.24M|        {
 2568|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2596|  1.24M|        {
 2597|  1.24M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2597:17): [True: 1.24M, False: 916]
  ------------------
 2598|  1.24M|            {
 2599|  1.24M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2600|  1.24M|            }
 2601|    916|            else
 2602|    916|            {
 2603|    916|                auto ptr = create_long_string(alloc, s, length);
 2604|    916|                construct<long_string_storage>(ptr, tag);
 2605|    916|            }
 2606|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.24M|        {
 1001|  1.24M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  582|  1.24M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  583|  1.24M|            {
  584|  1.24M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|  1.24M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.24M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  585|  1.24M|                std::memcpy(data_,p,length*sizeof(char_type));
  586|  1.24M|                data_[length] = 0;
  587|  1.24M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  948|    916|        {
  949|    916|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  950|    916|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  951|    916|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|    916|        {
 1001|    916|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|    916|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  626|    916|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  627|    916|            {
  628|    916|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2736|  3.44M|        {
 2737|  3.44M|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2738|       |            
 2739|  3.44M|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2740|  3.44M|            construct<byte_string_storage>(ptr, tag);
 2741|  3.44M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  955|  3.44M|        {
  956|  3.44M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  957|  3.44M|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  958|  3.44M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  3.44M|        {
 1001|  3.44M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  3.44M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  675|  3.44M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  676|  3.44M|            {
  677|  3.44M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2748|      1|        {
 2749|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2750|       |
 2751|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2752|      1|            construct<byte_string_storage>(ptr, tag);
 2753|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2759|    833|        {
 2760|    833|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2761|       |
 2762|    833|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2763|    833|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2764|    833|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
 1000|    833|        {
 1001|    833|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|    833|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_10half_arg_tEtNS_12semantic_tagE:
 2609|    400|        {
 2610|    400|            construct<half_storage>(val, tag);
 2611|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRtRNS_12semantic_tagEEEEvDpOT0_:
 1000|    400|        {
 1001|    400|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12half_storageC2EtNS_12semantic_tagE:
  540|    400|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::half_float)), short_str_length_(0), tag_(tag),
  541|    400|                  val_(val)
  542|    400|            {
  543|    400|            }

_ZN8jsoncons6binary11decode_halfEt:
  536|  2.28M|    {
  537|       |    #if defined(__F16C__) && !defined(APPLE_MISSING_INTRINSICS)
  538|       |        return _cvtsh_ss(half);
  539|       |    #else
  540|  2.28M|        int64_t exp = (half >> 10) & 0x1f;
  541|  2.28M|        int64_t mant = half & 0x3ff;
  542|  2.28M|        double val;
  543|  2.28M|        if (exp == 0) 
  ------------------
  |  Branch (543:13): [True: 1.08M, False: 1.19M]
  ------------------
  544|  1.08M|        {
  545|  1.08M|            val = ldexp(static_cast<double>(mant), -24);
  546|  1.08M|        }
  547|  1.19M|        else if (exp != 31) 
  ------------------
  |  Branch (547:18): [True: 923k, False: 268k]
  ------------------
  548|   923k|        {
  549|   923k|            val = ldexp(static_cast<double>(mant) + 1024.0, static_cast<int>(exp - 25));
  550|   923k|        } 
  551|   268k|        else
  552|   268k|        {
  553|   268k|            val = mant == 0 ? std::numeric_limits<double>::infinity() : std::nan("");
  ------------------
  |  Branch (553:19): [True: 145, False: 267k]
  ------------------
  554|   268k|        }
  555|  2.28M|        return half & 0x8000 ? -val : val;
  ------------------
  |  Branch (555:16): [True: 615k, False: 1.66M]
  ------------------
  556|  2.28M|    #endif
  557|  2.28M|    }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|    916|    {
  240|    916|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|    916|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|    916|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|  3.44M|    {
  240|  3.44M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  3.44M|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  3.44M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|    916|    {
  240|    916|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|    916|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|    916|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  3.44M|    {
  240|  3.44M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  3.44M|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  3.44M|    }

_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2ImEENS2_9enable_ifIXsr3std24is_default_constructibleIT_EE5valueEiE4typeE:
   41|  4.36k|        : expected(T{})
   42|  4.36k|    {
   43|  4.36k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2EOm:
   52|  4.37k|        : has_value_(true)
   53|  4.37k|    {
   54|  4.37k|        construct(std::move(value));
   55|  4.37k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEE9constructEOm:
  274|  4.37k|    {
  275|  4.37k|        ::new (&value_) T(std::move(value));
  276|  4.37k|        has_value_ = true;
  277|  4.37k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2IJS3_EEENS0_10unexpect_tEDpOT_:
   66|     17|        : has_value_(false)
   67|     17|    {
   68|     17|        ::new (&error_) E(std::forward<Args>(args)...);
   69|     17|    }
_ZNK8jsoncons6detail8expectedImNSt3__14errcEEcvbEv:
  146|  4.38k|    {
  147|  4.38k|        return has_value_;
  148|  4.38k|    }
_ZNR8jsoncons6detail8expectedImNSt3__14errcEEdeEv:
  231|  4.37k|    {
  232|  4.37k|        return this->value_;
  233|  4.37k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEED2Ev:
  100|  4.38k|    {
  101|  4.38k|        destroy();
  102|  4.38k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEE7destroyEv:
  280|  4.38k|    {
  281|  4.38k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 4.37k, False: 17]
  ------------------
  282|  4.37k|        {
  283|  4.37k|            value_.~T();
  284|  4.37k|            has_value_ = false;
  285|  4.37k|        }
  286|     17|        else
  287|     17|        {
  288|     17|            error_.~E();
  289|     17|        }
  290|  4.38k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|    258|        : has_value_(false)
   67|    258|    {
   68|    258|        ::new (&error_) E(std::forward<Args>(args)...);
   69|    258|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|     41|        : has_value_(true)
   53|     41|    {
   54|     41|        construct(std::move(value));
   55|     41|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|     41|    {
  275|     41|        ::new (&value_) T(std::move(value));
  276|     41|        has_value_ = true;
  277|     41|    }
_ZNK8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|    299|    {
  147|    299|        return has_value_;
  148|    299|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|    774|    {
  193|    774|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 774, False: 0]
  ------------------
  194|    774|        return this->error_;
  195|    774|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|     41|    {
  232|     41|        return this->value_;
  233|     41|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|    299|    {
  101|    299|        destroy();
  102|    299|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|    299|    {
  281|    299|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 41, False: 258]
  ------------------
  282|     41|        {
  283|     41|            value_.~T();
  284|     41|            has_value_ = false;
  285|     41|        }
  286|    258|        else
  287|    258|        {
  288|    258|            error_.~E();
  289|    258|        }
  290|    299|    }

_ZN8jsoncons6detail6grisu3EdPcPiS2_:
  293|   262k|{
  294|   262k|    diy_fp_t w_m, w_p;
  295|   262k|    int q = 64, alpha = -59, gamma = -56;
  296|   262k|    normalized_boundaries(v, &w_m, &w_p);
  297|   262k|    diy_fp_t w = normalize_diy_fp(double2diy_fp(v));
  298|   262k|    int mk = k_comp(w_p.e + q, alpha, gamma);
  299|   262k|    diy_fp_t c_mk = cached_power(mk);
  300|   262k|    diy_fp_t W  = multiply(w,   c_mk);
  301|   262k|    diy_fp_t Wp = multiply(w_p, c_mk);
  302|   262k|    diy_fp_t Wm = multiply(w_m, c_mk);
  303|   262k|    *K = -mk;
  304|   262k|    bool result = digit_gen(Wm, W, Wp, buffer, length, K);
  305|   262k|    buffer[*length] = 0;
  306|   262k|    return result;
  307|   262k|}
_ZN8jsoncons6detail21normalized_boundariesEdPNS0_8diy_fp_tES2_:
  188|   262k|{
  189|   262k|    diy_fp_t v = double2diy_fp(d);
  190|   262k|    diy_fp_t pl, mi;
  191|   262k|    bool significand_is_zero = v.f == dp_hidden_bit;
  192|   262k|    pl.f  = (v.f << 1) + 1; pl.e  = v.e - 1;
  193|   262k|    pl = normalize_boundary(pl);
  194|   262k|    if (significand_is_zero)
  ------------------
  |  Branch (194:9): [True: 9.11k, False: 253k]
  ------------------
  195|  9.11k|    {
  196|  9.11k|        mi.f = (v.f << 2) - 1;
  197|  9.11k|        mi.e = v.e - 2;
  198|  9.11k|    } else
  199|   253k|    {
  200|   253k|        mi.f = (v.f << 1) - 1;
  201|   253k|        mi.e = v.e - 1;
  202|   253k|    }
  203|   262k|    int x = mi.e - pl.e;
  204|   262k|    mi.f <<= x;
  205|   262k|    mi.e = pl.e;
  206|   262k|    *out_m_plus = pl;
  207|   262k|    *out_m_minus = mi;
  208|   262k|}
_ZN8jsoncons6detail18normalize_boundaryENS0_8diy_fp_tE:
  171|   262k|{
  172|   262k|    diy_fp_t res = in;
  173|       |    /* Normalize now */
  174|       |    /* the original number could have been a denormal. */
  175|   290k|    while (!(res.f & (dp_hidden_bit << 1)))
  ------------------
  |  Branch (175:12): [True: 27.7k, False: 262k]
  ------------------
  176|  27.7k|    {
  177|  27.7k|        res.f <<= 1;
  178|  27.7k|        res.e--;
  179|  27.7k|    }
  180|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  181|   262k|    res.f <<= (diy_significand_size - dp_significand_size - 2);
  182|   262k|    res.e = res.e - (diy_significand_size - dp_significand_size - 2);
  183|   262k|    return res;
  184|   262k|}
_ZN8jsoncons6detail16normalize_diy_fpENS0_8diy_fp_tE:
  134|   262k|{
  135|   262k|    diy_fp_t res = in;
  136|       |    /* Normalize now */
  137|       |    /* the original number could have been a denormal. */
  138|   290k|    while (!(res.f & dp_hidden_bit))
  ------------------
  |  Branch (138:12): [True: 27.7k, False: 262k]
  ------------------
  139|  27.7k|    {
  140|  27.7k|        res.f <<= 1;
  141|  27.7k|        res.e--;
  142|  27.7k|    }
  143|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  144|   262k|    res.f <<= (diy_significand_size - dp_significand_size - 1);
  145|   262k|    res.e = res.e - (diy_significand_size - dp_significand_size - 1);
  146|   262k|    return res;
  147|   262k|}
_ZN8jsoncons6detail13double2diy_fpEd:
  151|   525k|{
  152|   525k|    uint64_t d64 = double_to_uint64(d);
  153|   525k|    int biased_e = (d64 & dp_exponent_mask) >> dp_significand_size;
  154|   525k|    uint64_t significand = (d64 & dp_significand_mask);
  155|   525k|    diy_fp_t res;
  156|   525k|    if (biased_e != 0)
  ------------------
  |  Branch (156:9): [True: 522k, False: 2.91k]
  ------------------
  157|   522k|    {
  158|   522k|        res.f = significand + dp_hidden_bit;
  159|   522k|        res.e = biased_e - dp_exponent_bias;
  160|   522k|    } 
  161|  2.91k|    else
  162|  2.91k|    {
  163|  2.91k|        res.f = significand;
  164|  2.91k|        res.e = dp_min_exponent + 1;
  165|  2.91k|    }
  166|   525k|    return res;
  167|   525k|}
_ZN8jsoncons6detail16double_to_uint64Ed:
  120|   525k|uint64_t double_to_uint64(double d) {uint64_t d64; std::memcpy(&d64,&d,sizeof(double)); return d64; }
_ZN8jsoncons6detail6k_compEiii:
   82|   262k|{
   83|   262k|    constexpr double d_1_log2_10 = 0.30102999566398114; //  1 / lg(10)
   84|   262k|    int x = alpha - e + 63;
   85|   262k|    return static_cast<int>(std::ceil(x * d_1_log2_10));
   86|   262k|}
_ZN8jsoncons6detail12cached_powerEi:
   97|   262k|{
   98|   262k|    diy_fp_t res;
   99|   262k|    int index = 343 + k;
  100|   262k|    res.f = powers_ten[index];
  101|   262k|    res.e = powers_ten_e[index];
  102|   262k|    return res;
  103|   262k|}
_ZN8jsoncons6detail8multiplyENS0_8diy_fp_tES1_:
   65|   788k|{
   66|   788k|    uint64_t a, b, c, d, ac, bc, ad, bd, tmp;
   67|   788k|    diy_fp_t r; uint64_t M32 = 0xFFFFFFFF;
   68|   788k|    a = x.f >> 32; b = x.f & M32;
   69|   788k|    c = y.f >> 32; d = y.f & M32;
   70|   788k|    ac = a * c; bc = b * c; ad = a * d; bd = b * d;
   71|   788k|    tmp = (bd >> 32) + (ad & M32) + (bc & M32);
   72|   788k|    tmp += 1U << 31; /// mult_round
   73|   788k|    r.f = ac + (ad >> 32) + (bc >> 32) + (tmp >> 32);
   74|   788k|    r.e = x.e + y.e + 64;
   75|   788k|    return r;
   76|   788k|}
_ZN8jsoncons6detail9digit_genENS0_8diy_fp_tES1_S1_PcPiS3_:
  250|   262k|{
  251|   262k|    const uint32_t TEN2 = 100;
  252|       |
  253|   262k|    uint32_t div, p1; uint64_t p2, tmp, unit = 1;
  254|   262k|    int d, kappa;
  255|   262k|    diy_fp_t one, wp_W, Delta;
  256|   262k|    Delta = minus(Wp, Wm); Delta.f += 2 * unit;
  257|   262k|    wp_W = minus(Wp, W); wp_W.f += unit;
  258|   262k|    one.f = ((uint64_t)1) << -Wp.e; one.e = Wp.e;
  259|   262k|    p1 = static_cast<uint32_t>((Wp.f + 1) >> -one.e);
  260|   262k|    p2 = (Wp.f + 1) & (one.f - 1);
  261|   262k|    *len = 0; kappa = 3; div = TEN2;
  262|  1.04M|    while (kappa > 0)
  ------------------
  |  Branch (262:12): [True: 787k, False: 260k]
  ------------------
  263|   787k|    {
  264|   787k|        d = p1 / div;
  265|   787k|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (265:13): [True: 509k, False: 278k]
  |  Branch (265:18): [True: 21.1k, False: 256k]
  ------------------
  266|   787k|        p1 %= div; kappa--;
  267|   787k|        tmp = (((uint64_t)p1) << -one.e) + p2;
  268|   787k|        if (tmp < Delta.f)
  ------------------
  |  Branch (268:13): [True: 2.16k, False: 785k]
  ------------------
  269|  2.16k|        {
  270|  2.16k|            *K += kappa;
  271|  2.16k|            return round_weed(buffer, *len, wp_W.f, Delta.f, tmp,
  272|  2.16k|                              ((uint64_t)div) << -one.e, unit);
  273|  2.16k|        }
  274|   785k|        div /= 10;
  275|   785k|    }
  276|  2.29M|    while (1)
  ------------------
  |  Branch (276:12): [True: 2.29M, Folded]
  ------------------
  277|  2.29M|    {
  278|  2.29M|        p2 *= 10; Delta.f *= 10; unit *= 10;
  279|  2.29M|        d = static_cast<int>(p2 >> -one.e);
  280|  2.29M|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (280:13): [True: 2.14M, False: 147k]
  |  Branch (280:18): [True: 147k, False: 0]
  ------------------
  281|  2.29M|        p2 &= one.f - 1; kappa--;
  282|  2.29M|        if (p2 < Delta.f)
  ------------------
  |  Branch (282:13): [True: 260k, False: 2.03M]
  ------------------
  283|   260k|        {
  284|   260k|            *K += kappa;
  285|   260k|            return round_weed(buffer, *len, wp_W.f * unit, Delta.f, p2,
  286|   260k|                              one.f, unit);
  287|   260k|        }
  288|  2.29M|    }
  289|   260k|}
_ZN8jsoncons6detail5minusENS0_8diy_fp_tES1_:
   56|   525k|{
   57|   525k|    assert(x.e == y.e);
  ------------------
  |  Branch (57:5): [True: 525k, False: 0]
  ------------------
   58|   525k|    assert(x.f >= y.f);
  ------------------
  |  Branch (58:5): [True: 525k, False: 0]
  ------------------
   59|   525k|    diy_fp_t r = { x.f = x.f - y.f, x.e };
   60|   525k|    return r;
   61|   525k|}
_ZN8jsoncons6detail10round_weedEPcimmmmm:
  230|   262k|{
  231|   262k|    uint64_t wp_Wup = wp_W - ulp;
  232|   262k|    uint64_t wp_Wdown = wp_W + ulp;
  233|   343k|    while (rest < wp_Wup &&  /// round1
  ------------------
  |  Branch (233:12): [True: 113k, False: 229k]
  ------------------
  234|   113k|           Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (234:12): [True: 90.7k, False: 22.8k]
  ------------------
  235|  90.7k|           (rest + ten_kappa < wp_Wup || /// closer
  ------------------
  |  Branch (235:13): [True: 48.5k, False: 42.2k]
  ------------------
  236|  42.2k|            wp_Wup - rest >= rest + ten_kappa - wp_Wup))
  ------------------
  |  Branch (236:13): [True: 31.9k, False: 10.3k]
  ------------------
  237|  80.4k|    {
  238|  80.4k|        buffer[len - 1]--; rest += ten_kappa;
  239|  80.4k|    }
  240|   262k|    if (rest < wp_Wdown && /// round2
  ------------------
  |  Branch (240:9): [True: 230k, False: 32.0k]
  ------------------
  241|   230k|        Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (241:9): [True: 18.6k, False: 212k]
  ------------------
  242|  18.6k|        (rest + ten_kappa < wp_Wdown ||
  ------------------
  |  Branch (242:10): [True: 0, False: 18.6k]
  ------------------
  243|  18.6k|         wp_Wdown - rest > rest + ten_kappa - wp_Wdown)) return 0;
  ------------------
  |  Branch (243:10): [True: 1.00k, False: 17.6k]
  ------------------
  244|   261k|    return 2 * ulp <= rest && rest <= Delta - 4 * ulp; /// weed
  ------------------
  |  Branch (244:12): [True: 261k, False: 142]
  |  Branch (244:31): [True: 261k, False: 25]
  ------------------
  245|   262k|}

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  3.44M|            : data_(data), size_(size)
   62|  3.44M|        {
   63|  3.44M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  3.44M|        {
  112|  3.44M|            return data_;
  113|  3.44M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  3.45M|        {
  117|  3.45M|            return size_;
  118|  3.45M|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE4sizeEv:
  116|     92|        {
  117|     92|            return size_;
  118|     92|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4dataEv:
  111|  40.6k|        {
  112|  40.6k|            return data_;
  113|  40.6k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4sizeEv:
  116|  40.6k|        {
  117|  40.6k|            return size_;
  118|  40.6k|        }
_ZN8jsoncons6detail4spanIhLm18446744073709551615EEC2INSt3__16vectorIhNS4_9allocatorIhEEEEEERT_PNS4_9enable_ifIXaaaaaantsr7is_spanIS9_EE5valuentsr10ext_traits12is_std_arrayIS9_EE5valuesr10ext_traits21is_compatible_elementIS9_hEE5valuesr10ext_traits17has_data_and_sizeIS9_EE5valueEvE4typeE:
   68|  40.6k|            : data_(c.data()), size_(c.size())
   69|  40.6k|        {
   70|  40.6k|        }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2INSt3__16vectorImNS5_9allocatorImEEEEEERT_PNS5_9enable_ifIXaaaaaantsr7is_spanISA_EE5valuentsr10ext_traits12is_std_arrayISA_EE5valuesr10ext_traits21is_compatible_elementISA_S2_EE5valuesr10ext_traits17has_data_and_sizeISA_EE5valueEvE4typeE:
   68|  4.38k|            : data_(c.data()), size_(c.size())
   69|  4.38k|        {
   70|  4.38k|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EEixEm:
  126|    241|         {
  127|    241|             return data_[index];
  128|    241|         }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EEixEm:
  126|  8.04k|         {
  127|  8.04k|             return data_[index];
  128|  8.04k|         }
_ZN8jsoncons6detail4spanItLm18446744073709551615EEC2EPtm:
   61|  21.1k|            : data_(data), size_(size)
   62|  21.1k|        {
   63|  21.1k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4sizeEv:
  116|  2.42M|        {
  117|  2.42M|            return size_;
  118|  2.42M|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EEixEm:
  126|  2.39M|         {
  127|  2.39M|             return data_[index];
  128|  2.39M|         }
_ZN8jsoncons6detail4spanIjLm18446744073709551615EEC2EPjm:
   61|    205|            : data_(data), size_(size)
   62|    205|        {
   63|    205|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4sizeEv:
  116|  1.07k|        {
  117|  1.07k|            return size_;
  118|  1.07k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EEixEm:
  126|    482|         {
  127|    482|             return data_[index];
  128|    482|         }
_ZN8jsoncons6detail4spanImLm18446744073709551615EEC2EPmm:
   61|  4.39k|            : data_(data), size_(size)
   62|  4.39k|        {
   63|  4.39k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4sizeEv:
  116|  18.2k|        {
  117|  18.2k|            return size_;
  118|  18.2k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EEixEm:
  126|  4.76k|         {
  127|  4.76k|             return data_[index];
  128|  4.76k|         }
_ZN8jsoncons6detail4spanIaLm18446744073709551615EEC2EPam:
   61|  1.38k|            : data_(data), size_(size)
   62|  1.38k|        {
   63|  1.38k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4sizeEv:
  116|  4.62k|        {
  117|  4.62k|            return size_;
  118|  4.62k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EEixEm:
  126|    467|         {
  127|    467|             return data_[index];
  128|    467|         }
_ZN8jsoncons6detail4spanIsLm18446744073709551615EEC2EPsm:
   61|  1.86k|            : data_(data), size_(size)
   62|  1.86k|        {
   63|  1.86k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4sizeEv:
  116|   360k|        {
  117|   360k|            return size_;
  118|   360k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EEixEm:
  126|   529k|         {
  127|   529k|             return data_[index];
  128|   529k|         }
_ZN8jsoncons6detail4spanIiLm18446744073709551615EEC2EPim:
   61|    439|            : data_(data), size_(size)
   62|    439|        {
   63|    439|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4sizeEv:
  116|   146k|        {
  117|   146k|            return size_;
  118|   146k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EEixEm:
  126|   217k|         {
  127|   217k|             return data_[index];
  128|   217k|         }
_ZN8jsoncons6detail4spanIlLm18446744073709551615EEC2EPlm:
   61|  6.12k|            : data_(data), size_(size)
   62|  6.12k|        {
   63|  6.12k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4sizeEv:
  116|   417k|        {
  117|   417k|            return size_;
  118|   417k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EEixEm:
  126|   590k|         {
  127|   590k|             return data_[index];
  128|   590k|         }
_ZN8jsoncons6detail4spanIfLm18446744073709551615EEC2EPfm:
   61|  1.76k|            : data_(data), size_(size)
   62|  1.76k|        {
   63|  1.76k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4sizeEv:
  116|   110k|        {
  117|   110k|            return size_;
  118|   110k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EEixEm:
  126|   136k|         {
  127|   136k|             return data_[index];
  128|   136k|         }
_ZN8jsoncons6detail4spanIdLm18446744073709551615EEC2EPdm:
   61|  3.05k|            : data_(data), size_(size)
   62|  3.05k|        {
   63|  3.05k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4sizeEv:
  116|  59.5k|        {
  117|  59.5k|            return size_;
  118|  59.5k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EEixEm:
  126|  67.2k|         {
  127|  67.2k|             return data_[index];
  128|  67.2k|         }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE5emptyEv:
  121|  4.38k|        { 
  122|  4.38k|            return size_ == 0; 
  123|  4.38k|        }

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|    299|            : destination_(std::addressof(visitor)), 
  859|    299|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|    299|        {
  861|    299|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|    299|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|    299|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|   416k|        {
  294|   416k|            visit_begin_array(length, tag, context, ec);
  295|   416k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   416k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|   416k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  18.3M|        {
  363|  18.3M|            visit_uint64(value, tag, context, ec);
  364|  18.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  18.3M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|   790k|        {
  300|   790k|            visit_end_array(context, ec);
  301|   790k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   790k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|   790k|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  7.87M|        {
  372|  7.87M|            visit_int64(value, tag, context, ec);
  373|  7.87M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.87M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  7.87M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  380|  16.1k|        {
  381|  16.1k|            visit_half(value, tag, context, ec);
  382|  16.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  383|  16.1k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|  4.12k|        {
  390|  4.12k|            visit_double(value, tag, context, ec);
  391|  4.12k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.12k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|  4.12k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  14.2M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 13.4M, False: 837k]
  ------------------
  798|  14.2M|            {
  799|  14.2M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|   456k|        {
 1012|   456k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 40.6k, False: 416k]
  ------------------
 1013|  40.6k|            {
 1014|  40.6k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 31.5k, False: 9.02k]
  |  Branch (1014:73): [True: 30.8k, False: 709]
  ------------------
 1015|  30.8k|                {
 1016|  30.8k|                    key_buffer_.push_back(',');
 1017|  30.8k|                }
 1018|  40.6k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|  40.6k|                key_buffer_.push_back('[');
 1020|  40.6k|            }
 1021|   416k|            else
 1022|   416k|            {
 1023|   416k|                switch (level_stack_.back().target())
 1024|   416k|                {
 1025|   380k|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 380k, False: 36.1k]
  ------------------
 1026|   380k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 348k, False: 31.8k]
  |  Branch (1026:65): [True: 343k, False: 4.54k]
  ------------------
 1027|   343k|                        {
 1028|   343k|                            key_buffer_.push_back(',');
 1029|   343k|                        }
 1030|   380k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|   380k|                        key_buffer_.push_back('[');
 1032|   380k|                        break;
 1033|  36.1k|                    default:
  ------------------
  |  Branch (1033:21): [True: 36.1k, False: 380k]
  ------------------
 1034|  36.1k|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|  36.1k|                        destination_->begin_array(length, tag, context, ec);
 1036|  36.1k|                        break;
 1037|   416k|                }
 1038|   416k|            }
 1039|   456k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   456k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|   456k|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   159M|            {
  815|   159M|                return even_odd_ == 0;
  816|   159M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6targetEv:
  824|   109M|            {
  825|   109M|                return state_;
  826|   109M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level5countEv:
  829|  14.1M|            {
  830|  14.1M|                return count_;
  831|  14.1M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|  72.3M|            {
  820|  72.3M|                return type_ == container_t::object;
  821|  72.3M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|   831k|        {
 1044|   831k|            switch (level_stack_.back().target())
 1045|   831k|            {
 1046|   795k|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 795k, False: 36.0k]
  ------------------
 1047|   795k|                    key_buffer_.push_back(']');
 1048|   795k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   795k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 795k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1049|   795k|                    level_stack_.pop_back();
 1050|   795k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (1050:25): [True: 9.00k, False: 786k]
  ------------------
 1051|  9.00k|                    {
 1052|  9.00k|                        destination_->key(key_buffer_, context, ec);
 1053|  9.00k|                        key_buffer_.clear();
 1054|  9.00k|                    }
 1055|   786k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 44.6k, False: 741k]
  ------------------
 1056|  44.6k|                    {
 1057|  44.6k|                        key_buffer_.push_back(':');
 1058|  44.6k|                    }
 1059|   795k|                    level_stack_.back().advance();
 1060|   795k|                    break;
 1061|  36.0k|                default:
  ------------------
  |  Branch (1061:17): [True: 36.0k, False: 795k]
  ------------------
 1062|  36.0k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  36.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 36.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1063|  36.0k|                    level_stack_.pop_back();
 1064|  36.0k|                    level_stack_.back().advance();
 1065|  36.0k|                    destination_->end_array(context, ec);
 1066|  36.0k|                    break;
 1067|   831k|            }
 1068|   831k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   831k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|   831k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|  58.0M|            {
  803|  58.0M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 47.6M, False: 10.4M]
  ------------------
  804|  47.6M|                {
  805|  47.6M|                    ++count_;
  806|  47.6M|                }
  807|  58.0M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 20.8M, False: 37.2M]
  ------------------
  808|  20.8M|                {
  809|  20.8M|                    even_odd_ = !even_odd_;
  810|  20.8M|                }
  811|  58.0M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  18.4M|        {
 1237|  18.4M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 5.05M, False: 13.3M]
  |  Branch (1237:49): [True: 5.34M, False: 8.03M]
  ------------------
 1238|  10.4M|            {
 1239|  10.4M|                key_.clear();
 1240|  10.4M|                jsoncons::from_integer(value,key_);
 1241|  10.4M|            }
 1242|       |
 1243|  18.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 5.05M, False: 13.3M]
  ------------------
 1244|  5.05M|            {
 1245|  5.05M|                switch (level_stack_.back().target())
 1246|  5.05M|                {
 1247|  2.01M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 2.01M, False: 3.04M]
  ------------------
 1248|  2.01M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 2.00M, False: 3.58k]
  ------------------
 1249|  2.00M|                        {
 1250|  2.00M|                            key_buffer_.push_back(',');
 1251|  2.00M|                        }
 1252|  2.01M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  2.01M|                        key_buffer_.push_back(':');
 1254|  2.01M|                        break;
 1255|  3.04M|                    default:
  ------------------
  |  Branch (1255:21): [True: 3.04M, False: 2.01M]
  ------------------
 1256|  3.04M|                        destination_->key(key_, context, ec);
 1257|  3.04M|                        break;
 1258|  5.05M|                }
 1259|  5.05M|            }
 1260|  13.3M|            else
 1261|  13.3M|            {
 1262|  13.3M|                switch (level_stack_.back().target())
 1263|  13.3M|                {
 1264|  5.34M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 5.34M, False: 8.03M]
  ------------------
 1265|  5.34M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 3.33M, False: 2.01M]
  |  Branch (1265:65): [True: 3.32M, False: 6.97k]
  ------------------
 1266|  3.32M|                        {
 1267|  3.32M|                            key_buffer_.push_back(',');
 1268|  3.32M|                        }
 1269|  5.34M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  5.34M|                        break;
 1271|  8.03M|                    default:
  ------------------
  |  Branch (1271:21): [True: 8.03M, False: 5.34M]
  ------------------
 1272|  8.03M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  8.03M|                        break;
 1274|  13.3M|                }
 1275|  13.3M|            }
 1276|       |
 1277|  18.4M|            level_stack_.back().advance();
 1278|  18.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  18.4M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  8.32M|        {
 1283|  8.32M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 639k, False: 7.68M]
  |  Branch (1283:49): [True: 1.60M, False: 6.07M]
  ------------------
 1284|  2.24M|            {
 1285|  2.24M|                key_.clear();
 1286|  2.24M|                jsoncons::from_integer(value,key_);
 1287|  2.24M|            }
 1288|       |
 1289|  8.32M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 639k, False: 7.68M]
  ------------------
 1290|   639k|            {
 1291|   639k|                switch (level_stack_.back().target())
 1292|   639k|                {
 1293|   408k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 408k, False: 231k]
  ------------------
 1294|   408k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 406k, False: 1.19k]
  ------------------
 1295|   406k|                        {
 1296|   406k|                            key_buffer_.push_back(',');
 1297|   406k|                        }
 1298|   408k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|   408k|                        key_buffer_.push_back(':');
 1300|   408k|                        break;
 1301|   231k|                    default:
  ------------------
  |  Branch (1301:21): [True: 231k, False: 408k]
  ------------------
 1302|   231k|                        destination_->key(key_, context, ec);
 1303|   231k|                        break;
 1304|   639k|                }
 1305|   639k|            }
 1306|  7.68M|            else
 1307|  7.68M|            {
 1308|  7.68M|                switch (level_stack_.back().target())
 1309|  7.68M|                {
 1310|  1.60M|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 1.60M, False: 6.07M]
  ------------------
 1311|  1.60M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 1.19M, False: 406k]
  |  Branch (1311:65): [True: 1.15M, False: 40.7k]
  ------------------
 1312|  1.15M|                        {
 1313|  1.15M|                            key_buffer_.push_back(',');
 1314|  1.15M|                        }
 1315|  1.60M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|  1.60M|                        break;
 1317|  6.07M|                    default:
  ------------------
  |  Branch (1317:21): [True: 6.07M, False: 1.60M]
  ------------------
 1318|  6.07M|                        destination_->int64_value(value, tag, context, ec);
 1319|  6.07M|                        break;
 1320|  7.68M|                }
 1321|  7.68M|            }
 1322|       |
 1323|  8.32M|            level_stack_.back().advance();
 1324|  8.32M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  8.32M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|  2.36M|        {
 1378|  2.36M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 1.61k, False: 2.36M]
  |  Branch (1378:49): [True: 363k, False: 2.00M]
  ------------------
 1379|   365k|            {
 1380|   365k|                key_.clear();
 1381|   365k|                string_sink<string_type> sink(key_);
 1382|   365k|                jsoncons::write_double f{float_chars_format::general,0};
 1383|   365k|                f(value, sink);
 1384|   365k|            }
 1385|       |
 1386|  2.36M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 1.61k, False: 2.36M]
  ------------------
 1387|  1.61k|            {
 1388|  1.61k|                switch (level_stack_.back().target())
 1389|  1.61k|                {
 1390|  1.44k|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 1.44k, False: 166]
  ------------------
 1391|  1.44k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 792, False: 653]
  ------------------
 1392|    792|                        {
 1393|    792|                            key_buffer_.push_back(',');
 1394|    792|                        }
 1395|  1.44k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|  1.44k|                        key_buffer_.push_back(':');
 1397|  1.44k|                        break;
 1398|    166|                    default:
  ------------------
  |  Branch (1398:21): [True: 166, False: 1.44k]
  ------------------
 1399|    166|                        destination_->key(key_, context, ec);
 1400|    166|                        break;
 1401|  1.61k|                }
 1402|  1.61k|            }
 1403|  2.36M|            else
 1404|  2.36M|            {
 1405|  2.36M|                switch (level_stack_.back().target())
 1406|  2.36M|                {
 1407|   363k|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 363k, False: 2.00M]
  ------------------
 1408|   363k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 363k, False: 716]
  |  Branch (1408:65): [True: 360k, False: 2.99k]
  ------------------
 1409|   360k|                        {
 1410|   360k|                            key_buffer_.push_back(',');
 1411|   360k|                        }
 1412|   363k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|   363k|                        break;
 1414|  2.00M|                    default:
  ------------------
  |  Branch (1414:21): [True: 2.00M, False: 363k]
  ------------------
 1415|  2.00M|                        destination_->double_value(value, tag, context, ec);
 1416|  2.00M|                        break;
 1417|  2.36M|                }
 1418|  2.36M|            }
 1419|       |
 1420|  2.36M|            level_stack_.back().advance();
 1421|  2.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|  2.36M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|     45|        {
  885|     45|            destination_->flush();
  886|     45|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  889|   497k|        {
  890|   497k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (890:17): [True: 248k, False: 248k]
  ------------------
  891|   248k|            {
  892|   248k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (892:21): [True: 248k, False: 53]
  |  Branch (892:73): [True: 247k, False: 870]
  ------------------
  893|   247k|                {
  894|   247k|                    key_buffer_.push_back(',');
  895|   247k|                }
  896|   248k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  897|   248k|                key_buffer_.push_back('{');
  898|   248k|            }
  899|   248k|            else
  900|   248k|            {
  901|   248k|                switch (level_stack_.back().target())
  902|   248k|                {
  903|   248k|                    case target_t::buffer:
  ------------------
  |  Branch (903:21): [True: 248k, False: 203]
  ------------------
  904|   248k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  905|   248k|                        key_buffer_.push_back('{');
  906|   248k|                        break;
  907|    203|                    default:
  ------------------
  |  Branch (907:21): [True: 203, False: 248k]
  ------------------
  908|    203|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  909|    203|                        destination_->begin_object(tag, context, ec);
  910|    203|                        break;
  911|   248k|                }
  912|   248k|            }
  913|   497k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   497k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  914|   497k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  12.9M|        {
  918|  12.9M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 1.73M, False: 11.2M]
  ------------------
  919|  1.73M|            {
  920|  1.73M|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 534k, False: 1.20M]
  |  Branch (920:73): [True: 532k, False: 1.56k]
  ------------------
  921|   532k|                {
  922|   532k|                    key_buffer_.push_back(',');
  923|   532k|                }
  924|  1.73M|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|  1.73M|                key_buffer_.push_back('{');
  926|  1.73M|            }
  927|  11.2M|            else
  928|  11.2M|            {
  929|  11.2M|                switch (level_stack_.back().target())
  930|  11.2M|                {
  931|  1.20M|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 1.20M, False: 9.99M]
  ------------------
  932|  1.20M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 668k, False: 534k]
  |  Branch (932:65): [True: 668k, False: 359]
  ------------------
  933|   668k|                        {
  934|   668k|                            key_buffer_.push_back(',');
  935|   668k|                        }
  936|  1.20M|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|  1.20M|                        key_buffer_.push_back('{');
  938|  1.20M|                        break;
  939|  9.99M|                    default:
  ------------------
  |  Branch (939:21): [True: 9.99M, False: 1.20M]
  ------------------
  940|  9.99M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  9.99M|                        destination_->begin_object(length, tag, context, ec);
  942|  9.99M|                        break;
  943|  11.2M|                }
  944|  11.2M|            }
  945|  12.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  12.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  12.9M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  13.4M|        {
  950|  13.4M|            switch (level_stack_.back().target())
  951|  13.4M|            {
  952|  3.43M|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 3.43M, False: 9.99M]
  ------------------
  953|  3.43M|                    key_buffer_.push_back('}');
  954|  3.43M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  3.43M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.43M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  955|  3.43M|                    level_stack_.pop_back();
  956|       |                    
  957|  3.43M|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 1.20M, False: 2.23M]
  ------------------
  958|  1.20M|                    {
  959|  1.20M|                        destination_->key(key_buffer_,context, ec);
  960|  1.20M|                        key_buffer_.clear();
  961|  1.20M|                    }
  962|  2.23M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 780k, False: 1.45M]
  ------------------
  963|   780k|                    {
  964|   780k|                        key_buffer_.push_back(':');
  965|   780k|                    }
  966|  3.43M|                    level_stack_.back().advance();
  967|  3.43M|                    break;
  968|  9.99M|                default:
  ------------------
  |  Branch (968:17): [True: 9.99M, False: 3.43M]
  ------------------
  969|  9.99M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  9.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 9.99M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  970|  9.99M|                    level_stack_.pop_back();
  971|  9.99M|                    level_stack_.back().advance();
  972|  9.99M|                    destination_->end_object(context, ec);
  973|  9.99M|                    break;
  974|  13.4M|            }
  975|  13.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  13.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  13.4M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  979|   379k|        {
  980|   379k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (980:17): [True: 13.1k, False: 366k]
  ------------------
  981|  13.1k|            {
  982|  13.1k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (982:21): [True: 13.1k, False: 20]
  |  Branch (982:73): [True: 13.1k, False: 21]
  ------------------
  983|  13.1k|                {
  984|  13.1k|                    key_buffer_.push_back(',');
  985|  13.1k|                }
  986|  13.1k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
  987|  13.1k|                key_buffer_.push_back('[');
  988|  13.1k|            }
  989|   366k|            else
  990|   366k|            {
  991|   366k|                switch (level_stack_.back().target())
  992|   366k|                {
  993|   365k|                    case target_t::buffer:
  ------------------
  |  Branch (993:21): [True: 365k, False: 1.07k]
  ------------------
  994|   365k|                        if (level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (994:29): [True: 14.4k, False: 351k]
  |  Branch (994:64): [True: 14.3k, False: 133]
  ------------------
  995|  14.3k|                        {
  996|  14.3k|                            key_buffer_.push_back(',');
  997|  14.3k|                        }
  998|   365k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
  999|   365k|                        key_buffer_.push_back('[');
 1000|   365k|                        break;
 1001|  1.07k|                    default:
  ------------------
  |  Branch (1001:21): [True: 1.07k, False: 365k]
  ------------------
 1002|  1.07k|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1003|  1.07k|                        destination_->begin_array(tag, context, ec);
 1004|  1.07k|                        break;
 1005|   366k|                }
 1006|   366k|            }
 1007|   379k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   379k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1008|   379k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|  1.25M|        {
 1479|  1.25M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 108k, False: 1.14M]
  |  Branch (1479:49): [True: 65.9k, False: 1.08M]
  ------------------
 1480|   174k|            {
 1481|   174k|                key_.clear(); 
 1482|   174k|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|   174k|            }
 1484|       |
 1485|  1.25M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 108k, False: 1.14M]
  ------------------
 1486|   108k|            {
 1487|   108k|                switch (level_stack_.back().target())
 1488|   108k|                {
 1489|  62.8k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 62.8k, False: 45.8k]
  ------------------
 1490|  62.8k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 62.6k, False: 119]
  ------------------
 1491|  62.6k|                        {
 1492|  62.6k|                            key_buffer_.push_back(',');
 1493|  62.6k|                        }
 1494|  62.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|  62.8k|                        key_buffer_.push_back(':');
 1496|  62.8k|                        break;
 1497|  45.8k|                    default:
  ------------------
  |  Branch (1497:21): [True: 45.8k, False: 62.8k]
  ------------------
 1498|  45.8k|                        destination_->key(key_, context, ec);
 1499|  45.8k|                        break;
 1500|   108k|                }
 1501|   108k|            }
 1502|  1.14M|            else
 1503|  1.14M|            {
 1504|  1.14M|                switch (level_stack_.back().target())
 1505|  1.14M|                {
 1506|  65.9k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 65.9k, False: 1.08M]
  ------------------
 1507|  65.9k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 3.26k, False: 62.6k]
  |  Branch (1507:65): [True: 3.19k, False: 79]
  ------------------
 1508|  3.19k|                        {
 1509|  3.19k|                            key_buffer_.push_back(',');
 1510|  3.19k|                        }
 1511|  65.9k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|  65.9k|                        break;
 1513|  1.08M|                    default:
  ------------------
  |  Branch (1513:21): [True: 1.08M, False: 65.9k]
  ------------------
 1514|  1.08M|                        destination_->null_value(tag, context, ec);
 1515|  1.08M|                        break;
 1516|  1.14M|                }
 1517|  1.14M|            }
 1518|       |
 1519|  1.25M|            level_stack_.back().advance();
 1520|  1.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|  1.25M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  1.93M|        {
 1426|  1.93M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 263k, False: 1.67M]
  |  Branch (1426:49): [True: 420k, False: 1.25M]
  ------------------
 1427|   684k|            {
 1428|   684k|                key_.clear(); 
 1429|   684k|                if (value)
  ------------------
  |  Branch (1429:21): [True: 261k, False: 423k]
  ------------------
 1430|   261k|                {
 1431|   261k|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|   261k|                }
 1433|   423k|                else
 1434|   423k|                {
 1435|   423k|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|   423k|                }
 1437|   684k|            }
 1438|       |
 1439|  1.93M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 263k, False: 1.67M]
  ------------------
 1440|   263k|            {
 1441|   263k|                switch (level_stack_.back().target())
 1442|   263k|                {
 1443|   245k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 245k, False: 18.3k]
  ------------------
 1444|   245k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 245k, False: 35]
  ------------------
 1445|   245k|                        {
 1446|   245k|                            key_buffer_.push_back(',');
 1447|   245k|                        }
 1448|   245k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|   245k|                        key_buffer_.push_back(':');
 1450|   245k|                        break;
 1451|  18.3k|                    default:
  ------------------
  |  Branch (1451:21): [True: 18.3k, False: 245k]
  ------------------
 1452|  18.3k|                        destination_->key(key_, context, ec);
 1453|  18.3k|                        break;
 1454|   263k|                }
 1455|   263k|            }
 1456|  1.67M|            else
 1457|  1.67M|            {
 1458|  1.67M|                switch (level_stack_.back().target())
 1459|  1.67M|                {
 1460|   420k|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 420k, False: 1.25M]
  ------------------
 1461|   420k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 175k, False: 245k]
  |  Branch (1461:65): [True: 175k, False: 55]
  ------------------
 1462|   175k|                        {
 1463|   175k|                            key_buffer_.push_back(',');
 1464|   175k|                        }
 1465|   420k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|   420k|                        break;
 1467|  1.25M|                    default:
  ------------------
  |  Branch (1467:21): [True: 1.25M, False: 420k]
  ------------------
 1468|  1.25M|                        destination_->bool_value(value, tag, context, ec);
 1469|  1.25M|                        break;
 1470|  1.67M|                }
 1471|  1.67M|            }
 1472|       |
 1473|  1.93M|            level_stack_.back().advance();
 1474|  1.93M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  1.93M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|  3.20M|        {
 1076|  3.20M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 821k, False: 2.38M]
  ------------------
 1077|   821k|            {
 1078|   821k|                switch (level_stack_.back().target())
 1079|   821k|                {
 1080|   717k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 717k, False: 103k]
  ------------------
 1081|   717k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 717k, False: 468]
  ------------------
 1082|   717k|                        {
 1083|   717k|                            key_buffer_.push_back(',');
 1084|   717k|                        }
 1085|   717k|                        key_buffer_.push_back('\"');
 1086|   717k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|   717k|                        key_buffer_.push_back('\"');
 1088|   717k|                        key_buffer_.push_back(':');
 1089|   717k|                        break;
 1090|   103k|                    default:
  ------------------
  |  Branch (1090:21): [True: 103k, False: 717k]
  ------------------
 1091|   103k|                        destination_->key(value, context, ec);
 1092|   103k|                        break;
 1093|   821k|                }
 1094|   821k|            }
 1095|  2.38M|            else
 1096|  2.38M|            {
 1097|  2.38M|                switch (level_stack_.back().target())
 1098|  2.38M|                {
 1099|  1.13M|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 1.13M, False: 1.24M]
  ------------------
 1100|  1.13M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 417k, False: 718k]
  |  Branch (1100:65): [True: 417k, False: 397]
  ------------------
 1101|   417k|                        {
 1102|   417k|                            key_buffer_.push_back(',');
 1103|   417k|                        }
 1104|  1.13M|                        key_buffer_.push_back('\"');
 1105|  1.13M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|  1.13M|                        key_buffer_.push_back('\"');
 1107|  1.13M|                        break;
 1108|  1.24M|                    default:
  ------------------
  |  Branch (1108:21): [True: 1.24M, False: 1.13M]
  ------------------
 1109|  1.24M|                        destination_->string_value(value, tag, context, ec);
 1110|  1.24M|                        break;
 1111|  2.38M|                }
 1112|  2.38M|            }
 1113|       |
 1114|  3.20M|            level_stack_.back().advance();
 1115|  3.20M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|  3.20M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|  8.25M|        {
 1123|  8.25M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 1.47M, False: 6.77M]
  |  Branch (1123:49): [True: 3.33M, False: 3.44M]
  ------------------
 1124|  4.80M|            {
 1125|  4.80M|                key_.clear();
 1126|  4.80M|                switch (tag)
 1127|  4.80M|                {
 1128|      6|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 6, False: 4.80M]
  ------------------
 1129|      6|                        bytes_to_base64(value.begin(), value.end(), key_);
 1130|      6|                        break;
 1131|    213|                    case semantic_tag::base16:
  ------------------
  |  Branch (1131:21): [True: 213, False: 4.80M]
  ------------------
 1132|    213|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|    213|                        break;
 1134|  4.80M|                    default:
  ------------------
  |  Branch (1134:21): [True: 4.80M, False: 219]
  ------------------
 1135|  4.80M|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  4.80M|                        break;
 1137|  4.80M|                }
 1138|  4.80M|            }
 1139|       |
 1140|  8.25M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 1.47M, False: 6.77M]
  ------------------
 1141|  1.47M|            {
 1142|  1.47M|                switch (level_stack_.back().target())
 1143|  1.47M|                {
 1144|  1.05M|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 1.05M, False: 419k]
  ------------------
 1145|  1.05M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 1.05M, False: 859]
  ------------------
 1146|  1.05M|                        {
 1147|  1.05M|                            key_buffer_.push_back(',');
 1148|  1.05M|                        }
 1149|  1.05M|                        key_buffer_.push_back('\"');
 1150|  1.05M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|  1.05M|                        key_buffer_.push_back('\"');
 1152|  1.05M|                        key_buffer_.push_back(':');
 1153|  1.05M|                        break;
 1154|   419k|                    default:
  ------------------
  |  Branch (1154:21): [True: 419k, False: 1.05M]
  ------------------
 1155|   419k|                        destination_->key(key_, context, ec);
 1156|   419k|                        break;
 1157|  1.47M|                }
 1158|  1.47M|            }
 1159|  6.77M|            else
 1160|  6.77M|            {
 1161|  6.77M|                switch (level_stack_.back().target())
 1162|  6.77M|                {
 1163|  3.33M|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 3.33M, False: 3.44M]
  ------------------
 1164|  3.33M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 2.27M, False: 1.05M]
  |  Branch (1164:65): [True: 2.27M, False: 596]
  ------------------
 1165|  2.27M|                        {
 1166|  2.27M|                            key_buffer_.push_back(',');
 1167|  2.27M|                        }
 1168|  3.33M|                        key_buffer_.push_back('\"');
 1169|  3.33M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  3.33M|                        key_buffer_.push_back('\"');
 1171|  3.33M|                        break;
 1172|  3.44M|                    default:
  ------------------
  |  Branch (1172:21): [True: 3.44M, False: 3.33M]
  ------------------
 1173|  3.44M|                        destination_->byte_string_value(value, tag, context, ec);
 1174|  3.44M|                        break;
 1175|  6.77M|                }
 1176|  6.77M|            }
 1177|       |
 1178|  8.25M|            level_stack_.back().advance();
 1179|  8.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|  8.25M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|  3.59k|        {
 1187|  3.59k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 1.19k, False: 2.40k]
  |  Branch (1187:49): [True: 1.57k, False: 833]
  ------------------
 1188|  2.76k|            {
 1189|  2.76k|                key_.clear();
 1190|  2.76k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  2.76k|            }
 1192|       |
 1193|  3.59k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 1.19k, False: 2.40k]
  ------------------
 1194|  1.19k|            {
 1195|  1.19k|                switch (level_stack_.back().target())
 1196|  1.19k|                {
 1197|  1.10k|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 1.10k, False: 85]
  ------------------
 1198|  1.10k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 1.07k, False: 27]
  ------------------
 1199|  1.07k|                        {
 1200|  1.07k|                            key_buffer_.push_back(',');
 1201|  1.07k|                        }
 1202|  1.10k|                        key_buffer_.push_back('\"');
 1203|  1.10k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|  1.10k|                        key_buffer_.push_back('\"');
 1205|  1.10k|                        key_buffer_.push_back(':');
 1206|  1.10k|                        break;
 1207|     85|                    default:
  ------------------
  |  Branch (1207:21): [True: 85, False: 1.10k]
  ------------------
 1208|     85|                        destination_->key(key_, context, ec);
 1209|     85|                        break;
 1210|  1.19k|                }
 1211|  1.19k|            }
 1212|  2.40k|            else
 1213|  2.40k|            {
 1214|  2.40k|                switch (level_stack_.back().target())
 1215|  2.40k|                {
 1216|  1.57k|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 1.57k, False: 833]
  ------------------
 1217|  1.57k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 443, False: 1.12k]
  |  Branch (1217:65): [True: 398, False: 45]
  ------------------
 1218|    398|                        {
 1219|    398|                            key_buffer_.push_back(',');
 1220|    398|                        }
 1221|  1.57k|                        key_buffer_.push_back('\"');
 1222|  1.57k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1223|  1.57k|                        key_buffer_.push_back('\"');
 1224|  1.57k|                        break;
 1225|    833|                    default:
  ------------------
  |  Branch (1225:21): [True: 833, False: 1.57k]
  ------------------
 1226|    833|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|    833|                        break;
 1228|  2.40k|                }
 1229|  2.40k|            }
 1230|       |
 1231|  3.59k|            level_stack_.back().advance();
 1232|  3.59k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.59k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|  3.59k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1328|  16.1k|        {
 1329|  16.1k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1329:17): [True: 4.64k, False: 11.5k]
  |  Branch (1329:49): [True: 11.1k, False: 400]
  ------------------
 1330|  15.7k|            {
 1331|  15.7k|                key_.clear();
 1332|  15.7k|                jsoncons::string_sink<string_type> sink(key_);
 1333|  15.7k|                jsoncons::write_double f{float_chars_format::general,0};
 1334|  15.7k|                double x = binary::decode_half(value);
 1335|  15.7k|                f(x, sink);
 1336|  15.7k|            }
 1337|       |
 1338|  16.1k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1338:17): [True: 4.64k, False: 11.5k]
  ------------------
 1339|  4.64k|            {
 1340|  4.64k|                switch (level_stack_.back().target())
 1341|  4.64k|                {
 1342|  4.49k|                    case target_t::buffer:
  ------------------
  |  Branch (1342:21): [True: 4.49k, False: 156]
  ------------------
 1343|  4.49k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1343:29): [True: 4.40k, False: 83]
  ------------------
 1344|  4.40k|                        {
 1345|  4.40k|                            key_buffer_.push_back(',');
 1346|  4.40k|                        }
 1347|  4.49k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1348|  4.49k|                        key_buffer_.push_back(':');
 1349|  4.49k|                        break;
 1350|    156|                    default:
  ------------------
  |  Branch (1350:21): [True: 156, False: 4.49k]
  ------------------
 1351|    156|                        destination_->key(key_, context, ec);
 1352|    156|                        break;
 1353|  4.64k|                }
 1354|  4.64k|            }
 1355|  11.5k|            else
 1356|  11.5k|            {
 1357|  11.5k|                switch (level_stack_.back().target())
 1358|  11.5k|                {
 1359|  11.1k|                    case target_t::buffer:
  ------------------
  |  Branch (1359:21): [True: 11.1k, False: 400]
  ------------------
 1360|  11.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1360:29): [True: 7.16k, False: 3.98k]
  |  Branch (1360:65): [True: 7.15k, False: 16]
  ------------------
 1361|  7.15k|                        {
 1362|  7.15k|                            key_buffer_.push_back(',');
 1363|  7.15k|                        }
 1364|  11.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1365|  11.1k|                        break;
 1366|    400|                    default:
  ------------------
  |  Branch (1366:21): [True: 400, False: 11.1k]
  ------------------
 1367|    400|                        destination_->half_value(value, tag, context, ec);
 1368|    400|                        break;
 1369|  11.5k|                }
 1370|  11.5k|            }
 1371|       |
 1372|  16.1k|            level_stack_.back().advance();
 1373|  16.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1374|  16.1k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  342|  8.25M|        {
  343|  8.25M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|  8.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  8.25M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_mRKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  353|  3.59k|        {
  354|  3.59k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|  3.59k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.59k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|  3.59k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  1.93M|        {
  323|  1.93M|            visit_bool(value, tag, context, ec);
  324|  1.93M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  1.93M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|  1.25M|        {
  314|  1.25M|            visit_null(tag, context, ec);
  315|  1.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|  1.25M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|  3.20M|        {
  332|  3.20M|            visit_string(value, tag, context, ec);
  333|  3.20M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|  3.20M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  287|   379k|        {
  288|   379k|            visit_begin_array(tag, context, ec);
  289|   379k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   379k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|   379k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  266|   497k|        {
  267|   497k|            visit_begin_object(tag, context, ec);
  268|   497k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   497k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|   497k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  12.9M|        {
  276|  12.9M|            visit_begin_object(length, tag, context, ec);
  277|  12.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  12.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  12.9M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  13.4M|        {
  282|  13.4M|            visit_end_object(context, ec);
  283|  13.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  13.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  13.4M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|     45|        {
   57|     45|            visit_flush();
   58|     45|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  39.9k|        {
  108|  39.9k|            flatten_and_destroy();
  109|  39.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  39.9k|        {
  247|  8.78M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 8.74M, False: 39.9k]
  ------------------
  248|  8.74M|            {
  249|  8.74M|                value_type current = std::move(elements_.back());
  250|  8.74M|                elements_.pop_back();
  251|  8.74M|                switch (current.storage_kind())
  252|  8.74M|                {
  253|  2.98k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 2.98k, False: 8.74M]
  ------------------
  254|  2.98k|                    {
  255|  2.98k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 274k, False: 2.98k]
  ------------------
  256|   274k|                        {
  257|   274k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 863, False: 273k]
  |  Branch (257:85): [True: 263k, False: 10.6k]
  ------------------
  258|   263k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 601, False: 263k]
  ------------------
  259|    601|                            {
  260|    601|                                elements_.push_back(std::move(item));
  261|    601|                            }
  262|   274k|                        }
  263|  2.98k|                        current.clear();                           
  264|  2.98k|                        break;
  265|      0|                    }
  266|  4.05M|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 4.05M, False: 4.68M]
  ------------------
  267|  4.05M|                    {
  268|  4.05M|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 484, False: 4.05M]
  ------------------
  269|    484|                        {
  270|    484|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 13, False: 471]
  |  Branch (270:91): [True: 46, False: 425]
  ------------------
  271|     59|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 23, False: 36]
  ------------------
  272|     23|                            {
  273|     23|                                elements_.push_back(std::move(kv.value()));
  274|     23|                            }
  275|    484|                        }
  276|  4.05M|                        current.clear();                           
  277|  4.05M|                        break;
  278|      0|                    }
  279|  4.68M|                    default:
  ------------------
  |  Branch (279:21): [True: 4.68M, False: 4.05M]
  ------------------
  280|  4.68M|                        break;
  281|  8.74M|                }
  282|  8.74M|            }
  283|  39.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  2.98k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  2.98k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|  1.01k|        {
  128|  1.01k|            return elements_.empty();
  129|  1.01k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  2.98k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  2.72k|            : allocator_holder<allocator_type>(alloc), 
   52|  2.72k|              elements_(value_allocator_type(alloc))
   53|  2.72k|        {
   54|  2.72k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|    107|        {
  216|    107|            elements_.emplace_back(std::forward<Args>(args)...);
  217|    107|            return elements_.back();
  218|    107|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  13.3k|        void reserve(std::size_t n) {elements_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  176|  9.01M|        {
  177|  9.01M|            elements_.emplace_back(std::forward<T>(value));
  178|  9.01M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  37.1k|        {
   48|  37.1k|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    299|        : allocator_(alloc),
   75|    299|          result_(),
   76|    299|          name_(alloc),
   77|    299|          item_stack_(alloc),
   78|    299|          structure_stack_(temp_alloc)
   79|    299|    {
   80|    299|        item_stack_.reserve(1000);
   81|    299|        structure_stack_.reserve(100);
   82|    299|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|    299|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  10.0M|            : type_(type), container_index_(offset)
   52|  10.0M|        {
   53|  10.0M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  36.0k|    {
  180|  36.0k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  36.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 36.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  181|  36.0k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  36.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 36.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  182|  36.0k|        const size_t container_index = structure_stack_.back().container_index_;
  183|  36.0k|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  36.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 36.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  184|       |
  185|  36.0k|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  36.0k|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  36.0k|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 13.3k, False: 22.7k]
  ------------------
  191|  13.3k|        {
  192|  13.3k|            container.reserve(size);
  193|  13.3k|            auto first = item_stack_.begin() + (container_index+1);
  194|  13.3k|            auto last = first + size;
  195|  9.03M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 9.01M, False: 13.3k]
  ------------------
  196|  9.01M|            {
  197|  9.01M|                container.push_back(std::move((*it).value));
  198|  9.01M|            }
  199|  13.3k|            item_stack_.erase(first, item_stack_.end());
  200|  13.3k|        }
  201|       |
  202|  36.0k|        structure_stack_.pop_back();
  203|  36.0k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 19, False: 36.0k]
  ------------------
  204|     19|        {
  205|     19|            result_.swap(item_stack_.front().value);
  206|     19|            item_stack_.pop_back();
  207|     19|            is_valid_ = true;
  208|     19|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     19|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|     19|        }
  210|  36.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  36.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  8.03M|    {
  297|  8.03M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 8.03M, False: 0]
  ------------------
  298|  8.03M|        {
  299|  3.04M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 3.04M, False: 4.99M]
  ------------------
  300|  8.03M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 4.99M, False: 3.04M]
  ------------------
  301|  8.03M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  8.03M|                break;
  303|      2|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 2, False: 8.03M]
  ------------------
  304|      2|                result_ = Json(value,tag);
  305|      2|                is_valid_ = true;
  306|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  8.03M|        }
  308|  8.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  8.03M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  6.07M|    {
  278|  6.07M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 6.07M, False: 0]
  ------------------
  279|  6.07M|        {
  280|   231k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 231k, False: 5.84M]
  ------------------
  281|  6.07M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 5.84M, False: 231k]
  ------------------
  282|  6.07M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  6.07M|                break;
  284|      0|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 0, False: 6.07M]
  ------------------
  285|      0|                result_ = Json(value,tag);
  286|      0|                is_valid_ = true;
  287|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|  6.07M|        }
  289|  6.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  6.07M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  2.00M|    {
  335|  2.00M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 2.00M, False: 0]
  ------------------
  336|  2.00M|        {
  337|    102|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 102, False: 2.00M]
  ------------------
  338|  2.00M|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 2.00M, False: 102]
  ------------------
  339|  2.00M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  2.00M|                break;
  341|      0|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 0, False: 2.00M]
  ------------------
  342|      0|                result_ = Json(value, tag);
  343|      0|                is_valid_ = true;
  344|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  2.00M|        }
  346|  2.00M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.00M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  2.00M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     45|    {
  123|     45|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  9.99M|    {
  127|  9.99M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 173, False: 9.99M]
  ------------------
  128|    173|        {
  129|    173|            index_ = 0;
  130|    173|            item_stack_.clear();
  131|    173|            is_valid_ = false;
  132|    173|        }
  133|  9.99M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  9.99M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  9.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  9.99M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  9.99M|    {
  140|  9.99M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  9.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 9.99M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  141|  9.99M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  9.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 9.99M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  142|  9.99M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  9.99M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  9.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 9.99M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  9.99M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  9.99M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  9.99M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 2.96k, False: 9.99M]
  ------------------
  148|  2.96k|        {
  149|  2.96k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  2.96k|                &item_stack_[structure_index+1], count);
  151|  2.96k|        }
  152|       |
  153|  9.99M|        item_stack_.erase(first, item_stack_.end());
  154|  9.99M|        structure_stack_.pop_back();
  155|  9.99M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 19, False: 9.99M]
  ------------------
  156|     19|        {
  157|     19|            result_.swap(item_stack_.front().value);
  158|     19|            item_stack_.pop_back();
  159|     19|            is_valid_ = true;
  160|     19|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     19|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|     19|        }
  162|  9.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  9.99M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  37.1k|    {
  167|  37.1k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 97, False: 37.1k]
  ------------------
  168|     97|        {
  169|     97|            index_ = 0;
  170|     97|            item_stack_.clear();
  171|     97|            is_valid_ = false;
  172|     97|        }
  173|  37.1k|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  37.1k|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  37.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  37.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  37.1k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  5.08M|    {
  215|  5.08M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  5.08M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  5.08M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  1.08M|    {
  367|  1.08M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 1.08M, False: 0]
  ------------------
  368|  1.08M|        {
  369|  45.5k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 45.5k, False: 1.03M]
  ------------------
  370|  1.08M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 1.03M, False: 45.5k]
  ------------------
  371|  1.08M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  1.08M|                break;
  373|      0|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 0, False: 1.08M]
  ------------------
  374|      0|                result_ = Json(null_type(), tag);
  375|      0|                is_valid_ = true;
  376|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  1.08M|        }
  378|  1.08M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  1.08M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  1.25M|    {
  351|  1.25M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 1.25M, False: 0]
  ------------------
  352|  1.25M|        {
  353|  18.2k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 18.2k, False: 1.23M]
  ------------------
  354|  1.25M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 1.23M, False: 18.2k]
  ------------------
  355|  1.25M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  1.25M|                break;
  357|      0|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 0, False: 1.25M]
  ------------------
  358|      0|                result_ = Json(value, tag);
  359|      0|                is_valid_ = true;
  360|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|  1.25M|        }
  362|  1.25M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  1.25M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|  1.24M|    {
  221|  1.24M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 1.24M, False: 0]
  ------------------
  222|  1.24M|        {
  223|   102k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 102k, False: 1.14M]
  ------------------
  224|  1.24M|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 1.14M, False: 102k]
  ------------------
  225|  1.24M|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|  1.24M|                break;
  227|      0|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 0, False: 1.24M]
  ------------------
  228|      0|                result_ = Json(sv, tag, allocator_);
  229|      0|                is_valid_ = true;
  230|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|  1.24M|        }
  232|  1.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|  1.24M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|  3.44M|    {
  240|  3.44M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 3.44M, False: 0]
  ------------------
  241|  3.44M|        {
  242|   419k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 419k, False: 3.02M]
  ------------------
  243|  3.44M|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 3.02M, False: 419k]
  ------------------
  244|  3.44M|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|  3.44M|                break;
  246|      1|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 1, False: 3.44M]
  ------------------
  247|      1|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|      1|                is_valid_ = true;
  249|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|  3.44M|        }
  251|  3.44M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|  3.44M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|    833|    {
  259|    833|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 833, False: 0]
  ------------------
  260|    833|        {
  261|    177|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 177, False: 656]
  ------------------
  262|    833|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 656, False: 177]
  ------------------
  263|    833|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|    833|                break;
  265|      0|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 0, False: 833]
  ------------------
  266|      0|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  267|      0|                is_valid_ = true;
  268|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|    833|        }
  270|    833|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    833|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|    833|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  315|    400|    {
  316|    400|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (316:17): [True: 400, False: 0]
  ------------------
  317|    400|        {
  318|    155|            case structure_type::object_t:
  ------------------
  |  Branch (318:13): [True: 155, False: 245]
  ------------------
  319|    400|            case structure_type::array_t:
  ------------------
  |  Branch (319:13): [True: 245, False: 155]
  ------------------
  320|    400|                item_stack_.emplace_back(std::move(name_), index_++, half_arg, value, tag);
  321|    400|                break;
  322|      0|            case structure_type::root_t:
  ------------------
  |  Branch (322:13): [True: 0, False: 400]
  ------------------
  323|      0|                result_ = Json(half_arg, value, tag);
  324|      0|                is_valid_ = true;
  325|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|    400|        }
  327|    400|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    400|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  328|    400|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     41|    {
  109|     41|        return is_valid_;
  110|     41|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     41|    {
  114|     41|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|     41|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 41]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     41|        is_valid_ = false;
  116|     41|        return std::move(result_);
  117|     41|    }

_ZN8jsoncons14json_exceptionD2Ev:
   27|    258|        virtual ~json_exception() = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  194|    258|            : ec_(ec), line_(line), column_(column)
  195|    258|        {
  196|    258|            err_ = to_what_arg(ec, "", line, column); 
  197|    258|        }
_ZN8jsoncons9ser_error11to_what_argENSt3__110error_codeEPKcmm:
  233|    258|        {
  234|    258|            std::string what_arg(s);
  235|    258|            if (!what_arg.empty())
  ------------------
  |  Branch (235:17): [True: 0, False: 258]
  ------------------
  236|      0|            {
  237|      0|                what_arg.append(": ");
  238|      0|            }
  239|    258|            what_arg.append(ec.message());
  240|    258|            if (line != 0 && column != 0)
  ------------------
  |  Branch (240:17): [True: 0, False: 258]
  |  Branch (240:30): [True: 0, False: 0]
  ------------------
  241|      0|            {
  242|      0|                what_arg.append(" at line ");
  243|      0|                what_arg.append(std::to_string(line));
  244|      0|                what_arg.append(" and column ");
  245|      0|                what_arg.append(std::to_string(column));
  246|      0|            }
  247|    258|            else if (column != 0)
  ------------------
  |  Branch (247:22): [True: 257, False: 1]
  ------------------
  248|    257|            {
  249|    257|                what_arg.append(" at position ");
  250|    257|                what_arg.append(std::to_string(column));
  251|    257|            }
  252|    258|            return what_arg; 
  253|    258|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    299|{
 1065|    299|    return json_visitor_adaptor<From, To>(to);
 1066|    299|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    299|        : supertype(visitor)
  984|    299|    {
  985|    299|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    299|        : destination1_(std::addressof(visitor))
  722|    299|    {
  723|    299|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  36.1k|    {
  778|  36.1k|        destination1_->begin_array(length, tag, context, ec);
  779|  36.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  36.1k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  36.0k|    {
  784|  36.0k|        destination1_->end_array(context, ec);
  785|  36.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  36.0k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  8.03M|    {
  826|  8.03M|        destination1_->uint64_value(value, tag, context, ec);
  827|  8.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  8.03M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  6.07M|    {
  820|  6.07M|        destination1_->int64_value(value, tag, context, ec);
  821|  6.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  6.07M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  2.00M|    {
  814|  2.00M|        destination1_->double_value(value, tag, context, ec);
  815|  2.00M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.00M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  2.00M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     45|    {
  739|     45|        destination1_->flush();
  740|     45|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|    203|    {
  746|    203|        destination1_->begin_object(tag, context, ec);
  747|    203|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    203|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|    203|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  9.99M|    {
  755|  9.99M|        destination1_->begin_object(length, tag, context, ec);
  756|  9.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  9.99M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  9.99M|    {
  761|  9.99M|        destination1_->end_object(context, ec);
  762|  9.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  9.99M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  1.07k|    {
  769|  1.07k|        destination1_->begin_array(tag, context, ec);
  770|  1.07k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.07k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  1.07k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  5.08M|    {
  996|  5.08M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.08M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  6.32M|    {
  733|  6.32M|        return *destination1_;
  734|  6.32M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.08M|    {
  838|  1.08M|        destination1_->null_value(tag, context, ec);
  839|  1.08M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.08M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  1.25M|    {
  832|  1.25M|        destination1_->bool_value(value, tag, context, ec);
  833|  1.25M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  1.25M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  1.24M|    {
 1004|  1.24M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.24M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  792|  3.44M|    {
  793|  3.44M|        destination1_->byte_string_value(b, tag, context, ec);
  794|  3.44M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  3.44M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|    833|    {
  802|    833|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|    833|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    833|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|    833|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  807|    400|    {
  808|    400|        destination1_->half_value(value, tag, context, ec);
  809|    400|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    400|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  810|    400|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|   263k|        {
  433|   263k|            return members_.empty();
  434|   263k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|  4.05M|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|  4.05M|        {
  443|  4.05M|            return members_.begin();
  444|  4.05M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|  4.05M|        {
  448|  4.05M|            return members_.end();
  449|  4.05M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  6.68k|        {
  121|  6.68k|            return value_;
  122|  6.68k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  9.99M|        {
  428|  9.99M|            flatten_and_destroy();
  429|  9.99M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  9.99M|        {
  987|  9.99M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 2.72k, False: 9.99M]
  ------------------
  988|  2.72k|            {
  989|  2.72k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  2.72k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 4.77k, False: 2.72k]
  ------------------
  992|  4.77k|                {
  993|  4.77k|                    switch (kv.value().storage_kind())
  994|  4.77k|                    {
  995|    135|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 135, False: 4.63k]
  ------------------
  996|    770|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 635, False: 4.13k]
  ------------------
  997|    770|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 107, False: 663]
  ------------------
  998|    107|                            {
  999|    107|                                temp.emplace_back(std::move(kv.value()));
 1000|    107|                            }
 1001|    770|                            break;
 1002|  4.00k|                        default:
  ------------------
  |  Branch (1002:25): [True: 4.00k, False: 770]
  ------------------
 1003|  4.00k|                            break;
 1004|  4.77k|                    }
 1005|  4.77k|                }
 1006|  2.72k|            }
 1007|  9.99M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  62.8M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  9.99M|        {
  335|  9.99M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  19.4M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.03M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.03M|        {
   45|  8.03M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  6.07M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  6.07M|        {
   45|  6.07M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.00M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.00M|        {
   45|  2.00M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  9.99M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  9.99M|        {
   45|  9.99M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  2.96k|        {
  540|  2.96k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 2.96k, False: 0]
  ------------------
  541|  2.96k|            {
  542|  2.96k|                members_.reserve(count);
  543|       |
  544|  2.96k|                std::sort(items, items+count, compare);
  545|  2.96k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  3.54M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 3.54M, False: 2.96k]
  ------------------
  548|  3.54M|                {
  549|  3.54M|                    auto& item = items[i];
  550|  3.54M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 2.28k, False: 3.54M]
  ------------------
  551|  2.28k|                    {
  552|  2.28k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|  2.28k|                    }
  554|  3.54M|                }
  555|  2.96k|            }
  556|  2.96k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  88.9M|        {
  531|  88.9M|            int comp = item1.name.compare(item2.name); 
  532|  88.9M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.16M, False: 87.7M]
  ------------------
  533|  87.7M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 86.1M, False: 1.60M]
  ------------------
  534|       |
  535|  1.60M|            return false;
  536|  87.7M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  5.25k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  5.25k|        {
   88|  5.25k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  37.1k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  37.1k|        {
   45|  37.1k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.08M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.08M|        {
   45|  1.08M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.25M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.25M|        {
   45|  1.25M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.24M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.24M|        {
   45|  1.24M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.44M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.44M|        {
   45|  3.44M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|    833|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|    833|        {
   45|    833|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_10half_arg_tERtRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|    400|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|    400|        {
   45|    400|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  227|   141M|    {
  228|   141M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  229|   141M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  230|   141M|        return (uint8_t(storage_kind) & mask) != mask;
  231|   141M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|    897|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  1.19k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  36.1k|        {
  561|  36.1k|            visit_begin_array(tag, context, ec);
  562|  36.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  36.1k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  9.99M|        {
  545|  9.99M|            visit_begin_object(tag, context, ec);
  546|  9.99M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  9.99M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  72.2k|        {
  346|  72.2k|            visit_begin_array(length, tag, context, ec);
  347|  72.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  72.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  72.2k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  16.0M|        {
  415|  16.0M|            visit_uint64(value, tag, context, ec);
  416|  16.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  16.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  16.0M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  72.1k|        {
  352|  72.1k|            visit_end_array(context, ec);
  353|  72.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  72.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  72.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  12.1M|        {
  424|  12.1M|            visit_int64(value, tag, context, ec);
  425|  12.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  12.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  12.1M|        }
_ZN8jsoncons18basic_json_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  432|    800|        {
  433|    800|            visit_half(value, tag, context, ec);
  434|    800|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    800|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  435|    800|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  4.00M|        {
  442|  4.00M|            visit_double(value, tag, context, ec);
  443|  4.00M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.00M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  4.00M|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     90|        {
  109|     90|            visit_flush();
  110|     90|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|    406|        {
  319|    406|            visit_begin_object(tag, context, ec);
  320|    406|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    406|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|    406|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  19.9M|        {
  328|  19.9M|            visit_begin_object(length, tag, context, ec);
  329|  19.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  19.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  19.9M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  19.9M|        {
  334|  19.9M|            visit_end_object(context, ec);
  335|  19.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  19.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  19.9M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  2.14k|        {
  340|  2.14k|            visit_begin_array(tag, context, ec);
  341|  2.14k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.14k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  2.14k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  10.1M|        {
  358|  10.1M|            visit_key(name, context, ec);
  359|  10.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  10.1M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  2.16M|        {
  366|  2.16M|            visit_null(tag, context, ec);
  367|  2.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  2.16M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  2.50M|        {
  375|  2.50M|            visit_bool(value, tag, context, ec);
  376|  2.50M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.50M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  2.50M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  2.49M|        {
  384|  2.49M|            visit_string(value, tag, context, ec);
  385|  2.49M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.49M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  2.49M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|  6.89M|        {
  395|  6.89M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|  6.89M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|  6.89M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.66k|        {
  406|  1.66k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|  1.66k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.66k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.66k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|    299|        basic_default_json_visitor() = default;
_ZN8jsoncons19typed_array_visitor11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   36|  40.6k|        {
   37|  40.6k|            visit_begin_array(length, tag, context, ec);
   38|  40.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  40.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   39|  40.6k|        }
_ZN8jsoncons19typed_array_visitor9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
   42|  40.6k|        {
   43|  40.6k|            visit_end_array(context, ec);
   44|  40.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  40.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   45|  40.6k|        }
_ZN8jsoncons19typed_array_visitor12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   51|  44.7k|        {
   52|  44.7k|            visit_uint64(value, tag, context, ec);
   53|  44.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  44.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   54|  44.7k|        }
_ZN8jsoncons19typed_array_visitor11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   60|   447k|        {
   61|   447k|            visit_int64(value, tag, context, ec);
   62|   447k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   447k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   63|   447k|        }
_ZN8jsoncons19typed_array_visitor12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   69|  2.36M|        {
   70|  2.36M|            visit_double(value, tag, context, ec);
   71|  2.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   72|  2.36M|        }

_ZN8jsoncons11ser_contextD2Ev:
   21|    299|    virtual ~ser_context() = default;
_ZN8jsoncons10read_errorC2ENSt3__110error_codeEmm:
   63|    258|        : ec_{ec}, line_{line}, column_{column}
   64|    258|    {
   65|    258|    }
_ZNK8jsoncons10read_error4codeEv:
   81|    258|    {
   82|    258|        return ec_;
   83|    258|    }
_ZNK8jsoncons10read_error4lineEv:
   89|    258|    {
   90|    258|        return line_;
   91|    258|    }
_ZNK8jsoncons10read_error6columnEv:
   93|    258|    {
   94|    258|        return column_;
   95|    258|    }

_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2ERS7_:
  256|   381k|            : buf_ptr(std::addressof(buf))
  257|   381k|        {
  258|   381k|        }
_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE9push_backEc:
  287|  4.03M|        {
  288|  4.03M|            buf_ptr->push_back(ch);
  289|  4.03M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|    299|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|    299|              buffer_size_(default_max_buffer_size)
  173|    299|        {
  174|    299|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|    299|            data_ = buffer_;
  176|    299|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|    299|          : std::basic_istream<CharT>(&nb_)
   55|    299|        {
   56|    299|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|    299|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|    299|        {
  189|    299|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 299, False: 0]
  ------------------
  190|    299|            {
  191|    299|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|    299|            }
  193|    299|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|    258|        {
  282|    258|            return position_;
  283|    258|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  68.9M|        {
  344|  68.9M|            std::size_t len = 0;
  345|  68.9M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 68.9M, False: 1.39k]
  ------------------
  346|  68.9M|            {
  347|  68.9M|                len = (std::min)(length_, length);
  348|  68.9M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  68.9M|                data_ += len;
  350|  68.9M|                length_ -= len;
  351|  68.9M|                position_ += len;
  352|  68.9M|            }
  353|  68.9M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 68.9M, False: 2.26k]
  ------------------
  354|  68.9M|            {
  355|  68.9M|                return len;
  356|  68.9M|            }
  357|  2.26k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 2.11k, False: 150]
  ------------------
  358|  2.11k|            {
  359|  2.11k|                fill_buffer();
  360|  2.11k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 2.03k, False: 77]
  ------------------
  361|  2.03k|                {
  362|  2.03k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  2.03k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  2.03k|                    data_ += len2;
  365|  2.03k|                    length_ -= len2;
  366|  2.03k|                    position_ += len2;
  367|  2.03k|                    len += len2;
  368|  2.03k|                }
  369|  2.11k|                return len;
  370|  2.11k|            }
  371|    150|            else
  372|    150|            {
  373|    150|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 150]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|    150|                JSONCONS_TRY
  ------------------
  |  |   37|    150|    #define JSONCONS_TRY try
  ------------------
  379|    150|                {
  380|    150|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|    150|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|    150|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 6, False: 144]
  ------------------
  383|      6|                    {
  384|      6|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|      6|                    }
  386|    150|                    len += len2;
  387|    150|                    position_ += len2;
  388|    150|                    return len;
  389|    150|                }
  390|    150|                JSONCONS_CATCH(const std::exception&)     
  391|    150|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|    150|            }
  396|  68.9M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  6.83k|        {
  400|  6.83k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 166, False: 6.66k]
  ------------------
  401|    166|            {
  402|    166|                length_ = 0;
  403|    166|                return;
  404|    166|            }
  405|       |
  406|  6.66k|            data_ = buffer_;
  407|  6.66k|            JSONCONS_TRY
  ------------------
  |  |   37|  6.66k|    #define JSONCONS_TRY try
  ------------------
  408|  6.66k|            {
  409|  6.66k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  6.66k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  6.66k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 241, False: 6.42k]
  ------------------
  413|    241|                {
  414|    241|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|    241|                }
  416|  6.66k|            }
  417|  6.66k|            JSONCONS_CATCH(const std::exception&)     
  418|  6.66k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  6.66k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISB_EE5valuesr10ext_traits14has_data_exactIPhSB_EE5valueEmE4typeERS5_RSB_m:
  859|  8.52M|        {
  860|  8.52M|            std::size_t unread = length;
  861|       |
  862|  8.52M|            std::size_t n = (std::min)(max_buffer_length, unread);
  863|  10.6M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (863:20): [True: 2.10M, False: 8.52M]
  |  Branch (863:29): [True: 2.10M, False: 31]
  ------------------
  864|  2.10M|            {
  865|  2.10M|                std::size_t offset = v.size();
  866|  2.10M|                v.resize(v.size()+n);
  867|  2.10M|                std::size_t actual = source.read(v.data()+offset, n);
  868|  2.10M|                unread -= actual;
  869|  2.10M|                n = (std::min)(max_buffer_length, unread);
  870|  2.10M|            }
  871|       |
  872|  8.52M|            return length - unread;
  873|  8.52M|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.11M|        {
  272|  2.11M|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 465, False: 2.11M]
  |  Branch (272:36): [True: 69, False: 396]
  ------------------
  273|  2.11M|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISE_EE5valuentsr10ext_traits14has_data_exactIPhSE_EE5valueEmE4typeERS5_RSE_m:
  882|  2.32M|        {
  883|  2.32M|            std::size_t unread = length;
  884|       |
  885|  2.32M|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|  2.32M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 7.20k, False: 2.32M]
  |  Branch (886:29): [True: 7.16k, False: 38]
  ------------------
  887|  7.16k|            {
  888|  7.16k|                v.reserve(v.size()+n);
  889|  7.16k|                std::size_t actual = 0;
  890|  18.0M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 18.0M, False: 7.12k]
  ------------------
  891|  18.0M|                {
  892|  18.0M|                    typename Source::value_type c{};
  893|  18.0M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 37, False: 18.0M]
  ------------------
  894|     37|                    {
  895|     37|                        break;
  896|     37|                    }
  897|  18.0M|                    v.push_back(c);
  898|  18.0M|                    ++actual;
  899|  18.0M|                }
  900|  7.16k|                unread -= actual;
  901|  7.16k|                n = (std::min)(max_buffer_length, unread);
  902|  7.16k|            }
  903|       |
  904|  2.32M|            return length - unread;
  905|  2.32M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  311|   188M|        {
  312|   188M|            if (length_ == 0)
  ------------------
  |  Branch (312:17): [True: 4.72k, False: 188M]
  ------------------
  313|  4.72k|            {
  314|  4.72k|                fill_buffer();
  315|  4.72k|            }
  316|   188M|            if (length_ > 0)
  ------------------
  |  Branch (316:17): [True: 188M, False: 116]
  ------------------
  317|   188M|            {
  318|   188M|                value_type c = *data_;
  319|   188M|                return char_result<value_type>{c, false};
  320|   188M|            }
  321|    116|            else
  322|    116|            {
  323|    116|                return char_result<value_type>{0, true};
  324|    116|            }
  325|   188M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  23.1M|        {
  287|  23.1M|            std::size_t len = 0;
  288|  23.1M|            if (length_ > 0)
  ------------------
  |  Branch (288:17): [True: 23.1M, False: 0]
  ------------------
  289|  23.1M|            {
  290|  23.1M|                len = (std::min)(length_, length);
  291|  23.1M|                position_ += len;
  292|  23.1M|                data_ += len;
  293|  23.1M|                length_ -= len;
  294|  23.1M|            }
  295|  23.1M|            while (len < length)
  ------------------
  |  Branch (295:20): [True: 0, False: 23.1M]
  ------------------
  296|      0|            {
  297|      0|                fill_buffer();
  298|      0|                if (length_ == 0)
  ------------------
  |  Branch (298:21): [True: 0, False: 0]
  ------------------
  299|      0|                {
  300|      0|                    break;
  301|      0|                }
  302|      0|                std::size_t len2 = (std::min)(length_, length-len);
  303|      0|                position_ += len2;
  304|      0|                data_ += len2;
  305|      0|                length_ -= len2;
  306|      0|                len += len2;
  307|      0|            }
  308|  23.1M|        }

_ZN8jsoncons16typed_array_castIKhEENS_6detail4spanIT_Lm18446744073709551615EEENS3_IhLm18446744073709551615EEE:
  140|    313|{
  141|    313|    return jsoncons::span<const uint8_t>{reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()};
  142|    313|}
_ZN8jsoncons20typed_array_iteratorD2Ev:
  247|  40.6k|    virtual ~typed_array_iterator() = default;
_ZN8jsoncons20typed_array_iterator11write_valueIhEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  266|  8.04k|    {
  267|  8.04k|        visitor.uint64_value(val, tag, context, ec);
  268|  8.04k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEEC2ENS_6detail4spanIS1_Lm18446744073709551615EEENS_12semantic_tagES2_:
  291|    313|        : data_(data), tag_(tag), func_(func)
  292|    313|    {
  293|    313|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEE4doneEv:
  295|  8.66k|    {
  296|  8.66k|        return done_;
  297|  8.66k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  8.66k|    {
  302|  8.66k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  8.66k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 313, False: 8.35k]
  |  |  ------------------
  ------------------
  303|    313|        {
  304|    313|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|    313|            first_ = false;
  306|    313|        }
  307|  8.35k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  8.35k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 8.04k, False: 313]
  |  |  ------------------
  ------------------
  308|  8.04k|        {
  309|  8.04k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  8.04k|            ++index_;
  311|  8.04k|        }
  312|    313|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 313, False: 0]
  ------------------
  313|    313|        {
  314|    313|            visitor.end_array(context, ec);
  315|    313|            done_ = true;
  316|    313|        }
  317|  8.66k|    }
_ZN8jsoncons16typed_array_castItEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   86|  21.1k|{
   87|  21.1k|    return jsoncons::span<uint16_t>{reinterpret_cast<uint16_t*>(bytes.data()), bytes.size()/sizeof(uint16_t)};
   88|  21.1k|}
_ZN8jsoncons20typed_array_iterator11write_valueItEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  266|  32.9k|    {
  267|  32.9k|        visitor.uint64_value(val, tag, context, ec);
  268|  32.9k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_8identityEEC2ENS_6detail4spanItLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  14.2k|        : data_(data), tag_(tag), func_(func)
  292|  14.2k|    {
  293|  14.2k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorItNS_8identityEE4doneEv:
  295|  61.3k|    {
  296|  61.3k|        return done_;
  297|  61.3k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  61.3k|    {
  302|  61.3k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  61.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 14.2k, False: 47.1k]
  |  |  ------------------
  ------------------
  303|  14.2k|        {
  304|  14.2k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  14.2k|            first_ = false;
  306|  14.2k|        }
  307|  47.1k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  47.1k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 32.9k, False: 14.2k]
  |  |  ------------------
  ------------------
  308|  32.9k|        {
  309|  32.9k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  32.9k|            ++index_;
  311|  32.9k|        }
  312|  14.2k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 14.2k, False: 0]
  ------------------
  313|  14.2k|        {
  314|  14.2k|            visitor.end_array(context, ec);
  315|  14.2k|            done_ = true;
  316|  14.2k|        }
  317|  61.3k|    }
_ZN8jsoncons16typed_array_castIjEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   92|    205|{
   93|    205|    return jsoncons::span<uint32_t>{reinterpret_cast<uint32_t*>(bytes.data()), bytes.size()/sizeof(uint32_t)};
   94|    205|}
_ZN8jsoncons20typed_array_iterator11write_valueIjEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  266|    174|    {
  267|    174|        visitor.uint64_value(val, tag, context, ec);
  268|    174|    }
_ZN8jsoncons31sequential_typed_array_iteratorIjNS_8identityEEC2ENS_6detail4spanIjLm18446744073709551615EEENS_12semantic_tagES1_:
  291|    205|        : data_(data), tag_(tag), func_(func)
  292|    205|    {
  293|    205|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIjNS_8identityEE4doneEv:
  295|    584|    {
  296|    584|        return done_;
  297|    584|    }
_ZN8jsoncons31sequential_typed_array_iteratorIjNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|    584|    {
  302|    584|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|    584|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 205, False: 379]
  |  |  ------------------
  ------------------
  303|    205|        {
  304|    205|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|    205|            first_ = false;
  306|    205|        }
  307|    379|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|    379|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 174, False: 205]
  |  |  ------------------
  ------------------
  308|    174|        {
  309|    174|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|    174|            ++index_;
  311|    174|        }
  312|    205|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 205, False: 0]
  ------------------
  313|    205|        {
  314|    205|            visitor.end_array(context, ec);
  315|    205|            done_ = true;
  316|    205|        }
  317|    584|    }
_ZN8jsoncons16typed_array_castImEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   98|  4.39k|{
   99|  4.39k|    return jsoncons::span<uint64_t>{reinterpret_cast<uint64_t*>(bytes.data()), bytes.size()/sizeof(uint64_t)};
  100|  4.39k|}
_ZN8jsoncons20typed_array_iterator11write_valueImEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  266|  3.58k|    {
  267|  3.58k|        visitor.uint64_value(val, tag, context, ec);
  268|  3.58k|    }
_ZN8jsoncons31sequential_typed_array_iteratorImNS_8identityEEC2ENS_6detail4spanImLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  4.39k|        : data_(data), tag_(tag), func_(func)
  292|  4.39k|    {
  293|  4.39k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorImNS_8identityEE4doneEv:
  295|  12.3k|    {
  296|  12.3k|        return done_;
  297|  12.3k|    }
_ZN8jsoncons31sequential_typed_array_iteratorImNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  12.3k|    {
  302|  12.3k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  12.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.39k, False: 7.98k]
  |  |  ------------------
  ------------------
  303|  4.39k|        {
  304|  4.39k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  4.39k|            first_ = false;
  306|  4.39k|        }
  307|  7.98k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  7.98k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 3.58k, False: 4.39k]
  |  |  ------------------
  ------------------
  308|  3.58k|        {
  309|  3.58k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  3.58k|            ++index_;
  311|  3.58k|        }
  312|  4.39k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 4.39k, False: 0]
  ------------------
  313|  4.39k|        {
  314|  4.39k|            visitor.end_array(context, ec);
  315|  4.39k|            done_ = true;
  316|  4.39k|        }
  317|  12.3k|    }
_ZN8jsoncons16typed_array_castIaEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  104|  1.38k|{
  105|  1.38k|    return jsoncons::span<int8_t>{reinterpret_cast<int8_t*>(bytes.data()), bytes.size()};
  106|  1.38k|}
_ZN8jsoncons20typed_array_iterator11write_valueIaEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  258|    467|    {
  259|    467|        visitor.int64_value(val, tag, context, ec);
  260|    467|    }
_ZN8jsoncons31sequential_typed_array_iteratorIaNS_8identityEEC2ENS_6detail4spanIaLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  1.38k|        : data_(data), tag_(tag), func_(func)
  292|  1.38k|    {
  293|  1.38k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIaNS_8identityEE4doneEv:
  295|  3.23k|    {
  296|  3.23k|        return done_;
  297|  3.23k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIaNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  3.23k|    {
  302|  3.23k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  3.23k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.38k, False: 1.85k]
  |  |  ------------------
  ------------------
  303|  1.38k|        {
  304|  1.38k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  1.38k|            first_ = false;
  306|  1.38k|        }
  307|  1.85k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  1.85k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 467, False: 1.38k]
  |  |  ------------------
  ------------------
  308|    467|        {
  309|    467|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|    467|            ++index_;
  311|    467|        }
  312|  1.38k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 1.38k, False: 0]
  ------------------
  313|  1.38k|        {
  314|  1.38k|            visitor.end_array(context, ec);
  315|  1.38k|            done_ = true;
  316|  1.38k|        }
  317|  3.23k|    }
_ZN8jsoncons16typed_array_castIsEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  110|  1.86k|{
  111|  1.86k|    return jsoncons::span<int16_t>{reinterpret_cast<int16_t*>(bytes.data()), bytes.size()/sizeof(int16_t)};
  112|  1.86k|}
_ZN8jsoncons20typed_array_iterator11write_valueIsEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  258|   176k|    {
  259|   176k|        visitor.int64_value(val, tag, context, ec);
  260|   176k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIsNS_8identityEEC2ENS_6detail4spanIsLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  1.86k|        : data_(data), tag_(tag), func_(func)
  292|  1.86k|    {
  293|  1.86k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIsNS_8identityEE4doneEv:
  295|   180k|    {
  296|   180k|        return done_;
  297|   180k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIsNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|   180k|    {
  302|   180k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   180k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.86k, False: 178k]
  |  |  ------------------
  ------------------
  303|  1.86k|        {
  304|  1.86k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  1.86k|            first_ = false;
  306|  1.86k|        }
  307|   178k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|   178k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 176k, False: 1.86k]
  |  |  ------------------
  ------------------
  308|   176k|        {
  309|   176k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|   176k|            ++index_;
  311|   176k|        }
  312|  1.86k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 1.86k, False: 0]
  ------------------
  313|  1.86k|        {
  314|  1.86k|            visitor.end_array(context, ec);
  315|  1.86k|            done_ = true;
  316|  1.86k|        }
  317|   180k|    }
_ZN8jsoncons16typed_array_castIiEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  116|    439|{
  117|    439|    return jsoncons::span<int32_t>{reinterpret_cast<int32_t*>(bytes.data()), bytes.size()/sizeof(int32_t)};
  118|    439|}
_ZN8jsoncons20typed_array_iterator11write_valueIiEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  258|  73.7k|    {
  259|  73.7k|        visitor.int64_value(val, tag, context, ec);
  260|  73.7k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIiNS_8identityEEC2ENS_6detail4spanIiLm18446744073709551615EEENS_12semantic_tagES1_:
  291|    438|        : data_(data), tag_(tag), func_(func)
  292|    438|    {
  293|    438|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIiNS_8identityEE4doneEv:
  295|  74.6k|    {
  296|  74.6k|        return done_;
  297|  74.6k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIiNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  74.6k|    {
  302|  74.6k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  74.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 438, False: 74.1k]
  |  |  ------------------
  ------------------
  303|    438|        {
  304|    438|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|    438|            first_ = false;
  306|    438|        }
  307|  74.1k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  74.1k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 73.7k, False: 438]
  |  |  ------------------
  ------------------
  308|  73.7k|        {
  309|  73.7k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  73.7k|            ++index_;
  311|  73.7k|        }
  312|    438|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 438, False: 0]
  ------------------
  313|    438|        {
  314|    438|            visitor.end_array(context, ec);
  315|    438|            done_ = true;
  316|    438|        }
  317|  74.6k|    }
_ZN8jsoncons16typed_array_castIlEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  122|  6.12k|{
  123|  6.12k|    return jsoncons::span<int64_t>{reinterpret_cast<int64_t*>(bytes.data()), bytes.size()/sizeof(int64_t)};
  124|  6.12k|}
_ZN8jsoncons20typed_array_iterator11write_valueIlEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  258|   196k|    {
  259|   196k|        visitor.int64_value(val, tag, context, ec);
  260|   196k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIlNS_8identityEEC2ENS_6detail4spanIlLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  6.12k|        : data_(data), tag_(tag), func_(func)
  292|  6.12k|    {
  293|  6.12k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIlNS_8identityEE4doneEv:
  295|   209k|    {
  296|   209k|        return done_;
  297|   209k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIlNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|   209k|    {
  302|   209k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   209k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6.12k, False: 202k]
  |  |  ------------------
  ------------------
  303|  6.12k|        {
  304|  6.12k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  6.12k|            first_ = false;
  306|  6.12k|        }
  307|   202k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|   202k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 196k, False: 6.12k]
  |  |  ------------------
  ------------------
  308|   196k|        {
  309|   196k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|   196k|            ++index_;
  311|   196k|        }
  312|  6.12k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 6.12k, False: 0]
  ------------------
  313|  6.12k|        {
  314|  6.12k|            visitor.end_array(context, ec);
  315|  6.12k|            done_ = true;
  316|  6.12k|        }
  317|   209k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEEC2ENS_6detail4spanItLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  6.93k|        : data_(data), tag_(tag), func_(func)
  292|  6.93k|    {
  293|  6.93k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEE4doneEv:
  295|  2.27M|    {
  296|  2.27M|        return done_;
  297|  2.27M|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  2.27M|    {
  302|  2.27M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.27M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6.93k, False: 2.27M]
  |  |  ------------------
  ------------------
  303|  6.93k|        {
  304|  6.93k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  6.93k|            first_ = false;
  306|  6.93k|        }
  307|  2.27M|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  2.27M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 2.26M, False: 6.93k]
  |  |  ------------------
  ------------------
  308|  2.26M|        {
  309|  2.26M|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  2.26M|            ++index_;
  311|  2.26M|        }
  312|  6.93k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 6.93k, False: 0]
  ------------------
  313|  6.93k|        {
  314|  6.93k|            visitor.end_array(context, ec);
  315|  6.93k|            done_ = true;
  316|  6.93k|        }
  317|  2.27M|    }
_ZN8jsoncons20typed_array_iterator11write_valueIdEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  274|  2.29M|    {
  275|  2.29M|        visitor.double_value(val, tag, context, ec);
  276|  2.29M|    }
_ZN8jsoncons16typed_array_castIfEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  128|  1.76k|{
  129|  1.76k|    return jsoncons::span<float>{reinterpret_cast<float*>(bytes.data()), bytes.size()/sizeof(float)};
  130|  1.76k|}
_ZN8jsoncons20typed_array_iterator11write_valueIfEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  274|  71.0k|    {
  275|  71.0k|        visitor.double_value(val, tag, context, ec);
  276|  71.0k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIfNS_8identityEEC2ENS_6detail4spanIfLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  1.75k|        : data_(data), tag_(tag), func_(func)
  292|  1.75k|    {
  293|  1.75k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIfNS_8identityEE4doneEv:
  295|  74.6k|    {
  296|  74.6k|        return done_;
  297|  74.6k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIfNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  74.6k|    {
  302|  74.6k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  74.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.75k, False: 72.8k]
  |  |  ------------------
  ------------------
  303|  1.75k|        {
  304|  1.75k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  1.75k|            first_ = false;
  306|  1.75k|        }
  307|  72.8k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  72.8k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 71.0k, False: 1.75k]
  |  |  ------------------
  ------------------
  308|  71.0k|        {
  309|  71.0k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  71.0k|            ++index_;
  311|  71.0k|        }
  312|  1.75k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 1.75k, False: 0]
  ------------------
  313|  1.75k|        {
  314|  1.75k|            visitor.end_array(context, ec);
  315|  1.75k|            done_ = true;
  316|  1.75k|        }
  317|  74.6k|    }
_ZN8jsoncons16typed_array_castIdEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  134|  3.05k|{
  135|  3.05k|    return jsoncons::span<double>{reinterpret_cast<double*>(bytes.data()), bytes.size()/sizeof(double)};
  136|  3.05k|}
_ZN8jsoncons31sequential_typed_array_iteratorIdNS_8identityEEC2ENS_6detail4spanIdLm18446744073709551615EEENS_12semantic_tagES1_:
  291|  3.05k|        : data_(data), tag_(tag), func_(func)
  292|  3.05k|    {
  293|  3.05k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIdNS_8identityEE4doneEv:
  295|  33.8k|    {
  296|  33.8k|        return done_;
  297|  33.8k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIdNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  301|  33.8k|    {
  302|  33.8k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  33.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.05k, False: 30.7k]
  |  |  ------------------
  ------------------
  303|  3.05k|        {
  304|  3.05k|            visitor.begin_array(data_.size(), tag_, context, ec);
  305|  3.05k|            first_ = false;
  306|  3.05k|        }
  307|  30.7k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  30.7k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 27.7k, False: 3.05k]
  |  |  ------------------
  ------------------
  308|  27.7k|        {
  309|  27.7k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  310|  27.7k|            ++index_;
  311|  27.7k|        }
  312|  3.05k|        else if (!done_)
  ------------------
  |  Branch (312:18): [True: 3.05k, False: 0]
  ------------------
  313|  3.05k|        {
  314|  3.05k|            visitor.end_array(context, ec);
  315|  3.05k|            done_ = true;
  316|  3.05k|        }
  317|  33.8k|    }
_ZN8jsoncons22calculate_mdarray_sizeENS_6detail4spanIKmLm18446744073709551615EEE:
  322|  4.38k|{
  323|  4.38k|    using result_type = jsoncons::expected<std::size_t,std::errc>;
  324|       |
  325|  4.38k|    if (extents.empty())
  ------------------
  |  Branch (325:9): [True: 4.36k, False: 26]
  ------------------
  326|  4.36k|    {
  327|  4.36k|        return result_type(0);
  328|  4.36k|    }
  329|     26|    std::size_t n = extents[0];
  330|     92|    for (std::size_t i = 1; i < extents.size(); ++i)
  ------------------
  |  Branch (330:29): [True: 83, False: 9]
  ------------------
  331|     83|    {
  332|     83|        if (extents[i] == 0 || JSONCONS_UNLIKELY(n > (std::numeric_limits<std::size_t>::max)()/extents[i]))
  ------------------
  |  |   78|     66|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 66]
  |  |  ------------------
  ------------------
  |  Branch (332:13): [True: 17, False: 66]
  ------------------
  333|     17|        {
  334|     17|            return result_type(jsoncons::unexpect, std::errc::value_too_large);
  335|     17|        }
  336|     66|        n *= extents[i];
  337|     66|    }
  338|      9|    return n;
  339|     26|}

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE13from_bytes_beEiPKhm:
  796|  50.3k|    {
  797|  50.3k|        static const double radix_log2 = std::log2(next_power_of_two(256));
  798|       |        // Estimate how big the result will be, so we can pre-allocate it.
  799|  50.3k|        double bits = radix_log2 * n;
  800|  50.3k|        double big_digits = std::ceil(bits / 64.0);
  801|       |        //std::cout << "ESTIMATED: " << big_digits << "\n";
  802|       |
  803|  50.3k|        basic_bigint<Allocator> v = 0;
  804|  50.3k|        v.reserve(static_cast<size_type>(big_digits));
  805|       |
  806|  50.3k|        if (n > 0)
  ------------------
  |  Branch (806:13): [True: 26.1k, False: 24.1k]
  ------------------
  807|  26.1k|        {
  808|   908k|            for (size_type i = 0; i < n; i++)
  ------------------
  |  Branch (808:35): [True: 882k, False: 26.1k]
  ------------------
  809|   882k|            {
  810|   882k|                v = (v * 256) + (word_type)(str[i]);
  811|   882k|            }
  812|  26.1k|        }
  813|       |        //std::cout << "ACTUAL: " << v.size() << "\n";
  814|       |
  815|  50.3k|        if (signum < 0)
  ------------------
  |  Branch (815:13): [True: 0, False: 50.3k]
  ------------------
  816|      0|        {
  817|      0|            v.set_negative(true);
  818|      0|        }
  819|       |
  820|  50.3k|        return v;
  821|  50.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE17next_power_of_twoEm:
 1853|      1|    static word_type next_power_of_two(word_type n) {
 1854|      1|        n = n - 1;
 1855|      1|        n |= n >> 1u;
 1856|      1|        n |= n >> 2u;
 1857|      1|        n |= n >> 4u;
 1858|      1|        n |= n >> 8u;
 1859|      1|        n |= n >> 16u;
 1860|      1|        n |= n >> 32u;
 1861|      1|        return n + 1;
 1862|      1|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE7reserveEm:
  829|  50.3k|    {
  830|  50.3k|        storage_.reserve(n);
  831|  50.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  441|  3.06M|    {
  442|  3.06M|       if (capacity() < n)
  ------------------
  |  Branch (442:12): [True: 13.2k, False: 3.05M]
  ------------------
  443|  13.2k|       {
  444|  13.2k|           if (!is_allocated())
  ------------------
  |  Branch (444:16): [True: 13.2k, False: 0]
  ------------------
  445|  13.2k|           {
  446|  13.2k|               size_type size = inlined_.size_;
  447|  13.2k|               size_type is_neg = inlined_.is_negative_;
  448|  13.2k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  449|       |
  450|  13.2k|               ::new (&allocated_) allocated_storage();
  451|  13.2k|               allocated_.reserve(n, get_allocator());
  452|  13.2k|               allocated_.size_ = size;
  453|  13.2k|               allocated_.is_negative_ = is_neg;
  454|  13.2k|               if (n >= 1)
  ------------------
  |  Branch (454:20): [True: 13.2k, False: 0]
  ------------------
  455|  13.2k|               {
  456|  13.2k|                   allocated_.data_[0] = values[0];
  457|  13.2k|               }
  458|  13.2k|               if (n >= 2)
  ------------------
  |  Branch (458:20): [True: 13.2k, False: 0]
  ------------------
  459|  13.2k|               {
  460|  13.2k|                   allocated_.data_[1] = values[1];
  461|  13.2k|               }
  462|  13.2k|           }
  463|      0|           else
  464|      0|           {
  465|      0|               allocated_.reserve(n, get_allocator());
  466|      0|           }
  467|  13.2k|       }
  468|  3.06M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  494|  3.06M|    {
  495|  3.06M|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (495:16): [True: 2.66M, False: 406k]
  ------------------
  496|  3.06M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  489|  12.8M|    {
  490|  12.8M|        return common_.is_allocated_;
  491|  12.8M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  201|  13.2k|            : is_allocated_(true),
  202|  13.2k|            is_negative_(false)
  203|  13.2k|        {
  204|  13.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  253|  13.2k|        {
  254|  13.2k|            size_type capacity_new = round_up(n);
  255|       |
  256|  13.2k|            real_allocator_type alloc(a);
  257|  13.2k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  258|  13.2k|            if (size_ > 0)
  ------------------
  |  Branch (258:17): [True: 0, False: 13.2k]
  ------------------
  259|      0|            {
  260|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  261|      0|            }
  262|  13.2k|            if (data_ != nullptr)
  ------------------
  |  Branch (262:17): [True: 0, False: 13.2k]
  ------------------
  263|      0|            {
  264|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  265|      0|            }
  266|  13.2k|            capacity_ = capacity_new;
  267|  13.2k|            data_ = data_new;
  268|  13.2k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  272|  2.67M|        {
  273|       |            //if (i == (std::numeric_limits<size_type>::max)())
  274|       |            //{
  275|       |            //    return i;
  276|       |            //}
  277|  2.67M|            return ((i + 1/3) / mem_unit + 1) * mem_unit;
  278|  2.67M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  471|  8.48M|    {
  472|  8.48M|        return static_cast<const word_allocator_type&>(*this);
  473|  8.48M|    }
_ZN8jsonconsplENS_12basic_bigintINSt3__19allocatorImEEEEl:
 1454|   882k|    {
 1455|   882k|        return x += y;
 1456|   882k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|   882k|        : storage_(n, alloc)
  683|   882k|    {
  684|   882k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|   882k|        : word_allocator_type(alloc)
  350|   882k|    {
  351|   882k|        ::new (&inlined_) inlined_storage(n);
  352|   882k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|   882k|            : is_allocated_(false),
  125|   882k|            is_negative_(n < 0),
  126|   882k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 268k, False: 613k]
  ------------------
  127|   882k|        {
  128|   882k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 0, False: 882k]
  ------------------
  129|   882k|            values_[1] = 0;
  130|   882k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  854|   907k|    {
  855|   907k|        auto y_view = y.get_storage_view();
  856|       |        
  857|   907k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (857:14): [True: 0, False: 907k]
  ------------------
  858|      0|            return *this -= -y;
  859|   907k|        word_type d;
  860|   907k|        word_type carry = 0;
  861|       |
  862|   907k|        auto this_view = get_storage_view();
  863|   907k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  864|   907k|        this_view = get_storage_view();
  865|       |
  866|  1.61M|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (866:31): [True: 1.61M, False: 47]
  ------------------
  867|  1.61M|        {
  868|  1.61M|            if ( i >= y_view.size() && carry == 0 )
  ------------------
  |  Branch (868:18): [True: 907k, False: 712k]
  |  Branch (868:40): [True: 907k, False: 47]
  ------------------
  869|   907k|                break;
  870|   712k|            d = this_view[i] + carry;
  871|   712k|            carry = d < carry;
  872|   712k|            if ( i < y_view.size())
  ------------------
  |  Branch (872:18): [True: 712k, False: 47]
  ------------------
  873|   712k|            {
  874|   712k|                this_view[i] = d + y_view[i];
  875|   712k|                if (this_view[i] < d)
  ------------------
  |  Branch (875:21): [True: 47, False: 711k]
  ------------------
  876|     47|                    carry = 1;
  877|   712k|            }
  878|     47|            else
  879|     47|            {
  880|     47|                this_view[i] = d;
  881|     47|            }
  882|   712k|        }
  883|   907k|        reduce();
  884|   907k|        return *this;
  885|   907k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  712|  1.34M|    {
  713|  1.34M|        return storage_.get_storage_view();
  714|  1.34M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  516|  2.45M|    {
  517|  2.45M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (517:16): [True: 1.13M, False: 1.32M]
  ------------------
  518|  1.13M|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  519|  2.45M|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  520|  2.45M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   63|  2.45M|            : data_(data), size_(size)
   64|  2.45M|        {
   65|  2.45M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  717|  2.86M|    {
  718|  2.86M|        return storage_.is_negative();
  719|  2.86M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  499|  2.86M|    {
  500|  2.86M|        return common_.is_negative_;
  501|  2.86M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  841|  24.9k|    {
  842|  24.9k|        basic_bigint<Allocator> v(*this);
  843|  24.9k|        v.set_negative(!v.is_negative());
  844|  24.9k|        return v;
  845|  24.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  888|  24.9k|    {
  889|  24.9k|        auto y_view = y.get_storage_view();
  890|       |
  891|  24.9k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (891:14): [True: 24.9k, False: 0]
  ------------------
  892|  24.9k|            return *this += -y;
  893|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (893:15): [True: 0, False: 0]
  |  Branch (893:33): [True: 0, False: 0]
  |  Branch (893:48): [True: 0, False: 0]
  |  Branch (893:65): [True: 0, False: 0]
  ------------------
  894|      0|            return *this = -(y - *this);
  895|      0|        word_type borrow = 0;
  896|      0|        word_type d;
  897|      0|        auto this_view = get_storage_view();
  898|      0|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (898:31): [True: 0, False: 0]
  ------------------
  899|      0|        {
  900|      0|            if ( i >= y_view.size() && borrow == 0 )
  ------------------
  |  Branch (900:18): [True: 0, False: 0]
  |  Branch (900:40): [True: 0, False: 0]
  ------------------
  901|      0|                break;
  902|      0|            d = this_view[i] - borrow;
  903|      0|            borrow = d > this_view[i];
  904|      0|            if ( i < y_view.size())
  ------------------
  |  Branch (904:18): [True: 0, False: 0]
  ------------------
  905|      0|            {
  906|      0|                this_view[i] = d - y_view[i];
  907|      0|                if ( this_view[i] > d )
  ------------------
  |  Branch (907:22): [True: 0, False: 0]
  ------------------
  908|      0|                    borrow = 1;
  909|      0|            }
  910|      0|            else 
  911|      0|            {
  912|      0|                this_view[i] = d;
  913|      0|            }
  914|      0|        }
  915|      0|        reduce();
  916|      0|        return *this;
  917|      0|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1574|   154k|    {
 1575|   154k|        auto this_view = get_storage_view();
 1576|   154k|        auto y_view = y.get_storage_view();
 1577|       |
 1578|   154k|        if ( this_view.size() == 0 && y_view.size() == 0 )
  ------------------
  |  Branch (1578:14): [True: 0, False: 154k]
  |  Branch (1578:39): [True: 0, False: 0]
  ------------------
 1579|      0|            return 0;
 1580|   154k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1580:14): [True: 0, False: 154k]
  ------------------
 1581|      0|            return y.is_negative() - is_negative();
 1582|   154k|        int code = 0;
 1583|   154k|        if ( this_view.size() < y_view.size())
  ------------------
  |  Branch (1583:14): [True: 0, False: 154k]
  ------------------
 1584|      0|            code = -1;
 1585|   154k|        else if ( this_view.size() > y_view.size())
  ------------------
  |  Branch (1585:19): [True: 104k, False: 50.4k]
  ------------------
 1586|   104k|            code = +1;
 1587|  50.4k|        else
 1588|  50.4k|        {
 1589|  50.4k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1589:50): [True: 50.4k, False: 0]
  ------------------
 1590|  50.4k|            {
 1591|  50.4k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1591:21): [True: 185, False: 50.2k]
  ------------------
 1592|    185|                {
 1593|    185|                    code = 1;
 1594|    185|                    break;
 1595|    185|                }
 1596|  50.2k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1596:26): [True: 50.2k, False: 0]
  ------------------
 1597|  50.2k|                {
 1598|  50.2k|                    code = -1;
 1599|  50.2k|                    break;
 1600|  50.2k|                }
 1601|  50.4k|            }
 1602|  50.4k|        }
 1603|   154k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1603:16): [True: 0, False: 154k]
  ------------------
 1604|   154k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1409|   154k|    {
 1410|   154k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1410:15): [True: 50.2k, False: 104k]
  ------------------
 1411|   154k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  707|  5.15M|    {
  708|  5.15M|        return storage_.get_storage_view();
  709|  5.15M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  509|  8.47M|    {
  510|  8.47M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (510:16): [True: 6.98M, False: 1.48M]
  ------------------
  511|  6.98M|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  512|  8.47M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  513|  8.47M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   63|  8.47M|            : data_(data), size_(size)
   64|  8.47M|        {
   65|  8.47M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  824|  1.90M|    {
  825|  1.90M|        storage_.resize(new_length);
  826|  1.90M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  523|  3.01M|    {
  524|  3.01M|        size_type old_length = common_.size_;
  525|  3.01M|        reserve(new_length);
  526|  3.01M|        common_.size_ = new_length;
  527|       |
  528|  3.01M|        if (old_length < new_length)
  ------------------
  |  Branch (528:13): [True: 2.10M, False: 913k]
  ------------------
  529|  2.10M|        {
  530|  2.10M|            if (is_allocated())
  ------------------
  |  Branch (530:17): [True: 1.85M, False: 249k]
  ------------------
  531|  1.85M|            {
  532|  1.85M|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  533|  1.85M|            }
  534|   249k|            else
  535|   249k|            {
  536|   249k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|   249k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 249k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  537|   643k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (537:48): [True: 394k, False: 249k]
  ------------------
  538|   394k|                {
  539|   394k|                    inlined_.values_[i] = 0;
  540|   394k|                }
  541|   249k|            }
  542|  2.10M|        }
  543|  3.01M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   83|  7.35M|        {
   84|  7.35M|            return size_;
   85|  7.35M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   83|  7.83M|        {
   84|  7.83M|            return size_;
   85|  7.83M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   68|  5.35G|        {
   69|  5.35G|            return data_[i];
   70|  5.35G|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   68|   913k|        {
   69|   913k|            return data_[i];
   70|   913k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1849|  2.20M|    {
 1850|  2.20M|        storage_.reduce();
 1851|  2.20M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  418|  2.20M|    {
  419|  2.20M|        if (common_.size_ > 0)
  ------------------
  |  Branch (419:13): [True: 2.20M, False: 0]
  ------------------
  420|  2.20M|        {
  421|  2.20M|            auto this_view = get_storage_view();
  422|  2.20M|            word_type* p = this_view.end() - 1;
  423|  2.20M|            word_type* first = this_view.begin();
  424|   197M|            while ( p >= first )
  ------------------
  |  Branch (424:21): [True: 197M, False: 27.7k]
  ------------------
  425|   197M|            {
  426|   197M|                if ( *p )
  ------------------
  |  Branch (426:22): [True: 2.17M, False: 194M]
  ------------------
  427|  2.17M|                {
  428|  2.17M|                    break;
  429|  2.17M|                }
  430|   194M|                --common_.size_;
  431|   194M|                --p;
  432|   194M|            }
  433|  2.20M|        }
  434|  2.20M|        if (common_.size_ == 0)
  ------------------
  |  Branch (434:13): [True: 27.7k, False: 2.17M]
  ------------------
  435|  27.7k|        {
  436|  27.7k|            common_.is_negative_ = false;
  437|  27.7k|        }
  438|  2.20M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   92|  2.20M|        {
   93|  2.20M|            return data_ + size_;
   94|  2.20M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   87|  2.20M|        {
   88|  2.20M|            return data_;
   89|  2.20M|        }
_ZN8jsonconsmlENS_12basic_bigintINSt3__19allocatorImEEEEl:
 1479|   882k|    {
 1480|   882k|        return x *= y;
 1481|   882k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLIlEENS1_9enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueERS4_E4typeES7_:
  922|   882k|    {
  923|   882k|        *this *= word_type(y < 0 ? -y : y);
  ------------------
  |  Branch (923:28): [True: 0, False: 882k]
  ------------------
  924|   882k|        if ( y < 0 )
  ------------------
  |  Branch (924:14): [True: 0, False: 882k]
  ------------------
  925|      0|            set_negative(!is_negative());
  926|   882k|        return *this;
  927|   882k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  932|   882k|    {
  933|   882k|        auto this_view = get_storage_view();
  934|   882k|        size_type len0 = this_view.size();
  935|   882k|        word_type dig = this_view[0];
  936|   882k|        word_type carry = 0;
  937|       |
  938|   882k|        resize(this_view.size() + 1);
  939|   882k|        this_view = get_storage_view();
  940|       |
  941|   882k|        size_type i = 0;
  942|  1.52G|        for (; i < len0; i++ )
  ------------------
  |  Branch (942:16): [True: 1.52G, False: 882k]
  ------------------
  943|  1.52G|        {
  944|  1.52G|            word_type hi;
  945|  1.52G|            word_type lo;
  946|  1.52G|            DDproduct( dig, y, hi, lo );
  947|  1.52G|            this_view[i] = lo + carry;
  948|  1.52G|            dig = this_view[i+1];
  949|  1.52G|            carry = hi + (this_view[i] < lo);
  950|  1.52G|        }
  951|   882k|        this_view[i] = carry;
  952|   882k|        reduce();
  953|   882k|        return *this;
  954|   882k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1713|  1.71G|    {
 1714|  1.71G|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1715|  1.71G|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1716|       |
 1717|  1.71G|        lo = loA * loB;
 1718|  1.71G|        hi = hiA * hiB;
 1719|  1.71G|        word_type mid1 = loA * hiB;
 1720|  1.71G|        word_type mid2 = hiA * loB;
 1721|  1.71G|        word_type old = lo;
 1722|  1.71G|        lo += mid1 << word_type_half_bits;
 1723|  1.71G|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1724|  1.71G|        old = lo;
 1725|  1.71G|        lo += mid2 << word_type_half_bits;
 1726|  1.71G|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1727|  1.71G|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  660|  2.74M|        : storage_(other.storage_)
  661|  2.74M|    {
  662|  2.74M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  295|  2.74M|        : word_allocator_type(other.get_allocator())
  296|  2.74M|    {
  297|  2.74M|        if (!other.is_allocated())
  ------------------
  |  Branch (297:13): [True: 289k, False: 2.45M]
  ------------------
  298|   289k|        {
  299|   289k|            ::new (&inlined_) inlined_storage(other.inlined_);
  300|   289k|        }
  301|  2.45M|        else
  302|  2.45M|        {
  303|  2.45M|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  304|  2.45M|        }
  305|  2.74M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  177|   600k|            : is_allocated_(false),
  178|   600k|            is_negative_(stor.is_negative_),
  179|   600k|            size_(stor.size_)
  180|   600k|        {
  181|   600k|            values_[0] = stor.values_[0];
  182|   600k|            values_[1] = stor.values_[1];
  183|   600k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  207|  2.66M|            : is_allocated_(true),
  208|  2.66M|              is_negative_(stor.is_negative_),
  209|  2.66M|              size_(stor.size_),
  210|  2.66M|              capacity_(round_up(stor.size_))
  211|  2.66M|        {
  212|  2.66M|            real_allocator_type alloc(a);
  213|       |
  214|  2.66M|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  215|  2.66M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.66M|    #define JSONCONS_TRY try
  ------------------
  216|  2.66M|            {
  217|  2.66M|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  218|  2.66M|            }
  219|  2.66M|            JSONCONS_CATCH(...)
  220|  2.66M|            {
  221|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  222|      0|                data_ = nullptr;
  223|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  224|      0|            }
  225|  2.66M|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|  2.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.66M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  226|  2.66M|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  227|  2.66M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  722|   643k|    {
  723|   643k|        storage_.set_negative(value);
  724|   643k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  504|   643k|    {
  505|   643k|        common_.is_negative_ = value;
  506|   643k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1292|  32.3k|    {
 1293|  32.3k|        basic_bigint<Allocator> v(*this);
 1294|  32.3k|        auto v_view = v.get_storage_view();
 1295|       |
 1296|  32.3k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1297|  32.3k|        data.reserve(len);
 1298|       |
 1299|  32.3k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1299:14): [True: 37, False: 32.3k]
  ------------------
 1300|     37|        {
 1301|     37|            data.push_back('0');
 1302|     37|        }
 1303|  32.3k|        else
 1304|  32.3k|        {
 1305|  32.3k|            word_type r;
 1306|  32.3k|            basic_bigint<Allocator> R(get_allocator());
 1307|  32.3k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1308|       |
 1309|  32.3k|            do
 1310|   133k|            {
 1311|   133k|                v.divide( LP10, v, R, true );
 1312|   133k|                v_view = v.get_storage_view();
 1313|       |
 1314|   133k|                auto R_view = R.get_storage_view();
 1315|   133k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1315:22): [True: 133k, False: 0]
  ------------------
 1316|  2.09M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1316:38): [True: 1.99M, False: 101k]
  ------------------
 1317|  1.99M|                {
 1318|  1.99M|                    data.push_back(char(r % 10u + '0'));
 1319|  1.99M|                    r /= 10u;
 1320|  1.99M|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1320:26): [True: 32.3k, False: 1.96M]
  ------------------
 1321|  32.3k|                        break;
 1322|  1.99M|                }
 1323|   133k|            } 
 1324|   133k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1324:21): [True: 101k, False: 32.3k]
  ------------------
 1325|       |
 1326|  32.3k|            if (is_negative())
  ------------------
  |  Branch (1326:17): [True: 24.8k, False: 7.45k]
  ------------------
 1327|  24.8k|            {
 1328|  24.8k|                data.push_back('-');
 1329|  24.8k|            }
 1330|  32.3k|            std::reverse(data.begin(),data.end());
 1331|  32.3k|        }
 1332|  32.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  702|   582k|    {
  703|   582k|        return storage_.get_allocator();
  704|   582k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  633|  32.3k|        : storage_(alloc)
  634|  32.3k|    {
  635|  32.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  289|  50.2k|        : word_allocator_type(alloc)
  290|  50.2k|    {
  291|  50.2k|        ::new (&inlined_) inlined_storage();
  292|  50.2k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  112|  50.2k|            : is_allocated_(false),
  113|  50.2k|            is_negative_(false),
  114|  50.2k|            size_(0),
  115|  50.2k|            values_{0, 0}
  116|  50.2k|        {
  117|  50.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|   100k|        : storage_(n, alloc)
  683|   100k|    {
  684|   100k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|   100k|        : word_allocator_type(alloc)
  350|   100k|    {
  351|   100k|        ::new (&inlined_) inlined_storage(n);
  352|   100k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|   100k|            : is_allocated_(false),
  138|   100k|            is_negative_(false),
  139|   100k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 50.2k, False: 50.5k]
  ------------------
  140|   100k|        {
  141|   100k|            values_[0] = n;
  142|   100k|            values_[1] = 0;
  143|   100k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1607|   154k|    {
 1608|   154k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1609|   154k|        auto denom_view = denom.get_storage_view();
 1610|       |
 1611|   154k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1611:13): [True: 0, False: 154k]
  ------------------
 1612|      0|        {
 1613|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1614|      0|        }
 1615|   154k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1616|   154k|        bool rem_neg = is_negative();
 1617|   154k|        basic_bigint<Allocator> num(*this, get_allocator());
 1618|   154k|        num.set_negative(false);
 1619|   154k|        denom.set_negative(false);
 1620|   154k|        if ( num < denom )
  ------------------
  |  Branch (1620:14): [True: 50.2k, False: 104k]
  ------------------
 1621|  50.2k|        {
 1622|  50.2k|            quot = word_type(0);
 1623|  50.2k|            quot.set_negative(quot_neg);
 1624|  50.2k|            rem = num;
 1625|  50.2k|            rem.set_negative(rem_neg);
 1626|  50.2k|            return;
 1627|  50.2k|        }
 1628|       |
 1629|   104k|        auto num_view = num.get_storage_view();
 1630|   104k|        auto quot_view = quot.get_storage_view();
 1631|   104k|        auto this_view = get_storage_view();
 1632|       |
 1633|   104k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1633:14): [True: 104k, False: 0]
  |  Branch (1633:40): [True: 185, False: 104k]
  ------------------
 1634|    185|        {
 1635|    185|            quot = word_type( num_view[0]/denom_view[0] );
 1636|    185|            rem = word_type( num_view[0]%denom_view[0] );
 1637|    185|            quot.set_negative(quot_neg);
 1638|    185|            rem.set_negative(rem_neg);
 1639|    185|            return;
 1640|    185|        }
 1641|   104k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1641:13): [True: 104k, False: 0]
  |  Branch (1641:39): [True: 0, False: 104k]
  ------------------
 1642|      0|        {
 1643|       |            // Denominator fits into a half word
 1644|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1645|      0|            quot.resize(this_view.size());
 1646|      0|            quot_view = quot.get_storage_view();
 1647|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1647:48): [True: 0, False: 0]
  ------------------
 1648|      0|            {
 1649|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1650|      0|                q1 = dividend/divisor;
 1651|      0|                r = dividend % divisor;
 1652|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1653|      0|                q2 = dividend/divisor;
 1654|      0|                dHi = dividend % divisor;
 1655|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1656|      0|            }
 1657|      0|            quot.reduce();
 1658|      0|            rem = dHi;
 1659|      0|            quot.set_negative(quot_neg);
 1660|      0|            rem.set_negative(rem_neg);
 1661|      0|            return;
 1662|      0|        }
 1663|   104k|        basic_bigint<Allocator> num0(num, get_allocator());
 1664|   104k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1665|   104k|        int x = 0;
 1666|   104k|        bool second_done = normalize(denom, num, x);
 1667|   104k|        denom_view = denom.get_storage_view();
 1668|   104k|        num_view = num.get_storage_view();
 1669|       |
 1670|   104k|        size_type l = denom_view.size() - 1;
 1671|   104k|        size_type n = num_view.size() - 1;
 1672|   104k|        quot.resize(n - l);
 1673|   104k|        quot_view = quot.get_storage_view();
 1674|   193M|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1674:46): [True: 193M, False: 104k]
  ------------------
 1675|   193M|        {
 1676|   193M|            quot_view[i] = 0;
 1677|   193M|        }
 1678|   104k|        rem = num;
 1679|   104k|        auto rem_view = rem.get_storage_view();
 1680|   104k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1680:14): [True: 1.44k, False: 102k]
  ------------------
 1681|  1.44k|        {
 1682|  1.44k|            rem.resize(rem_view.size() + 1);
 1683|  1.44k|            rem_view = rem.get_storage_view();
 1684|  1.44k|            n++;
 1685|  1.44k|            quot.resize(quot_view.size() + 1);
 1686|  1.44k|            quot_view = quot.get_storage_view();
 1687|  1.44k|        }
 1688|   104k|        word_type d = denom_view[l];
 1689|       |
 1690|   193M|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1690:32): [True: 193M, False: 104k]
  ------------------
 1691|   193M|        {
 1692|   193M|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1693|   193M|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1694|   193M|            quot_view[k - l - 1] = q;
 1695|   193M|        }
 1696|   104k|        quot.reduce();
 1697|   104k|        quot.set_negative(quot_neg);
 1698|   104k|        if (remDesired)
  ------------------
  |  Branch (1698:13): [True: 104k, False: 0]
  ------------------
 1699|   104k|        {
 1700|   104k|            unnormalize(rem, x, second_done);
 1701|   104k|            rem.set_negative(rem_neg);
 1702|   104k|        }
 1703|   104k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  665|   518k|        : storage_(other.storage_, alloc)
  666|   518k|    {
  667|   518k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  308|   518k|        : word_allocator_type(alloc)
  309|   518k|    {
  310|   518k|        if (!other.is_allocated())
  ------------------
  |  Branch (310:13): [True: 311k, False: 206k]
  ------------------
  311|   311k|        {
  312|   311k|            ::new (&inlined_) inlined_storage(other.inlined_);
  313|   311k|        }
  314|   206k|        else
  315|   206k|        {
  316|   206k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  317|   206k|        }
  318|   518k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1804|   104k|    {
 1805|   104k|        auto denom_view = denom.get_storage_view();
 1806|   104k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1806:13): [True: 0, False: 104k]
  ------------------
 1807|      0|        {
 1808|      0|            return false;
 1809|      0|        }
 1810|   104k|        size_type r = denom_view.size() - 1;
 1811|   104k|        word_type y = denom_view[r];
 1812|       |
 1813|   104k|        x = 0;
 1814|   114k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1814:17): [True: 10.3k, False: 104k]
  ------------------
 1815|  10.3k|        {
 1816|  10.3k|            y <<= 1;
 1817|  10.3k|            x++;
 1818|  10.3k|        }
 1819|   104k|        denom <<= x;
 1820|   104k|        num <<= x;
 1821|       |
 1822|   104k|        denom_view = denom.get_storage_view();
 1823|   104k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1823:14): [True: 0, False: 104k]
  |  Branch (1823:23): [True: 0, False: 0]
  ------------------
 1824|      0|        {
 1825|      0|            denom *= max_word;
 1826|      0|            num *= max_word;
 1827|      0|            return true;
 1828|      0|        }
 1829|   104k|        return false;
 1830|   104k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1050|   208k|    {
 1051|   208k|        auto this_view = get_storage_view();
 1052|   208k|        size_type q = k / word_type_bits;
 1053|   208k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1053:14): [True: 0, False: 208k]
  ------------------
 1054|      0|        {
 1055|      0|            resize(this_view.size() + q);
 1056|      0|            this_view = get_storage_view();
 1057|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1057:50): [True: 0, False: 0]
  ------------------
 1058|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1058:34): [True: 0, False: 0]
  ------------------
 1059|      0|            k %= word_type_bits;
 1060|      0|        }
 1061|   208k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1061:14): [True: 6.92k, False: 201k]
  ------------------
 1062|  6.92k|        {
 1063|  6.92k|            size_type k1 = word_type_bits - k;
 1064|  6.92k|            word_type mask = (word_type(1) << k) - word_type(1);
 1065|  6.92k|            resize( this_view.size() + 1 );
 1066|  6.92k|            this_view = get_storage_view();
 1067|  25.8k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1067:50): [True: 18.9k, False: 6.92k]
  ------------------
 1068|  18.9k|            {
 1069|  18.9k|                this_view[i] <<= k;
 1070|  18.9k|                if ( i > 0 )
  ------------------
  |  Branch (1070:22): [True: 11.9k, False: 6.92k]
  ------------------
 1071|  11.9k|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1072|  18.9k|            }
 1073|  6.92k|        }
 1074|   208k|        reduce();
 1075|   208k|        return *this;
 1076|   208k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1731|   193M|    {
 1732|   193M|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1733|   193M|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1734|   193M|        qHi = A/(dHi + 1);
 1735|       |        // This initial guess of qHi may be too small.
 1736|   193M|        middle = qHi * dLo;
 1737|   193M|        left = qHi * dHi;
 1738|   193M|        x = B - (middle << word_type_half_bits);
 1739|   193M|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1740|   193M|        B = x;
 1741|   193M|        dLo1 = dLo << word_type_half_bits;
 1742|       |        // Increase qHi if necessary:
 1743|   275M|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1743:17): [True: 82.1M, False: 193M]
  |  Branch (1743:29): [True: 16, False: 193M]
  |  Branch (1743:41): [True: 16, False: 0]
  ------------------
 1744|  82.1M|        {
 1745|  82.1M|            x = B - dLo1;
 1746|  82.1M|            A -= dHi + (x > B);
 1747|  82.1M|            B = x;
 1748|  82.1M|            qHi++;
 1749|  82.1M|        }
 1750|   193M|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1751|       |        // This initial guess of qLo may be too small.
 1752|   193M|        right = qLo * dLo;
 1753|   193M|        middle = qLo * dHi;
 1754|   193M|        x = B - right;
 1755|   193M|        A -= (x > B);
 1756|   193M|        B = x;
 1757|   193M|        x = B - (middle << word_type_half_bits);
 1758|   193M|            A -= (middle >> word_type_half_bits) + (x > B);
 1759|   193M|        B = x;
 1760|       |        // Increase qLo if necessary:
 1761|   275M|        while ( A || B >= d )
  ------------------
  |  Branch (1761:17): [True: 4.06k, False: 275M]
  |  Branch (1761:22): [True: 82.2M, False: 193M]
  ------------------
 1762|  82.2M|        {
 1763|  82.2M|            x = B - d;
 1764|  82.2M|            A -= (x > B);
 1765|  82.2M|            B = x;
 1766|  82.2M|            qLo++;
 1767|  82.2M|        }
 1768|   193M|        return (qHi << word_type_half_bits) + qLo;
 1769|   193M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1773|   193M|    {
 1774|   193M|        word_type hi, lo, d, carry = 0;
 1775|   193M|        size_type i;
 1776|   386M|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1776:22): [True: 193M, False: 193M]
  ------------------
 1777|   193M|        {
 1778|   193M|            DDproduct( b[i], q, hi, lo );
 1779|   193M|            d = a[i];
 1780|   193M|            a[i] -= lo;
 1781|   193M|            if ( a[i] > d )
  ------------------
  |  Branch (1781:18): [True: 52.4M, False: 140M]
  ------------------
 1782|  52.4M|                carry++;
 1783|   193M|            d = a[i + 1];
 1784|   193M|            a[i + 1] -= hi + carry;
 1785|   193M|            carry = a[i + 1] > d;
 1786|   193M|        }
 1787|   193M|        if ( carry ) // q was too large
  ------------------
  |  Branch (1787:14): [True: 0, False: 193M]
  ------------------
 1788|      0|        {
 1789|      0|            q--;
 1790|      0|            carry = 0;
 1791|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1791:26): [True: 0, False: 0]
  ------------------
 1792|      0|            {
 1793|      0|                d = a[i] + carry;
 1794|      0|                carry = d < carry;
 1795|      0|                a[i] = d + b[i];
 1796|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1796:22): [True: 0, False: 0]
  ------------------
 1797|      0|                    carry = 1;
 1798|      0|            }
 1799|      0|            a[n] = 0;
 1800|      0|        }
 1801|   193M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   78|   387M|        {
   79|   387M|            return data_;
   80|   387M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1833|   104k|    {
 1834|   104k|        if (secondDone)
  ------------------
  |  Branch (1834:13): [True: 0, False: 104k]
  ------------------
 1835|      0|        {
 1836|      0|            rem /= max_word;
 1837|      0|        }
 1838|   104k|        if ( x > 0 )
  ------------------
  |  Branch (1838:14): [True: 3.46k, False: 100k]
  ------------------
 1839|  3.46k|        {
 1840|  3.46k|            rem >>= x;
 1841|  3.46k|        }
 1842|   100k|        else
 1843|   100k|        {
 1844|   100k|            rem.reduce();
 1845|   100k|        }
 1846|   104k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2Ev:
  630|  17.8k|    basic_bigint() = default;
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEErSEm:
 1079|  3.46k|    {
 1080|  3.46k|        auto this_view = get_storage_view();
 1081|  3.46k|        size_type q = k / word_type_bits;
 1082|  3.46k|        if ( q >= this_view.size())
  ------------------
  |  Branch (1082:14): [True: 0, False: 3.46k]
  ------------------
 1083|      0|        {
 1084|      0|            resize( 0 );
 1085|      0|            return *this;
 1086|      0|        }
 1087|  3.46k|        if (q > 0)
  ------------------
  |  Branch (1087:13): [True: 0, False: 3.46k]
  ------------------
 1088|      0|        {
 1089|      0|            memmove( this_view.data(), this_view.data()+q, size_type((this_view.size() - q)*sizeof(word_type)) );
 1090|      0|            resize( size_type(this_view.size() - q) );
 1091|      0|            k %= word_type_bits;
 1092|      0|            if ( k == 0 )
  ------------------
  |  Branch (1092:18): [True: 0, False: 0]
  ------------------
 1093|      0|            {
 1094|      0|                reduce();
 1095|      0|                return *this;
 1096|      0|            }
 1097|      0|        }
 1098|       |
 1099|  3.46k|        this_view = get_storage_view();
 1100|  3.46k|        size_type n = size_type(this_view.size() - 1);
 1101|  3.46k|        ssize_type k1 = word_type_bits - k;
 1102|  3.46k|        word_type mask = (word_type(1) << k) - 1;
 1103|  11.9k|        for (size_type i = 0; i <= n; i++)
  ------------------
  |  Branch (1103:31): [True: 8.52k, False: 3.46k]
  ------------------
 1104|  8.52k|        {
 1105|  8.52k|            this_view[i] >>= k;
 1106|  8.52k|            if ( i < n )
  ------------------
  |  Branch (1106:18): [True: 5.06k, False: 3.46k]
  ------------------
 1107|  5.06k|                this_view[i] |= ((this_view[i+1] & mask) << k1);
 1108|  8.52k|        }
 1109|  3.46k|        reduce();
 1110|  3.46k|        return *this;
 1111|  3.46k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  697|  4.37M|    {
  698|  4.37M|        storage_.destroy();
  699|  4.37M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  476|  4.37M|    {
  477|  4.37M|        if (is_allocated())
  ------------------
  |  Branch (477:13): [True: 2.67M, False: 1.69M]
  ------------------
  478|  2.67M|        {
  479|  2.67M|            allocated_.destroy(get_allocator());
  480|  2.67M|            allocated_.~allocated_storage();
  481|  2.67M|        }
  482|  1.69M|        else
  483|  1.69M|        {
  484|  1.69M|            inlined_.~inlined_storage();
  485|  1.69M|        }
  486|  4.37M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  244|  2.67M|        {
  245|  2.67M|            if (data_ != nullptr)
  ------------------
  |  Branch (245:17): [True: 2.67M, False: 0]
  ------------------
  246|  2.67M|            {
  247|  2.67M|                real_allocator_type alloc(a);
  248|  2.67M|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  249|  2.67M|            }
  250|  2.67M|        }
_ZN8jsonconsmiENS_12basic_bigintINSt3__19allocatorImEEEERKS4_:
 1459|  24.9k|    {
 1460|  24.9k|        return x -= y;
 1461|  24.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IiEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|  75.2k|        : storage_(n, alloc)
  683|  75.2k|    {
  684|  75.2k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IiEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|  75.2k|        : word_allocator_type(alloc)
  350|  75.2k|    {
  351|  75.2k|        ::new (&inlined_) inlined_storage(n);
  352|  75.2k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IiEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|  75.2k|            : is_allocated_(false),
  125|  75.2k|            is_negative_(n < 0),
  126|  75.2k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 50.3k, False: 24.9k]
  ------------------
  127|  75.2k|        {
  128|  75.2k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 24.9k, False: 50.3k]
  ------------------
  129|  75.2k|            values_[1] = 0;
  130|  75.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  848|  1.11M|    {
  849|  1.11M|        storage_ = y.storage_;
  850|  1.11M|        return *this;
  851|  1.11M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  355|  1.11M|    {
  356|  1.11M|        if (this != &other)
  ------------------
  |  Branch (356:13): [True: 1.11M, False: 0]
  ------------------
  357|  1.11M|        {
  358|  1.11M|            auto other_view = other.get_storage_view();
  359|  1.11M|            resize(other_view.size());
  360|  1.11M|            auto this_view = get_storage_view();
  361|  1.11M|            if (other_view.size() > 0)
  ------------------
  |  Branch (361:17): [True: 1.06M, False: 51.0k]
  ------------------
  362|  1.06M|            {
  363|  1.06M|                common_.is_negative_ = other.common_.is_negative_;
  364|  1.06M|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  365|  1.06M|            }
  366|  1.11M|        }
  367|  1.11M|        return *this;
  368|  1.11M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   78|  1.06M|        {
   79|  1.06M|            return data_;
   80|  1.06M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16write_string_hexIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1343|  17.9k|    {
 1344|       |
 1345|       |
 1346|  17.9k|        basic_bigint<Allocator> v(*this);
 1347|  17.9k|        auto v_view = v.get_storage_view();
 1348|       |
 1349|  17.9k|        size_type len = (v_view.size() * basic_bigint<Allocator>::word_type_bits / 3) + 2;
 1350|  17.9k|        data.reserve(len);
 1351|       |
 1352|  17.9k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1352:14): [True: 48, False: 17.8k]
  ------------------
 1353|     48|        {
 1354|     48|            data.push_back('0');
 1355|     48|        }
 1356|  17.8k|        else
 1357|  17.8k|        {
 1358|  17.8k|            word_type r;
 1359|  17.8k|            basic_bigint<Allocator> R;
 1360|  17.8k|            basic_bigint<Allocator> LP10 = max_unsigned_power_16; // LP10 = max_unsigned_power_16 = ::pow(16, imax_unsigned_power_16)
 1361|  17.8k|            do
 1362|  21.3k|            {
 1363|  21.3k|                v.divide( LP10, v, R, true );
 1364|  21.3k|                v_view = v.get_storage_view();
 1365|  21.3k|                auto R_view = R.get_storage_view();
 1366|  21.3k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1366:22): [True: 21.3k, False: 0]
  ------------------
 1367|   133k|                for ( size_type j=0; j < imax_unsigned_power_16; j++ )
  ------------------
  |  Branch (1367:38): [True: 129k, False: 3.48k]
  ------------------
 1368|   129k|                {
 1369|   129k|                    uint8_t c = r % 16u;
 1370|   129k|                    data.push_back((c < 10u) ? ('0' + c) : ('A' - 10u + c));
  ------------------
  |  Branch (1370:36): [True: 113k, False: 16.3k]
  ------------------
 1371|   129k|                    r /= 16u;
 1372|   129k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1372:26): [True: 17.8k, False: 111k]
  ------------------
 1373|  17.8k|                        break;
 1374|   129k|                }
 1375|  21.3k|            } 
 1376|  21.3k|            while (v_view.size() > 0);
  ------------------
  |  Branch (1376:20): [True: 3.48k, False: 17.8k]
  ------------------
 1377|       |
 1378|  17.8k|            if (is_negative())
  ------------------
  |  Branch (1378:17): [True: 24, False: 17.8k]
  ------------------
 1379|     24|            {
 1380|     24|                data.push_back('-');
 1381|     24|            }
 1382|  17.8k|            std::reverse(data.begin(),data.end());
 1383|  17.8k|        }
 1384|  17.9k|    }

_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  26.9k|    {
  183|  26.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 26.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  26.9k|        T val;
  188|  26.9k|        std::memcpy(&val,first,sizeof(T));
  189|  26.9k|        return byte_swap(val);
  190|  26.9k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  76.1k|    {
   29|  76.1k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  76.1k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  76.1k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  76.1k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.72k|    {
  183|  1.72k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.72k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.72k|        T val;
  188|  1.72k|        std::memcpy(&val,first,sizeof(T));
  189|  1.72k|        return byte_swap(val);
  190|  1.72k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  37.1k|    {
   40|  37.1k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  37.1k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  37.1k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  37.1k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.58k|    {
  183|  1.58k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.58k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.58k|        T val;
  188|  1.58k|        std::memcpy(&val,first,sizeof(T));
  189|  1.58k|        return byte_swap(val);
  190|  1.58k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  23.5k|    {
   52|  23.5k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  23.5k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  23.5k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  23.5k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   176k|    {
   29|   176k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   176k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   176k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|   176k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  71.6k|    {
   40|  71.6k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  71.6k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  71.6k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  71.6k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   196k|    {
   52|   196k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   196k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|   196k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|   196k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  35.2k|    {
   65|  35.2k|        uint32_t x;
   66|  35.2k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  35.2k|        uint32_t y = byte_swap(x);
   68|  35.2k|        T val2;
   69|  35.2k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  35.2k|        return val2;
   71|  35.2k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  21.3k|    {
   77|  21.3k|        uint64_t x;
   78|  21.3k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  21.3k|        uint64_t y = byte_swap(x);
   80|  21.3k|        T val2;
   81|  21.3k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  21.3k|        return val2;
   83|  21.3k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.52k|    {
  183|  2.52k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.52k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.52k|        T val;
  188|  2.52k|        std::memcpy(&val,first,sizeof(T));
  189|  2.52k|        return byte_swap(val);
  190|  2.52k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.59k|    {
  183|  1.59k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.59k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.59k|        T val;
  188|  1.59k|        std::memcpy(&val,first,sizeof(T));
  189|  1.59k|        return byte_swap(val);
  190|  1.59k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  10.3M|        {
  400|  10.3M|            return data_;
  401|  10.3M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  10.3M|        {
  404|  10.3M|            return size_;
  405|  10.3M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  15.1M|            : data_(data), size_(length)
  363|  15.1M|        {
  364|  15.1M|        }
_ZN8jsoncons15bytes_to_base64IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  188|      6|    {
  189|      6|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  190|      6|                                                   "abcdefghijklmnopqrstuvwxyz"
  191|      6|                                                   "0123456789+/"
  192|      6|                                                   "=";
  193|      6|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  194|      6|    }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  4.81M|    {
   45|  4.81M|        std::size_t count = 0;
   46|  4.81M|        unsigned char a3[3];
   47|  4.81M|        unsigned char a4[4];
   48|  4.81M|        unsigned char fill = alphabet[64];
   49|  4.81M|        int i = 0;
   50|  4.81M|        int j = 0;
   51|       |
   52|  21.4M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 16.5M, False: 4.81M]
  ------------------
   53|  16.5M|        {
   54|  16.5M|            a3[i++] = *first++;
   55|  16.5M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 4.79M, False: 11.7M]
  ------------------
   56|  4.79M|            {
   57|  4.79M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  4.79M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  4.79M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  4.79M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  23.9M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 19.1M, False: 4.79M]
  ------------------
   63|  19.1M|                {
   64|  19.1M|                    result.push_back(alphabet[a4[i]]);
   65|  19.1M|                    ++count;
   66|  19.1M|                }
   67|  4.79M|                i = 0;
   68|  4.79M|            }
   69|  16.5M|        }
   70|       |
   71|  4.81M|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 1.09M, False: 3.71M]
  ------------------
   72|  1.09M|        {
   73|  2.20M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 1.10M, False: 1.09M]
  ------------------
   74|  1.10M|            {
   75|  1.10M|                a3[j] = 0;
   76|  1.10M|            }
   77|       |
   78|  1.09M|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|  1.09M|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|  1.09M|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  4.39M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 3.29M, False: 1.09M]
  ------------------
   83|  3.29M|            {
   84|  3.29M|                result.push_back(alphabet[a4[j]]);
   85|  3.29M|                ++count;
   86|  3.29M|            }
   87|       |
   88|  1.09M|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 6, False: 1.09M]
  ------------------
   89|      6|            {
   90|     18|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 12, False: 6]
  ------------------
   91|     12|                {
   92|     12|                    result.push_back(fill);
   93|     12|                    ++count;
   94|     12|                }
   95|      6|            }
   96|  1.09M|        }
   97|       |
   98|  4.81M|        return count;
   99|  4.81M|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  4.83M|        {
  410|  4.83M|            return data_;
  411|  4.83M|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  4.83M|        {
  414|  4.83M|            return data_ + size_;
  415|  4.83M|        }
_ZN8jsoncons15bytes_to_base16IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  162|    213|    {
  163|    213|        static constexpr char characters[] = "0123456789ABCDEF";
  164|       |
  165|   262k|        for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (165:31): [True: 262k, False: 213]
  ------------------
  166|   262k|        {
  167|   262k|            uint8_t c = *it;
  168|   262k|            result.push_back(characters[c >> 4]);
  169|   262k|            result.push_back(characters[c & 0xf]);
  170|   262k|        }
  171|    213|        return (last-first)*2;
  172|    213|    }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  4.81M|    {
  178|  4.81M|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  4.81M|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  4.81M|                                                      "0123456789-_"
  181|  4.81M|                                                      "\0";
  182|  4.81M|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  4.81M|    }
_ZN8jsoncons16byte_string_viewC2INSt3__16vectorIhNS2_9allocatorIhEEEEEERKT_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS7_EE5valueEiE4typeE:
  369|  19.4k|            : data_(reinterpret_cast<const uint8_t*>(cont.data())), size_(cont.size())
  370|  19.4k|        {
  371|  19.4k|        }

_ZNK8jsoncons8identityclIRKhEEOT_S5_:
   19|  8.04k|    {
   20|  8.04k|        return std::forward<T>(val);
   21|  8.04k|    }
_ZNK8jsoncons8identityclIRtEEOT_S4_:
   19|  32.9k|    {
   20|  32.9k|        return std::forward<T>(val);
   21|  32.9k|    }
_ZNK8jsoncons8identityclIRjEEOT_S4_:
   19|    174|    {
   20|    174|        return std::forward<T>(val);
   21|    174|    }
_ZNK8jsoncons8identityclIRmEEOT_S4_:
   19|  3.58k|    {
   20|  3.58k|        return std::forward<T>(val);
   21|  3.58k|    }
_ZNK8jsoncons8identityclIRaEEOT_S4_:
   19|    467|    {
   20|    467|        return std::forward<T>(val);
   21|    467|    }
_ZNK8jsoncons8identityclIRsEEOT_S4_:
   19|   176k|    {
   20|   176k|        return std::forward<T>(val);
   21|   176k|    }
_ZNK8jsoncons8identityclIRiEEOT_S4_:
   19|  73.7k|    {
   20|  73.7k|        return std::forward<T>(val);
   21|  73.7k|    }
_ZNK8jsoncons8identityclIRlEEOT_S4_:
   19|   196k|    {
   20|   196k|        return std::forward<T>(val);
   21|   196k|    }
_ZNK8jsoncons11decode_halfclEt:
   36|  2.26M|    {
   37|  2.26M|        return binary::decode_half(val);
   38|  2.26M|    }
_ZNK8jsoncons8identityclIRfEEOT_S4_:
   19|  71.0k|    {
   20|  71.0k|        return std::forward<T>(val);
   21|  71.0k|    }
_ZNK8jsoncons8identityclIRdEEOT_S4_:
   19|  27.7k|    {
   20|  27.7k|        return std::forward<T>(val);
   21|  27.7k|    }

_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  169|    916|    {
  170|    916|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 916, False: 0]
  ------------------
  171|    916|        {
  172|    916|            heap_string_type* rawp = ext_traits::to_plain_pointer(ptr);
  173|       |
  174|    916|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|    916|            char* p = q - ptr->offset_;
  177|       |
  178|    916|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|    916|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|    916|            byte_alloc.deallocate(p,mem_size);
  181|    916|        }
  182|    916|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  1.83k|    {
  120|  1.83k|        return sizeof(storage_type) + n;
  121|  1.83k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|    916|    {
   36|    916|        return alloc_;
   37|    916|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIhmS4_EE:
  169|  3.44M|    {
  170|  3.44M|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 3.44M, False: 0]
  ------------------
  171|  3.44M|        {
  172|  3.44M|            heap_string_type* rawp = ext_traits::to_plain_pointer(ptr);
  173|       |
  174|  3.44M|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  3.44M|            char* p = q - ptr->offset_;
  177|       |
  178|  3.44M|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  3.44M|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  3.44M|            byte_alloc.deallocate(p,mem_size);
  181|  3.44M|        }
  182|  3.44M|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  6.89M|    {
  120|  6.89M|        return sizeof(storage_type) + n;
  121|  6.89M|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEE13get_allocatorEv:
   35|  3.44M|    {
   36|  3.44M|        return alloc_;
   37|  3.44M|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|    916|    {
  127|    916|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|    916|        std::size_t align = alignof(storage_type);
  130|    916|        char* q = nullptr;
  131|    916|        char* storage = nullptr;
  132|    916|        byte_allocator_type byte_alloc(alloc);
  133|    916|        uint8_t align_pad = 0;
  134|       |
  135|    916|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 916, False: 0]
  ------------------
  136|    916|            byte_pointer ptr = byte_alloc.allocate(len);
  137|    916|            q = ext_traits::to_plain_pointer(ptr);
  138|       |
  139|    916|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 916, False: 0]
  ------------------
  140|    916|                storage = q;
  141|    916|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|    916|        }
  145|       |
  146|    916|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 916]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = ext_traits::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   45|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|    916|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|    916|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|    916|        CharT* p = new(&psa->c)char_type[length + 1];
  159|    916|        std::memcpy(p, s, length*sizeof(char_type));
  160|    916|        p[length] = 0;
  161|    916|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|    916|        ps->length_ = length;
  163|    916|        ps->offset_ = (uint8_t)(storage - q);
  164|    916|        ps->align_pad_ = align_pad;
  165|    916|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|    916|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|    916|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|    916|    {
   71|    916|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|    916|        : extra_(extra), alloc_(alloc)
   46|    916|    {
   47|    916|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE6createEPKhmmRKS4_:
  126|  3.44M|    {
  127|  3.44M|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  3.44M|        std::size_t align = alignof(storage_type);
  130|  3.44M|        char* q = nullptr;
  131|  3.44M|        char* storage = nullptr;
  132|  3.44M|        byte_allocator_type byte_alloc(alloc);
  133|  3.44M|        uint8_t align_pad = 0;
  134|       |
  135|  3.44M|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 3.44M, False: 0]
  ------------------
  136|  3.44M|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  3.44M|            q = ext_traits::to_plain_pointer(ptr);
  138|       |
  139|  3.44M|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 3.44M, False: 0]
  ------------------
  140|  3.44M|                storage = q;
  141|  3.44M|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  3.44M|        }
  145|       |
  146|  3.44M|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 3.44M]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = ext_traits::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   45|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|  3.44M|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  3.44M|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  3.44M|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  3.44M|        std::memcpy(p, s, length*sizeof(char_type));
  160|  3.44M|        p[length] = 0;
  161|  3.44M|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  3.44M|        ps->length_ = length;
  163|  3.44M|        ps->offset_ = (uint8_t)(storage - q);
  164|  3.44M|        ps->align_pad_ = align_pad;
  165|  3.44M|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  3.44M|    }
_ZN8jsoncons4heap11heap_stringIhmNSt3__19allocatorIcEEEC2EmRKS4_:
   69|  3.44M|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  3.44M|    {
   71|  3.44M|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEEC2ERKmRKS4_:
   45|  3.44M|        : extra_(extra), alloc_(alloc)
   46|  3.44M|    {
   47|  3.44M|    }

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|    916|    {       
  242|    916|        return (ptr);
  243|    916|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  3.44M|    {       
  242|  3.44M|        return (ptr);
  243|  3.44M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  74.3k|    {       
  242|  74.3k|        return (ptr);
  243|  74.3k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  19.9M|    {       
  242|  19.9M|        return (ptr);
  243|  19.9M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  3.44M|    {       
  242|  3.44M|        return (ptr);
  243|  3.44M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  2.66M|    {       
  242|  2.66M|        return (ptr);
  243|  2.66M|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  1.17k|{
  867|  1.17k|    const char* cur = s+length;
  868|  1.17k|    char *end = nullptr;
  869|  1.17k|    val = strtod(s, &end);
  870|  1.17k|    const char* str_end = end;
  871|  1.17k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  1.17k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.17k]
  |  |  ------------------
  ------------------
  872|      0|    {
  873|      0|        if (*end == '.')
  ------------------
  |  Branch (873:13): [True: 0, False: 0]
  ------------------
  874|      0|        {
  875|      0|            std::string buf{s, length};
  876|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  877|      0|            *dot_ptr = ',';
  878|      0|            end = nullptr;
  879|      0|            val = strtod(buf.c_str(), &end);
  880|      0|            str_end = s + (end - &buf[0]);
  881|      0|        }
  882|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  883|      0|        {
  884|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  885|      0|        }
  886|      0|    }
  887|  1.17k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  2.34k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.17k]
  |  |  |  Branch (78:50): [True: 0, False: 1.17k]
  |  |  |  Branch (78:50): [True: 0, False: 1.17k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  1.17k|    return to_number_result<char>{str_end};
  892|  1.17k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  1.17k|        : ptr(ptr_), ec(std::errc{})
  138|  1.17k|    {
  139|  1.17k|    }

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|  2.31M|    {
 1135|  2.31M|        conv_errc  result = conv_errc();
 1136|  2.31M|        const CharT* last = data + length;
 1137|  2.77M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 453k, False: 2.31M]
  ------------------
 1138|   453k|        {
 1139|   453k|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|   453k|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 1, False: 453k]
  ------------------
 1141|      1|            {
 1142|      1|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|      1|            }
 1144|   453k|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 6, False: 453k]
  ------------------
 1145|      6|            {
 1146|      6|                return convert_result<CharT>{data,result} ;
 1147|      6|            }
 1148|   453k|            data += len;
 1149|   453k|        }
 1150|  2.31M|        return convert_result<CharT>{data,result} ;
 1151|  2.31M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|   453k|    {
  304|   453k|        uint8_t a;
  305|   453k|        const CharT* srcptr = first+length;
  306|   453k|        switch (length) {
  307|      0|        default:
  ------------------
  |  Branch (307:9): [True: 0, False: 453k]
  ------------------
  308|      0|            return conv_errc::over_long_utf8_sequence;
  309|      4|        case 4:
  ------------------
  |  Branch (309:9): [True: 4, False: 453k]
  ------------------
  310|      4|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 0, False: 4]
  ------------------
  311|      0|                return conv_errc::expected_continuation_byte;
  312|      4|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|      4|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|     50|        case 3:
  ------------------
  |  Branch (313:9): [True: 46, False: 453k]
  ------------------
  314|     50|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 0, False: 50]
  ------------------
  315|      0|                return conv_errc::expected_continuation_byte;
  316|     50|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|     50|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|    462|        case 2:
  ------------------
  |  Branch (317:9): [True: 412, False: 453k]
  ------------------
  318|    462|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 3, False: 459]
  ------------------
  319|      3|                return conv_errc::expected_continuation_byte;
  320|       |
  321|    459|            switch (static_cast<uint8_t>(*first)) 
  322|    459|            {
  323|       |                // no fall-through in this inner switch
  324|      1|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 1, False: 458]
  |  Branch (324:32): [True: 0, False: 1]
  ------------------
  325|     39|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 39, False: 420]
  |  Branch (325:32): [True: 0, False: 39]
  ------------------
  326|     39|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 0, False: 459]
  |  Branch (326:32): [True: 0, False: 0]
  ------------------
  327|      0|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 0, False: 459]
  |  Branch (327:32): [True: 0, False: 0]
  ------------------
  328|    419|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 419, False: 40]
  |  Branch (328:32): [True: 0, False: 419]
  ------------------
  329|    459|            }
  330|       |
  331|    459|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    459|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|   453k|        case 1:
  ------------------
  |  Branch (332:9): [True: 453k, False: 462]
  ------------------
  333|   453k|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 462, False: 453k]
  |  Branch (333:57): [True: 3, False: 459]
  ------------------
  334|      3|                return conv_errc::source_illegal;
  335|   453k|            break;
  336|   453k|        }
  337|   453k|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 0, False: 453k]
  ------------------
  338|      0|            return conv_errc::source_illegal;
  339|       |
  340|   453k|        return conv_errc();
  341|   453k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  10.4M|{
   43|  10.4M|    using char_type = typename Result::value_type;
   44|       |
   45|  10.4M|    char_type buf[255];
   46|  10.4M|    char_type *p = buf;
   47|  10.4M|    const char_type* last = buf+255;
   48|       |
   49|  10.4M|    bool is_negative = value < 0;
   50|       |
   51|  10.4M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 10.4M]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|  10.4M|    else
   60|  10.4M|    {
   61|       |
   62|  10.4M|        do
   63|  11.0M|        {
   64|  11.0M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  11.0M|        }
   66|  11.0M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 643k, False: 10.4M]
  |  Branch (66:33): [True: 643k, False: 0]
  ------------------
   67|  10.4M|    }
   68|  10.4M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  10.4M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 10.4M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  10.4M|    std::size_t count = (p - buf);
   71|  10.4M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 10.4M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  21.4M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 11.0M, False: 10.4M]
  ------------------
   77|  11.0M|    {
   78|  11.0M|        result.push_back(*p);
   79|  11.0M|    }
   80|       |
   81|  10.4M|    return count;
   82|  10.4M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  3.07M|{
   43|  3.07M|    using char_type = typename Result::value_type;
   44|       |
   45|  3.07M|    char_type buf[255];
   46|  3.07M|    char_type *p = buf;
   47|  3.07M|    const char_type* last = buf+255;
   48|       |
   49|  3.07M|    bool is_negative = value < 0;
   50|       |
   51|  3.07M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 3.01M, False: 56.9k]
  ------------------
   52|  3.01M|    {
   53|  3.01M|        do
   54|  4.40M|        {
   55|  4.40M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.40M|        }
   57|  4.40M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 1.38M, False: 3.01M]
  |  Branch (57:33): [True: 1.38M, False: 0]
  ------------------
   58|  3.01M|    }
   59|  56.9k|    else
   60|  56.9k|    {
   61|       |
   62|  56.9k|        do
   63|   416k|        {
   64|   416k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|   416k|        }
   66|   416k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 359k, False: 56.9k]
  |  Branch (66:33): [True: 359k, False: 0]
  ------------------
   67|  56.9k|    }
   68|  3.07M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  3.07M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.07M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  3.07M|    std::size_t count = (p - buf);
   71|  3.07M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 3.01M, False: 56.9k]
  ------------------
   72|  3.01M|    {
   73|  3.01M|        result.push_back('-');
   74|  3.01M|        ++count;
   75|  3.01M|    }
   76|  7.89M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.82M, False: 3.07M]
  ------------------
   77|  4.82M|    {
   78|  4.82M|        result.push_back(*p);
   79|  4.82M|    }
   80|       |
   81|  3.07M|    return count;
   82|  3.07M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   381k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   381k|    {
  489|   381k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   381k|        struct lconv *lc = localeconv();
  491|   381k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 381k, False: 0]
  |  Branch (491:30): [True: 381k, False: 0]
  ------------------
  492|   381k|        {
  493|   381k|            decimal_point_ = lc->decimal_point[0];
  494|   381k|        }
  495|   381k|#endif
  496|   381k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   381k|    {
  504|   381k|        std::size_t count = 0;
  505|       |
  506|   381k|        char number_buffer[200];
  507|   381k|        int length = 0;
  508|       |
  509|   381k|        switch (float_format_)
  510|   381k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 381k]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 381k]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|   381k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 381k, False: 0]
  ------------------
  552|   381k|            {
  553|   381k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 381k]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|   381k|                else
  563|   381k|                {
  564|   381k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 381k]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|   381k|                }             
  569|   381k|                break;
  570|   381k|            }
  571|   381k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 381k]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|   381k|        }
  575|   381k|        return count;
  576|   381k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  1.17k|{
  244|  1.17k|    const char *sbeg = buffer;
  245|  1.17k|    const char *send = sbeg + length;
  246|       |
  247|  1.17k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 1.17k, False: 0]
  ------------------
  248|  1.17k|    {
  249|  1.17k|        bool needs_dot = true;
  250|  23.5k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 22.4k, False: 1.17k]
  ------------------
  251|  22.4k|        {
  252|  22.4k|            switch (*q)
  253|  22.4k|            {
  254|  1.07k|            case '-':
  ------------------
  |  Branch (254:13): [True: 1.07k, False: 21.3k]
  ------------------
  255|  3.87k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.80k, False: 19.6k]
  ------------------
  256|  5.82k|            case '1':
  ------------------
  |  Branch (256:13): [True: 1.95k, False: 20.4k]
  ------------------
  257|  7.85k|            case '2':
  ------------------
  |  Branch (257:13): [True: 2.02k, False: 20.3k]
  ------------------
  258|  10.0k|            case '3':
  ------------------
  |  Branch (258:13): [True: 2.24k, False: 20.1k]
  ------------------
  259|  11.3k|            case '4':
  ------------------
  |  Branch (259:13): [True: 1.24k, False: 21.1k]
  ------------------
  260|  13.8k|            case '5':
  ------------------
  |  Branch (260:13): [True: 2.45k, False: 19.9k]
  ------------------
  261|  15.8k|            case '6':
  ------------------
  |  Branch (261:13): [True: 2.00k, False: 20.4k]
  ------------------
  262|  17.4k|            case '7':
  ------------------
  |  Branch (262:13): [True: 1.63k, False: 20.7k]
  ------------------
  263|  19.4k|            case '8':
  ------------------
  |  Branch (263:13): [True: 1.96k, False: 20.4k]
  ------------------
  264|  20.4k|            case '9':
  ------------------
  |  Branch (264:13): [True: 1.07k, False: 21.3k]
  ------------------
  265|  20.4k|            case '+':
  ------------------
  |  Branch (265:13): [True: 14, False: 22.3k]
  ------------------
  266|  20.4k|                result.push_back(*q);
  267|  20.4k|                break;
  268|    497|            case 'e':
  ------------------
  |  Branch (268:13): [True: 497, False: 21.9k]
  ------------------
  269|    497|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 22.4k]
  ------------------
  270|    497|                result.push_back('e');
  271|    497|                needs_dot = false;
  272|    497|                break;
  273|  1.42k|            default:
  ------------------
  |  Branch (273:13): [True: 1.42k, False: 20.9k]
  ------------------
  274|  1.42k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 1.02k, False: 408]
  ------------------
  275|  1.02k|                {
  276|  1.02k|                    needs_dot = false;
  277|  1.02k|                    result.push_back('.');
  278|  1.02k|                }
  279|  1.42k|                break;
  280|  22.4k|            }
  281|  22.4k|        }
  282|  1.17k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 152, False: 1.02k]
  ------------------
  283|    152|        {
  284|    152|            result.push_back('.');
  285|    152|            result.push_back('0');
  286|    152|        }
  287|  1.17k|    }
  288|  1.17k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|   261k|{
  172|   261k|    int nb_digits = (int)length;
  173|   261k|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|   261k|    int kk = nb_digits + k;
  179|       |
  180|   261k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 66.0k, False: 195k]
  |  Branch (180:28): [True: 31.3k, False: 34.6k]
  ------------------
  181|  31.3k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|   191k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 160k, False: 31.3k]
  ------------------
  186|   160k|        {
  187|   160k|            result.push_back(buffer[i]);
  188|   160k|        }
  189|  37.3k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 6.02k, False: 31.3k]
  ------------------
  190|  6.02k|        {
  191|  6.02k|            result.push_back('0');
  192|  6.02k|        }
  193|  31.3k|        result.push_back('.');
  194|  31.3k|        result.push_back('0');
  195|  31.3k|    } 
  196|   230k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 139k, False: 91.2k]
  |  Branch (196:24): [True: 104k, False: 34.6k]
  ------------------
  197|   104k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   289k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 185k, False: 104k]
  ------------------
  200|   185k|        {
  201|   185k|            result.push_back(buffer[i]);
  202|   185k|        }
  203|   104k|        result.push_back('.');
  204|   689k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 585k, False: 104k]
  ------------------
  205|   585k|        {
  206|   585k|            result.push_back(buffer[i]);
  207|   585k|        }
  208|   104k|    } 
  209|   125k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 90.3k, False: 35.5k]
  |  Branch (209:30): [True: 55.6k, False: 34.6k]
  ------------------
  210|  55.6k|    {
  211|  55.6k|        offset = 2 - kk;
  212|       |
  213|  55.6k|        result.push_back('0');
  214|  55.6k|        result.push_back('.');
  215|   140k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 85.2k, False: 55.6k]
  ------------------
  216|  85.2k|            result.push_back('0');
  217|   787k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 732k, False: 55.6k]
  ------------------
  218|   732k|        {
  219|   732k|            result.push_back(buffer[i]);
  220|   732k|        }
  221|  55.6k|    } 
  222|  70.2k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 0, False: 70.2k]
  ------------------
  223|      0|    {
  224|      0|        result.push_back(buffer[0]);
  225|      0|        result.push_back('e');
  226|      0|        fill_exponent(kk - 1, result);
  227|      0|    } 
  228|  70.2k|    else
  229|  70.2k|    {
  230|  70.2k|        result.push_back(buffer[0]);
  231|  70.2k|        result.push_back('.');
  232|  1.14M|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 1.07M, False: 70.2k]
  ------------------
  233|  1.07M|        {
  234|  1.07M|            result.push_back(buffer[i]);
  235|  1.07M|        }
  236|  70.2k|        result.push_back('e');
  237|  70.2k|        fill_exponent(kk - 1, result);
  238|  70.2k|    }
  239|   261k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  70.2k|{
  137|  70.2k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 35.5k, False: 34.6k]
  ------------------
  138|  35.5k|    {
  139|  35.5k|        result.push_back('-');
  140|  35.5k|        K = -K;
  141|  35.5k|    }
  142|  34.6k|    else
  143|  34.6k|    {
  144|  34.6k|        result.push_back('+'); // compatibility with sprintf
  145|  34.6k|    }
  146|       |
  147|  70.2k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 18.2k, False: 52.0k]
  ------------------
  148|  18.2k|    {
  149|  18.2k|        result.push_back('0'); // compatibility with sprintf
  150|  18.2k|        result.push_back((char)('0' + K));
  151|  18.2k|    }
  152|  52.0k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 31.4k, False: 20.6k]
  ------------------
  153|  31.4k|    {
  154|  31.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  31.4k|        result.push_back((char)('0' + K));
  156|  31.4k|    }
  157|  20.6k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 20.6k, False: 0]
  ------------------
  158|  20.6k|    {
  159|  20.6k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  20.6k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  20.6k|        result.push_back((char)('0' + K));
  162|  20.6k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  70.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   381k|{
  476|   381k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   381k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   381k|{
  367|   381k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 118k, False: 262k]
  ------------------
  368|   118k|    {
  369|   118k|        result.push_back('0');
  370|   118k|        result.push_back('.');
  371|   118k|        result.push_back('0');
  372|   118k|        return true;
  373|   118k|    }
  374|       |
  375|   262k|    int length = 0;
  376|   262k|    int k;
  377|       |
  378|   262k|    char buffer[100];
  379|       |
  380|   262k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 106k, False: 156k]
  ------------------
  381|   262k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 261k, False: 1.17k]
  ------------------
  382|   261k|    {
  383|   261k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 105k, False: 155k]
  ------------------
  384|   105k|        {
  385|   105k|            result.push_back('-');
  386|   105k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|   261k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|   261k|        return true;
  391|   261k|    }
  392|  1.17k|    else
  393|  1.17k|    {
  394|  1.17k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  1.17k|    }
  396|   262k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  1.17k|{
  330|  1.17k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 1.17k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  1.17k|    char buffer[100];
  339|  1.17k|    int precision = std::numeric_limits<double>::digits10;
  340|  1.17k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  1.17k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 1.17k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  1.17k|    double x{0};
  346|  1.17k|    auto res = decstr_to_double(buffer, length, x);
  347|  1.17k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 1.17k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  1.17k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 1.17k, False: 1]
  ------------------
  352|  1.17k|    {
  353|  1.17k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  1.17k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  1.17k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 1.17k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  1.17k|    }
  360|  1.17k|    dump_buffer(buffer, length, decimal_point, result);
  361|  1.17k|    return true;
  362|  1.17k|}
_ZN8jsoncons15prettify_stringINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvPKcmiiiRT_:
  171|   855k|{
  172|   855k|    int nb_digits = (int)length;
  173|   855k|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|   855k|    int kk = nb_digits + k;
  179|       |
  180|   855k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 23.7k, False: 831k]
  |  Branch (180:28): [True: 23.7k, False: 8]
  ------------------
  181|  23.7k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|  47.4k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 23.7k, False: 23.7k]
  ------------------
  186|  23.7k|        {
  187|  23.7k|            result.push_back(buffer[i]);
  188|  23.7k|        }
  189|  27.5k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 3.79k, False: 23.7k]
  ------------------
  190|  3.79k|        {
  191|  3.79k|            result.push_back('0');
  192|  3.79k|        }
  193|  23.7k|        result.push_back('.');
  194|  23.7k|        result.push_back('0');
  195|  23.7k|    } 
  196|   831k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 831k, False: 597]
  |  Branch (196:24): [True: 831k, False: 8]
  ------------------
  197|   831k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  1.66M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 831k, False: 831k]
  ------------------
  200|   831k|        {
  201|   831k|            result.push_back(buffer[i]);
  202|   831k|        }
  203|   831k|        result.push_back('.');
  204|  1.66M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 831k, False: 831k]
  ------------------
  205|   831k|        {
  206|   831k|            result.push_back(buffer[i]);
  207|   831k|        }
  208|   831k|    } 
  209|    605|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 562, False: 43]
  |  Branch (209:30): [True: 554, False: 8]
  ------------------
  210|    554|    {
  211|    554|        offset = 2 - kk;
  212|       |
  213|    554|        result.push_back('0');
  214|    554|        result.push_back('.');
  215|    701|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 147, False: 554]
  ------------------
  216|    147|            result.push_back('0');
  217|  1.16k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 614, False: 554]
  ------------------
  218|    614|        {
  219|    614|            result.push_back(buffer[i]);
  220|    614|        }
  221|    554|    } 
  222|     51|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 23, False: 28]
  ------------------
  223|     23|    {
  224|     23|        result.push_back(buffer[0]);
  225|     23|        result.push_back('e');
  226|     23|        fill_exponent(kk - 1, result);
  227|     23|    } 
  228|     28|    else
  229|     28|    {
  230|     28|        result.push_back(buffer[0]);
  231|     28|        result.push_back('.');
  232|     56|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 28, False: 28]
  ------------------
  233|     28|        {
  234|     28|            result.push_back(buffer[i]);
  235|     28|        }
  236|     28|        result.push_back('e');
  237|     28|        fill_exponent(kk - 1, result);
  238|     28|    }
  239|   855k|}
_ZN8jsoncons13fill_exponentINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEviRT_:
  136|     51|{
  137|     51|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 43, False: 8]
  ------------------
  138|     43|    {
  139|     43|        result.push_back('-');
  140|     43|        K = -K;
  141|     43|    }
  142|      8|    else
  143|      8|    {
  144|      8|        result.push_back('+'); // compatibility with sprintf
  145|      8|    }
  146|       |
  147|     51|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 11, False: 40]
  ------------------
  148|     11|    {
  149|     11|        result.push_back('0'); // compatibility with sprintf
  150|     11|        result.push_back((char)('0' + K));
  151|     11|    }
  152|     40|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 4, False: 36]
  ------------------
  153|      4|    {
  154|      4|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|      4|        result.push_back((char)('0' + K));
  156|      4|    }
  157|     36|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 0, False: 36]
  ------------------
  158|      0|    {
  159|      0|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|      0|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|      0|        result.push_back((char)('0' + K));
  162|      0|    }
  163|     36|    else
  164|     36|    {
  165|     36|        jsoncons::from_integer(K, result);
  166|     36|    }
  167|     51|}
_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|     36|{
   43|     36|    using char_type = typename Result::value_type;
   44|       |
   45|     36|    char_type buf[255];
   46|     36|    char_type *p = buf;
   47|     36|    const char_type* last = buf+255;
   48|       |
   49|     36|    bool is_negative = value < 0;
   50|       |
   51|     36|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 36]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|     36|    else
   60|     36|    {
   61|       |
   62|     36|        do
   63|    306|        {
   64|    306|            *p++ = static_cast<char_type>(48 + value % 10);
   65|    306|        }
   66|    306|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 270, False: 36]
  |  Branch (66:33): [True: 270, False: 0]
  ------------------
   67|     36|    }
   68|     36|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|     36|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 36]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|     36|    std::size_t count = (p - buf);
   71|     36|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 36]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|    342|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 306, False: 36]
  ------------------
   77|    306|    {
   78|    306|        result.push_back(*p);
   79|    306|    }
   80|       |
   81|     36|    return count;
   82|     36|}
_ZN8jsoncons14integer_to_hexImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   89|  23.3k|{
   90|  23.3k|    using char_type = typename Result::value_type;
   91|       |
   92|  23.3k|    char_type buf[255];
   93|  23.3k|    char_type *p = buf;
   94|  23.3k|    const char_type* last = buf+255;
   95|       |
   96|  23.3k|    bool is_negative = value < 0;
   97|       |
   98|  23.3k|    if (value < 0)
  ------------------
  |  Branch (98:9): [True: 0, False: 23.3k]
  ------------------
   99|      0|    {
  100|      0|        do
  101|      0|        {
  102|      0|            *p++ = to_hex_character(0-(value % 16));
  103|      0|        }
  104|      0|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (104:16): [True: 0, False: 0]
  |  Branch (104:33): [True: 0, False: 0]
  ------------------
  105|      0|    }
  106|  23.3k|    else
  107|  23.3k|    {
  108|       |
  109|  23.3k|        do
  110|  45.3k|        {
  111|  45.3k|            *p++ = to_hex_character(value % 16);
  112|  45.3k|        }
  113|  45.3k|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (113:16): [True: 22.0k, False: 23.3k]
  |  Branch (113:33): [True: 22.0k, False: 0]
  ------------------
  114|  23.3k|    }
  115|  23.3k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  23.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 23.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  116|       |
  117|  23.3k|    std::size_t count = (p - buf);
  118|  23.3k|    if (is_negative)
  ------------------
  |  Branch (118:9): [True: 0, False: 23.3k]
  ------------------
  119|      0|    {
  120|      0|        result.push_back('-');
  121|      0|        ++count;
  122|      0|    }
  123|  68.7k|    while (--p >= buf)
  ------------------
  |  Branch (123:12): [True: 45.3k, False: 23.3k]
  ------------------
  124|  45.3k|    {
  125|  45.3k|        result.push_back(*p);
  126|  45.3k|    }
  127|       |
  128|  23.3k|    return count;
  129|  23.3k|}
_ZN8jsoncons16to_hex_characterEh:
   33|  45.3k|{
   34|  45.3k|    return (char)((c < 10) ? ('0' + c) : ('A' - 10 + c));
  ------------------
  |  Branch (34:19): [True: 45.0k, False: 338]
  ------------------
   35|  45.3k|}

_ZN8jsoncons4cbor6detail24min_length_for_stringrefEm:
   58|  5.28M|{
   59|  5.28M|    std::size_t n;
   60|  5.28M|    if (index <= 23)
  ------------------
  |  Branch (60:9): [True: 2.33M, False: 2.94M]
  ------------------
   61|  2.33M|    {
   62|  2.33M|        n = 3;
   63|  2.33M|    }
   64|  2.94M|    else if (index <= 255)
  ------------------
  |  Branch (64:14): [True: 1.00M, False: 1.93M]
  ------------------
   65|  1.00M|    {
   66|  1.00M|        n = 4;
   67|  1.00M|    }
   68|  1.93M|    else if (index <= 65535)
  ------------------
  |  Branch (68:14): [True: 1.92M, False: 15.3k]
  ------------------
   69|  1.92M|    {
   70|  1.92M|        n = 5;
   71|  1.92M|    }
   72|  15.3k|    else if (index <= 4294967295)
  ------------------
  |  Branch (72:14): [True: 15.3k, False: 0]
  ------------------
   73|  15.3k|    {
   74|  15.3k|        n = 7;
   75|  15.3k|    }
   76|      0|    else 
   77|      0|    {
   78|      0|        n = 11;
   79|      0|    }
   80|  5.28M|    return n;
   81|  5.28M|}

_ZN8jsoncons4cbor15make_error_codeENS0_9cbor_errcE:
   93|    279|{
   94|    279|    return std::error_code(static_cast<int>(e),cbor_error_category());
   95|    279|}
_ZN8jsoncons4cbor19cbor_error_categoryEv:
   86|    279|{
   87|    279|  static cbor_error_category_impl instance;
   88|    279|  return instance;
   89|    279|}
_ZNK8jsoncons4cbor24cbor_error_category_impl7messageEi:
   47|    258|    {
   48|    258|        switch (static_cast<cbor_errc>(ev))
   49|    258|        {
   50|    179|            case cbor_errc::unexpected_eof:
  ------------------
  |  Branch (50:13): [True: 179, False: 79]
  ------------------
   51|    179|                return "Unexpected end of file";
   52|      0|            case cbor_errc::source_error:
  ------------------
  |  Branch (52:13): [True: 0, False: 258]
  ------------------
   53|      0|                return "Source error";
   54|      3|            case cbor_errc::invalid_decimal_fraction:
  ------------------
  |  Branch (54:13): [True: 3, False: 255]
  ------------------
   55|      3|                return "Invalid decimal fraction";
   56|      1|            case cbor_errc::invalid_bigfloat:
  ------------------
  |  Branch (56:13): [True: 1, False: 257]
  ------------------
   57|      1|                return "Invalid bigfloat";
   58|      7|            case cbor_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (58:13): [True: 7, False: 251]
  ------------------
   59|      7|                return "Illegal UTF-8 encoding in text string";
   60|      0|            case cbor_errc::too_many_items:
  ------------------
  |  Branch (60:13): [True: 0, False: 258]
  ------------------
   61|      0|                return "Too many items were added to a CBOR map or array of known length";
   62|      0|            case cbor_errc::too_few_items:
  ------------------
  |  Branch (62:13): [True: 0, False: 258]
  ------------------
   63|      0|                return "Too few items were added to a CBOR map or array of known length";
   64|      0|            case cbor_errc::number_too_large:
  ------------------
  |  Branch (64:13): [True: 0, False: 258]
  ------------------
   65|      0|                return "Number exceeds implementation limits";
   66|      3|            case cbor_errc::stringref_too_large:
  ------------------
  |  Branch (66:13): [True: 3, False: 255]
  ------------------
   67|      3|                return "stringref exceeds stringref map size";
   68|      1|            case cbor_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (68:13): [True: 1, False: 257]
  ------------------
   69|      1|                return "Data item nesting exceeds limit in options";
   70|     31|            case cbor_errc::unknown_type:
  ------------------
  |  Branch (70:13): [True: 31, False: 227]
  ------------------
   71|     31|                return "An unknown type was found in the stream";
   72|     13|            case cbor_errc::illegal_chunked_string:
  ------------------
  |  Branch (72:13): [True: 13, False: 245]
  ------------------
   73|     13|                return "An illegal type was found while parsing an indefinite length string";
   74|      3|            case cbor_errc::bad_mdarray:
  ------------------
  |  Branch (74:13): [True: 3, False: 255]
  ------------------
   75|      3|                return "Product of extents does not match number of elements.";
   76|     17|            case cbor_errc::bad_extents:
  ------------------
  |  Branch (76:13): [True: 17, False: 241]
  ------------------
   77|     17|                return "Extent is zero or product of extents is too large.";
   78|      0|            default:
  ------------------
  |  Branch (78:13): [True: 0, False: 258]
  ------------------
   79|      0|                return "Unknown CBOR parser error";
   80|    258|        }
   81|    258|    }

_ZNK8jsoncons4cbor19cbor_options_common17max_nesting_depthEv:
   33|    299|    {
   34|    299|        return max_nesting_depth_;
   35|    299|    }
_ZN8jsoncons4cbor19cbor_decode_optionsC1Ev:
   42|    299|    cbor_decode_options() = default;
_ZN8jsoncons4cbor19cbor_options_commonC2Ev:
   25|    299|    cbor_options_common() = default;
_ZN8jsoncons4cbor19cbor_options_commonD2Ev:
   27|    299|    virtual ~cbor_options_common() = default;

_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19cbor_decode_optionsERKS7_:
  195|    299|       : alloc_(alloc),
  196|    299|         source_(std::forward<Sourceable>(source)),
  197|    299|         max_nesting_depth_(options.max_nesting_depth()),
  198|    299|         text_buffer_(alloc),
  199|    299|         bytes_buffer_(alloc),
  200|    299|         state_stack_(alloc),
  201|    299|         array_buffer_(alloc),
  202|    299|         stringref_map_stack_(alloc)
  203|    299|    {
  204|    299|        state_stack_.emplace_back(parse_mode::root,0);
  205|    299|    }
_ZN8jsoncons4cbor11parse_stateC2ENS0_10parse_modeEmb:
   47|  14.2M|        : mode(mode), length(length), pop_stringref_map_stack(pop_stringref_map_stack)
   48|  14.2M|    {
   49|  14.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringD2Ev:
  118|  6.22M|        ~mapped_string() = default;
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  291|    258|    {
  292|    258|        return 0;
  293|    258|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  296|    258|    {
  297|    258|        return source_.position();
  298|    258|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEED2Ev:
  212|    299|    ~basic_cbor_parser() = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  220|    299|    {
  221|    299|        more_ = true;
  222|    299|        done_ = false;
  223|    299|        text_buffer_.clear();
  224|    299|        bytes_buffer_.clear();
  225|    299|        raw_tag_ = 0;
  226|    299|        state_stack_.clear();
  227|    299|        state_stack_.emplace_back(parse_mode::root,0);
  228|    299|        array_buffer_.clear();
  229|    299|        stringref_map_stack_.clear();
  230|    299|        nesting_depth_ = 0;
  231|    299|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  324|    299|    {
  325|  72.3M|        while (!done_ && more_)
  ------------------
  |  Branch (325:16): [True: 72.3M, False: 45]
  |  Branch (325:26): [True: 72.3M, False: 192]
  ------------------
  326|  72.3M|        {
  327|  72.3M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (327:21): [True: 72.3M, False: 0]
  ------------------
  328|  72.3M|            {
  329|  4.43k|                case parse_mode::multi_dim:
  ------------------
  |  Branch (329:17): [True: 4.43k, False: 72.3M]
  ------------------
  330|  4.43k|                {
  331|  4.43k|                    if (state_stack_.back().index == 0)
  ------------------
  |  Branch (331:25): [True: 4.37k, False: 60]
  ------------------
  332|  4.37k|                    {
  333|  4.37k|                        ++state_stack_.back().index;
  334|  4.37k|                        read_item(visitor, ec);
  335|  4.37k|                    }
  336|     60|                    else
  337|     60|                    {
  338|     60|                        state_stack_.pop_back();
  339|     60|                    }
  340|  4.43k|                    break;
  341|      0|                }
  342|  4.36M|                case parse_mode::array:
  ------------------
  |  Branch (342:17): [True: 4.36M, False: 68.0M]
  ------------------
  343|  4.36M|                {
  344|  4.36M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (344:25): [True: 3.95M, False: 413k]
  ------------------
  345|  3.95M|                    {
  346|  3.95M|                        ++state_stack_.back().index;
  347|  3.95M|                        read_item(visitor, ec);
  348|  3.95M|                    }
  349|   413k|                    else
  350|   413k|                    {
  351|   413k|                        end_array(visitor, ec);
  352|   413k|                    }
  353|  4.36M|                    break;
  354|      0|                }
  355|  2.93M|                case parse_mode::typed_array:
  ------------------
  |  Branch (355:17): [True: 2.93M, False: 69.4M]
  ------------------
  356|  2.93M|                {
  357|  2.93M|                    read_item(visitor, ec);
  358|  2.93M|                    break;
  359|      0|                }
  360|  30.8M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (360:17): [True: 30.8M, False: 41.5M]
  ------------------
  361|  30.8M|                {
  362|  30.8M|                    auto c = source_.peek();
  363|  30.8M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  30.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 47, False: 30.8M]
  |  |  ------------------
  ------------------
  364|     47|                    {
  365|     47|                        ec = cbor_errc::unexpected_eof;
  366|     47|                        more_ = false;
  367|     47|                        return;
  368|     47|                    }
  369|  30.8M|                    if (c.value == 0xff)
  ------------------
  |  Branch (369:25): [True: 377k, False: 30.4M]
  ------------------
  370|   377k|                    {
  371|   377k|                        source_.ignore(1);
  372|   377k|                        end_array(visitor, ec);
  373|   377k|                    }
  374|  30.4M|                    else
  375|  30.4M|                    {
  376|  30.4M|                        read_item(visitor, ec);
  377|  30.4M|                    }
  378|  30.8M|                    break;
  379|  30.8M|                }
  380|  14.9M|                case parse_mode::map_key:
  ------------------
  |  Branch (380:17): [True: 14.9M, False: 57.4M]
  ------------------
  381|  14.9M|                {
  382|  14.9M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (382:25): [True: 2.04M, False: 12.9M]
  ------------------
  383|  2.04M|                    {
  384|  2.04M|                        ++state_stack_.back().index;
  385|  2.04M|                        state_stack_.back().mode = parse_mode::map_value;
  386|  2.04M|                        read_item(visitor, ec);
  387|  2.04M|                    }
  388|  12.9M|                    else
  389|  12.9M|                    {
  390|  12.9M|                        end_object(visitor, ec);
  391|  12.9M|                    }
  392|  14.9M|                    break;
  393|  30.8M|                }
  394|  2.04M|                case parse_mode::map_value:
  ------------------
  |  Branch (394:17): [True: 2.04M, False: 70.3M]
  ------------------
  395|  2.04M|                {
  396|  2.04M|                    state_stack_.back().mode = parse_mode::map_key;
  397|  2.04M|                    read_item(visitor, ec);
  398|  2.04M|                    break;
  399|  30.8M|                }
  400|  8.86M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (400:17): [True: 8.86M, False: 63.5M]
  ------------------
  401|  8.86M|                {
  402|  8.86M|                    auto c = source_.peek();
  403|  8.86M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  8.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 15, False: 8.86M]
  |  |  ------------------
  ------------------
  404|     15|                    {
  405|     15|                        ec = cbor_errc::unexpected_eof;
  406|     15|                        more_ = false;
  407|     15|                        return;
  408|     15|                    }
  409|  8.86M|                    if (c.value == 0xff)
  ------------------
  |  Branch (409:25): [True: 495k, False: 8.37M]
  ------------------
  410|   495k|                    {
  411|   495k|                        source_.ignore(1);
  412|   495k|                        end_object(visitor, ec);
  413|   495k|                    }
  414|  8.37M|                    else
  415|  8.37M|                    {
  416|  8.37M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  417|  8.37M|                        read_item(visitor, ec);
  418|  8.37M|                    }
  419|  8.86M|                    break;
  420|  8.86M|                }
  421|  8.37M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (421:17): [True: 8.37M, False: 64.0M]
  ------------------
  422|  8.37M|                {
  423|  8.37M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  424|  8.37M|                    read_item(visitor, ec);
  425|  8.37M|                    break;
  426|  8.86M|                }
  427|    299|                case parse_mode::root:
  ------------------
  |  Branch (427:17): [True: 299, False: 72.3M]
  ------------------
  428|    299|                {
  429|    299|                    state_stack_.back().mode = parse_mode::accept;
  430|    299|                    read_item(visitor, ec);
  431|    299|                    break;
  432|  8.86M|                }
  433|     45|                case parse_mode::accept:
  ------------------
  |  Branch (433:17): [True: 45, False: 72.3M]
  ------------------
  434|     45|                {
  435|     45|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|     45|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 45]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  436|     45|                    state_stack_.clear();
  437|     45|                    more_ = false;
  438|     45|                    done_ = true;
  439|     45|                    visitor.flush();
  440|     45|                    break;
  441|     45|                }
  442|  72.3M|            }
  443|  72.3M|        }
  444|    299|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  447|  58.1M|    {
  448|  58.1M|        if (is_typed_array_)
  ------------------
  |  Branch (448:13): [True: 2.93M, False: 55.2M]
  ------------------
  449|  2.93M|        {
  450|  2.93M|            if (!typed_array_iter_->done())
  ------------------
  |  Branch (450:17): [True: 2.89M, False: 40.6k]
  ------------------
  451|  2.89M|            {
  452|  2.89M|                typed_array_iter_->next(visitor, *this, ec);
  453|  2.89M|                more_ = !cursor_mode_;
  454|  2.89M|            }
  455|  40.6k|            else
  456|  40.6k|            {
  457|  40.6k|                is_typed_array_ = false;
  458|  40.6k|                state_stack_.pop_back();
  459|  40.6k|            }
  460|  2.93M|            return;
  461|  2.93M|        }
  462|  55.2M|        read_tags(ec);
  463|  55.2M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  55.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 33, False: 55.2M]
  |  |  ------------------
  ------------------
  464|     33|        {
  465|     33|            return;
  466|     33|        }
  467|  55.2M|        auto c = source_.peek();
  468|  55.2M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  55.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 55.2M]
  |  |  ------------------
  ------------------
  469|      0|        {
  470|      0|            ec = cbor_errc::unexpected_eof;
  471|      0|            more_ = false;
  472|      0|            return;
  473|      0|        }
  474|  55.2M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  475|  55.2M|        uint8_t info = get_additional_information_value(c.value);
  476|       |
  477|  55.2M|        switch (major_type)
  478|  55.2M|        {
  479|  18.4M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (479:13): [True: 18.4M, False: 36.8M]
  ------------------
  480|  18.4M|            {
  481|  18.4M|                uint64_t val = read_uint64(ec);
  482|  18.4M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  18.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 18.4M]
  |  |  ------------------
  ------------------
  483|      0|                {
  484|      0|                    return;
  485|      0|                }
  486|  18.4M|                if (!stringref_map_stack_.empty() && other_tags_[stringref_tag])
  ------------------
  |  Branch (486:21): [True: 5.26M, False: 13.1M]
  |  Branch (486:21): [True: 19.4k, False: 18.3M]
  |  Branch (486:54): [True: 19.4k, False: 5.24M]
  ------------------
  487|  19.4k|                {
  488|  19.4k|                    other_tags_[stringref_tag] = false;
  489|  19.4k|                    if (val >= stringref_map_stack_.back().size())
  ------------------
  |  Branch (489:25): [True: 3, False: 19.4k]
  ------------------
  490|      3|                    {
  491|      3|                        ec = cbor_errc::stringref_too_large;
  492|      3|                        more_ = false;
  493|      3|                        return;
  494|      3|                    }
  495|  19.4k|                    auto index = static_cast<typename stringref_map::size_type>(val);
  496|  19.4k|                    if (index != val)
  ------------------
  |  Branch (496:25): [True: 0, False: 19.4k]
  ------------------
  497|      0|                    {
  498|      0|                        ec = cbor_errc::number_too_large;
  499|      0|                        more_ = false;
  500|      0|                        return;
  501|      0|                    }
  502|  19.4k|                    auto& str = stringref_map_stack_.back().at(index);
  503|  19.4k|                    switch (str.type)
  504|  19.4k|                    {
  505|      3|                        case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (505:25): [True: 3, False: 19.4k]
  ------------------
  506|      3|                        {
  507|      3|                            handle_string(visitor, jsoncons::basic_string_view<char>(str.str.data(),str.str.length()),ec);
  508|      3|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      3|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3]
  |  |  ------------------
  ------------------
  509|      0|                            {
  510|      0|                                return;
  511|      0|                            }
  512|      3|                            break;
  513|      3|                        }
  514|  19.4k|                        case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (514:25): [True: 19.4k, False: 3]
  ------------------
  515|  19.4k|                        {
  516|  19.4k|                            read_byte_string_from_buffer read(byte_string_view(str.bytes));
  517|  19.4k|                            read_byte_string(read, visitor, ec);
  518|  19.4k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  19.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 19.4k]
  |  |  ------------------
  ------------------
  519|      3|                            {
  520|      3|                                return;
  521|      3|                            }
  522|  19.4k|                            break;
  523|  19.4k|                        }
  524|  19.4k|                        default:
  ------------------
  |  Branch (524:25): [True: 0, False: 19.4k]
  ------------------
  525|      0|                            JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  526|      0|                            break;
  527|  19.4k|                    }
  528|  19.4k|                }
  529|  18.3M|                else
  530|  18.3M|                {
  531|  18.3M|                    semantic_tag tag = semantic_tag::none;
  532|  18.3M|                    if (other_tags_[item_tag])
  ------------------
  |  Branch (532:25): [True: 14.7k, False: 18.3M]
  ------------------
  533|  14.7k|                    {
  534|  14.7k|                        if (raw_tag_ == 1)
  ------------------
  |  Branch (534:29): [True: 974, False: 13.8k]
  ------------------
  535|    974|                        {
  536|    974|                            tag = semantic_tag::epoch_second;
  537|    974|                        }
  538|  14.7k|                        other_tags_[item_tag] = false;
  539|  14.7k|                    }
  540|  18.3M|                    visitor.uint64_value(val, tag, *this, ec);
  541|  18.3M|                    more_ = !cursor_mode_;
  542|  18.3M|                }
  543|  18.4M|                break;
  544|  18.4M|            }
  545|  18.4M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (545:13): [True: 7.87M, False: 47.3M]
  ------------------
  546|  7.87M|            {
  547|  7.87M|                int64_t val = read_int64(ec);
  548|  7.87M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.87M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 7.87M]
  |  |  ------------------
  ------------------
  549|      0|                {
  550|      0|                    return;
  551|      0|                }
  552|  7.87M|                semantic_tag tag = semantic_tag::none;
  553|  7.87M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (553:21): [True: 4.43k, False: 7.86M]
  ------------------
  554|  4.43k|                {
  555|  4.43k|                    if (raw_tag_ == 1)
  ------------------
  |  Branch (555:25): [True: 62, False: 4.37k]
  ------------------
  556|     62|                    {
  557|     62|                        tag = semantic_tag::epoch_second;
  558|     62|                    }
  559|  4.43k|                    other_tags_[item_tag] = false;
  560|  4.43k|                }
  561|  7.87M|                visitor.int64_value(val, tag, *this, ec);
  562|  7.87M|                more_ = !cursor_mode_;
  563|  7.87M|                break;
  564|  7.87M|            }
  565|  8.28M|            case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (565:13): [True: 8.28M, False: 46.9M]
  ------------------
  566|  8.28M|            {
  567|  8.28M|                read_byte_string_from_source read(this);
  568|  8.28M|                read_byte_string(read, visitor, ec);
  569|  8.28M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 38, False: 8.28M]
  |  |  ------------------
  ------------------
  570|     38|                {
  571|     38|                    return;
  572|     38|                }
  573|  8.28M|                break;
  574|  8.28M|            }
  575|  8.28M|            case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (575:13): [True: 2.31M, False: 52.9M]
  ------------------
  576|  2.31M|            {
  577|  2.31M|                text_buffer_.clear();
  578|       |
  579|  2.31M|                read_text_string(text_buffer_, ec);
  580|  2.31M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 49, False: 2.31M]
  |  |  ------------------
  ------------------
  581|     49|                {
  582|     49|                    return;
  583|     49|                }
  584|  2.31M|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  585|  2.31M|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (585:21): [True: 7, False: 2.31M]
  ------------------
  586|      7|                {
  587|      7|                    ec = cbor_errc::invalid_utf8_text_string;
  588|      7|                    more_ = false;
  589|      7|                    return;
  590|      7|                }
  591|  2.31M|                handle_string(visitor, jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()),ec);
  592|  2.31M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.31M]
  |  |  ------------------
  ------------------
  593|      0|                {
  594|      0|                    return;
  595|      0|                }
  596|  2.31M|                break;
  597|  2.31M|            }
  598|  2.31M|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (598:13): [True: 0, False: 55.2M]
  ------------------
  599|      0|            {
  600|      0|                JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  601|      0|                break;
  602|  2.31M|            }
  603|  3.21M|            case jsoncons::cbor::detail::cbor_major_type::simple:
  ------------------
  |  Branch (603:13): [True: 3.21M, False: 52.0M]
  ------------------
  604|  3.21M|            {
  605|  3.21M|                switch (info)
  606|  3.21M|                {
  607|  1.61M|                    case 0x14:
  ------------------
  |  Branch (607:21): [True: 1.61M, False: 1.60M]
  ------------------
  608|  1.61M|                        visitor.bool_value(false, semantic_tag::none, *this, ec);
  609|  1.61M|                        more_ = !cursor_mode_;
  610|  1.61M|                        source_.ignore(1);
  611|  1.61M|                        break;
  612|   324k|                    case 0x15:
  ------------------
  |  Branch (612:21): [True: 324k, False: 2.89M]
  ------------------
  613|   324k|                        visitor.bool_value(true, semantic_tag::none, *this, ec);
  614|   324k|                        more_ = !cursor_mode_;
  615|   324k|                        source_.ignore(1);
  616|   324k|                        break;
  617|  1.20M|                    case 0x16:
  ------------------
  |  Branch (617:21): [True: 1.20M, False: 2.00M]
  ------------------
  618|  1.20M|                        visitor.null_value(semantic_tag::none, *this, ec);
  619|  1.20M|                        more_ = !cursor_mode_;
  620|  1.20M|                        source_.ignore(1);
  621|  1.20M|                        break;
  622|  48.4k|                    case 0x17:
  ------------------
  |  Branch (622:21): [True: 48.4k, False: 3.16M]
  ------------------
  623|  48.4k|                        visitor.null_value(semantic_tag::undefined, *this, ec);
  624|  48.4k|                        more_ = !cursor_mode_;
  625|  48.4k|                        source_.ignore(1);
  626|  48.4k|                        break;
  627|  16.1k|                    case 0x19: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (627:21): [True: 16.1k, False: 3.19M]
  ------------------
  628|  16.1k|                    {
  629|  16.1k|                        uint64_t val = read_uint64(ec);
  630|  16.1k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  16.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 16.1k]
  |  |  ------------------
  ------------------
  631|      0|                        {
  632|      0|                            return;
  633|      0|                        }
  634|  16.1k|                        visitor.half_value(static_cast<uint16_t>(val), semantic_tag::none, *this, ec);
  635|  16.1k|                        more_ = !cursor_mode_;
  636|  16.1k|                        break;
  637|  16.1k|                    }
  638|  2.52k|                    case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (638:21): [True: 2.52k, False: 3.21M]
  ------------------
  639|  4.13k|                    case 0x1b: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (639:21): [True: 1.61k, False: 3.21M]
  ------------------
  640|  4.13k|                    {
  641|  4.13k|                        double val = read_double(ec);
  642|  4.13k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.13k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 14, False: 4.12k]
  |  |  ------------------
  ------------------
  643|     14|                        {
  644|     14|                            return;
  645|     14|                        }
  646|  4.12k|                        semantic_tag tag = semantic_tag::none;
  647|  4.12k|                        if (other_tags_[item_tag])
  ------------------
  |  Branch (647:29): [True: 52, False: 4.06k]
  ------------------
  648|     52|                        {
  649|     52|                            if (raw_tag_ == 1)
  ------------------
  |  Branch (649:33): [True: 0, False: 52]
  ------------------
  650|      0|                            {
  651|      0|                                tag = semantic_tag::epoch_second;
  652|      0|                            }
  653|     52|                            other_tags_[item_tag] = false;
  654|     52|                        }
  655|  4.12k|                        visitor.double_value(val, tag, *this, ec);
  656|  4.12k|                        more_ = !cursor_mode_;
  657|  4.12k|                        break;
  658|  4.13k|                    }
  659|     31|                    default:
  ------------------
  |  Branch (659:21): [True: 31, False: 3.21M]
  ------------------
  660|     31|                    {
  661|     31|                        ec = cbor_errc::unknown_type;
  662|     31|                        more_ = false;
  663|     31|                        return;
  664|  4.13k|                    }
  665|  3.21M|                }
  666|  3.21M|                break;
  667|  3.21M|            }
  668|  3.21M|            case jsoncons::cbor::detail::cbor_major_type::array:
  ------------------
  |  Branch (668:13): [True: 1.67M, False: 53.5M]
  ------------------
  669|  1.67M|            {
  670|  1.67M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (670:21): [True: 902k, False: 775k]
  ------------------
  671|   902k|                {
  672|   902k|                    switch (raw_tag_)
  673|   902k|                    {
  674|   855k|                        case 0x04:
  ------------------
  |  Branch (674:25): [True: 855k, False: 47.0k]
  ------------------
  675|   855k|                            text_buffer_.clear();
  676|   855k|                            read_decimal_fraction(text_buffer_, ec);
  677|   855k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   855k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 855k]
  |  |  ------------------
  ------------------
  678|      9|                            {
  679|      9|                                return;
  680|      9|                            }
  681|   855k|                            visitor.string_value(text_buffer_, semantic_tag::bigdec, *this, ec);
  682|   855k|                            more_ = !cursor_mode_;
  683|   855k|                            break;
  684|  21.8k|                        case 0x05:
  ------------------
  |  Branch (684:25): [True: 21.8k, False: 880k]
  ------------------
  685|  21.8k|                            text_buffer_.clear();
  686|  21.8k|                            read_bigfloat(text_buffer_, ec);
  687|  21.8k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 21.8k]
  |  |  ------------------
  ------------------
  688|      4|                            {
  689|      4|                                return;
  690|      4|                            }
  691|  21.8k|                            visitor.string_value(text_buffer_, semantic_tag::bigfloat, *this, ec);
  692|  21.8k|                            more_ = !cursor_mode_;
  693|  21.8k|                            break;
  694|  4.37k|                        case 40: // row major storage
  ------------------
  |  Branch (694:25): [True: 4.37k, False: 898k]
  ------------------
  695|  4.37k|                            is_multi_dim_ = true;
  696|  4.37k|                            order_ = mdarray_order::row_major;
  697|  4.37k|                            produce_begin_multi_dim(ec);
  698|  4.37k|                            break;
  699|     18|                        case 1040: // column major storage
  ------------------
  |  Branch (699:25): [True: 18, False: 902k]
  ------------------
  700|     18|                            is_multi_dim_ = true;
  701|     18|                            order_ = mdarray_order::column_major;
  702|     18|                            produce_begin_multi_dim(ec);
  703|     18|                            break;
  704|  20.8k|                        default:
  ------------------
  |  Branch (704:25): [True: 20.8k, False: 881k]
  ------------------
  705|  20.8k|                            begin_array(visitor, info, ec);
  706|  20.8k|                            break;
  707|   902k|                    }
  708|   902k|                    other_tags_[item_tag] = false;
  709|   902k|                }
  710|   775k|                else
  711|   775k|                {
  712|   775k|                    begin_array(visitor, info, ec);
  713|   775k|                }
  714|  1.67M|                break;
  715|  1.67M|            }
  716|  13.4M|            case jsoncons::cbor::detail::cbor_major_type::map:
  ------------------
  |  Branch (716:13): [True: 13.4M, False: 41.7M]
  ------------------
  717|  13.4M|            {
  718|  13.4M|                begin_object(visitor, info, ec);
  719|  13.4M|                break;
  720|  1.67M|            }
  721|      0|            default:
  ------------------
  |  Branch (721:13): [True: 0, False: 55.2M]
  ------------------
  722|      0|                break;
  723|  55.2M|        }
  724|  55.2M|        other_tags_[item_tag] = false;
  725|  55.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_tagsERNS3_10error_codeE:
 1549|  55.2M|    {
 1550|  55.2M|        auto c = source_.peek();
 1551|  55.2M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  55.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 28, False: 55.2M]
  |  |  ------------------
  ------------------
 1552|     28|        {
 1553|     28|            ec = cbor_errc::unexpected_eof;
 1554|     28|            more_ = false;
 1555|     28|            return;
 1556|     28|        }
 1557|  55.2M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1558|       |
 1559|  57.7M|        while (major_type == jsoncons::cbor::detail::cbor_major_type::semantic_tag)
  ------------------
  |  Branch (1559:16): [True: 2.54M, False: 55.2M]
  ------------------
 1560|  2.54M|        {
 1561|  2.54M|            uint64_t val = read_uint64(ec);
 1562|  2.54M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.54M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.54M]
  |  |  ------------------
  ------------------
 1563|      0|            {
 1564|      0|                return;
 1565|      0|            }
 1566|  2.54M|            switch(val)
 1567|  2.54M|            {
 1568|  20.4k|                case 25: // stringref
  ------------------
  |  Branch (1568:17): [True: 20.4k, False: 2.52M]
  ------------------
 1569|  20.4k|                    other_tags_[stringref_tag] = true;
 1570|  20.4k|                    break;
 1571|  1.10k|                case 256: // stringref-namespace
  ------------------
  |  Branch (1571:17): [True: 1.10k, False: 2.54M]
  ------------------
 1572|  1.10k|                    other_tags_[stringref_namespace_tag] = true;
 1573|  1.10k|                    break;
 1574|  2.52M|                default:
  ------------------
  |  Branch (1574:17): [True: 2.52M, False: 21.5k]
  ------------------
 1575|  2.52M|                    other_tags_[item_tag] = true;
 1576|  2.52M|                    raw_tag_ = val;
 1577|  2.52M|                    break;
 1578|  2.54M|            }
 1579|  2.54M|            c = source_.peek();
 1580|  2.54M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.54M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 2.54M]
  |  |  ------------------
  ------------------
 1581|      5|            {
 1582|      5|                ec = cbor_errc::unexpected_eof;
 1583|      5|                more_ = false;
 1584|      5|                return;
 1585|      5|            }
 1586|  2.54M|            major_type = get_major_type(c.value);
 1587|  2.54M|        }
 1588|  55.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14get_major_typeEh:
 1535|   144M|    {
 1536|   144M|        static constexpr uint8_t major_type_shift = 0x05;
 1537|   144M|        uint8_t value = type >> major_type_shift;
 1538|   144M|        return static_cast<jsoncons::cbor::detail::cbor_major_type>(value);
 1539|   144M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE32get_additional_information_valueEh:
 1542|   133M|    {
 1543|   133M|        static constexpr uint8_t additional_information_mask = (1U << 5) - 1;
 1544|   133M|        uint8_t value = type & additional_information_mask;
 1545|   133M|        return value;
 1546|   133M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_uint64ERNS3_10error_codeE:
 1009|  48.6M|    {
 1010|  48.6M|        uint64_t val = 0;
 1011|       |
 1012|  48.6M|        uint8_t initial_b;
 1013|  48.6M|        if (source_.read(&initial_b, 1) == 0)
  ------------------
  |  Branch (1013:13): [True: 1, False: 48.6M]
  ------------------
 1014|      1|        {
 1015|      1|            ec = cbor_errc::unexpected_eof;
 1016|      1|            more_ = false;
 1017|      1|            return 0;
 1018|      1|        }
 1019|  48.6M|        uint8_t info = get_additional_information_value(initial_b);
 1020|  48.6M|        switch (info)
 1021|  48.6M|        {
 1022|  29.1M|            case JSONCONS_EXT_CBOR_0x00_0x17: // Integer 0x00..0x17 (0..23)
  ------------------
  |  |   18|  29.1M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 547k, False: 48.0M]
  |  |  |  Branch (18:20): [True: 1.01M, False: 47.6M]
  |  |  |  Branch (18:30): [True: 1.00M, False: 47.6M]
  |  |  |  Branch (18:40): [True: 936k, False: 47.7M]
  |  |  |  Branch (18:50): [True: 2.09M, False: 46.5M]
  |  |  |  Branch (18:60): [True: 2.81k, False: 48.6M]
  |  |  |  Branch (18:70): [True: 4.00k, False: 48.6M]
  |  |  |  Branch (18:80): [True: 11.7k, False: 48.6M]
  |  |  |  Branch (18:90): [True: 508k, False: 48.1M]
  |  |  |  Branch (18:100): [True: 17.5k, False: 48.6M]
  |  |  |  Branch (18:110): [True: 6.72k, False: 48.6M]
  |  |  |  Branch (18:120): [True: 22.1k, False: 48.6M]
  |  |  |  Branch (18:130): [True: 70.5k, False: 48.5M]
  |  |  |  Branch (18:140): [True: 1.38k, False: 48.6M]
  |  |  |  Branch (18:150): [True: 3.35k, False: 48.6M]
  |  |  |  Branch (18:160): [True: 4.12k, False: 48.6M]
  |  |  |  Branch (18:170): [True: 23.2k, False: 48.6M]
  |  |  |  Branch (18:180): [True: 6.73k, False: 48.6M]
  |  |  |  Branch (18:190): [True: 15.9k, False: 48.6M]
  |  |  |  Branch (18:200): [True: 1.80k, False: 48.6M]
  |  |  |  Branch (18:210): [True: 523k, False: 48.1M]
  |  |  |  Branch (18:220): [True: 5.36k, False: 48.6M]
  |  |  ------------------
  ------------------
  |  Branch (1022:13): [True: 22.2M, False: 26.3M]
  ------------------
 1023|  29.1M|            {
 1024|  29.1M|                val = info;
 1025|  29.1M|                break;
 1026|   608M|            }
 1027|       |
 1028|  93.2k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1028:13): [True: 93.2k, False: 48.5M]
  ------------------
 1029|  93.2k|            {
 1030|  93.2k|                uint8_t b;
 1031|  93.2k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1031:21): [True: 0, False: 93.2k]
  ------------------
 1032|      0|                {
 1033|      0|                    ec = cbor_errc::unexpected_eof;
 1034|      0|                    more_ = false;
 1035|      0|                    return val;
 1036|      0|                }
 1037|  93.2k|                val = b;
 1038|  93.2k|                break;
 1039|  93.2k|            }
 1040|       |
 1041|  23.4k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (1041:13): [True: 23.4k, False: 48.6M]
  ------------------
 1042|  23.4k|            {
 1043|  23.4k|                uint8_t buf[sizeof(uint16_t)];
 1044|  23.4k|                source_.read(buf, sizeof(uint16_t));
 1045|  23.4k|                val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1046|  23.4k|                break;
 1047|  93.2k|            }
 1048|       |
 1049|  1.32k|            case 0x1a: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (1049:13): [True: 1.32k, False: 48.6M]
  ------------------
 1050|  1.32k|            {
 1051|  1.32k|                uint8_t buf[sizeof(uint32_t)];
 1052|  1.32k|                source_.read(buf, sizeof(uint32_t));
 1053|  1.32k|                val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1054|  1.32k|                break;
 1055|  93.2k|            }
 1056|       |
 1057|    680|            case 0x1b: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (1057:13): [True: 680, False: 48.6M]
  ------------------
 1058|    680|            {
 1059|    680|                uint8_t buf[sizeof(uint64_t)];
 1060|    680|                source_.read(buf, sizeof(uint64_t));
 1061|    680|                val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1062|    680|                break;
 1063|  93.2k|            }
 1064|  19.4M|            default:
  ------------------
  |  Branch (1064:13): [True: 19.4M, False: 29.2M]
  ------------------
 1065|  19.4M|                break;
 1066|  48.6M|        }
 1067|  48.6M|        return val;
 1068|  48.6M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13handle_stringERNS_24basic_item_event_visitorIcEERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS3_10error_codeE:
 1591|  2.31M|    {
 1592|  2.31M|        semantic_tag tag = semantic_tag::none;
 1593|  2.31M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1593:13): [True: 1.01k, False: 2.31M]
  ------------------
 1594|  1.01k|        {
 1595|  1.01k|            switch (raw_tag_)
 1596|  1.01k|            {
 1597|    413|                case 0:
  ------------------
  |  Branch (1597:17): [True: 413, False: 602]
  ------------------
 1598|    413|                    tag = semantic_tag::datetime;
 1599|    413|                    break;
 1600|     67|                case 32:
  ------------------
  |  Branch (1600:17): [True: 67, False: 948]
  ------------------
 1601|     67|                    tag = semantic_tag::uri;
 1602|     67|                    break;
 1603|     12|                case 33:
  ------------------
  |  Branch (1603:17): [True: 12, False: 1.00k]
  ------------------
 1604|     12|                    tag = semantic_tag::base64url;
 1605|     12|                    break;
 1606|    144|                case 34:
  ------------------
  |  Branch (1606:17): [True: 144, False: 871]
  ------------------
 1607|    144|                    tag = semantic_tag::base64;
 1608|    144|                    break;
 1609|    379|                default:
  ------------------
  |  Branch (1609:17): [True: 379, False: 636]
  ------------------
 1610|    379|                    break;
 1611|  1.01k|            }
 1612|  1.01k|            other_tags_[item_tag] = false;
 1613|  1.01k|        }
 1614|  2.31M|        visitor.string_value(v, tag, *this, ec);
 1615|  2.31M|        more_ = !cursor_mode_;
 1616|  2.31M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferC2ERKNS_16byte_string_viewE:
  160|  19.4k|            : bytes(b)
  161|  19.4k|        {
  162|  19.4k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_bufferEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1633|  19.4k|    {
 1634|  19.4k|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1634:13): [True: 16.0k, False: 3.41k]
  ------------------
 1635|  16.0k|        {
 1636|  16.0k|            switch (raw_tag_)
 1637|  16.0k|            {
 1638|    395|                case 0x2:
  ------------------
  |  Branch (1638:17): [True: 395, False: 15.6k]
  ------------------
 1639|    395|                {
 1640|    395|                    bytes_buffer_.clear();
 1641|    395|                    read(bytes_buffer_,ec);
 1642|    395|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    395|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 395]
  |  |  ------------------
  ------------------
 1643|      0|                    {
 1644|      0|                        more_ = false;
 1645|      0|                        return;
 1646|      0|                    }
 1647|    395|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1648|    395|                    text_buffer_.clear();
 1649|    395|                    n.write_string(text_buffer_);
 1650|    395|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1651|    395|                    more_ = !cursor_mode_;
 1652|    395|                    break;
 1653|    395|                }
 1654|    325|                case 0x3:
  ------------------
  |  Branch (1654:17): [True: 325, False: 15.7k]
  ------------------
 1655|    325|                {
 1656|    325|                    bytes_buffer_.clear();
 1657|    325|                    read(bytes_buffer_,ec);
 1658|    325|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    325|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 325]
  |  |  ------------------
  ------------------
 1659|      0|                    {
 1660|      0|                        more_ = false;
 1661|      0|                        return;
 1662|      0|                    }
 1663|    325|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1664|    325|                    n = -1 - n;
 1665|    325|                    text_buffer_.clear();
 1666|    325|                    n.write_string(text_buffer_);
 1667|    325|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1668|    325|                    more_ = !cursor_mode_;
 1669|    325|                    break;
 1670|    325|                }
 1671|      1|                case 0x15:
  ------------------
  |  Branch (1671:17): [True: 1, False: 16.0k]
  ------------------
 1672|      1|                {
 1673|      1|                    read(bytes_buffer_,ec);
 1674|      1|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      1|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1675|      0|                    {
 1676|      0|                        more_ = false;
 1677|      0|                        return;
 1678|      0|                    }
 1679|      1|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1680|      1|                    more_ = !cursor_mode_;
 1681|      1|                    break;
 1682|      1|                }
 1683|      0|                case 0x16:
  ------------------
  |  Branch (1683:17): [True: 0, False: 16.0k]
  ------------------
 1684|      0|                {
 1685|      0|                    read(bytes_buffer_,ec);
 1686|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1687|      0|                    {
 1688|      0|                        more_ = false;
 1689|      0|                        return;
 1690|      0|                    }
 1691|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1692|      0|                    more_ = !cursor_mode_;
 1693|      0|                    break;
 1694|      0|                }
 1695|     26|                case 0x17:
  ------------------
  |  Branch (1695:17): [True: 26, False: 16.0k]
  ------------------
 1696|     26|                {
 1697|     26|                    read(bytes_buffer_,ec);
 1698|     26|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     26|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 26]
  |  |  ------------------
  ------------------
 1699|      0|                    {
 1700|      0|                        more_ = false;
 1701|      0|                        return;
 1702|      0|                    }
 1703|     26|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1704|     26|                    more_ = !cursor_mode_;
 1705|     26|                    break;
 1706|     26|                }
 1707|      2|                case 0x40:
  ------------------
  |  Branch (1707:17): [True: 2, False: 16.0k]
  ------------------
 1708|      2|                {
 1709|      2|                    is_typed_array_ = true;
 1710|      2|                    element_type_ = typed_array_element_types::uint8;
 1711|      2|                    array_buffer_.clear();
 1712|      2|                    read(array_buffer_,ec);
 1713|      2|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      2|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 1714|      0|                    {
 1715|      0|                        more_ = false;
 1716|      0|                        return;
 1717|      0|                    }
 1718|      2|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1719|      2|                    if (is_multi_dim_)
  ------------------
  |  Branch (1719:25): [True: 0, False: 2]
  ------------------
 1720|      0|                    {
 1721|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1721:29): [True: 0, False: 0]
  ------------------
 1722|      0|                        {
 1723|      0|                            ec = cbor_errc::bad_mdarray;
 1724|      0|                            more_ = false;
 1725|      0|                            return;
 1726|      0|                        }
 1727|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1728|      0|                    }
 1729|      2|                    else
 1730|      2|                    {
 1731|      2|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta);
 1732|      2|                    }
 1733|      2|                    typed_array_iter_->next(visitor, *this, ec);
 1734|      2|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1735|      2|                    more_ = !cursor_mode_;
 1736|      2|                    break;
 1737|      2|                }
 1738|     12|                case 0x44:
  ------------------
  |  Branch (1738:17): [True: 12, False: 16.0k]
  ------------------
 1739|     12|                {
 1740|     12|                    is_typed_array_ = true;
 1741|     12|                    element_type_ = typed_array_element_types::uint8;
 1742|     12|                    typed_array_tag_ = semantic_tag::clamped;
 1743|     12|                    array_buffer_.clear();
 1744|     12|                    read(array_buffer_,ec);
 1745|     12|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     12|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 12]
  |  |  ------------------
  ------------------
 1746|      0|                    {
 1747|      0|                        more_ = false;
 1748|      0|                        return;
 1749|      0|                    }
 1750|     12|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1751|     12|                    if (is_multi_dim_)
  ------------------
  |  Branch (1751:25): [True: 0, False: 12]
  ------------------
 1752|      0|                    {
 1753|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1753:29): [True: 0, False: 0]
  ------------------
 1754|      0|                        {
 1755|      0|                            ec = cbor_errc::bad_mdarray;
 1756|      0|                            more_ = false;
 1757|      0|                            return;
 1758|      0|                        }
 1759|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1760|      0|                    }
 1761|     12|                    else
 1762|     12|                    {
 1763|     12|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta, semantic_tag::clamped);
 1764|     12|                    }
 1765|     12|                    typed_array_iter_->next(visitor, *this, ec);
 1766|     12|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1767|     12|                    more_ = !cursor_mode_;
 1768|     12|                    break;
 1769|     12|                }
 1770|      4|                case 0x41:
  ------------------
  |  Branch (1770:17): [True: 4, False: 16.0k]
  ------------------
 1771|      4|                case 0x45:
  ------------------
  |  Branch (1771:17): [True: 0, False: 16.0k]
  ------------------
 1772|      4|                {
 1773|      4|                    is_typed_array_ = true;
 1774|      4|                    element_type_ = typed_array_element_types::uint16;
 1775|      4|                    array_buffer_.clear();
 1776|      4|                    read(array_buffer_,ec);
 1777|      4|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      4|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 1778|      0|                    {
 1779|      0|                        more_ = false;
 1780|      0|                        return;
 1781|      0|                    }
 1782|      4|                    const uint8_t tag = (uint8_t)raw_tag_;
 1783|      4|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1784|      4|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 1785|      4|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1785:25): [True: 4, False: 0]
  ------------------
 1786|      4|                    {
 1787|      8|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1787:49): [True: 4, False: 4]
  ------------------
 1788|      4|                        {
 1789|      4|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 1790|      4|                        }
 1791|      4|                    }
 1792|      4|                    if (is_multi_dim_)
  ------------------
  |  Branch (1792:25): [True: 0, False: 4]
  ------------------
 1793|      0|                    {
 1794|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1794:29): [True: 0, False: 0]
  ------------------
 1795|      0|                        {
 1796|      0|                            ec = cbor_errc::bad_mdarray;
 1797|      0|                            more_ = false;
 1798|      0|                            return;
 1799|      0|                        }
 1800|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 1801|      0|                    }
 1802|      4|                    else
 1803|      4|                    {
 1804|      4|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t>>(ta);
 1805|      4|                    }
 1806|      4|                    typed_array_iter_->next(visitor, *this, ec);
 1807|      4|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1808|      4|                    more_ = !cursor_mode_;
 1809|      4|                    break;
 1810|      4|                }
 1811|     28|                case 0x42:
  ------------------
  |  Branch (1811:17): [True: 28, False: 16.0k]
  ------------------
 1812|     28|                case 0x46:
  ------------------
  |  Branch (1812:17): [True: 0, False: 16.0k]
  ------------------
 1813|     28|                {
 1814|     28|                    is_typed_array_ = true;
 1815|     28|                    element_type_ = typed_array_element_types::uint32;
 1816|     28|                    array_buffer_.clear();
 1817|     28|                    read(array_buffer_,ec);
 1818|     28|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     28|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 28]
  |  |  ------------------
  ------------------
 1819|      0|                    {
 1820|      0|                        more_ = false;
 1821|      0|                        return;
 1822|      0|                    }
 1823|     28|                    const uint8_t tag = (uint8_t)raw_tag_;
 1824|     28|                    jsoncons::endian e = get_typed_array_endianness(tag);
 1825|     28|                    auto ta = typed_array_cast<uint32_t>(array_buffer_);
 1826|     28|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1826:25): [True: 28, False: 0]
  ------------------
 1827|     28|                    {
 1828|    181|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1828:49): [True: 153, False: 28]
  ------------------
 1829|    153|                        {
 1830|    153|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 1831|    153|                        }
 1832|     28|                    }
 1833|     28|                    if (is_multi_dim_)
  ------------------
  |  Branch (1833:25): [True: 0, False: 28]
  ------------------
 1834|      0|                    {
 1835|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1835:29): [True: 0, False: 0]
  ------------------
 1836|      0|                        {
 1837|      0|                            ec = cbor_errc::bad_mdarray;
 1838|      0|                            more_ = false;
 1839|      0|                            return;
 1840|      0|                        }
 1841|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint32_t>>(ta, extents_, order_);
 1842|      0|                    }
 1843|     28|                    else
 1844|     28|                    {
 1845|     28|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint32_t>>(ta);
 1846|     28|                    }
 1847|     28|                    typed_array_iter_->next(visitor, *this, ec);
 1848|     28|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1849|     28|                    more_ = !cursor_mode_;
 1850|     28|                    break;
 1851|     28|                }
 1852|    569|                case 0x43:
  ------------------
  |  Branch (1852:17): [True: 569, False: 15.4k]
  ------------------
 1853|  3.80k|                case 0x47:
  ------------------
  |  Branch (1853:17): [True: 3.23k, False: 12.8k]
  ------------------
 1854|  3.80k|                {
 1855|  3.80k|                    is_typed_array_ = true;
 1856|  3.80k|                    element_type_ = typed_array_element_types::uint64;
 1857|  3.80k|                    array_buffer_.clear();
 1858|  3.80k|                    read(array_buffer_,ec);
 1859|  3.80k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.80k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.80k]
  |  |  ------------------
  ------------------
 1860|      0|                    {
 1861|      0|                        more_ = false;
 1862|      0|                        return;
 1863|      0|                    }
 1864|  3.80k|                    const uint8_t tag = (uint8_t)raw_tag_;
 1865|  3.80k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1866|  3.80k|                    auto ta = typed_array_cast<uint64_t>(array_buffer_);
 1867|  3.80k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1867:25): [True: 569, False: 3.23k]
  ------------------
 1868|    569|                    {
 1869|  1.13k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1869:49): [True: 568, False: 569]
  ------------------
 1870|    568|                        {
 1871|    568|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 1872|    568|                        }
 1873|    569|                    }
 1874|  3.80k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1874:25): [True: 0, False: 3.80k]
  ------------------
 1875|      0|                    {
 1876|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1876:29): [True: 0, False: 0]
  ------------------
 1877|      0|                        {
 1878|      0|                            ec = cbor_errc::bad_mdarray;
 1879|      0|                            more_ = false;
 1880|      0|                            return;
 1881|      0|                        }
 1882|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint64_t>>(ta, extents_, order_);
 1883|      0|                    }
 1884|  3.80k|                    else
 1885|  3.80k|                    {
 1886|  3.80k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint64_t>>(ta);
 1887|  3.80k|                    }
 1888|  3.80k|                    typed_array_iter_->next(visitor, *this, ec);
 1889|  3.80k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1890|  3.80k|                    more_ = !cursor_mode_;
 1891|  3.80k|                    break;
 1892|  3.80k|                }
 1893|     27|                case 0x48:
  ------------------
  |  Branch (1893:17): [True: 27, False: 16.0k]
  ------------------
 1894|     27|                {
 1895|     27|                    is_typed_array_ = true;
 1896|     27|                    element_type_ = typed_array_element_types::int8;
 1897|     27|                    array_buffer_.clear();
 1898|     27|                    read(array_buffer_,ec);
 1899|     27|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     27|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 27]
  |  |  ------------------
  ------------------
 1900|      0|                    {
 1901|      0|                        more_ = false;
 1902|      0|                        return;
 1903|      0|                    }
 1904|     27|                    auto ta = typed_array_cast<int8_t>(array_buffer_);
 1905|     27|                    if (is_multi_dim_)
  ------------------
  |  Branch (1905:25): [True: 0, False: 27]
  ------------------
 1906|      0|                    {
 1907|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1907:29): [True: 0, False: 0]
  ------------------
 1908|      0|                        {
 1909|      0|                            ec = cbor_errc::bad_mdarray;
 1910|      0|                            more_ = false;
 1911|      0|                            return;
 1912|      0|                        }
 1913|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int8_t>>(ta, extents_, order_);
 1914|      0|                    }
 1915|     27|                    else
 1916|     27|                    {
 1917|     27|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int8_t>>(ta);
 1918|     27|                    }
 1919|     27|                    typed_array_iter_->next(visitor, *this, ec);
 1920|     27|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1921|     27|                    more_ = !cursor_mode_;
 1922|     27|                    break;
 1923|     27|                }
 1924|    702|                case 0x49:
  ------------------
  |  Branch (1924:17): [True: 702, False: 15.3k]
  ------------------
 1925|    702|                case 0x4d:
  ------------------
  |  Branch (1925:17): [True: 0, False: 16.0k]
  ------------------
 1926|    702|                {
 1927|    702|                    is_typed_array_ = true;
 1928|    702|                    element_type_ = typed_array_element_types::int16;
 1929|    702|                    array_buffer_.clear();
 1930|    702|                    read(array_buffer_,ec);
 1931|    702|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    702|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 702]
  |  |  ------------------
  ------------------
 1932|      0|                    {
 1933|      0|                        more_ = false;
 1934|      0|                        return;
 1935|      0|                    }
 1936|    702|                    const uint8_t tag = (uint8_t)raw_tag_;
 1937|    702|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1938|    702|                    auto ta = typed_array_cast<int16_t>(array_buffer_);
 1939|    702|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1939:25): [True: 702, False: 0]
  ------------------
 1940|    702|                    {
 1941|   176k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1941:49): [True: 176k, False: 702]
  ------------------
 1942|   176k|                        {
 1943|   176k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 1944|   176k|                        }
 1945|    702|                    }
 1946|    702|                    if (is_multi_dim_)
  ------------------
  |  Branch (1946:25): [True: 0, False: 702]
  ------------------
 1947|      0|                    {
 1948|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1948:29): [True: 0, False: 0]
  ------------------
 1949|      0|                        {
 1950|      0|                            ec = cbor_errc::bad_mdarray;
 1951|      0|                            more_ = false;
 1952|      0|                            return;
 1953|      0|                        }
 1954|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int16_t>>(ta, extents_, order_);
 1955|      0|                    }
 1956|    702|                    else
 1957|    702|                    {
 1958|    702|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int16_t>>(ta);
 1959|    702|                    }
 1960|    702|                    typed_array_iter_->next(visitor, *this, ec);
 1961|    702|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1962|    702|                    more_ = !cursor_mode_;
 1963|    702|                    break;
 1964|    702|                }
 1965|      1|                case 0x4a:
  ------------------
  |  Branch (1965:17): [True: 1, False: 16.0k]
  ------------------
 1966|     11|                case 0x4e:
  ------------------
  |  Branch (1966:17): [True: 10, False: 16.0k]
  ------------------
 1967|     11|                {
 1968|     11|                    is_typed_array_ = true;
 1969|     11|                    element_type_ = typed_array_element_types::int32;
 1970|     11|                    array_buffer_.clear();
 1971|     11|                    read(array_buffer_,ec);
 1972|     11|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     11|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11]
  |  |  ------------------
  ------------------
 1973|      0|                    {
 1974|      0|                        more_ = false;
 1975|      0|                        return;
 1976|      0|                    }
 1977|     11|                    const uint8_t tag = (uint8_t)raw_tag_;
 1978|     11|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1979|     11|                    auto ta = typed_array_cast<int32_t>(array_buffer_);
 1980|     11|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1980:25): [True: 1, False: 10]
  ------------------
 1981|      1|                    {
 1982|     19|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1982:49): [True: 18, False: 1]
  ------------------
 1983|     18|                        {
 1984|     18|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 1985|     18|                        }
 1986|      1|                    }
 1987|     11|                    if (is_multi_dim_)
  ------------------
  |  Branch (1987:25): [True: 1, False: 10]
  ------------------
 1988|      1|                    {
 1989|      1|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1989:29): [True: 1, False: 0]
  ------------------
 1990|      1|                        {
 1991|      1|                            ec = cbor_errc::bad_mdarray;
 1992|      1|                            more_ = false;
 1993|      1|                            return;
 1994|      1|                        }
 1995|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int32_t>>(ta, extents_, order_);
 1996|      0|                    }
 1997|     10|                    else
 1998|     10|                    {
 1999|     10|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int32_t>>(ta);
 2000|     10|                    }
 2001|     10|                    typed_array_iter_->next(visitor, *this, ec);
 2002|     10|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2003|     10|                    more_ = !cursor_mode_;
 2004|     10|                    break;
 2005|     11|                }
 2006|  2.83k|                case 0x4b:
  ------------------
  |  Branch (2006:17): [True: 2.83k, False: 13.2k]
  ------------------
 2007|  2.84k|                case 0x4f:
  ------------------
  |  Branch (2007:17): [True: 8, False: 16.0k]
  ------------------
 2008|  2.84k|                {
 2009|  2.84k|                    is_typed_array_ = true;
 2010|  2.84k|                    element_type_ = typed_array_element_types::int64;
 2011|  2.84k|                    array_buffer_.clear();
 2012|  2.84k|                    read(array_buffer_,ec);
 2013|  2.84k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.84k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.84k]
  |  |  ------------------
  ------------------
 2014|      0|                    {
 2015|      0|                        more_ = false;
 2016|      0|                        return;
 2017|      0|                    }
 2018|  2.84k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2019|  2.84k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2020|  2.84k|                    auto ta = typed_array_cast<int64_t>(array_buffer_);
 2021|  2.84k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2021:25): [True: 2.83k, False: 8]
  ------------------
 2022|  2.83k|                    {
 2023|   189k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2023:49): [True: 186k, False: 2.83k]
  ------------------
 2024|   186k|                        {
 2025|   186k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2026|   186k|                        }
 2027|  2.83k|                    }
 2028|  2.84k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2028:25): [True: 0, False: 2.84k]
  ------------------
 2029|      0|                    {
 2030|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2030:29): [True: 0, False: 0]
  ------------------
 2031|      0|                        {
 2032|      0|                            ec = cbor_errc::bad_mdarray;
 2033|      0|                            more_ = false;
 2034|      0|                            return;
 2035|      0|                        }
 2036|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int64_t>>(ta, extents_, order_);
 2037|      0|                    }
 2038|  2.84k|                    else
 2039|  2.84k|                    {
 2040|  2.84k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int64_t>>(ta);
 2041|  2.84k|                    }
 2042|  2.84k|                    typed_array_iter_->next(visitor, *this, ec);
 2043|  2.84k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2044|  2.84k|                    more_ = !cursor_mode_;
 2045|  2.84k|                    break;
 2046|  2.84k|                }
 2047|     64|                case 0x50:
  ------------------
  |  Branch (2047:17): [True: 64, False: 15.9k]
  ------------------
 2048|  6.87k|                case 0x54:
  ------------------
  |  Branch (2048:17): [True: 6.80k, False: 9.23k]
  ------------------
 2049|  6.87k|                {
 2050|  6.87k|                    is_typed_array_ = true;
 2051|  6.87k|                    element_type_ = typed_array_element_types::half_float;
 2052|  6.87k|                    array_buffer_.clear();
 2053|  6.87k|                    read(array_buffer_,ec);
 2054|  6.87k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.87k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 6.87k]
  |  |  ------------------
  ------------------
 2055|      0|                    {
 2056|      0|                        more_ = false;
 2057|      0|                        return;
 2058|      0|                    }
 2059|  6.87k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2060|  6.87k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2061|  6.87k|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 2062|  6.87k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2062:25): [True: 64, False: 6.80k]
  ------------------
 2063|     64|                    {
 2064|  16.2k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2064:49): [True: 16.2k, False: 64]
  ------------------
 2065|  16.2k|                        {
 2066|  16.2k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2067|  16.2k|                        }
 2068|     64|                    }
 2069|  6.87k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2069:25): [True: 1, False: 6.86k]
  ------------------
 2070|      1|                    {
 2071|      1|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2071:29): [True: 1, False: 0]
  ------------------
 2072|      1|                        {
 2073|      1|                            ec = cbor_errc::bad_mdarray;
 2074|      1|                            more_ = false;
 2075|      1|                            return;
 2076|      1|                        }
 2077|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 2078|      0|                    }
 2079|  6.86k|                    else
 2080|  6.86k|                    {
 2081|  6.86k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t,decode_half>>(ta);
 2082|  6.86k|                    }
 2083|  6.86k|                    typed_array_iter_->next(visitor, *this, ec);
 2084|  6.86k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2085|  6.86k|                    more_ = !cursor_mode_;
 2086|  6.86k|                    break;
 2087|  6.87k|                }
 2088|    201|                case 0x51:
  ------------------
  |  Branch (2088:17): [True: 201, False: 15.8k]
  ------------------
 2089|    230|                case 0x55:
  ------------------
  |  Branch (2089:17): [True: 29, False: 16.0k]
  ------------------
 2090|    230|                {
 2091|    230|                    is_typed_array_ = true;
 2092|    230|                    element_type_ = typed_array_element_types::float32;
 2093|    230|                    array_buffer_.clear();
 2094|    230|                    read(array_buffer_,ec);
 2095|    230|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    230|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 230]
  |  |  ------------------
  ------------------
 2096|      0|                    {
 2097|      0|                        more_ = false;
 2098|      0|                        return;
 2099|      0|                    }
 2100|    230|                    const uint8_t tag = (uint8_t)raw_tag_;
 2101|    230|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2102|    230|                    auto ta = typed_array_cast<float>(array_buffer_);
 2103|    230|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2103:25): [True: 201, False: 29]
  ------------------
 2104|    201|                    {
 2105|  28.6k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2105:49): [True: 28.4k, False: 201]
  ------------------
 2106|  28.4k|                        {
 2107|  28.4k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2108|  28.4k|                        }
 2109|    201|                    }
 2110|    230|                    if (is_multi_dim_)
  ------------------
  |  Branch (2110:25): [True: 1, False: 229]
  ------------------
 2111|      1|                    {
 2112|      1|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2112:29): [True: 1, False: 0]
  ------------------
 2113|      1|                        {
 2114|      1|                            ec = cbor_errc::bad_mdarray;
 2115|      1|                            more_ = false;
 2116|      1|                            return;
 2117|      1|                        }
 2118|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<float>>(ta, extents_, order_);
 2119|      0|                    }
 2120|    229|                    else
 2121|    229|                    {
 2122|    229|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<float>>(ta);
 2123|    229|                    }
 2124|    229|                    typed_array_iter_->next(visitor, *this, ec);
 2125|    229|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2126|    229|                    more_ = !cursor_mode_;
 2127|    229|                    break;
 2128|    230|                }
 2129|     73|                case 0x52:
  ------------------
  |  Branch (2129:17): [True: 73, False: 15.9k]
  ------------------
 2130|    168|                case 0x56:
  ------------------
  |  Branch (2130:17): [True: 95, False: 15.9k]
  ------------------
 2131|    168|                {
 2132|    168|                    is_typed_array_ = true;
 2133|    168|                    element_type_ = typed_array_element_types::float64 ;
 2134|    168|                    array_buffer_.clear();
 2135|    168|                    read(array_buffer_,ec);
 2136|    168|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    168|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 168]
  |  |  ------------------
  ------------------
 2137|      0|                    {
 2138|      0|                        more_ = false;
 2139|      0|                        return;
 2140|      0|                    }
 2141|    168|                    const uint8_t tag = (uint8_t)raw_tag_;
 2142|    168|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2143|    168|                    auto ta = typed_array_cast<double>(array_buffer_);
 2144|    168|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2144:25): [True: 73, False: 95]
  ------------------
 2145|     73|                    {
 2146|  17.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2146:49): [True: 17.2k, False: 73]
  ------------------
 2147|  17.2k|                        {
 2148|  17.2k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2149|  17.2k|                        }
 2150|     73|                    }
 2151|    168|                    if (is_multi_dim_)
  ------------------
  |  Branch (2151:25): [True: 0, False: 168]
  ------------------
 2152|      0|                    {
 2153|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2153:29): [True: 0, False: 0]
  ------------------
 2154|      0|                        {
 2155|      0|                            ec = cbor_errc::bad_mdarray;
 2156|      0|                            more_ = false;
 2157|      0|                            return;
 2158|      0|                        }
 2159|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<double>>(ta, extents_, order_);
 2160|      0|                    }
 2161|    168|                    else
 2162|    168|                    {
 2163|    168|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<double>>(ta);
 2164|    168|                    }
 2165|    168|                    typed_array_iter_->next(visitor, *this, ec);
 2166|    168|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2167|    168|                    more_ = !cursor_mode_;
 2168|    168|                    break;
 2169|    168|                }
 2170|    597|                default:
  ------------------
  |  Branch (2170:17): [True: 597, False: 15.4k]
  ------------------
 2171|    597|                {
 2172|    597|                    read(bytes_buffer_,ec);
 2173|    597|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    597|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 597]
  |  |  ------------------
  ------------------
 2174|      0|                    {
 2175|      0|                        more_ = false;
 2176|      0|                        return;
 2177|      0|                    }
 2178|    597|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2179|    597|                    more_ = !cursor_mode_;
 2180|    597|                    break;
 2181|    597|                }
 2182|  16.0k|            }
 2183|  16.0k|            other_tags_[item_tag] = false;
 2184|  16.0k|        }
 2185|  3.41k|        else
 2186|  3.41k|        {
 2187|  3.41k|            read(bytes_buffer_,ec);
 2188|  3.41k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.41k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.41k]
  |  |  ------------------
  ------------------
 2189|      0|            {
 2190|      0|                return;
 2191|      0|            }
 2192|  3.41k|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2193|  3.41k|            more_ = !cursor_mode_;
 2194|  3.41k|        }
 2195|  19.4k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  165|  19.4k|        {
  166|  19.4k|            c.clear();
  167|  19.4k|            c.reserve(bytes.size());
  168|  19.4k|            for (auto b : bytes)
  ------------------
  |  Branch (168:25): [True: 19.8M, False: 19.4k]
  ------------------
  169|  19.8M|            {
  170|  19.8M|                c.push_back(b);
  171|  19.8M|            }
  172|  19.4k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_typed_array_endiannessEh:
 1619|  38.9k|    {
 1620|  38.9k|        return ((tag & detail::cbor_array_tags_e_mask) >> detail::cbor_array_tags_e_shift) == 0 ? jsoncons::endian::big : jsoncons::endian::little; 
  ------------------
  |  Branch (1620:16): [True: 27.8k, False: 11.1k]
  ------------------
 1621|  38.9k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_int64ERNS3_10error_codeE:
 1071|  9.54M|    {
 1072|  9.54M|        int64_t val = 0;
 1073|       |
 1074|  9.54M|        auto ch = source_.peek();
 1075|  9.54M|        if (ch.eof)
  ------------------
  |  Branch (1075:13): [True: 0, False: 9.54M]
  ------------------
 1076|      0|        {
 1077|      0|            ec = cbor_errc::unexpected_eof;
 1078|      0|            more_ = false;
 1079|      0|            return val;
 1080|      0|        }
 1081|       |
 1082|  9.54M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(ch.value);
 1083|  9.54M|        uint8_t info = get_additional_information_value(ch.value);
 1084|  9.54M|        switch (major_type)
 1085|  9.54M|        {
 1086|  9.54M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1086:13): [True: 9.54M, False: 0]
  ------------------
 1087|  9.54M|                source_.ignore(1);
 1088|  9.54M|                switch (info)
  ------------------
  |  Branch (1088:25): [True: 9.53M, False: 8.95k]
  ------------------
 1089|  9.54M|                {
 1090|  9.52M|                    case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  9.52M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 975, False: 9.53M]
  |  |  |  Branch (18:20): [True: 2.08k, False: 9.53M]
  |  |  |  Branch (18:30): [True: 16.3k, False: 9.52M]
  |  |  |  Branch (18:40): [True: 3.21k, False: 9.53M]
  |  |  |  Branch (18:50): [True: 2.73k, False: 9.53M]
  |  |  |  Branch (18:60): [True: 1.46k, False: 9.53M]
  |  |  |  Branch (18:70): [True: 3.62k, False: 9.53M]
  |  |  |  Branch (18:80): [True: 7.57M, False: 1.96M]
  |  |  |  Branch (18:90): [True: 10.0k, False: 9.53M]
  |  |  |  Branch (18:100): [True: 5.65k, False: 9.53M]
  |  |  |  Branch (18:110): [True: 3.17k, False: 9.53M]
  |  |  |  Branch (18:120): [True: 34.7k, False: 9.50M]
  |  |  |  Branch (18:130): [True: 884k, False: 8.65M]
  |  |  |  Branch (18:140): [True: 20.8k, False: 9.51M]
  |  |  |  Branch (18:150): [True: 10.7k, False: 9.52M]
  |  |  |  Branch (18:160): [True: 16.3k, False: 9.52M]
  |  |  |  Branch (18:170): [True: 11.5k, False: 9.52M]
  |  |  |  Branch (18:180): [True: 10.2k, False: 9.52M]
  |  |  |  Branch (18:190): [True: 2.19k, False: 9.53M]
  |  |  |  Branch (18:200): [True: 1.47k, False: 9.53M]
  |  |  |  Branch (18:210): [True: 3.71k, False: 9.53M]
  |  |  |  Branch (18:220): [True: 14.2k, False: 9.52M]
  |  |  ------------------
  ------------------
  |  Branch (1090:21): [True: 882k, False: 8.65M]
  ------------------
 1091|  9.52M|                    {
 1092|  9.52M|                        val = static_cast<int8_t>(- 1 - info);
 1093|  9.52M|                        break;
 1094|   143M|                    }
 1095|  3.33k|                    case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1095:21): [True: 3.33k, False: 9.53M]
  ------------------
 1096|  3.33k|                        {
 1097|  3.33k|                            uint8_t b;
 1098|  3.33k|                            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1098:33): [True: 0, False: 3.33k]
  ------------------
 1099|      0|                            {
 1100|      0|                                ec = cbor_errc::unexpected_eof;
 1101|      0|                                more_ = false;
 1102|      0|                                return val;
 1103|      0|                            }
 1104|  3.33k|                            val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1105|  3.33k|                            break;
 1106|  3.33k|                        }
 1107|       |
 1108|  3.46k|                    case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1108:21): [True: 3.46k, False: 9.53M]
  ------------------
 1109|  3.46k|                        {
 1110|  3.46k|                            uint8_t buf[sizeof(uint16_t)];
 1111|  3.46k|                            if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1111:33): [True: 0, False: 3.46k]
  ------------------
 1112|      0|                            {
 1113|      0|                                ec = cbor_errc::unexpected_eof;
 1114|      0|                                more_ = false;
 1115|      0|                                return val;
 1116|      0|                            }
 1117|  3.46k|                            auto x = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1118|  3.46k|                            val = static_cast<int64_t>(-1)- x;
 1119|  3.46k|                            break;
 1120|  3.46k|                        }
 1121|       |
 1122|    395|                    case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1122:21): [True: 395, False: 9.53M]
  ------------------
 1123|    395|                        {
 1124|    395|                            uint8_t buf[sizeof(uint32_t)];
 1125|    395|                            if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1125:33): [True: 0, False: 395]
  ------------------
 1126|      0|                            {
 1127|      0|                                ec = cbor_errc::unexpected_eof;
 1128|      0|                                more_ = false;
 1129|      0|                                return val;
 1130|      0|                            }
 1131|    395|                            auto x = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1132|    395|                            val = static_cast<int64_t>(-1)- x;
 1133|    395|                            break;
 1134|    395|                        }
 1135|       |
 1136|    906|                    case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1136:21): [True: 906, False: 9.53M]
  ------------------
 1137|    906|                        {
 1138|    906|                            uint8_t buf[sizeof(uint64_t)];
 1139|    906|                            if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1139:33): [True: 0, False: 906]
  ------------------
 1140|      0|                            {
 1141|      0|                                ec = cbor_errc::unexpected_eof;
 1142|      0|                                more_ = false;
 1143|      0|                                return val;
 1144|      0|                            }
 1145|    906|                            auto x = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1146|    906|                            val = static_cast<int64_t>(-1)- static_cast<int64_t>(x);
 1147|    906|                            break;
 1148|    906|                        }
 1149|  9.54M|                }
 1150|  9.54M|                break;
 1151|       |
 1152|  9.54M|                case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1152:17): [True: 0, False: 9.54M]
  ------------------
 1153|      0|                {
 1154|      0|                    uint64_t x = read_uint64(ec);
 1155|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1156|      0|                    {
 1157|      0|                        return 0;
 1158|      0|                    }
 1159|      0|                    if (x <= static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1159:25): [True: 0, False: 0]
  ------------------
 1160|      0|                    {
 1161|      0|                        val = x;
 1162|      0|                    }
 1163|      0|                    else
 1164|      0|                    {
 1165|       |                        // error;
 1166|      0|                    }
 1167|       |                    
 1168|      0|                    break;
 1169|      0|                }
 1170|      0|                break;
 1171|      0|            default:
  ------------------
  |  Branch (1171:13): [True: 0, False: 9.54M]
  ------------------
 1172|      0|                break;
 1173|  9.54M|        }
 1174|       |
 1175|  9.54M|        return val;
 1176|  9.54M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceC2EPS8_:
  180|  8.28M|            : source(source)
  181|  8.28M|        {
  182|  8.28M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_sourceEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1633|  8.28M|    {
 1634|  8.28M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1634:13): [True: 37.7k, False: 8.25M]
  ------------------
 1635|  37.7k|        {
 1636|  37.7k|            switch (raw_tag_)
 1637|  37.7k|            {
 1638|  7.09k|                case 0x2:
  ------------------
  |  Branch (1638:17): [True: 7.09k, False: 30.6k]
  ------------------
 1639|  7.09k|                {
 1640|  7.09k|                    bytes_buffer_.clear();
 1641|  7.09k|                    read(bytes_buffer_,ec);
 1642|  7.09k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.09k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 7.09k]
  |  |  ------------------
  ------------------
 1643|      0|                    {
 1644|      0|                        more_ = false;
 1645|      0|                        return;
 1646|      0|                    }
 1647|  7.09k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1648|  7.09k|                    text_buffer_.clear();
 1649|  7.09k|                    n.write_string(text_buffer_);
 1650|  7.09k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1651|  7.09k|                    more_ = !cursor_mode_;
 1652|  7.09k|                    break;
 1653|  7.09k|                }
 1654|  1.50k|                case 0x3:
  ------------------
  |  Branch (1654:17): [True: 1.50k, False: 36.2k]
  ------------------
 1655|  1.50k|                {
 1656|  1.50k|                    bytes_buffer_.clear();
 1657|  1.50k|                    read(bytes_buffer_,ec);
 1658|  1.50k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.50k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.50k]
  |  |  ------------------
  ------------------
 1659|      0|                    {
 1660|      0|                        more_ = false;
 1661|      0|                        return;
 1662|      0|                    }
 1663|  1.50k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1664|  1.50k|                    n = -1 - n;
 1665|  1.50k|                    text_buffer_.clear();
 1666|  1.50k|                    n.write_string(text_buffer_);
 1667|  1.50k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1668|  1.50k|                    more_ = !cursor_mode_;
 1669|  1.50k|                    break;
 1670|  1.50k|                }
 1671|      0|                case 0x15:
  ------------------
  |  Branch (1671:17): [True: 0, False: 37.7k]
  ------------------
 1672|      0|                {
 1673|      0|                    read(bytes_buffer_,ec);
 1674|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1675|      0|                    {
 1676|      0|                        more_ = false;
 1677|      0|                        return;
 1678|      0|                    }
 1679|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1680|      0|                    more_ = !cursor_mode_;
 1681|      0|                    break;
 1682|      0|                }
 1683|      9|                case 0x16:
  ------------------
  |  Branch (1683:17): [True: 9, False: 37.7k]
  ------------------
 1684|      9|                {
 1685|      9|                    read(bytes_buffer_,ec);
 1686|      9|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      9|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1687|      0|                    {
 1688|      0|                        more_ = false;
 1689|      0|                        return;
 1690|      0|                    }
 1691|      9|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1692|      9|                    more_ = !cursor_mode_;
 1693|      9|                    break;
 1694|      9|                }
 1695|    191|                case 0x17:
  ------------------
  |  Branch (1695:17): [True: 191, False: 37.5k]
  ------------------
 1696|    191|                {
 1697|    191|                    read(bytes_buffer_,ec);
 1698|    191|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    191|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 191]
  |  |  ------------------
  ------------------
 1699|      0|                    {
 1700|      0|                        more_ = false;
 1701|      0|                        return;
 1702|      0|                    }
 1703|    191|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1704|    191|                    more_ = !cursor_mode_;
 1705|    191|                    break;
 1706|    191|                }
 1707|    299|                case 0x40:
  ------------------
  |  Branch (1707:17): [True: 299, False: 37.4k]
  ------------------
 1708|    299|                {
 1709|    299|                    is_typed_array_ = true;
 1710|    299|                    element_type_ = typed_array_element_types::uint8;
 1711|    299|                    array_buffer_.clear();
 1712|    299|                    read(array_buffer_,ec);
 1713|    299|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    299|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 299]
  |  |  ------------------
  ------------------
 1714|      0|                    {
 1715|      0|                        more_ = false;
 1716|      0|                        return;
 1717|      0|                    }
 1718|    299|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1719|    299|                    if (is_multi_dim_)
  ------------------
  |  Branch (1719:25): [True: 0, False: 299]
  ------------------
 1720|      0|                    {
 1721|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1721:29): [True: 0, False: 0]
  ------------------
 1722|      0|                        {
 1723|      0|                            ec = cbor_errc::bad_mdarray;
 1724|      0|                            more_ = false;
 1725|      0|                            return;
 1726|      0|                        }
 1727|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1728|      0|                    }
 1729|    299|                    else
 1730|    299|                    {
 1731|    299|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta);
 1732|    299|                    }
 1733|    299|                    typed_array_iter_->next(visitor, *this, ec);
 1734|    299|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1735|    299|                    more_ = !cursor_mode_;
 1736|    299|                    break;
 1737|    299|                }
 1738|      0|                case 0x44:
  ------------------
  |  Branch (1738:17): [True: 0, False: 37.7k]
  ------------------
 1739|      0|                {
 1740|      0|                    is_typed_array_ = true;
 1741|      0|                    element_type_ = typed_array_element_types::uint8;
 1742|      0|                    typed_array_tag_ = semantic_tag::clamped;
 1743|      0|                    array_buffer_.clear();
 1744|      0|                    read(array_buffer_,ec);
 1745|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1746|      0|                    {
 1747|      0|                        more_ = false;
 1748|      0|                        return;
 1749|      0|                    }
 1750|      0|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1751|      0|                    if (is_multi_dim_)
  ------------------
  |  Branch (1751:25): [True: 0, False: 0]
  ------------------
 1752|      0|                    {
 1753|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1753:29): [True: 0, False: 0]
  ------------------
 1754|      0|                        {
 1755|      0|                            ec = cbor_errc::bad_mdarray;
 1756|      0|                            more_ = false;
 1757|      0|                            return;
 1758|      0|                        }
 1759|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1760|      0|                    }
 1761|      0|                    else
 1762|      0|                    {
 1763|      0|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta, semantic_tag::clamped);
 1764|      0|                    }
 1765|      0|                    typed_array_iter_->next(visitor, *this, ec);
 1766|      0|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1767|      0|                    more_ = !cursor_mode_;
 1768|      0|                    break;
 1769|      0|                }
 1770|  14.2k|                case 0x41:
  ------------------
  |  Branch (1770:17): [True: 14.2k, False: 23.5k]
  ------------------
 1771|  14.2k|                case 0x45:
  ------------------
  |  Branch (1771:17): [True: 5, False: 37.7k]
  ------------------
 1772|  14.2k|                {
 1773|  14.2k|                    is_typed_array_ = true;
 1774|  14.2k|                    element_type_ = typed_array_element_types::uint16;
 1775|  14.2k|                    array_buffer_.clear();
 1776|  14.2k|                    read(array_buffer_,ec);
 1777|  14.2k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 14.2k]
  |  |  ------------------
  ------------------
 1778|      0|                    {
 1779|      0|                        more_ = false;
 1780|      0|                        return;
 1781|      0|                    }
 1782|  14.2k|                    const uint8_t tag = (uint8_t)raw_tag_;
 1783|  14.2k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1784|  14.2k|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 1785|  14.2k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1785:25): [True: 14.2k, False: 5]
  ------------------
 1786|  14.2k|                    {
 1787|  47.1k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1787:49): [True: 32.9k, False: 14.2k]
  ------------------
 1788|  32.9k|                        {
 1789|  32.9k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 1790|  32.9k|                        }
 1791|  14.2k|                    }
 1792|  14.2k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1792:25): [True: 0, False: 14.2k]
  ------------------
 1793|      0|                    {
 1794|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1794:29): [True: 0, False: 0]
  ------------------
 1795|      0|                        {
 1796|      0|                            ec = cbor_errc::bad_mdarray;
 1797|      0|                            more_ = false;
 1798|      0|                            return;
 1799|      0|                        }
 1800|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 1801|      0|                    }
 1802|  14.2k|                    else
 1803|  14.2k|                    {
 1804|  14.2k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t>>(ta);
 1805|  14.2k|                    }
 1806|  14.2k|                    typed_array_iter_->next(visitor, *this, ec);
 1807|  14.2k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1808|  14.2k|                    more_ = !cursor_mode_;
 1809|  14.2k|                    break;
 1810|  14.2k|                }
 1811|    103|                case 0x42:
  ------------------
  |  Branch (1811:17): [True: 103, False: 37.6k]
  ------------------
 1812|    177|                case 0x46:
  ------------------
  |  Branch (1812:17): [True: 74, False: 37.7k]
  ------------------
 1813|    177|                {
 1814|    177|                    is_typed_array_ = true;
 1815|    177|                    element_type_ = typed_array_element_types::uint32;
 1816|    177|                    array_buffer_.clear();
 1817|    177|                    read(array_buffer_,ec);
 1818|    177|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    177|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 177]
  |  |  ------------------
  ------------------
 1819|      0|                    {
 1820|      0|                        more_ = false;
 1821|      0|                        return;
 1822|      0|                    }
 1823|    177|                    const uint8_t tag = (uint8_t)raw_tag_;
 1824|    177|                    jsoncons::endian e = get_typed_array_endianness(tag);
 1825|    177|                    auto ta = typed_array_cast<uint32_t>(array_buffer_);
 1826|    177|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1826:25): [True: 103, False: 74]
  ------------------
 1827|    103|                    {
 1828|    104|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1828:49): [True: 1, False: 103]
  ------------------
 1829|      1|                        {
 1830|      1|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 1831|      1|                        }
 1832|    103|                    }
 1833|    177|                    if (is_multi_dim_)
  ------------------
  |  Branch (1833:25): [True: 0, False: 177]
  ------------------
 1834|      0|                    {
 1835|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1835:29): [True: 0, False: 0]
  ------------------
 1836|      0|                        {
 1837|      0|                            ec = cbor_errc::bad_mdarray;
 1838|      0|                            more_ = false;
 1839|      0|                            return;
 1840|      0|                        }
 1841|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint32_t>>(ta, extents_, order_);
 1842|      0|                    }
 1843|    177|                    else
 1844|    177|                    {
 1845|    177|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint32_t>>(ta);
 1846|    177|                    }
 1847|    177|                    typed_array_iter_->next(visitor, *this, ec);
 1848|    177|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1849|    177|                    more_ = !cursor_mode_;
 1850|    177|                    break;
 1851|    177|                }
 1852|    316|                case 0x43:
  ------------------
  |  Branch (1852:17): [True: 316, False: 37.4k]
  ------------------
 1853|    596|                case 0x47:
  ------------------
  |  Branch (1853:17): [True: 280, False: 37.5k]
  ------------------
 1854|    596|                {
 1855|    596|                    is_typed_array_ = true;
 1856|    596|                    element_type_ = typed_array_element_types::uint64;
 1857|    596|                    array_buffer_.clear();
 1858|    596|                    read(array_buffer_,ec);
 1859|    596|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    596|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 596]
  |  |  ------------------
  ------------------
 1860|      0|                    {
 1861|      0|                        more_ = false;
 1862|      0|                        return;
 1863|      0|                    }
 1864|    596|                    const uint8_t tag = (uint8_t)raw_tag_;
 1865|    596|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1866|    596|                    auto ta = typed_array_cast<uint64_t>(array_buffer_);
 1867|    596|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1867:25): [True: 316, False: 280]
  ------------------
 1868|    316|                    {
 1869|    336|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1869:49): [True: 20, False: 316]
  ------------------
 1870|     20|                        {
 1871|     20|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 1872|     20|                        }
 1873|    316|                    }
 1874|    596|                    if (is_multi_dim_)
  ------------------
  |  Branch (1874:25): [True: 0, False: 596]
  ------------------
 1875|      0|                    {
 1876|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1876:29): [True: 0, False: 0]
  ------------------
 1877|      0|                        {
 1878|      0|                            ec = cbor_errc::bad_mdarray;
 1879|      0|                            more_ = false;
 1880|      0|                            return;
 1881|      0|                        }
 1882|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint64_t>>(ta, extents_, order_);
 1883|      0|                    }
 1884|    596|                    else
 1885|    596|                    {
 1886|    596|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint64_t>>(ta);
 1887|    596|                    }
 1888|    596|                    typed_array_iter_->next(visitor, *this, ec);
 1889|    596|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1890|    596|                    more_ = !cursor_mode_;
 1891|    596|                    break;
 1892|    596|                }
 1893|  1.35k|                case 0x48:
  ------------------
  |  Branch (1893:17): [True: 1.35k, False: 36.4k]
  ------------------
 1894|  1.35k|                {
 1895|  1.35k|                    is_typed_array_ = true;
 1896|  1.35k|                    element_type_ = typed_array_element_types::int8;
 1897|  1.35k|                    array_buffer_.clear();
 1898|  1.35k|                    read(array_buffer_,ec);
 1899|  1.35k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.35k]
  |  |  ------------------
  ------------------
 1900|      0|                    {
 1901|      0|                        more_ = false;
 1902|      0|                        return;
 1903|      0|                    }
 1904|  1.35k|                    auto ta = typed_array_cast<int8_t>(array_buffer_);
 1905|  1.35k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1905:25): [True: 0, False: 1.35k]
  ------------------
 1906|      0|                    {
 1907|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1907:29): [True: 0, False: 0]
  ------------------
 1908|      0|                        {
 1909|      0|                            ec = cbor_errc::bad_mdarray;
 1910|      0|                            more_ = false;
 1911|      0|                            return;
 1912|      0|                        }
 1913|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int8_t>>(ta, extents_, order_);
 1914|      0|                    }
 1915|  1.35k|                    else
 1916|  1.35k|                    {
 1917|  1.35k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int8_t>>(ta);
 1918|  1.35k|                    }
 1919|  1.35k|                    typed_array_iter_->next(visitor, *this, ec);
 1920|  1.35k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1921|  1.35k|                    more_ = !cursor_mode_;
 1922|  1.35k|                    break;
 1923|  1.35k|                }
 1924|  1.15k|                case 0x49:
  ------------------
  |  Branch (1924:17): [True: 1.15k, False: 36.6k]
  ------------------
 1925|  1.16k|                case 0x4d:
  ------------------
  |  Branch (1925:17): [True: 12, False: 37.7k]
  ------------------
 1926|  1.16k|                {
 1927|  1.16k|                    is_typed_array_ = true;
 1928|  1.16k|                    element_type_ = typed_array_element_types::int16;
 1929|  1.16k|                    array_buffer_.clear();
 1930|  1.16k|                    read(array_buffer_,ec);
 1931|  1.16k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.16k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.16k]
  |  |  ------------------
  ------------------
 1932|      0|                    {
 1933|      0|                        more_ = false;
 1934|      0|                        return;
 1935|      0|                    }
 1936|  1.16k|                    const uint8_t tag = (uint8_t)raw_tag_;
 1937|  1.16k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1938|  1.16k|                    auto ta = typed_array_cast<int16_t>(array_buffer_);
 1939|  1.16k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1939:25): [True: 1.15k, False: 12]
  ------------------
 1940|  1.15k|                    {
 1941|  1.30k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1941:49): [True: 152, False: 1.15k]
  ------------------
 1942|    152|                        {
 1943|    152|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 1944|    152|                        }
 1945|  1.15k|                    }
 1946|  1.16k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1946:25): [True: 0, False: 1.16k]
  ------------------
 1947|      0|                    {
 1948|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1948:29): [True: 0, False: 0]
  ------------------
 1949|      0|                        {
 1950|      0|                            ec = cbor_errc::bad_mdarray;
 1951|      0|                            more_ = false;
 1952|      0|                            return;
 1953|      0|                        }
 1954|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int16_t>>(ta, extents_, order_);
 1955|      0|                    }
 1956|  1.16k|                    else
 1957|  1.16k|                    {
 1958|  1.16k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int16_t>>(ta);
 1959|  1.16k|                    }
 1960|  1.16k|                    typed_array_iter_->next(visitor, *this, ec);
 1961|  1.16k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1962|  1.16k|                    more_ = !cursor_mode_;
 1963|  1.16k|                    break;
 1964|  1.16k|                }
 1965|    119|                case 0x4a:
  ------------------
  |  Branch (1965:17): [True: 119, False: 37.6k]
  ------------------
 1966|    428|                case 0x4e:
  ------------------
  |  Branch (1966:17): [True: 309, False: 37.4k]
  ------------------
 1967|    428|                {
 1968|    428|                    is_typed_array_ = true;
 1969|    428|                    element_type_ = typed_array_element_types::int32;
 1970|    428|                    array_buffer_.clear();
 1971|    428|                    read(array_buffer_,ec);
 1972|    428|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    428|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 428]
  |  |  ------------------
  ------------------
 1973|      0|                    {
 1974|      0|                        more_ = false;
 1975|      0|                        return;
 1976|      0|                    }
 1977|    428|                    const uint8_t tag = (uint8_t)raw_tag_;
 1978|    428|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1979|    428|                    auto ta = typed_array_cast<int32_t>(array_buffer_);
 1980|    428|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1980:25): [True: 119, False: 309]
  ------------------
 1981|    119|                    {
 1982|  71.7k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1982:49): [True: 71.6k, False: 119]
  ------------------
 1983|  71.6k|                        {
 1984|  71.6k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 1985|  71.6k|                        }
 1986|    119|                    }
 1987|    428|                    if (is_multi_dim_)
  ------------------
  |  Branch (1987:25): [True: 0, False: 428]
  ------------------
 1988|      0|                    {
 1989|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1989:29): [True: 0, False: 0]
  ------------------
 1990|      0|                        {
 1991|      0|                            ec = cbor_errc::bad_mdarray;
 1992|      0|                            more_ = false;
 1993|      0|                            return;
 1994|      0|                        }
 1995|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int32_t>>(ta, extents_, order_);
 1996|      0|                    }
 1997|    428|                    else
 1998|    428|                    {
 1999|    428|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int32_t>>(ta);
 2000|    428|                    }
 2001|    428|                    typed_array_iter_->next(visitor, *this, ec);
 2002|    428|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2003|    428|                    more_ = !cursor_mode_;
 2004|    428|                    break;
 2005|    428|                }
 2006|  3.09k|                case 0x4b:
  ------------------
  |  Branch (2006:17): [True: 3.09k, False: 34.6k]
  ------------------
 2007|  3.27k|                case 0x4f:
  ------------------
  |  Branch (2007:17): [True: 179, False: 37.6k]
  ------------------
 2008|  3.27k|                {
 2009|  3.27k|                    is_typed_array_ = true;
 2010|  3.27k|                    element_type_ = typed_array_element_types::int64;
 2011|  3.27k|                    array_buffer_.clear();
 2012|  3.27k|                    read(array_buffer_,ec);
 2013|  3.27k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.27k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.27k]
  |  |  ------------------
  ------------------
 2014|      0|                    {
 2015|      0|                        more_ = false;
 2016|      0|                        return;
 2017|      0|                    }
 2018|  3.27k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2019|  3.27k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2020|  3.27k|                    auto ta = typed_array_cast<int64_t>(array_buffer_);
 2021|  3.27k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2021:25): [True: 3.09k, False: 179]
  ------------------
 2022|  3.09k|                    {
 2023|  13.4k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2023:49): [True: 10.3k, False: 3.09k]
  ------------------
 2024|  10.3k|                        {
 2025|  10.3k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2026|  10.3k|                        }
 2027|  3.09k|                    }
 2028|  3.27k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2028:25): [True: 0, False: 3.27k]
  ------------------
 2029|      0|                    {
 2030|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2030:29): [True: 0, False: 0]
  ------------------
 2031|      0|                        {
 2032|      0|                            ec = cbor_errc::bad_mdarray;
 2033|      0|                            more_ = false;
 2034|      0|                            return;
 2035|      0|                        }
 2036|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int64_t>>(ta, extents_, order_);
 2037|      0|                    }
 2038|  3.27k|                    else
 2039|  3.27k|                    {
 2040|  3.27k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int64_t>>(ta);
 2041|  3.27k|                    }
 2042|  3.27k|                    typed_array_iter_->next(visitor, *this, ec);
 2043|  3.27k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2044|  3.27k|                    more_ = !cursor_mode_;
 2045|  3.27k|                    break;
 2046|  3.27k|                }
 2047|     66|                case 0x50:
  ------------------
  |  Branch (2047:17): [True: 66, False: 37.7k]
  ------------------
 2048|     67|                case 0x54:
  ------------------
  |  Branch (2048:17): [True: 1, False: 37.7k]
  ------------------
 2049|     67|                {
 2050|     67|                    is_typed_array_ = true;
 2051|     67|                    element_type_ = typed_array_element_types::half_float;
 2052|     67|                    array_buffer_.clear();
 2053|     67|                    read(array_buffer_,ec);
 2054|     67|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     67|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 67]
  |  |  ------------------
  ------------------
 2055|      0|                    {
 2056|      0|                        more_ = false;
 2057|      0|                        return;
 2058|      0|                    }
 2059|     67|                    const uint8_t tag = (uint8_t)raw_tag_;
 2060|     67|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2061|     67|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 2062|     67|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2062:25): [True: 66, False: 1]
  ------------------
 2063|     66|                    {
 2064|    122|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2064:49): [True: 56, False: 66]
  ------------------
 2065|     56|                        {
 2066|     56|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2067|     56|                        }
 2068|     66|                    }
 2069|     67|                    if (is_multi_dim_)
  ------------------
  |  Branch (2069:25): [True: 0, False: 67]
  ------------------
 2070|      0|                    {
 2071|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2071:29): [True: 0, False: 0]
  ------------------
 2072|      0|                        {
 2073|      0|                            ec = cbor_errc::bad_mdarray;
 2074|      0|                            more_ = false;
 2075|      0|                            return;
 2076|      0|                        }
 2077|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 2078|      0|                    }
 2079|     67|                    else
 2080|     67|                    {
 2081|     67|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t,decode_half>>(ta);
 2082|     67|                    }
 2083|     67|                    typed_array_iter_->next(visitor, *this, ec);
 2084|     67|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2085|     67|                    more_ = !cursor_mode_;
 2086|     67|                    break;
 2087|     67|                }
 2088|  1.45k|                case 0x51:
  ------------------
  |  Branch (2088:17): [True: 1.45k, False: 36.3k]
  ------------------
 2089|  1.53k|                case 0x55:
  ------------------
  |  Branch (2089:17): [True: 78, False: 37.7k]
  ------------------
 2090|  1.53k|                {
 2091|  1.53k|                    is_typed_array_ = true;
 2092|  1.53k|                    element_type_ = typed_array_element_types::float32;
 2093|  1.53k|                    array_buffer_.clear();
 2094|  1.53k|                    read(array_buffer_,ec);
 2095|  1.53k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.53k]
  |  |  ------------------
  ------------------
 2096|      0|                    {
 2097|      0|                        more_ = false;
 2098|      0|                        return;
 2099|      0|                    }
 2100|  1.53k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2101|  1.53k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2102|  1.53k|                    auto ta = typed_array_cast<float>(array_buffer_);
 2103|  1.53k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2103:25): [True: 1.45k, False: 78]
  ------------------
 2104|  1.45k|                    {
 2105|  5.79k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2105:49): [True: 4.33k, False: 1.45k]
  ------------------
 2106|  4.33k|                        {
 2107|  4.33k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2108|  4.33k|                        }
 2109|  1.45k|                    }
 2110|  1.53k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2110:25): [True: 0, False: 1.53k]
  ------------------
 2111|      0|                    {
 2112|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2112:29): [True: 0, False: 0]
  ------------------
 2113|      0|                        {
 2114|      0|                            ec = cbor_errc::bad_mdarray;
 2115|      0|                            more_ = false;
 2116|      0|                            return;
 2117|      0|                        }
 2118|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<float>>(ta, extents_, order_);
 2119|      0|                    }
 2120|  1.53k|                    else
 2121|  1.53k|                    {
 2122|  1.53k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<float>>(ta);
 2123|  1.53k|                    }
 2124|  1.53k|                    typed_array_iter_->next(visitor, *this, ec);
 2125|  1.53k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2126|  1.53k|                    more_ = !cursor_mode_;
 2127|  1.53k|                    break;
 2128|  1.53k|                }
 2129|  2.88k|                case 0x52:
  ------------------
  |  Branch (2129:17): [True: 2.88k, False: 34.9k]
  ------------------
 2130|  2.88k|                case 0x56:
  ------------------
  |  Branch (2130:17): [True: 0, False: 37.7k]
  ------------------
 2131|  2.88k|                {
 2132|  2.88k|                    is_typed_array_ = true;
 2133|  2.88k|                    element_type_ = typed_array_element_types::float64 ;
 2134|  2.88k|                    array_buffer_.clear();
 2135|  2.88k|                    read(array_buffer_,ec);
 2136|  2.88k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.88k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.88k]
  |  |  ------------------
  ------------------
 2137|      0|                    {
 2138|      0|                        more_ = false;
 2139|      0|                        return;
 2140|      0|                    }
 2141|  2.88k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2142|  2.88k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2143|  2.88k|                    auto ta = typed_array_cast<double>(array_buffer_);
 2144|  2.88k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2144:25): [True: 2.88k, False: 0]
  ------------------
 2145|  2.88k|                    {
 2146|  5.39k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2146:49): [True: 2.50k, False: 2.88k]
  ------------------
 2147|  2.50k|                        {
 2148|  2.50k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2149|  2.50k|                        }
 2150|  2.88k|                    }
 2151|  2.88k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2151:25): [True: 0, False: 2.88k]
  ------------------
 2152|      0|                    {
 2153|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2153:29): [True: 0, False: 0]
  ------------------
 2154|      0|                        {
 2155|      0|                            ec = cbor_errc::bad_mdarray;
 2156|      0|                            more_ = false;
 2157|      0|                            return;
 2158|      0|                        }
 2159|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<double>>(ta, extents_, order_);
 2160|      0|                    }
 2161|  2.88k|                    else
 2162|  2.88k|                    {
 2163|  2.88k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<double>>(ta);
 2164|  2.88k|                    }
 2165|  2.88k|                    typed_array_iter_->next(visitor, *this, ec);
 2166|  2.88k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2167|  2.88k|                    more_ = !cursor_mode_;
 2168|  2.88k|                    break;
 2169|  2.88k|                }
 2170|  2.99k|                default:
  ------------------
  |  Branch (2170:17): [True: 2.99k, False: 34.7k]
  ------------------
 2171|  2.99k|                {
 2172|  2.99k|                    read(bytes_buffer_,ec);
 2173|  2.99k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.99k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 2.99k]
  |  |  ------------------
  ------------------
 2174|      2|                    {
 2175|      2|                        more_ = false;
 2176|      2|                        return;
 2177|      2|                    }
 2178|  2.99k|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2179|  2.99k|                    more_ = !cursor_mode_;
 2180|  2.99k|                    break;
 2181|  2.99k|                }
 2182|  37.7k|            }
 2183|  37.7k|            other_tags_[item_tag] = false;
 2184|  37.7k|        }
 2185|  8.25M|        else
 2186|  8.25M|        {
 2187|  8.25M|            read(bytes_buffer_,ec);
 2188|  8.25M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.25M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 36, False: 8.25M]
  |  |  ------------------
  ------------------
 2189|     36|            {
 2190|     36|                return;
 2191|     36|            }
 2192|  8.25M|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2193|  8.25M|            more_ = !cursor_mode_;
 2194|  8.25M|        }
 2195|  8.28M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  185|  8.28M|        {
  186|  8.28M|            source->read_byte_string(cont,ec);
  187|  8.28M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeE:
  891|  8.33M|    {
  892|  8.33M|        v.clear();
  893|  8.33M|        auto c = source_.peek();
  894|  8.33M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  8.33M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 8.33M]
  |  |  ------------------
  ------------------
  895|      0|        {
  896|      0|            ec = cbor_errc::unexpected_eof;
  897|      0|            return;
  898|      0|        }
  899|  8.33M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  900|  8.33M|        uint8_t info = get_additional_information_value(c.value);
  901|       |
  902|  8.33M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   45|  8.33M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.33M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  903|       |
  904|  8.33M|        switch(info)
  905|  8.33M|        {
  906|    420|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (906:13): [True: 420, False: 8.32M]
  ------------------
  907|    420|            {
  908|    420|                auto func = [&v](Source& source, std::size_t length, std::error_code& ec) -> bool
  909|    420|                {
  910|    420|                    if (source_reader<Source>::read(source, v, length) != length)
  911|    420|                    {
  912|    420|                        ec = cbor_errc::unexpected_eof;
  913|    420|                        return false;
  914|    420|                    }
  915|    420|                    return true;
  916|    420|                };
  917|    420|                iterate_string_chunks(func, major_type, ec);
  918|    420|                break;
  919|      0|            }
  920|  8.32M|            default:
  ------------------
  |  Branch (920:13): [True: 8.32M, False: 420]
  ------------------
  921|  8.32M|            {
  922|  8.32M|                std::size_t length = read_size(ec);
  923|  8.32M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.32M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 8.32M]
  |  |  ------------------
  ------------------
  924|      0|                {
  925|      0|                    return;
  926|      0|                }
  927|  8.32M|                if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (927:21): [True: 27, False: 8.32M]
  ------------------
  928|     27|                {
  929|     27|                    ec = cbor_errc::unexpected_eof;
  930|     27|                    return;
  931|     27|                }
  932|  8.32M|                if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (932:21): [True: 3.83M, False: 4.49M]
  ------------------
  933|  3.83M|                    v.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (933:21): [True: 1.92M, False: 1.90M]
  ------------------
  934|  1.92M|                {
  935|  1.92M|                    stringref_map_stack_.back().emplace_back(mapped_string(v, alloc_));
  936|  1.92M|                }
  937|  8.32M|                break;
  938|  8.32M|            }
  939|       |
  940|  8.33M|        }
  941|  8.33M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksIZNS8_16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEEUlRS6_mSE_E_EEvRT_NS0_6detail15cbor_major_typeESE_:
  945|    420|    {
  946|    420|        int nesting_level = 0;
  947|       |
  948|    420|        bool done = false;
  949|  4.52M|        while (!done)
  ------------------
  |  Branch (949:16): [True: 4.52M, False: 404]
  ------------------
  950|  4.52M|        {
  951|  4.52M|            auto c = source_.peek();
  952|  4.52M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  4.52M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 4.52M]
  |  |  ------------------
  ------------------
  953|      5|            {
  954|      5|                ec = cbor_errc::unexpected_eof;
  955|      5|                more_ = false;
  956|      5|                return;
  957|      5|            }
  958|  4.52M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (958:17): [True: 4.52M, False: 420]
  |  Branch (958:38): [True: 338k, False: 4.18M]
  ------------------
  959|   338k|            {
  960|   338k|                --nesting_level;
  961|   338k|                if (nesting_level == 0)
  ------------------
  |  Branch (961:21): [True: 404, False: 337k]
  ------------------
  962|    404|                {
  963|    404|                    done = true;
  964|    404|                }
  965|   338k|                source_.ignore(1);
  966|   338k|                continue;
  967|   338k|            }
  968|       |
  969|  4.18M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  970|  4.18M|            if (major_type != type)
  ------------------
  |  Branch (970:17): [True: 7, False: 4.18M]
  ------------------
  971|      7|            {
  972|      7|                ec = cbor_errc::illegal_chunked_string;
  973|      7|                more_ = false;
  974|      7|                return;
  975|      7|            }
  976|  4.18M|            uint8_t info = get_additional_information_value(c.value);
  977|       |
  978|  4.18M|            switch (info)
  979|  4.18M|            {
  980|  3.98M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (980:17): [True: 3.98M, False: 198k]
  ------------------
  981|  3.98M|                {
  982|  3.98M|                    ++nesting_level;
  983|  3.98M|                    source_.ignore(1);
  984|  3.98M|                    break;
  985|      0|                }
  986|   198k|                default: // definite length
  ------------------
  |  Branch (986:17): [True: 198k, False: 3.98M]
  ------------------
  987|   198k|                {
  988|   198k|                    std::size_t length = read_size(ec);
  989|   198k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   198k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 198k]
  |  |  ------------------
  ------------------
  990|      0|                    {
  991|      0|                        return;
  992|      0|                    }
  993|   198k|                    more_ = func(source_, length, ec);
  994|   198k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   198k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 198k]
  |  |  ------------------
  ------------------
  995|      4|                    {
  996|      4|                        return;
  997|      4|                    }
  998|   198k|                    if (nesting_level == 0)
  ------------------
  |  Branch (998:25): [True: 0, False: 198k]
  ------------------
  999|      0|                    {
 1000|      0|                        done = true;
 1001|      0|                    }
 1002|   198k|                    break;
 1003|   198k|                }
 1004|  4.18M|            }
 1005|  4.18M|        } 
 1006|    420|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEENKUlRS6_mSD_E_clESE_mSD_:
  909|   198k|                {
  910|   198k|                    if (source_reader<Source>::read(source, v, length) != length)
  ------------------
  |  Branch (910:25): [True: 4, False: 198k]
  ------------------
  911|      4|                    {
  912|      4|                        ec = cbor_errc::unexpected_eof;
  913|      4|                        return false;
  914|      4|                    }
  915|   198k|                    return true;
  916|   198k|                };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_sizeERNS3_10error_codeE:
  875|  27.6M|    {
  876|  27.6M|        uint64_t u = read_uint64(ec);
  877|  27.6M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  27.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 27.6M]
  |  |  ------------------
  ------------------
  878|      1|        {
  879|      1|            return 0;
  880|      1|        }
  881|  27.6M|        std::size_t len = static_cast<std::size_t>(u);
  882|  27.6M|        if (len != u)
  ------------------
  |  Branch (882:13): [True: 0, False: 27.6M]
  ------------------
  883|      0|        {
  884|      0|            ec = cbor_errc::number_too_large;
  885|      0|            more_ = false;
  886|      0|        }
  887|  27.6M|        return len;
  888|  27.6M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2EOS9_:
  103|  4.30M|        mapped_string(mapped_string&&) = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_6vectorIhS5_EERKS7_:
   92|  1.92M|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes,alloc)
   93|  1.92M|        {
   94|  1.92M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  842|  2.31M|    {
  843|  2.31M|        auto c = source_.peek();
  844|  2.31M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.31M]
  |  |  ------------------
  ------------------
  845|      0|        {
  846|      0|            ec = cbor_errc::unexpected_eof;
  847|      0|            more_ = false;
  848|      0|            return;
  849|      0|        }
  850|  2.31M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  851|  2.31M|        uint8_t info = get_additional_information_value(c.value);
  852|       |
  853|  2.31M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::text_string);
  ------------------
  |  |   45|  2.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.31M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  854|  2.31M|        auto func = [&str](Source& source, std::size_t length, std::error_code& ec) -> bool
  855|  2.31M|        {
  856|  2.31M|            if (source_reader<Source>::read(source, str, length) != length)
  857|  2.31M|            {
  858|  2.31M|                ec = cbor_errc::unexpected_eof;
  859|  2.31M|                return false;
  860|  2.31M|            }
  861|  2.31M|            return true;
  862|  2.31M|        };
  863|  2.31M|        iterate_string_chunks(func, major_type, ec);
  864|       |
  865|  2.31M|        if (!stringref_map_stack_.empty() && 
  ------------------
  |  Branch (865:13): [True: 1.44M, False: 870k]
  ------------------
  866|  1.44M|            info != jsoncons::cbor::detail::additional_info::indefinite_length &&
  ------------------
  |  Branch (866:13): [True: 1.44M, False: 2]
  ------------------
  867|  1.44M|            str.length() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (867:13): [True: 526, False: 1.44M]
  ------------------
  868|    526|        {
  869|    526|            stringref_map_stack_.back().emplace_back(mapped_string(str,alloc_));
  870|    526|        }
  871|       |
  872|  2.31M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksIZNS8_16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeEEUlRS6_mSG_E_EEvRT_NS0_6detail15cbor_major_typeESG_:
  945|  2.31M|    {
  946|  2.31M|        int nesting_level = 0;
  947|       |
  948|  2.31M|        bool done = false;
  949|  8.15M|        while (!done)
  ------------------
  |  Branch (949:16): [True: 5.83M, False: 2.31M]
  ------------------
  950|  5.83M|        {
  951|  5.83M|            auto c = source_.peek();
  952|  5.83M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.83M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 5.83M]
  |  |  ------------------
  ------------------
  953|      5|            {
  954|      5|                ec = cbor_errc::unexpected_eof;
  955|      5|                more_ = false;
  956|      5|                return;
  957|      5|            }
  958|  5.83M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (958:17): [True: 3.51M, False: 2.31M]
  |  Branch (958:38): [True: 893k, False: 2.62M]
  ------------------
  959|   893k|            {
  960|   893k|                --nesting_level;
  961|   893k|                if (nesting_level == 0)
  ------------------
  |  Branch (961:21): [True: 5, False: 893k]
  ------------------
  962|      5|                {
  963|      5|                    done = true;
  964|      5|                }
  965|   893k|                source_.ignore(1);
  966|   893k|                continue;
  967|   893k|            }
  968|       |
  969|  4.94M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  970|  4.94M|            if (major_type != type)
  ------------------
  |  Branch (970:17): [True: 6, False: 4.94M]
  ------------------
  971|      6|            {
  972|      6|                ec = cbor_errc::illegal_chunked_string;
  973|      6|                more_ = false;
  974|      6|                return;
  975|      6|            }
  976|  4.94M|            uint8_t info = get_additional_information_value(c.value);
  977|       |
  978|  4.94M|            switch (info)
  979|  4.94M|            {
  980|  2.62M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (980:17): [True: 2.62M, False: 2.32M]
  ------------------
  981|  2.62M|                {
  982|  2.62M|                    ++nesting_level;
  983|  2.62M|                    source_.ignore(1);
  984|  2.62M|                    break;
  985|      0|                }
  986|  2.32M|                default: // definite length
  ------------------
  |  Branch (986:17): [True: 2.32M, False: 2.62M]
  ------------------
  987|  2.32M|                {
  988|  2.32M|                    std::size_t length = read_size(ec);
  989|  2.32M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.32M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.32M]
  |  |  ------------------
  ------------------
  990|      0|                    {
  991|      0|                        return;
  992|      0|                    }
  993|  2.32M|                    more_ = func(source_, length, ec);
  994|  2.32M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.32M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 38, False: 2.32M]
  |  |  ------------------
  ------------------
  995|     38|                    {
  996|     38|                        return;
  997|     38|                    }
  998|  2.32M|                    if (nesting_level == 0)
  ------------------
  |  Branch (998:25): [True: 2.31M, False: 3.16k]
  ------------------
  999|  2.31M|                    {
 1000|  2.31M|                        done = true;
 1001|  2.31M|                    }
 1002|  2.32M|                    break;
 1003|  2.32M|                }
 1004|  4.94M|            }
 1005|  4.94M|        } 
 1006|  2.31M|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeEENKUlRS6_mSF_E_clESG_mSF_:
  855|  2.32M|        {
  856|  2.32M|            if (source_reader<Source>::read(source, str, length) != length)
  ------------------
  |  Branch (856:17): [True: 38, False: 2.32M]
  ------------------
  857|     38|            {
  858|     38|                ec = cbor_errc::unexpected_eof;
  859|     38|                return false;
  860|     38|            }
  861|  2.32M|            return true;
  862|  2.32M|        };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERKS7_:
   81|    526|            : type(jsoncons::cbor::detail::cbor_major_type::text_string), str(str.c_str(), str.size(), alloc), bytes(alloc)
   82|    526|        {
   83|    526|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_doubleERNS3_10error_codeE:
 1179|  4.13k|    {
 1180|  4.13k|        double val = 0;
 1181|       |
 1182|  4.13k|        uint8_t b;
 1183|  4.13k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1183:13): [True: 0, False: 4.13k]
  ------------------
 1184|      0|        {
 1185|      0|            ec = cbor_errc::unexpected_eof;
 1186|      0|            more_ = false;
 1187|      0|            return 0;
 1188|      0|        }
 1189|  4.13k|        uint8_t info = get_additional_information_value(b);
 1190|  4.13k|        switch (info)
 1191|  4.13k|        {
 1192|  2.52k|        case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (1192:9): [True: 2.52k, False: 1.61k]
  ------------------
 1193|  2.52k|            {
 1194|  2.52k|                uint8_t buf[sizeof(float)];
 1195|  2.52k|                if (source_.read(buf, sizeof(float)) !=sizeof(float)) 
  ------------------
  |  Branch (1195:21): [True: 0, False: 2.52k]
  ------------------
 1196|      0|                {
 1197|      0|                    ec = cbor_errc::unexpected_eof;
 1198|      0|                    more_ = false;
 1199|      0|                    return 0;
 1200|      0|                }
 1201|  2.52k|                val = binary::big_to_native<float>(buf, sizeof(buf));
 1202|  2.52k|                break;
 1203|  2.52k|            }
 1204|       |
 1205|  1.61k|        case 0x1b: //  Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (1205:9): [True: 1.61k, False: 2.52k]
  ------------------
 1206|  1.61k|            {
 1207|  1.61k|                uint8_t buf[sizeof(double)];
 1208|  1.61k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (1208:21): [True: 14, False: 1.59k]
  ------------------
 1209|     14|                {
 1210|     14|                    ec = cbor_errc::unexpected_eof;
 1211|     14|                    more_ = false;
 1212|     14|                    return 0;
 1213|     14|                }
 1214|  1.59k|                val = binary::big_to_native<double>(buf, sizeof(buf));
 1215|  1.59k|                break;
 1216|  1.61k|            }
 1217|      0|            default:
  ------------------
  |  Branch (1217:13): [True: 0, False: 4.13k]
  ------------------
 1218|      0|                break;
 1219|  4.13k|        }
 1220|       |        
 1221|  4.12k|        return val;
 1222|  4.13k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_decimal_fractionERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1225|   855k|    {
 1226|   855k|        std::size_t size = read_size(ec);
 1227|   855k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   855k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 855k]
  |  |  ------------------
  ------------------
 1228|      0|        {
 1229|      0|            return;
 1230|      0|        }
 1231|   855k|        if (size != 2)
  ------------------
  |  Branch (1231:13): [True: 0, False: 855k]
  ------------------
 1232|      0|        {
 1233|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1234|      0|            more_ = false;
 1235|      0|            return;
 1236|      0|        }
 1237|       |
 1238|   855k|        auto c = source_.peek();
 1239|   855k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   855k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 855k]
  |  |  ------------------
  ------------------
 1240|      1|        {
 1241|      1|            ec = cbor_errc::unexpected_eof;
 1242|      1|            more_ = false;
 1243|      1|            return;
 1244|      1|        }
 1245|   855k|        int64_t exponent = 0;
 1246|   855k|        switch (get_major_type(c.value))
 1247|   855k|        {
 1248|  23.7k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1248:13): [True: 23.7k, False: 831k]
  ------------------
 1249|  23.7k|            {
 1250|  23.7k|                exponent = read_uint64(ec);
 1251|  23.7k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  23.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 23.7k]
  |  |  ------------------
  ------------------
 1252|      0|                {
 1253|      0|                    return;
 1254|      0|                }
 1255|  23.7k|                break;
 1256|  23.7k|            }
 1257|   831k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1257:13): [True: 831k, False: 23.7k]
  ------------------
 1258|   831k|            {
 1259|   831k|                exponent = read_int64(ec);
 1260|   831k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   831k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 831k]
  |  |  ------------------
  ------------------
 1261|      0|                {
 1262|      0|                    return;
 1263|      0|                }
 1264|   831k|                break;
 1265|   831k|            }
 1266|   831k|            default:
  ------------------
  |  Branch (1266:13): [True: 3, False: 855k]
  ------------------
 1267|      3|            {
 1268|      3|                ec = cbor_errc::invalid_decimal_fraction;
 1269|      3|                more_ = false;
 1270|      3|                return;
 1271|   831k|            }
 1272|   855k|        }
 1273|       |
 1274|   855k|        string_type str(alloc_);
 1275|       |
 1276|   855k|        c = source_.peek();
 1277|   855k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   855k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 855k]
  |  |  ------------------
  ------------------
 1278|      2|        {
 1279|      2|            ec = cbor_errc::unexpected_eof;
 1280|      2|            more_ = false;
 1281|      2|            return;
 1282|      2|        }
 1283|       |
 1284|   855k|        switch (get_major_type(c.value))
 1285|   855k|        {
 1286|    836|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1286:13): [True: 836, False: 854k]
  ------------------
 1287|    836|            {
 1288|    836|                uint64_t val = read_uint64(ec);
 1289|    836|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    836|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 836]
  |  |  ------------------
  ------------------
 1290|      0|                {
 1291|      0|                    return;
 1292|      0|                }
 1293|    836|                jsoncons::from_integer(val, str);
 1294|    836|                break;
 1295|    836|            }
 1296|   831k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1296:13): [True: 831k, False: 23.8k]
  ------------------
 1297|   831k|            {
 1298|   831k|                int64_t val = read_int64(ec);
 1299|   831k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   831k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 831k]
  |  |  ------------------
  ------------------
 1300|      0|                {
 1301|      0|                    return;
 1302|      0|                }
 1303|   831k|                jsoncons::from_integer(val, str);
 1304|   831k|                break;
 1305|   831k|            }
 1306|  23.0k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1306:13): [True: 23.0k, False: 832k]
  ------------------
 1307|  23.0k|            {
 1308|  23.0k|                uint8_t b;
 1309|  23.0k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1309:21): [True: 0, False: 23.0k]
  ------------------
 1310|      0|                {
 1311|      0|                    ec = cbor_errc::unexpected_eof;
 1312|      0|                    more_ = false;
 1313|      0|                    return;
 1314|      0|                }
 1315|  23.0k|                uint8_t tag = get_additional_information_value(b);
 1316|  23.0k|                c = source_.peek();
 1317|  23.0k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  23.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 23.0k]
  |  |  ------------------
  ------------------
 1318|      0|                {
 1319|      0|                    ec = cbor_errc::unexpected_eof;
 1320|      0|                    more_ = false;
 1321|      0|                    return;
 1322|      0|                }
 1323|       |
 1324|  23.0k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1324:21): [True: 23.0k, False: 0]
  ------------------
 1325|  23.0k|                {
 1326|  23.0k|                    bytes_buffer_.clear();
 1327|  23.0k|                    read_byte_string(bytes_buffer_, ec);
 1328|  23.0k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  23.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 23.0k]
  |  |  ------------------
  ------------------
 1329|      3|                    {
 1330|      3|                        more_ = false;
 1331|      3|                        return;
 1332|      3|                    }
 1333|  23.0k|                    if (tag == 2)
  ------------------
  |  Branch (1333:25): [True: 0, False: 23.0k]
  ------------------
 1334|      0|                    {
 1335|      0|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1336|      0|                        n.write_string(str);
 1337|      0|                    }
 1338|  23.0k|                    else if (tag == 3)
  ------------------
  |  Branch (1338:30): [True: 23.0k, False: 0]
  ------------------
 1339|  23.0k|                    {
 1340|  23.0k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1341|  23.0k|                        n = -1 - n;
 1342|  23.0k|                        n.write_string(str);
 1343|  23.0k|                    }
 1344|  23.0k|                }
 1345|  23.0k|                break;
 1346|  23.0k|            }
 1347|  23.0k|            default:
  ------------------
  |  Branch (1347:13): [True: 0, False: 855k]
  ------------------
 1348|      0|            {
 1349|      0|                ec = cbor_errc::invalid_decimal_fraction;
 1350|      0|                more_ = false;
 1351|      0|                return;
 1352|  23.0k|            }
 1353|   855k|        }
 1354|       |
 1355|   855k|        if (str.size() >= static_cast<std::size_t>((std::numeric_limits<int32_t>::max)()) || 
  ------------------
  |  Branch (1355:13): [True: 0, False: 855k]
  ------------------
 1356|   855k|            exponent >= (std::numeric_limits<int32_t>::max)() || 
  ------------------
  |  Branch (1356:13): [True: 0, False: 855k]
  ------------------
 1357|   855k|            exponent <= (std::numeric_limits<int32_t>::min)())
  ------------------
  |  Branch (1357:13): [True: 0, False: 855k]
  ------------------
 1358|      0|        {
 1359|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1360|      0|            more_ = false;
 1361|      0|            return;
 1362|      0|        }
 1363|   855k|        else if (str.size() > 0)
  ------------------
  |  Branch (1363:18): [True: 855k, False: 0]
  ------------------
 1364|   855k|        {
 1365|   855k|            if (str[0] == '-')
  ------------------
  |  Branch (1365:17): [True: 854k, False: 836]
  ------------------
 1366|   854k|            {
 1367|   854k|                result.push_back('-');
 1368|   854k|                jsoncons::prettify_string(str.c_str()+1, str.size()-1, (int)exponent, -4, 17, result);
 1369|   854k|            }
 1370|    836|            else
 1371|    836|            {
 1372|    836|                jsoncons::prettify_string(str.c_str(), str.size(), (int)exponent, -4, 17, result);
 1373|    836|            }
 1374|   855k|        }
 1375|      0|        else
 1376|      0|        {
 1377|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1378|      0|            more_ = false;
 1379|      0|            return;
 1380|      0|        }
 1381|   855k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13read_bigfloatERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1384|  21.8k|    {
 1385|  21.8k|        std::size_t size = read_size(ec);
 1386|  21.8k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 21.8k]
  |  |  ------------------
  ------------------
 1387|      0|        {
 1388|      0|            return;
 1389|      0|        }
 1390|  21.8k|        if (size != 2)
  ------------------
  |  Branch (1390:13): [True: 0, False: 21.8k]
  ------------------
 1391|      0|        {
 1392|      0|            ec = cbor_errc::invalid_bigfloat;
 1393|      0|            more_ = false;
 1394|      0|            return;
 1395|      0|        }
 1396|       |
 1397|  21.8k|        auto c = source_.peek();
 1398|  21.8k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  21.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 21.8k]
  |  |  ------------------
  ------------------
 1399|      0|        {
 1400|      0|            ec = cbor_errc::unexpected_eof;
 1401|      0|            more_ = false;
 1402|      0|            return;
 1403|      0|        }
 1404|  21.8k|        int64_t exponent = 0;
 1405|  21.8k|        switch (get_major_type(c.value))
 1406|  21.8k|        {
 1407|  19.4k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1407:13): [True: 19.4k, False: 2.38k]
  ------------------
 1408|  19.4k|            {
 1409|  19.4k|                exponent = read_uint64(ec);
 1410|  19.4k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  19.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 19.4k]
  |  |  ------------------
  ------------------
 1411|      0|                {
 1412|      0|                    return;
 1413|      0|                }
 1414|  19.4k|                break;
 1415|  19.4k|            }
 1416|  19.4k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1416:13): [True: 2.38k, False: 19.4k]
  ------------------
 1417|  2.38k|            {
 1418|  2.38k|                exponent = read_int64(ec);
 1419|  2.38k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.38k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.38k]
  |  |  ------------------
  ------------------
 1420|      0|                {
 1421|      0|                    return;
 1422|      0|                }
 1423|  2.38k|                break;
 1424|  2.38k|            }
 1425|  2.38k|            default:
  ------------------
  |  Branch (1425:13): [True: 1, False: 21.8k]
  ------------------
 1426|      1|            {
 1427|      1|                ec = cbor_errc::invalid_bigfloat;
 1428|      1|                more_ = false;
 1429|      1|                return;
 1430|  2.38k|            }
 1431|  21.8k|        }
 1432|       |
 1433|  21.8k|        c = source_.peek();
 1434|  21.8k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  21.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 21.8k]
  |  |  ------------------
  ------------------
 1435|      0|        {
 1436|      0|            ec = cbor_errc::unexpected_eof;
 1437|      0|            more_ = false;
 1438|      0|            return;
 1439|      0|        }
 1440|  21.8k|        switch (get_major_type(c.value))
 1441|  21.8k|        {
 1442|    973|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1442:13): [True: 973, False: 20.8k]
  ------------------
 1443|    973|            {
 1444|    973|                uint64_t val = read_uint64(ec);
 1445|    973|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    973|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 973]
  |  |  ------------------
  ------------------
 1446|      0|                {
 1447|      0|                    return;
 1448|      0|                }
 1449|    973|                str.push_back('0');
 1450|    973|                str.push_back('x');
 1451|    973|                jsoncons::integer_to_hex(val, str);
 1452|    973|                break;
 1453|    973|            }
 1454|    548|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1454:13): [True: 548, False: 21.3k]
  ------------------
 1455|    548|            {
 1456|    548|                int64_t val = read_int64(ec);
 1457|    548|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    548|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 548]
  |  |  ------------------
  ------------------
 1458|      0|                {
 1459|      0|                    return;
 1460|      0|                }
 1461|    548|                str.push_back('-');
 1462|    548|                str.push_back('0');
 1463|    548|                str.push_back('x');
 1464|    548|                jsoncons::integer_to_hex(static_cast<uint64_t>(-val), str);
 1465|    548|                break;
 1466|    548|            }
 1467|  20.3k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1467:13): [True: 20.3k, False: 1.52k]
  ------------------
 1468|  20.3k|            {
 1469|  20.3k|                uint8_t b;
 1470|  20.3k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1470:21): [True: 0, False: 20.3k]
  ------------------
 1471|      0|                {
 1472|      0|                    ec = cbor_errc::unexpected_eof;
 1473|      0|                    more_ = false;
 1474|      0|                    return;
 1475|      0|                }
 1476|  20.3k|                uint8_t tag = get_additional_information_value(b);
 1477|       |
 1478|  20.3k|                c = source_.peek();
 1479|  20.3k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  20.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 20.3k]
  |  |  ------------------
  ------------------
 1480|      1|                {
 1481|      1|                    ec = cbor_errc::unexpected_eof;
 1482|      1|                    more_ = false;
 1483|      1|                    return;
 1484|      1|                }
 1485|       |
 1486|  20.3k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1486:21): [True: 17.9k, False: 2.39k]
  ------------------
 1487|  17.9k|                {
 1488|  17.9k|                    bytes_buffer_.clear(); 
 1489|  17.9k|                    read_byte_string(bytes_buffer_, ec);
 1490|  17.9k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  17.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 17.9k]
  |  |  ------------------
  ------------------
 1491|      2|                    {
 1492|      2|                        more_ = false;
 1493|      2|                        return;
 1494|      2|                    }
 1495|  17.9k|                    if (tag == 2)
  ------------------
  |  Branch (1495:25): [True: 17.9k, False: 26]
  ------------------
 1496|  17.9k|                    {
 1497|  17.9k|                        str.push_back('0');
 1498|  17.9k|                        str.push_back('x');
 1499|  17.9k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1500|  17.9k|                        n.write_string_hex(str);
 1501|  17.9k|                    }
 1502|     26|                    else if (tag == 3)
  ------------------
  |  Branch (1502:30): [True: 24, False: 2]
  ------------------
 1503|     24|                    {
 1504|     24|                        str.push_back('-');
 1505|     24|                        str.push_back('0');
 1506|     24|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1507|     24|                        n = -1 - n;
 1508|     24|                        n.write_string_hex(str);
 1509|     24|                        str[2] = 'x'; // overwrite minus
 1510|     24|                    }
 1511|  17.9k|                }
 1512|  20.3k|                break;
 1513|  20.3k|            }
 1514|  20.3k|            default:
  ------------------
  |  Branch (1514:13): [True: 0, False: 21.8k]
  ------------------
 1515|      0|            {
 1516|      0|                ec = cbor_errc::invalid_bigfloat;
 1517|      0|                more_ = false;
 1518|      0|                return;
 1519|  20.3k|            }
 1520|  21.8k|        }
 1521|       |
 1522|  21.8k|        str.push_back('p');
 1523|  21.8k|        if (exponent >=0)
  ------------------
  |  Branch (1523:13): [True: 19.4k, False: 2.38k]
  ------------------
 1524|  19.4k|        {
 1525|  19.4k|            jsoncons::integer_to_hex(static_cast<uint64_t>(exponent), str);
 1526|  19.4k|        }
 1527|  2.38k|        else
 1528|  2.38k|        {
 1529|  2.38k|            str.push_back('-');
 1530|  2.38k|            jsoncons::integer_to_hex(static_cast<uint64_t>(-exponent), str);
 1531|  2.38k|        }
 1532|  21.8k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE23produce_begin_multi_dimERNS3_10error_codeE:
 2198|  4.39k|    {
 2199|  4.39k|        uint8_t b;
 2200|  4.39k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (2200:13): [True: 0, False: 4.39k]
  ------------------
 2201|      0|        {
 2202|      0|            ec = cbor_errc::unexpected_eof;
 2203|      0|            more_ = false;
 2204|      0|            return;
 2205|      0|        }
 2206|  4.39k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(b);
 2207|  4.39k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::array);
  ------------------
  |  |   45|  4.39k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.39k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 2208|  4.39k|        uint8_t info = get_additional_information_value(b);
 2209|       |       
 2210|  4.39k|        read_extents(info, ec);   
 2211|  4.39k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 25, False: 4.37k]
  |  |  ------------------
  ------------------
 2212|     25|        {
 2213|     25|            return;
 2214|     25|        }
 2215|       |
 2216|  4.37k|        state_stack_.emplace_back(parse_mode::multi_dim, 0);
 2217|  4.37k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_extentsEhRNS3_10error_codeE:
 2220|  4.39k|    {
 2221|  4.39k|        extents_.clear();
 2222|  4.39k|        switch (info)
 2223|  4.39k|        {
 2224|      7|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (2224:13): [True: 7, False: 4.38k]
  ------------------
 2225|      7|            {
 2226|  3.09M|                while (true)
  ------------------
  |  Branch (2226:24): [True: 3.09M, Folded]
  ------------------
 2227|  3.09M|                {
 2228|  3.09M|                    auto c = source_.peek();
 2229|  3.09M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  3.09M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 3.09M]
  |  |  ------------------
  ------------------
 2230|      7|                    {
 2231|      7|                        ec = cbor_errc::unexpected_eof;
 2232|      7|                        more_ = false;
 2233|      7|                        return;
 2234|      7|                    }
 2235|  3.09M|                    if (c.value == 0xff)
  ------------------
  |  Branch (2235:25): [True: 828k, False: 2.27M]
  ------------------
 2236|   828k|                    {
 2237|   828k|                        source_.ignore(1);
 2238|   828k|                    }
 2239|  2.27M|                    else
 2240|  2.27M|                    {
 2241|  2.27M|                        std::size_t extent = read_size(ec);
 2242|  2.27M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.27M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.27M]
  |  |  ------------------
  ------------------
 2243|      0|                        {
 2244|      0|                            more_ = false;
 2245|      0|                            return;
 2246|      0|                        }
 2247|  2.27M|                        extents_.push_back(extent);
 2248|  2.27M|                    }
 2249|  3.09M|                }
 2250|      0|                break;
 2251|      7|            }
 2252|  4.38k|            default:
  ------------------
  |  Branch (2252:13): [True: 4.38k, False: 7]
  ------------------
 2253|  4.38k|            {
 2254|  4.38k|                std::size_t size = read_size(ec);
 2255|  4.38k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.38k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.38k]
  |  |  ------------------
  ------------------
 2256|      0|                {
 2257|      0|                    more_ = false;
 2258|      0|                    return;
 2259|      0|                }
 2260|   266k|                for (std::size_t i = 0; more_ && i < size; ++i)
  ------------------
  |  Branch (2260:41): [True: 266k, False: 0]
  |  Branch (2260:50): [True: 262k, False: 4.38k]
  ------------------
 2261|   262k|                {
 2262|   262k|                    std::size_t extent = read_size(ec);
 2263|   262k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   262k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 262k]
  |  |  ------------------
  ------------------
 2264|      1|                    {
 2265|      1|                        more_ = false;
 2266|      1|                        return;
 2267|      1|                    }
 2268|   262k|                    extents_.push_back(extent);
 2269|   262k|                }
 2270|  4.38k|                break;
 2271|  4.38k|            }
 2272|  4.39k|        }
 2273|  4.38k|        auto r = calculate_mdarray_size(extents_);
 2274|  4.38k|        if (!r)
  ------------------
  |  Branch (2274:13): [True: 17, False: 4.37k]
  ------------------
 2275|     17|        {
 2276|     17|            ec = cbor_errc::bad_extents;
 2277|     17|            more_ = false;
 2278|     17|            return;
 2279|     17|        }
 2280|  4.37k|        mdarray_size_ = *r;
 2281|  4.37k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  728|   796k|    {
  729|   796k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   796k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 796k]
  |  |  ------------------
  ------------------
  730|      0|        {
  731|      0|            ec = cbor_errc::max_nesting_depth_exceeded;
  732|      0|            more_ = false;
  733|      0|            return;
  734|      0|        } 
  735|   796k|        semantic_tag tag = semantic_tag::none;
  736|   796k|        bool pop_stringref_map_stack = false;
  737|   796k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (737:13): [True: 542, False: 795k]
  ------------------
  738|    542|        {
  739|    542|            stringref_map_stack_.emplace_back();
  740|    542|            other_tags_[stringref_namespace_tag] = false;
  741|    542|            pop_stringref_map_stack = true;
  742|    542|        }
  743|   796k|        switch (info)
  744|   796k|        {
  745|   379k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (745:13): [True: 379k, False: 416k]
  ------------------
  746|   379k|            {
  747|   379k|                state_stack_.emplace_back(parse_mode::indefinite_array,0,pop_stringref_map_stack);
  748|   379k|                visitor.begin_array(tag, *this, ec);
  749|   379k|                more_ = !cursor_mode_;
  750|   379k|                source_.ignore(1);
  751|   379k|                break;
  752|      0|            }
  753|   416k|            default: // definite length
  ------------------
  |  Branch (753:13): [True: 416k, False: 379k]
  ------------------
  754|   416k|            {
  755|   416k|                std::size_t len = read_size(ec);
  756|   416k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   416k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 416k]
  |  |  ------------------
  ------------------
  757|      0|                {
  758|      0|                    return;
  759|      0|                }
  760|   416k|                state_stack_.emplace_back(parse_mode::array,len,pop_stringref_map_stack);
  761|   416k|                visitor.begin_array(len, tag, *this, ec);
  762|   416k|                more_ = !cursor_mode_;
  763|   416k|                break;
  764|   416k|            }
  765|   796k|        }
  766|   796k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  786|  13.4M|    {
  787|  13.4M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  13.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 13.4M]
  |  |  ------------------
  ------------------
  788|      1|        {
  789|      1|            ec = cbor_errc::max_nesting_depth_exceeded;
  790|      1|            more_ = false;
  791|      1|            return;
  792|      1|        } 
  793|  13.4M|        bool pop_stringref_map_stack = false;
  794|  13.4M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (794:13): [True: 547, False: 13.4M]
  ------------------
  795|    547|        {
  796|    547|            stringref_map_stack_.emplace_back();
  797|    547|            other_tags_[stringref_namespace_tag] = false;
  798|    547|            pop_stringref_map_stack = true;
  799|    547|        }
  800|  13.4M|        switch (info)
  801|  13.4M|        {
  802|   497k|            case jsoncons::cbor::detail::additional_info::indefinite_length: 
  ------------------
  |  Branch (802:13): [True: 497k, False: 12.9M]
  ------------------
  803|   497k|            {
  804|   497k|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0,pop_stringref_map_stack);
  805|   497k|                visitor.begin_object(semantic_tag::none, *this, ec);
  806|   497k|                more_ = !cursor_mode_;
  807|   497k|                source_.ignore(1);
  808|   497k|                break;
  809|      0|            }
  810|  12.9M|            default: // definite_length
  ------------------
  |  Branch (810:13): [True: 12.9M, False: 497k]
  ------------------
  811|  12.9M|            {
  812|  12.9M|                std::size_t len = read_size(ec);
  813|  12.9M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  12.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 12.9M]
  |  |  ------------------
  ------------------
  814|      0|                {
  815|      0|                    return;
  816|      0|                }
  817|  12.9M|                state_stack_.emplace_back(parse_mode::map_key,len,pop_stringref_map_stack);
  818|  12.9M|                visitor.begin_object(len, semantic_tag::none, *this, ec);
  819|  12.9M|                more_ = !cursor_mode_;
  820|  12.9M|                break;
  821|  12.9M|            }
  822|  13.4M|        }
  823|  13.4M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  769|   790k|    {
  770|   790k|        --nesting_depth_;
  771|       |
  772|   790k|        visitor.end_array(*this, ec);
  773|   790k|        more_ = !cursor_mode_;
  774|   790k|        if (level() == mark_level_)
  ------------------
  |  Branch (774:13): [True: 0, False: 790k]
  ------------------
  775|      0|        {
  776|      0|            more_ = false;
  777|      0|        }
  778|   790k|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (778:13): [True: 265, False: 790k]
  ------------------
  779|    265|        {
  780|    265|            stringref_map_stack_.pop_back();
  781|    265|        }
  782|   790k|        state_stack_.pop_back();
  783|   790k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  266|  14.2M|    {
  267|  14.2M|        return static_cast<int>(state_stack_.size());
  268|  14.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  826|  13.4M|    {
  827|  13.4M|        --nesting_depth_;
  828|  13.4M|        visitor.end_object(*this, ec);
  829|  13.4M|        more_ = !cursor_mode_;
  830|  13.4M|        if (level() == mark_level_)
  ------------------
  |  Branch (830:13): [True: 0, False: 13.4M]
  ------------------
  831|      0|        {
  832|      0|            more_ = false;
  833|      0|        }
  834|  13.4M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (834:13): [True: 447, False: 13.4M]
  ------------------
  835|    447|        {
  836|    447|            stringref_map_stack_.pop_back();
  837|    447|        }
  838|  13.4M|        state_stack_.pop_back();
  839|  13.4M|    }

_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19cbor_decode_optionsERKS7_:
   52|    299|       : parser_(std::forward<Sourceable>(source), options, alloc),
   53|    299|         adaptor_(visitor, alloc), visitor_(adaptor_)
   54|    299|    {
   55|    299|    }
_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   88|    299|    {
   89|    299|        parser_.reset();
   90|    299|        parser_.parse(visitor_, ec);
   91|    299|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    299|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 258, False: 41]
  |  |  ------------------
  ------------------
   92|    258|        {
   93|    258|            return;
   94|    258|        }
   95|    299|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   98|    258|    {
   99|    258|        return parser_.line();
  100|    258|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  103|    258|    {
  104|    258|        return parser_.column();
  105|    258|    }

_ZN8jsoncons4cbor11decode_cborINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEJRNS4_19basic_istringstreamIcNS4_11char_traitsIcEES6_EEEEET_DpOT0_:
  255|    299|{
  256|    299|    auto result = try_decode_cbor<T>(std::forward<Args>(args)...); 
  257|    299|    if (!result)
  ------------------
  |  Branch (257:9): [True: 258, False: 41]
  ------------------
  258|    258|    {
  259|    258|        JSONCONS_THROW(ser_error(result.error().code(), result.error().line(), result.error().column()));
  ------------------
  |  |   35|    258|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  260|    258|    }
  261|     41|    return std::move(*result);
  262|    299|}
_ZN8jsoncons4cbor15try_decode_cborINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEENS4_9enable_ifIXsr10ext_traits13is_basic_jsonIT_EE5valueENS_6detail8expectedIS9_NS_10read_errorEEEE4typeERNS4_13basic_istreamIcNS4_11char_traitsIcEEEERKNS0_19cbor_decode_optionsE:
   78|    299|{
   79|    299|    using value_type = T;
   80|    299|    using result_type = read_result<value_type>;
   81|       |
   82|    299|    std::error_code ec;   
   83|    299|    jsoncons::json_decoder<T> decoder;
   84|    299|    auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
   85|    299|    cbor_stream_reader reader(is, adaptor, options);
   86|    299|    reader.read(ec);
   87|    299|    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    299|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 258, False: 41]
  |  |  ------------------
  ------------------
   88|    258|    {
   89|    258|        return result_type{jsoncons::unexpect, ec, reader.line(), reader.column()};
   90|    258|    }
   91|     41|    if (JSONCONS_UNLIKELY(!decoder.is_valid()))
  ------------------
  |  |   78|     41|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 41]
  |  |  ------------------
  ------------------
   92|      0|    {
   93|      0|        return result_type{jsoncons::unexpect, conv_errc::conversion_failed, reader.line(), reader.column()};
   94|      0|    }
   95|     41|    return result_type{decoder.get_result()};
   96|     41|}

