LLVMFuzzerTestOneInput:
   12|  4.63k|{
   13|  4.63k|    std::string s(reinterpret_cast<const char*>(data), size);
   14|  4.63k|    std::istringstream is(s);
   15|       |
   16|  4.63k|    default_json_visitor visitor;
   17|       |
   18|  4.63k|    msgpack_stream_reader reader(is, visitor);
   19|  4.63k|    std::error_code ec;
   20|  4.63k|    reader.read(ec);
   21|       |
   22|  4.63k|    return 0;
   23|  4.63k|}

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

_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  16.6M|        {
  117|  16.6M|            return size_;
  118|  16.6M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  5.03M|        {
   59|  5.03M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   801k|            : data_(data), size_(size)
   62|   801k|        {
   63|   801k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  10.8M|        {
  112|  10.8M|            return data_;
  113|  10.8M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|   257k|        {
 1009|   257k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 53.6k, False: 204k]
  ------------------
 1010|  53.6k|            {
 1011|  53.6k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 49.2k, False: 4.39k]
  |  Branch (1011:86): [True: 46.3k, False: 2.81k]
  ------------------
 1012|  46.3k|                {
 1013|  46.3k|                    key_buffer_.push_back(',');
 1014|  46.3k|                }
 1015|  53.6k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|  53.6k|                key_buffer_.push_back('[');
 1017|  53.6k|            }
 1018|   204k|            else
 1019|   204k|            {
 1020|   204k|                switch (level_stack_.back().target_kind())
 1021|   204k|                {
 1022|   189k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 189k, False: 14.8k]
  ------------------
 1023|   189k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 140k, False: 48.5k]
  |  Branch (1023:65): [True: 54.7k, False: 86.1k]
  ------------------
 1024|  54.7k|                        {
 1025|  54.7k|                            key_buffer_.push_back(',');
 1026|  54.7k|                        }
 1027|   189k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   189k|                        key_buffer_.push_back('[');
 1029|   189k|                        break;
 1030|  14.8k|                    default:
  ------------------
  |  Branch (1030:21): [True: 14.8k, False: 189k]
  ------------------
 1031|  14.8k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  14.8k|                        destination_->begin_array(length, tag, context, ec);
 1033|  14.8k|                        break;
 1034|   204k|                }
 1035|   204k|            }
 1036|   257k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   257k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|   257k|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|  87.3M|            {
  816|  87.3M|                return even_odd_ == 0;
  817|  87.3M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|  49.8M|            {
  826|  49.8M|                return target_kind_;
  827|  49.8M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  21.2M|            {
  831|  21.2M|                return count_;
  832|  21.2M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|   492k|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 229k, False: 262k]
  ------------------
  799|   492k|            {
  800|   492k|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|  52.0M|            {
  821|  52.0M|                return structure_kind_ == json_structure_kind::object;
  822|  52.0M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|   230k|        {
 1041|   230k|            switch (level_stack_.back().target_kind())
 1042|   230k|            {
 1043|   224k|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 224k, False: 5.63k]
  ------------------
 1044|   224k|                    key_buffer_.push_back(']');
 1045|   224k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   224k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 224k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|   224k|                    level_stack_.pop_back();
 1047|   224k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 3.75k, False: 220k]
  ------------------
 1048|  3.75k|                    {
 1049|  3.75k|                        destination_->key(key_buffer_, context, ec);
 1050|  3.75k|                        key_buffer_.clear();
 1051|  3.75k|                    }
 1052|   220k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 47.3k, False: 173k]
  ------------------
 1053|  47.3k|                    {
 1054|  47.3k|                        key_buffer_.push_back(':');
 1055|  47.3k|                    }
 1056|   224k|                    level_stack_.back().advance();
 1057|   224k|                    break;
 1058|  5.63k|                default:
  ------------------
  |  Branch (1058:17): [True: 5.63k, False: 224k]
  ------------------
 1059|  5.63k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  5.63k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.63k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  5.63k|                    level_stack_.pop_back();
 1061|  5.63k|                    level_stack_.back().advance();
 1062|  5.63k|                    destination_->end_array(context, ec);
 1063|  5.63k|                    break;
 1064|   230k|            }
 1065|   230k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   230k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|   230k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  30.7M|            {
  804|  30.7M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 22.0M, False: 8.71M]
  ------------------
  805|  22.0M|                {
  806|  22.0M|                    ++count_;
  807|  22.0M|                }
  808|  30.7M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 17.4M, False: 13.3M]
  ------------------
  809|  17.4M|                {
  810|  17.4M|                    even_odd_ = !even_odd_;
  811|  17.4M|                }
  812|  30.7M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  8.44M|        {
 1234|  8.44M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 2.56M, False: 5.87M]
  |  Branch (1234:49): [True: 5.20M, False: 673k]
  ------------------
 1235|  7.76M|            {
 1236|  7.76M|                key_.clear();
 1237|  7.76M|                jsoncons::from_integer(value,key_);
 1238|  7.76M|            }
 1239|       |
 1240|  8.44M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 2.56M, False: 5.87M]
  ------------------
 1241|  2.56M|            {
 1242|  2.56M|                switch (level_stack_.back().target_kind())
 1243|  2.56M|                {
 1244|  2.44M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 2.44M, False: 119k]
  ------------------
 1245|  2.44M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 2.41M, False: 26.3k]
  ------------------
 1246|  2.41M|                        {
 1247|  2.41M|                            key_buffer_.push_back(',');
 1248|  2.41M|                        }
 1249|  2.44M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  2.44M|                        key_buffer_.push_back(':');
 1251|  2.44M|                        break;
 1252|   119k|                    default:
  ------------------
  |  Branch (1252:21): [True: 119k, False: 2.44M]
  ------------------
 1253|   119k|                        destination_->key(key_, context, ec);
 1254|   119k|                        break;
 1255|  2.56M|                }
 1256|  2.56M|            }
 1257|  5.87M|            else
 1258|  5.87M|            {
 1259|  5.87M|                switch (level_stack_.back().target_kind())
 1260|  5.87M|                {
 1261|  5.20M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 5.20M, False: 673k]
  ------------------
 1262|  5.20M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 2.75M, False: 2.45M]
  |  Branch (1262:65): [True: 2.74M, False: 5.78k]
  ------------------
 1263|  2.74M|                        {
 1264|  2.74M|                            key_buffer_.push_back(',');
 1265|  2.74M|                        }
 1266|  5.20M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  5.20M|                        break;
 1268|   673k|                    default:
  ------------------
  |  Branch (1268:21): [True: 673k, False: 5.20M]
  ------------------
 1269|   673k|                        destination_->uint64_value(value, tag, context, ec);
 1270|   673k|                        break;
 1271|  5.87M|                }
 1272|  5.87M|            }
 1273|       |
 1274|  8.44M|            level_stack_.back().advance();
 1275|  8.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  8.44M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  4.13M|        {
 1280|  4.13M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 1.04M, False: 3.08M]
  |  Branch (1280:49): [True: 3.05M, False: 32.9k]
  ------------------
 1281|  4.10M|            {
 1282|  4.10M|                key_.clear();
 1283|  4.10M|                jsoncons::from_integer(value,key_);
 1284|  4.10M|            }
 1285|       |
 1286|  4.13M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 1.04M, False: 3.08M]
  ------------------
 1287|  1.04M|            {
 1288|  1.04M|                switch (level_stack_.back().target_kind())
 1289|  1.04M|                {
 1290|  1.02M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 1.02M, False: 18.2k]
  ------------------
 1291|  1.02M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 1.02M, False: 4.57k]
  ------------------
 1292|  1.02M|                        {
 1293|  1.02M|                            key_buffer_.push_back(',');
 1294|  1.02M|                        }
 1295|  1.02M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|  1.02M|                        key_buffer_.push_back(':');
 1297|  1.02M|                        break;
 1298|  18.2k|                    default:
  ------------------
  |  Branch (1298:21): [True: 18.2k, False: 1.02M]
  ------------------
 1299|  18.2k|                        destination_->key(key_, context, ec);
 1300|  18.2k|                        break;
 1301|  1.04M|                }
 1302|  1.04M|            }
 1303|  3.08M|            else
 1304|  3.08M|            {
 1305|  3.08M|                switch (level_stack_.back().target_kind())
 1306|  3.08M|                {
 1307|  3.05M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 3.05M, False: 32.9k]
  ------------------
 1308|  3.05M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.00M, False: 1.04M]
  |  Branch (1308:65): [True: 2.00M, False: 4.91k]
  ------------------
 1309|  2.00M|                        {
 1310|  2.00M|                            key_buffer_.push_back(',');
 1311|  2.00M|                        }
 1312|  3.05M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  3.05M|                        break;
 1314|  32.9k|                    default:
  ------------------
  |  Branch (1314:21): [True: 32.9k, False: 3.05M]
  ------------------
 1315|  32.9k|                        destination_->int64_value(value, tag, context, ec);
 1316|  32.9k|                        break;
 1317|  3.08M|                }
 1318|  3.08M|            }
 1319|       |
 1320|  4.13M|            level_stack_.back().advance();
 1321|  4.13M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  4.13M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   107k|        {
 1375|   107k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 38.0k, False: 69.8k]
  |  Branch (1375:49): [True: 66.5k, False: 3.27k]
  ------------------
 1376|   104k|            {
 1377|   104k|                key_.clear();
 1378|   104k|                string_sink<string_type> sink(key_);
 1379|   104k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|   104k|                f(value, sink);
 1381|   104k|            }
 1382|       |
 1383|   107k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 38.0k, False: 69.8k]
  ------------------
 1384|  38.0k|            {
 1385|  38.0k|                switch (level_stack_.back().target_kind())
 1386|  38.0k|                {
 1387|  33.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 33.6k, False: 4.33k]
  ------------------
 1388|  33.6k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 22.6k, False: 10.9k]
  ------------------
 1389|  22.6k|                        {
 1390|  22.6k|                            key_buffer_.push_back(',');
 1391|  22.6k|                        }
 1392|  33.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  33.6k|                        key_buffer_.push_back(':');
 1394|  33.6k|                        break;
 1395|  4.33k|                    default:
  ------------------
  |  Branch (1395:21): [True: 4.33k, False: 33.6k]
  ------------------
 1396|  4.33k|                        destination_->key(key_, context, ec);
 1397|  4.33k|                        break;
 1398|  38.0k|                }
 1399|  38.0k|            }
 1400|  69.8k|            else
 1401|  69.8k|            {
 1402|  69.8k|                switch (level_stack_.back().target_kind())
 1403|  69.8k|                {
 1404|  66.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 66.5k, False: 3.27k]
  ------------------
 1405|  66.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 42.0k, False: 24.5k]
  |  Branch (1405:65): [True: 37.9k, False: 4.08k]
  ------------------
 1406|  37.9k|                        {
 1407|  37.9k|                            key_buffer_.push_back(',');
 1408|  37.9k|                        }
 1409|  66.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  66.5k|                        break;
 1411|  3.27k|                    default:
  ------------------
  |  Branch (1411:21): [True: 3.27k, False: 66.5k]
  ------------------
 1412|  3.27k|                        destination_->double_value(value, tag, context, ec);
 1413|  3.27k|                        break;
 1414|  69.8k|                }
 1415|  69.8k|            }
 1416|       |
 1417|   107k|            level_stack_.back().advance();
 1418|   107k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   107k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   107k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|    891|        {
  882|    891|            destination_->flush();
  883|    891|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|   229k|        {
  915|   229k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 115k, False: 114k]
  ------------------
  916|   115k|            {
  917|   115k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 110k, False: 4.49k]
  |  Branch (917:86): [True: 31.5k, False: 79.0k]
  ------------------
  918|  31.5k|                {
  919|  31.5k|                    key_buffer_.push_back(',');
  920|  31.5k|                }
  921|   115k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   115k|                key_buffer_.push_back('{');
  923|   115k|            }
  924|   114k|            else
  925|   114k|            {
  926|   114k|                switch (level_stack_.back().target_kind())
  927|   114k|                {
  928|   103k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 103k, False: 11.3k]
  ------------------
  929|   103k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 54.0k, False: 49.2k]
  |  Branch (929:65): [True: 51.6k, False: 2.37k]
  ------------------
  930|  51.6k|                        {
  931|  51.6k|                            key_buffer_.push_back(',');
  932|  51.6k|                        }
  933|   103k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   103k|                        key_buffer_.push_back('{');
  935|   103k|                        break;
  936|  11.3k|                    default:
  ------------------
  |  Branch (936:21): [True: 11.3k, False: 103k]
  ------------------
  937|  11.3k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  11.3k|                        destination_->begin_object(length, tag, context, ec);
  939|  11.3k|                        break;
  940|   114k|                }
  941|   114k|            }
  942|   229k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   229k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|   229k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|   199k|        {
  947|   199k|            switch (level_stack_.back().target_kind())
  948|   199k|            {
  949|   193k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 193k, False: 6.05k]
  ------------------
  950|   193k|                    key_buffer_.push_back('}');
  951|   193k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   193k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 193k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   193k|                    level_stack_.pop_back();
  953|       |                    
  954|   193k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 3.57k, False: 190k]
  ------------------
  955|  3.57k|                    {
  956|  3.57k|                        destination_->key(key_buffer_,context, ec);
  957|  3.57k|                        key_buffer_.clear();
  958|  3.57k|                    }
  959|   190k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 96.0k, False: 93.9k]
  ------------------
  960|  96.0k|                    {
  961|  96.0k|                        key_buffer_.push_back(':');
  962|  96.0k|                    }
  963|   193k|                    level_stack_.back().advance();
  964|   193k|                    break;
  965|  6.05k|                default:
  ------------------
  |  Branch (965:17): [True: 6.05k, False: 193k]
  ------------------
  966|  6.05k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  6.05k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 6.05k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  6.05k|                    level_stack_.pop_back();
  968|  6.05k|                    level_stack_.back().advance();
  969|  6.05k|                    destination_->end_object(context, ec);
  970|  6.05k|                    break;
  971|   199k|            }
  972|   199k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   199k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|   199k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|   123k|        {
 1476|   123k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 35.9k, False: 87.9k]
  |  Branch (1476:49): [True: 86.4k, False: 1.53k]
  ------------------
 1477|   122k|            {
 1478|   122k|                key_.clear(); 
 1479|   122k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   122k|            }
 1481|       |
 1482|   123k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 35.9k, False: 87.9k]
  ------------------
 1483|  35.9k|            {
 1484|  35.9k|                switch (level_stack_.back().target_kind())
 1485|  35.9k|                {
 1486|  34.7k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 34.7k, False: 1.15k]
  ------------------
 1487|  34.7k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 31.0k, False: 3.69k]
  ------------------
 1488|  31.0k|                        {
 1489|  31.0k|                            key_buffer_.push_back(',');
 1490|  31.0k|                        }
 1491|  34.7k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|  34.7k|                        key_buffer_.push_back(':');
 1493|  34.7k|                        break;
 1494|  1.15k|                    default:
  ------------------
  |  Branch (1494:21): [True: 1.15k, False: 34.7k]
  ------------------
 1495|  1.15k|                        destination_->key(key_, context, ec);
 1496|  1.15k|                        break;
 1497|  35.9k|                }
 1498|  35.9k|            }
 1499|  87.9k|            else
 1500|  87.9k|            {
 1501|  87.9k|                switch (level_stack_.back().target_kind())
 1502|  87.9k|                {
 1503|  86.4k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 86.4k, False: 1.53k]
  ------------------
 1504|  86.4k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 53.6k, False: 32.7k]
  |  Branch (1504:65): [True: 52.8k, False: 880]
  ------------------
 1505|  52.8k|                        {
 1506|  52.8k|                            key_buffer_.push_back(',');
 1507|  52.8k|                        }
 1508|  86.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|  86.4k|                        break;
 1510|  1.53k|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.53k, False: 86.4k]
  ------------------
 1511|  1.53k|                        destination_->null_value(tag, context, ec);
 1512|  1.53k|                        break;
 1513|  87.9k|                }
 1514|  87.9k|            }
 1515|       |
 1516|   123k|            level_stack_.back().advance();
 1517|   123k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   123k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|   123k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  11.6M|        {
 1423|  11.6M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 3.29M, False: 8.36M]
  |  Branch (1423:49): [True: 8.32M, False: 39.1k]
  ------------------
 1424|  11.6M|            {
 1425|  11.6M|                key_.clear(); 
 1426|  11.6M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 8.03M, False: 3.58M]
  ------------------
 1427|  8.03M|                {
 1428|  8.03M|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  8.03M|                }
 1430|  3.58M|                else
 1431|  3.58M|                {
 1432|  3.58M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  3.58M|                }
 1434|  11.6M|            }
 1435|       |
 1436|  11.6M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 3.29M, False: 8.36M]
  ------------------
 1437|  3.29M|            {
 1438|  3.29M|                switch (level_stack_.back().target_kind())
 1439|  3.29M|                {
 1440|  3.26M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 3.26M, False: 29.2k]
  ------------------
 1441|  3.26M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 3.25M, False: 9.17k]
  ------------------
 1442|  3.25M|                        {
 1443|  3.25M|                            key_buffer_.push_back(',');
 1444|  3.25M|                        }
 1445|  3.26M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|  3.26M|                        key_buffer_.push_back(':');
 1447|  3.26M|                        break;
 1448|  29.2k|                    default:
  ------------------
  |  Branch (1448:21): [True: 29.2k, False: 3.26M]
  ------------------
 1449|  29.2k|                        destination_->key(key_, context, ec);
 1450|  29.2k|                        break;
 1451|  3.29M|                }
 1452|  3.29M|            }
 1453|  8.36M|            else
 1454|  8.36M|            {
 1455|  8.36M|                switch (level_stack_.back().target_kind())
 1456|  8.36M|                {
 1457|  8.32M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 8.32M, False: 39.1k]
  ------------------
 1458|  8.32M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 5.02M, False: 3.30M]
  |  Branch (1458:65): [True: 5.02M, False: 5.37k]
  ------------------
 1459|  5.02M|                        {
 1460|  5.02M|                            key_buffer_.push_back(',');
 1461|  5.02M|                        }
 1462|  8.32M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  8.32M|                        break;
 1464|  39.1k|                    default:
  ------------------
  |  Branch (1464:21): [True: 39.1k, False: 8.32M]
  ------------------
 1465|  39.1k|                        destination_->bool_value(value, tag, context, ec);
 1466|  39.1k|                        break;
 1467|  8.36M|                }
 1468|  8.36M|            }
 1469|       |
 1470|  11.6M|            level_stack_.back().advance();
 1471|  11.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  11.6M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  5.05M|        {
 1073|  5.05M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 1.41M, False: 3.63M]
  ------------------
 1074|  1.41M|            {
 1075|  1.41M|                switch (level_stack_.back().target_kind())
 1076|  1.41M|                {
 1077|  1.40M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 1.40M, False: 8.66k]
  ------------------
 1078|  1.40M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 1.40M, False: 2.74k]
  ------------------
 1079|  1.40M|                        {
 1080|  1.40M|                            key_buffer_.push_back(',');
 1081|  1.40M|                        }
 1082|  1.40M|                        key_buffer_.push_back('\"');
 1083|  1.40M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  1.40M|                        key_buffer_.push_back('\"');
 1085|  1.40M|                        key_buffer_.push_back(':');
 1086|  1.40M|                        break;
 1087|  8.66k|                    default:
  ------------------
  |  Branch (1087:21): [True: 8.66k, False: 1.40M]
  ------------------
 1088|  8.66k|                        destination_->key(value, context, ec);
 1089|  8.66k|                        break;
 1090|  1.41M|                }
 1091|  1.41M|            }
 1092|  3.63M|            else
 1093|  3.63M|            {
 1094|  3.63M|                switch (level_stack_.back().target_kind())
 1095|  3.63M|                {
 1096|  3.62M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 3.62M, False: 13.7k]
  ------------------
 1097|  3.62M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 2.21M, False: 1.41M]
  |  Branch (1097:65): [True: 2.21M, False: 1.28k]
  ------------------
 1098|  2.21M|                        {
 1099|  2.21M|                            key_buffer_.push_back(',');
 1100|  2.21M|                        }
 1101|  3.62M|                        key_buffer_.push_back('\"');
 1102|  3.62M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|  3.62M|                        key_buffer_.push_back('\"');
 1104|  3.62M|                        break;
 1105|  13.7k|                    default:
  ------------------
  |  Branch (1105:21): [True: 13.7k, False: 3.62M]
  ------------------
 1106|  13.7k|                        destination_->string_value(value, tag, context, ec);
 1107|  13.7k|                        break;
 1108|  3.63M|                }
 1109|  3.63M|            }
 1110|       |
 1111|  5.05M|            level_stack_.back().advance();
 1112|  5.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  5.05M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  15.1k|        {
 1120|  15.1k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 6.14k, False: 8.96k]
  |  Branch (1120:49): [True: 8.04k, False: 926]
  ------------------
 1121|  14.1k|            {
 1122|  14.1k|                key_.clear();
 1123|  14.1k|                switch (tag)
 1124|  14.1k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 14.1k]
  ------------------
 1126|      0|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|      0|                        break;
 1128|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 0, False: 14.1k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  14.1k|                    default:
  ------------------
  |  Branch (1131:21): [True: 14.1k, False: 0]
  ------------------
 1132|  14.1k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  14.1k|                        break;
 1134|  14.1k|                }
 1135|  14.1k|            }
 1136|       |
 1137|  15.1k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 6.14k, False: 8.96k]
  ------------------
 1138|  6.14k|            {
 1139|  6.14k|                switch (level_stack_.back().target_kind())
 1140|  6.14k|                {
 1141|  5.26k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 5.26k, False: 881]
  ------------------
 1142|  5.26k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 3.69k, False: 1.57k]
  ------------------
 1143|  3.69k|                        {
 1144|  3.69k|                            key_buffer_.push_back(',');
 1145|  3.69k|                        }
 1146|  5.26k|                        key_buffer_.push_back('\"');
 1147|  5.26k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  5.26k|                        key_buffer_.push_back('\"');
 1149|  5.26k|                        key_buffer_.push_back(':');
 1150|  5.26k|                        break;
 1151|    881|                    default:
  ------------------
  |  Branch (1151:21): [True: 881, False: 5.26k]
  ------------------
 1152|    881|                        destination_->key(key_, context, ec);
 1153|    881|                        break;
 1154|  6.14k|                }
 1155|  6.14k|            }
 1156|  8.96k|            else
 1157|  8.96k|            {
 1158|  8.96k|                switch (level_stack_.back().target_kind())
 1159|  8.96k|                {
 1160|  8.04k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 8.04k, False: 926]
  ------------------
 1161|  8.04k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 2.97k, False: 5.06k]
  |  Branch (1161:65): [True: 2.42k, False: 557]
  ------------------
 1162|  2.42k|                        {
 1163|  2.42k|                            key_buffer_.push_back(',');
 1164|  2.42k|                        }
 1165|  8.04k|                        key_buffer_.push_back('\"');
 1166|  8.04k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  8.04k|                        key_buffer_.push_back('\"');
 1168|  8.04k|                        break;
 1169|    926|                    default:
  ------------------
  |  Branch (1169:21): [True: 926, False: 8.04k]
  ------------------
 1170|    926|                        destination_->byte_string_value(value, tag, context, ec);
 1171|    926|                        break;
 1172|  8.96k|                }
 1173|  8.96k|            }
 1174|       |
 1175|  15.1k|            level_stack_.back().advance();
 1176|  15.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  15.1k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|   801k|        {
 1184|   801k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 156k, False: 644k]
  |  Branch (1184:49): [True: 569k, False: 75.6k]
  ------------------
 1185|   725k|            {
 1186|   725k|                key_.clear();
 1187|   725k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   725k|            }
 1189|       |
 1190|   801k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 156k, False: 644k]
  ------------------
 1191|   156k|            {
 1192|   156k|                switch (level_stack_.back().target_kind())
 1193|   156k|                {
 1194|   152k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 152k, False: 3.37k]
  ------------------
 1195|   152k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 144k, False: 8.46k]
  ------------------
 1196|   144k|                        {
 1197|   144k|                            key_buffer_.push_back(',');
 1198|   144k|                        }
 1199|   152k|                        key_buffer_.push_back('\"');
 1200|   152k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|   152k|                        key_buffer_.push_back('\"');
 1202|   152k|                        key_buffer_.push_back(':');
 1203|   152k|                        break;
 1204|  3.37k|                    default:
  ------------------
  |  Branch (1204:21): [True: 3.37k, False: 152k]
  ------------------
 1205|  3.37k|                        destination_->key(key_, context, ec);
 1206|  3.37k|                        break;
 1207|   156k|                }
 1208|   156k|            }
 1209|   644k|            else
 1210|   644k|            {
 1211|   644k|                switch (level_stack_.back().target_kind())
 1212|   644k|                {
 1213|   569k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 569k, False: 75.6k]
  ------------------
 1214|   569k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 424k, False: 145k]
  |  Branch (1214:65): [True: 422k, False: 1.93k]
  ------------------
 1215|   422k|                        {
 1216|   422k|                            key_buffer_.push_back(',');
 1217|   422k|                        }
 1218|   569k|                        key_buffer_.push_back('\"');
 1219|   569k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   569k|                        key_buffer_.push_back('\"');
 1221|   569k|                        break;
 1222|  75.6k|                    default:
  ------------------
  |  Branch (1222:21): [True: 75.6k, False: 569k]
  ------------------
 1223|  75.6k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|  75.6k|                        break;
 1225|   644k|                }
 1226|   644k|            }
 1227|       |
 1228|   801k|            level_stack_.back().advance();
 1229|   801k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   801k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|   801k|        }
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|   257k|    {
  295|   257k|        visit_begin_array(length, tag, context, ec);
  296|   257k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   257k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|   257k|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  8.44M|    {
  364|  8.44M|        visit_uint64(value, tag, context, ec);
  365|  8.44M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  8.44M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|   230k|    {
  301|   230k|        visit_end_array(context, ec);
  302|   230k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   230k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   230k|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  4.13M|    {
  373|  4.13M|        visit_int64(value, tag, context, ec);
  374|  4.13M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  4.13M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   107k|    {
  391|   107k|        visit_double(value, tag, context, ec);
  392|   107k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   107k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   107k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  4.63k|            : destination_(std::addressof(visitor)), 
  856|  4.63k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  4.63k|        {
  858|  4.63k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  4.63k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  4.63k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|   229k|    {
  277|   229k|        visit_begin_object(length, tag, context, ec);
  278|   229k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   229k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|   229k|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  5.05M|    {
  333|  5.05M|        visit_string(value, tag, context, ec);
  334|  5.05M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  5.05M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|   123k|    {
  315|   123k|        visit_null(tag, context, ec);
  316|   123k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   123k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|   123k|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  11.6M|    {
  324|  11.6M|        visit_bool(value, tag, context, ec);
  325|  11.6M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  11.6M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  15.1k|    {
  344|  15.1k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  15.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  15.1k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|   801k|    {
  355|   801k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|   801k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   801k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|   801k|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|   199k|    {
  283|   199k|        visit_end_object(context, ec);
  284|   199k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   199k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|   199k|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|    891|    {
   58|    891|        visit_flush();
   59|    891|    }

_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  9.27k|        basic_default_json_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  9.27k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  13.9k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  14.8k|        {
  561|  14.8k|            visit_begin_array(tag, context, ec);
  562|  14.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  14.8k|        }
_ZN8jsoncons26basic_default_json_visitorIcE15visit_end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  833|  5.63k|        {
  834|  5.63k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.63k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  835|  5.63k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  858|   673k|        {
  859|   673k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   673k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  860|   673k|        }
_ZN8jsoncons26basic_default_json_visitorIcE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  863|  32.9k|        {
  864|  32.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  32.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  865|  32.9k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  873|  3.27k|        {
  874|  3.27k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.27k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  875|  3.27k|        }
_ZN8jsoncons26basic_default_json_visitorIcE11visit_flushEv:
  814|    891|        {
  815|    891|        }
_ZN8jsoncons26basic_default_json_visitorIcE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  818|  11.3k|        {
  819|  11.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  820|  11.3k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  11.3k|        {
  545|  11.3k|            visit_begin_object(tag, context, ec);
  546|  11.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  11.3k|        }
_ZN8jsoncons26basic_default_json_visitorIcE16visit_end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  823|  6.05k|        {
  824|  6.05k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.05k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  825|  6.05k|        }
_ZN8jsoncons26basic_default_json_visitorIcE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  828|  14.8k|        {
  829|  14.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  830|  14.8k|        }
_ZN8jsoncons26basic_default_json_visitorIcE9visit_keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  838|   193k|        {
  839|   193k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   193k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   193k|        }
_ZN8jsoncons26basic_default_json_visitorIcE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  843|  1.53k|        {
  844|  1.53k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.53k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  845|  1.53k|        }
_ZN8jsoncons26basic_default_json_visitorIcE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  878|  39.1k|        {
  879|  39.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  880|  39.1k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_stringERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  848|  13.7k|        {
  849|  13.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  850|  13.7k|        }
_ZN8jsoncons26basic_default_json_visitorIcE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  853|  76.5k|        {
  854|  76.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  76.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  855|  76.5k|        }
_ZN8jsoncons18basic_json_visitorIcE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNSt3__110error_codeE:
  595|  75.6k|        {
  596|  75.6k|            visit_byte_string(value, semantic_tag::none, context, ec);
  597|  75.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  75.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  598|  75.6k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  14.8k|        {
  346|  14.8k|            visit_begin_array(length, tag, context, ec);
  347|  14.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  14.8k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|   673k|        {
  415|   673k|            visit_uint64(value, tag, context, ec);
  416|   673k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   673k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|   673k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  5.63k|        {
  352|  5.63k|            visit_end_array(context, ec);
  353|  5.63k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.63k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  5.63k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  32.9k|        {
  424|  32.9k|            visit_int64(value, tag, context, ec);
  425|  32.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  32.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  32.9k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  3.27k|        {
  442|  3.27k|            visit_double(value, tag, context, ec);
  443|  3.27k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.27k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  3.27k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|   193k|        {
  358|   193k|            visit_key(name, context, ec);
  359|   193k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   193k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|   193k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|    891|        {
  109|    891|            visit_flush();
  110|    891|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  11.3k|        {
  328|  11.3k|            visit_begin_object(length, tag, context, ec);
  329|  11.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  11.3k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  6.05k|        {
  334|  6.05k|            visit_end_object(context, ec);
  335|  6.05k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.05k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  6.05k|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  1.53k|        {
  366|  1.53k|            visit_null(tag, context, ec);
  367|  1.53k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.53k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  1.53k|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  39.1k|        {
  375|  39.1k|            visit_bool(value, tag, context, ec);
  376|  39.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  39.1k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  13.7k|        {
  384|  13.7k|            visit_string(value, tag, context, ec);
  385|  13.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  13.7k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|    926|        {
  395|    926|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|    926|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    926|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|    926|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  75.6k|        {
  406|  75.6k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  75.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  75.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  75.6k|        }

_ZN8jsoncons11ser_contextD2Ev:
   21|  4.63k|    virtual ~ser_context() = default;

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.63k|    {
  194|  4.63k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.63k, False: 0]
  ------------------
  195|  4.63k|        {
  196|  4.63k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.63k|        }
  198|  4.63k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.63k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.63k|          chunk_size_(default_max_chunk_size)
  178|  4.63k|    {
  179|  4.63k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.63k|        data_end_ = chunk_;
  181|  4.63k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.63k|      : std::basic_istream<CharT>(&nb_)
   58|  4.63k|    {
   59|  4.63k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.63k|        null_buffer() = default;
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  30.8M|    {
  277|  30.8M|        return stream_ptr_->bad();  
  278|  30.8M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  32.4M|    {
  378|  32.4M|        std::size_t len = 0;
  379|  32.4M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 32.4M, False: 9.40k]
  ------------------
  380|  32.4M|        {
  381|  32.4M|            len = (std::min)(remaining_, length);
  382|  32.4M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  32.4M|            data_end_ += len;
  384|  32.4M|            remaining_ -= len;
  385|  32.4M|            position_ += len;
  386|  32.4M|        }
  387|  32.4M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 32.4M, False: 10.9k]
  ------------------
  388|  32.4M|        {
  389|  32.4M|            return len;
  390|  32.4M|        }
  391|  10.9k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 10.9k, False: 0]
  ------------------
  392|  10.9k|        {
  393|  10.9k|            data_end_ = chunk_;
  394|  10.9k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  10.9k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 7.72k, False: 3.26k]
  ------------------
  396|  7.72k|            {
  397|  7.72k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  7.72k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  7.72k|                data_end_ += len2;
  400|  7.72k|                remaining_ -= len2;
  401|  7.72k|                position_ += len2;
  402|  7.72k|                len += len2;
  403|  7.72k|            }
  404|  10.9k|            return len;
  405|  10.9k|        }
  406|      0|        else
  407|      0|        {
  408|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (408:17): [True: 0, False: 0]
  ------------------
  409|      0|            {
  410|      0|                remaining_ = 0;
  411|      0|                return 0;
  412|      0|            }
  413|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  414|      0|            {
  415|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  416|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  417|      0|                if (len2 < length-len)
  ------------------
  |  Branch (417:21): [True: 0, False: 0]
  ------------------
  418|      0|                {
  419|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  420|      0|                }
  421|      0|                len += len2;
  422|      0|                position_ += len2;
  423|      0|                return len;
  424|      0|            }
  425|      0|            JSONCONS_CATCH(const std::exception&)     
  426|      0|            {
  427|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  428|      0|                return 0;
  429|      0|            }
  430|      0|        }
  431|  32.4M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  11.7k|    {
  443|  11.7k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 3.33k, False: 8.45k]
  ------------------
  444|  3.33k|        {
  445|  3.33k|            return 0;
  446|  3.33k|        }
  447|       |
  448|  8.45k|        JSONCONS_TRY
  ------------------
  |  |   37|  8.45k|    #define JSONCONS_TRY try
  ------------------
  449|  8.45k|        {
  450|  8.45k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  8.45k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  8.45k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.63k, False: 3.82k]
  ------------------
  454|  4.63k|            {
  455|  4.63k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.63k|            }
  457|  8.45k|            return length;
  458|  8.45k|        }
  459|  8.45k|        JSONCONS_CATCH(const std::exception&)     
  460|  8.45k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  8.45k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.83M|    {
  353|  5.83M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  5.83M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.03M, False: 801k]
  |  |  ------------------
  ------------------
  354|  5.03M|        {
  355|  5.03M|            return span<const value_type>{};
  356|  5.03M|        }
  357|   801k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 348, False: 801k]
  |  Branch (357:32): [True: 182, False: 166]
  ------------------
  358|    182|        {
  359|    182|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    182|            data_end_ = chunk_;
  361|    182|        }
  362|   801k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 864, False: 800k]
  ------------------
  363|    864|        {
  364|    864|            buffer.clear();
  365|    864|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    864|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    864|        }
  368|       |
  369|   800k|        const value_type* data = data_end_;
  370|   800k|        data_end_ += length;
  371|   800k|        remaining_ -= length;
  372|   800k|        position_ += length;
  373|   800k|        return span<const value_type>(data, length);
  374|   801k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    864|    {
  747|    864|        std::size_t unread = length;
  748|       |
  749|  3.08k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.68k, False: 400]
  |  Branch (749:30): [True: 2.21k, False: 464]
  ------------------
  750|  2.21k|        {
  751|  2.21k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 615, False: 1.60k]
  |  Branch (751:44): [True: 612, False: 3]
  ------------------
  752|    612|            {
  753|    612|                std::size_t n = source.chunk_size();
  754|    612|                std::size_t offset = buffer.size();
  755|    612|                buffer.resize(offset+n);
  756|    612|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    612|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    612|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 62, False: 550]
  |  |  ------------------
  ------------------
  758|     62|                {
  759|     62|                    buffer.resize(offset+actual);
  760|     62|                }
  761|    612|                unread -= actual;
  762|    612|            }
  763|  1.60k|            else
  764|  1.60k|            {
  765|  1.60k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.60k|                std::size_t offset = buffer.size();
  767|  1.60k|                buffer.resize(offset+n);
  768|  1.60k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.60k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.60k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 223, False: 1.38k]
  |  |  ------------------
  ------------------
  770|    223|                {
  771|    223|                    buffer.resize(offset + actual);
  772|    223|                }
  773|  1.60k|                unread -= actual;
  774|  1.60k|            }
  775|  2.21k|        }
  776|    864|        return length - unread;
  777|    864|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.68k|    {
  272|  2.68k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.07k, False: 1.60k]
  |  Branch (272:35): [True: 464, False: 615]
  ------------------
  273|  2.68k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.21k|    {
  347|  2.21k|        return remaining_;
  348|  2.21k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.83k|    {
  262|  2.83k|        return chunk_size_;
  263|  2.83k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    612|    {
  436|    612|        auto len = fill_buffer(chunk, chunk_size);
  437|    612|        position_ += len;
  438|    612|        return len;
  439|    612|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  95.8k|        : storage_(n, alloc)
  694|  95.8k|    {
  695|  95.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  95.8k|        : word_allocator_type(alloc)
  361|  95.8k|    {
  362|  95.8k|        ::new (&inlined_) inlined_storage(n);
  363|  95.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  95.8k|            : is_allocated_(false),
  139|  95.8k|            is_negative_(false),
  140|  95.8k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 40.0k, False: 55.7k]
  ------------------
  141|  95.8k|        {
  142|  95.8k|            values_[0] = n;
  143|  95.8k|            values_[1] = 0;
  144|  95.8k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  41.1k|    {
  999|  41.1k|        auto this_view = get_storage_view();
 1000|  41.1k|        size_type len0 = this_view.size();
 1001|  41.1k|        word_type dig = this_view[0];
 1002|  41.1k|        word_type carry = 0;
 1003|       |
 1004|  41.1k|        resize(this_view.size() + 1);
 1005|  41.1k|        this_view = get_storage_view();
 1006|       |
 1007|  41.1k|        size_type i = 0;
 1008|  78.2k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 37.1k, False: 41.1k]
  ------------------
 1009|  37.1k|        {
 1010|  37.1k|            word_type hi;
 1011|  37.1k|            word_type lo;
 1012|  37.1k|            DDproduct( dig, y, hi, lo );
 1013|  37.1k|            this_view[i] = lo + carry;
 1014|  37.1k|            dig = this_view[i+1];
 1015|  37.1k|            carry = hi + (this_view[i] < lo);
 1016|  37.1k|        }
 1017|  41.1k|        this_view[i] = carry;
 1018|  41.1k|        reduce();
 1019|  41.1k|        return *this;
 1020|  41.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   714k|    {
  719|   714k|        return storage_.get_storage_view();
  720|   714k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  1.02M|    {
  521|  1.02M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 356k, False: 668k]
  ------------------
  522|   356k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  1.02M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  1.02M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  1.02M|            : data_(data), size_(size)
   65|  1.02M|        {
   66|  1.02M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.62M|        {
   85|  1.62M|            return size_;
   86|  1.62M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   678k|        {
   70|   678k|            return data_[i];
   71|   678k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|   110k|    {
  819|   110k|        storage_.resize(new_length);
  820|   110k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   226k|    {
  535|   226k|        size_type old_length = common_.size_;
  536|   226k|        reserve(new_length);
  537|   226k|        common_.size_ = new_length;
  538|       |
  539|   226k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 120k, False: 105k]
  ------------------
  540|   120k|        {
  541|   120k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 27.4k, False: 93.5k]
  ------------------
  542|  27.4k|            {
  543|  27.4k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  27.4k|            }
  545|  93.5k|            else
  546|  93.5k|            {
  547|  93.5k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|  93.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 93.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  548|   233k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 140k, False: 93.5k]
  ------------------
  549|   140k|                {
  550|   140k|                    inlined_.values_[i] = 0;
  551|   140k|                }
  552|  93.5k|            }
  553|   120k|        }
  554|   226k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   226k|    {
  453|   226k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 27.4k, False: 198k]
  ------------------
  454|  27.4k|       {
  455|  27.4k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 27.4k, False: 0]
  ------------------
  456|  27.4k|           {
  457|  27.4k|               size_type size = inlined_.size_;
  458|  27.4k|               size_type is_neg = inlined_.is_negative_;
  459|  27.4k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  27.4k|               ::new (&allocated_) allocated_storage();
  462|  27.4k|               allocated_.reserve(n, get_allocator());
  463|  27.4k|               allocated_.size_ = size;
  464|  27.4k|               allocated_.is_negative_ = is_neg;
  465|  27.4k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 27.4k, False: 0]
  ------------------
  466|  27.4k|               {
  467|  27.4k|                   allocated_.data_[0] = values[0];
  468|  27.4k|               }
  469|  27.4k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 27.4k, False: 0]
  ------------------
  470|  27.4k|               {
  471|  27.4k|                   allocated_.data_[1] = values[1];
  472|  27.4k|               }
  473|  27.4k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  27.4k|       }
  479|   226k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   226k|    {
  506|   226k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 54.8k, False: 171k]
  ------------------
  507|   226k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  27.4k|            : is_allocated_(true),
  204|  27.4k|            is_negative_(false)
  205|  27.4k|        {
  206|  27.4k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  27.4k|        {
  256|  27.4k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  27.4k|            size_type capacity_new = round_up(n);
  258|       |
  259|  27.4k|            real_allocator_type alloc(a);
  260|  27.4k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  27.4k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 27.4k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  27.4k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 27.4k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  27.4k|            capacity_ = capacity_new;
  270|  27.4k|            data_ = data_new;
  271|  27.4k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  27.4k|        {
  276|  27.4k|            size_type remainder = i % mem_unit;
  277|  27.4k|            size_type off = mem_unit - remainder;
  278|  27.4k|            bool testoff = i < max_size - off;
  279|  27.4k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  27.4k|            return i + off;
  282|  27.4k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   522k|    {
  483|   522k|        return static_cast<const word_allocator_type&>(*this);
  484|   522k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  1.09M|    {
  501|  1.09M|        return common_.is_allocated_;
  502|  1.09M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  65.2k|    {
 1782|  65.2k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  65.2k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  65.2k|        lo = loA * loB;
 1786|  65.2k|        hi = hiA * hiB;
 1787|  65.2k|        word_type mid1 = loA * hiB;
 1788|  65.2k|        word_type mid2 = hiA * loB;
 1789|  65.2k|        word_type old = lo;
 1790|  65.2k|        lo += mid1 << word_type_half_bits;
 1791|  65.2k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  65.2k|        old = lo;
 1793|  65.2k|        lo += mid2 << word_type_half_bits;
 1794|  65.2k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  65.2k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   194k|    {
 1918|   194k|        storage_.reduce();
 1919|   194k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   194k|    {
  430|   194k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 194k, False: 0]
  ------------------
  431|   194k|        {
  432|   194k|            auto this_view = get_storage_view();
  433|   194k|            word_type* p = this_view.end() - 1;
  434|   194k|            word_type* first = this_view.begin();
  435|   276k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 269k, False: 7.38k]
  ------------------
  436|   269k|            {
  437|   269k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 187k, False: 81.6k]
  ------------------
  438|   187k|                {
  439|   187k|                    break;
  440|   187k|                }
  441|  81.6k|                --common_.size_;
  442|  81.6k|                --p;
  443|  81.6k|            }
  444|   194k|        }
  445|   194k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 7.38k, False: 187k]
  ------------------
  446|  7.38k|        {
  447|  7.38k|            common_.is_negative_ = false;
  448|  7.38k|        }
  449|   194k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   194k|        {
   94|   194k|            return data_ + size_;
   95|   194k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   194k|        {
   89|   194k|            return data_;
   90|   194k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  8.42k|    {
  890|  8.42k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 8.42k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  8.42k|        word_type d;
  894|  8.42k|        word_type carry = 0;
  895|       |
  896|  8.42k|        auto this_view = get_storage_view();
  897|  8.42k|        resize(this_view.size() + 1);
  898|       |
  899|  8.42k|        this_view = get_storage_view();
  900|  8.42k|        const size_type this_size = this_view.size();
  901|  8.42k|        size_type y_size = 1;
  902|       |
  903|  8.42k|        d = this_view[0] + carry;
  904|  8.42k|        carry = d < carry;
  905|  8.42k|        this_view[0] = d + y;
  906|  8.42k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 8.42k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  8.42k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 6.86k, False: 1.55k]
  |  Branch (909:53): [True: 0, False: 6.86k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  8.42k|        reduce();
  916|  8.42k|        return *this;
  917|  8.42k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   664k|    {
  729|   664k|        return storage_.is_negative();
  730|   664k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   664k|    {
  511|   664k|        return common_.is_negative_;
  512|   664k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  12.5k|    {
  836|  12.5k|        basic_bigint<Allocator> v(*this);
  837|  12.5k|        v.set_negative(!v.is_negative());
  838|  12.5k|        return v;
  839|  12.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  53.6k|        : storage_(other.storage_)
  672|  53.6k|    {
  673|  53.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  53.6k|        : word_allocator_type(other.get_allocator())
  300|  53.6k|    {
  301|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  302|       |# pragma GCC diagnostic push
  303|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  304|       |#endif
  305|  53.6k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 26.2k, False: 27.4k]
  ------------------
  306|  26.2k|        {
  307|  26.2k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  26.2k|        }
  309|  27.4k|        else
  310|  27.4k|        {
  311|  27.4k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  27.4k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  53.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   144k|            : is_allocated_(false),
  179|   144k|            is_negative_(stor.is_negative_),
  180|   144k|            size_(stor.size_)
  181|   144k|        {
  182|   144k|            values_[0] = stor.values_[0];
  183|   144k|            values_[1] = stor.values_[1];
  184|   144k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|   109k|            : is_allocated_(true),
  210|   109k|              is_negative_(stor.is_negative_),
  211|   109k|              size_(stor.size_),
  212|   109k|              capacity_(stor.capacity_)
  213|   109k|        {
  214|   109k|            real_allocator_type alloc(a);
  215|       |
  216|   109k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|   109k|            JSONCONS_TRY
  ------------------
  |  |   37|   109k|    #define JSONCONS_TRY try
  ------------------
  218|   109k|            {
  219|   109k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|   109k|            }
  221|   109k|            JSONCONS_CATCH(...)
  222|   109k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|   109k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|   109k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 109k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  228|   109k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|   109k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   300k|    {
  734|   300k|        storage_.set_negative(value);
  735|   300k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   300k|    {
  516|   300k|        common_.is_negative_ = value;
  517|   300k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  41.1k|    {
 1360|  41.1k|        basic_bigint<Allocator> v(*this);
 1361|  41.1k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  41.1k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  41.1k|        data.reserve(len);
 1365|       |
 1366|  41.1k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 2.92k, False: 38.2k]
  ------------------
 1367|  2.92k|        {
 1368|  2.92k|            data.push_back('0');
 1369|  2.92k|        }
 1370|  38.2k|        else
 1371|  38.2k|        {
 1372|  38.2k|            word_type r;
 1373|  38.2k|            basic_bigint<Allocator> R(get_allocator());
 1374|  38.2k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  38.2k|            do
 1377|  71.8k|            {
 1378|  71.8k|                v.divide( LP10, v, R, true );
 1379|  71.8k|                v_view = v.get_storage_view();
 1380|       |
 1381|  71.8k|                auto R_view = R.get_storage_view();
 1382|  71.8k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 71.1k, False: 727]
  ------------------
 1383|   957k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 923k, False: 33.6k]
  ------------------
 1384|   923k|                {
 1385|   923k|                    data.push_back(char(r % 10u + '0'));
 1386|   923k|                    r /= 10u;
 1387|   923k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 38.2k, False: 885k]
  ------------------
 1388|  38.2k|                        break;
 1389|   923k|                }
 1390|  71.8k|            } 
 1391|  71.8k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 33.6k, False: 38.2k]
  ------------------
 1392|       |
 1393|  38.2k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 12.5k, False: 25.7k]
  ------------------
 1394|  12.5k|            {
 1395|  12.5k|                data.push_back('-');
 1396|  12.5k|            }
 1397|  38.2k|            std::reverse(data.begin(),data.end());
 1398|  38.2k|        }
 1399|  41.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   276k|    {
  714|   276k|        return storage_.get_allocator();
  715|   276k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  38.2k|        : storage_(alloc)
  645|  38.2k|    {
  646|  38.2k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  38.2k|        : word_allocator_type(alloc)
  294|  38.2k|    {
  295|  38.2k|        ::new (&inlined_) inlined_storage();
  296|  38.2k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  38.2k|            : is_allocated_(false),
  114|  38.2k|            is_negative_(false),
  115|  38.2k|            size_(0),
  116|  38.2k|            values_{0, 0}
  117|  38.2k|        {
  118|  38.2k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  71.8k|    {
 1676|  71.8k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  71.8k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  71.8k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 71.8k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  71.8k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  71.8k|        bool rem_neg = is_negative();
 1685|  71.8k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  71.8k|        num.set_negative(false);
 1687|  71.8k|        denom.set_negative(false);
 1688|  71.8k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 38.2k, False: 33.6k]
  ------------------
 1689|  38.2k|        {
 1690|  38.2k|            quot = word_type(0);
 1691|  38.2k|            quot.set_negative(quot_neg);
 1692|  38.2k|            rem = num;
 1693|  38.2k|            rem.set_negative(rem_neg);
 1694|  38.2k|            return;
 1695|  38.2k|        }
 1696|       |
 1697|  33.6k|        auto num_view = num.get_storage_view();
 1698|  33.6k|        auto quot_view = quot.get_storage_view();
 1699|  33.6k|        auto this_view = get_storage_view();
 1700|       |
 1701|  33.6k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 33.6k, False: 0]
  |  Branch (1701:40): [True: 5.49k, False: 28.1k]
  ------------------
 1702|  5.49k|        {
 1703|  5.49k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  5.49k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  5.49k|            quot.set_negative(quot_neg);
 1706|  5.49k|            rem.set_negative(rem_neg);
 1707|  5.49k|            return;
 1708|  5.49k|        }
 1709|  28.1k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 28.1k, False: 0]
  |  Branch (1709:39): [True: 0, False: 28.1k]
  ------------------
 1710|      0|        {
 1711|       |            // Denominator fits into a half word
 1712|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1713|      0|            quot.resize(this_view.size());
 1714|      0|            quot_view = quot.get_storage_view();
 1715|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1715:48): [True: 0, False: 0]
  ------------------
 1716|      0|            {
 1717|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1718|      0|                q1 = dividend/divisor;
 1719|      0|                r = dividend % divisor;
 1720|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1721|      0|                q2 = dividend/divisor;
 1722|      0|                dHi = dividend % divisor;
 1723|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1724|      0|            }
 1725|      0|            quot.reduce();
 1726|      0|            rem = dHi;
 1727|      0|            quot.set_negative(quot_neg);
 1728|      0|            rem.set_negative(rem_neg);
 1729|      0|            return;
 1730|      0|        }
 1731|  28.1k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  28.1k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  28.1k|        int x = 0;
 1734|  28.1k|        bool second_done = normalize(denom, num, x);
 1735|  28.1k|        denom_view = denom.get_storage_view();
 1736|  28.1k|        num_view = num.get_storage_view();
 1737|       |
 1738|  28.1k|        size_type l = denom_view.size() - 1;
 1739|  28.1k|        size_type n = num_view.size() - 1;
 1740|  28.1k|        quot.resize(n - l);
 1741|  28.1k|        quot_view = quot.get_storage_view();
 1742|  56.3k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 28.1k, False: 28.1k]
  ------------------
 1743|  28.1k|        {
 1744|  28.1k|            quot_view[i] = 0;
 1745|  28.1k|        }
 1746|  28.1k|        rem = num;
 1747|  28.1k|        auto rem_view = rem.get_storage_view();
 1748|  28.1k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 28.1k]
  ------------------
 1749|      0|        {
 1750|      0|            rem.resize(rem_view.size() + 1);
 1751|      0|            rem_view = rem.get_storage_view();
 1752|      0|            n++;
 1753|      0|            quot.resize(quot_view.size() + 1);
 1754|      0|            quot_view = quot.get_storage_view();
 1755|      0|        }
 1756|  28.1k|        word_type d = denom_view[l];
 1757|       |
 1758|  56.3k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 28.1k, False: 28.1k]
  ------------------
 1759|  28.1k|        {
 1760|  28.1k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  28.1k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  28.1k|            quot_view[k - l - 1] = q;
 1763|  28.1k|        }
 1764|  28.1k|        quot.reduce();
 1765|  28.1k|        quot.set_negative(quot_neg);
 1766|  28.1k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 28.1k, False: 0]
  ------------------
 1767|  28.1k|        {
 1768|  28.1k|            unnormalize(rem, x, second_done);
 1769|  28.1k|            rem.set_negative(rem_neg);
 1770|  28.1k|        }
 1771|  28.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   200k|        : storage_(other.storage_, alloc)
  677|   200k|    {
  678|   200k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   200k|        : word_allocator_type(alloc)
  320|   200k|    {
  321|   200k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 117k, False: 82.2k]
  ------------------
  322|   117k|        {
  323|   117k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   117k|        }
  325|  82.2k|        else
  326|  82.2k|        {
  327|  82.2k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|  82.2k|        }
  329|   200k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  71.8k|    {
 1477|  71.8k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 38.2k, False: 33.6k]
  ------------------
 1478|  71.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   104k|    {
 1642|   104k|        auto this_view = get_storage_view();
 1643|   104k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   104k|        const size_type y_size = y_view.size();
 1646|   104k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 2.47k, False: 102k]
  |  Branch (1646:39): [True: 2.47k, False: 0]
  ------------------
 1647|  2.47k|            return 0;
 1648|   102k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 12.5k, False: 89.6k]
  ------------------
 1649|  12.5k|            return y.is_negative() - is_negative();
 1650|  89.6k|        int code = 0;
 1651|  89.6k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 89.6k]
  ------------------
 1652|      0|            code = -1;
 1653|  89.6k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 45.8k, False: 43.7k]
  ------------------
 1654|  45.8k|            code = +1;
 1655|  43.7k|        else
 1656|  43.7k|        {
 1657|  44.0k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 43.7k, False: 294]
  ------------------
 1658|  43.7k|            {
 1659|  43.7k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 5.20k, False: 38.5k]
  ------------------
 1660|  5.20k|                {
 1661|  5.20k|                    code = 1;
 1662|  5.20k|                    break;
 1663|  5.20k|                }
 1664|  38.5k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 38.2k, False: 294]
  ------------------
 1665|  38.2k|                {
 1666|  38.2k|                    code = -1;
 1667|  38.2k|                    break;
 1668|  38.2k|                }
 1669|  43.7k|            }
 1670|  43.7k|        }
 1671|  89.6k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 89.6k]
  ------------------
 1672|   102k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   115k|    {
  843|   115k|        storage_ = y.storage_;
  844|   115k|        return *this;
  845|   115k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   115k|    {
  367|   115k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 115k, False: 0]
  ------------------
  368|   115k|        {
  369|   115k|            auto other_view = other.get_storage_view();
  370|   115k|            resize(other_view.size());
  371|   115k|            auto this_view = get_storage_view();
  372|   115k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 77.1k, False: 38.5k]
  ------------------
  373|  77.1k|            {
  374|  77.1k|                common_.is_negative_ = other.common_.is_negative_;
  375|  77.1k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|  77.1k|            }
  377|   115k|        }
  378|   115k|        return *this;
  379|   115k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   383k|    {
  528|   383k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 137k, False: 246k]
  ------------------
  529|   137k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   383k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   383k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   383k|            : data_(data), size_(size)
   65|   383k|        {
   66|   383k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  77.1k|        {
   80|  77.1k|            return data_;
   81|  77.1k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   267k|    {
  724|   267k|        return storage_.get_storage_view();
  725|   267k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   765k|        {
   85|   765k|            return size_;
   86|   765k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   175k|        {
   70|   175k|            return data_[i];
   71|   175k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  28.1k|    {
 1873|  28.1k|        auto denom_view = denom.get_storage_view();
 1874|  28.1k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 28.1k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  28.1k|        size_type r = denom_view.size() - 1;
 1879|  28.1k|        word_type y = denom_view[r];
 1880|       |
 1881|  28.1k|        x = 0;
 1882|  28.1k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 28.1k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  28.1k|        denom <<= x;
 1888|  28.1k|        num <<= x;
 1889|       |
 1890|  28.1k|        denom_view = denom.get_storage_view();
 1891|  28.1k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 28.1k]
  |  Branch (1891:23): [True: 0, False: 0]
  ------------------
 1892|      0|        {
 1893|      0|            denom *= max_word;
 1894|      0|            num *= max_word;
 1895|      0|            return true;
 1896|      0|        }
 1897|  28.1k|        return false;
 1898|  28.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  56.3k|    {
 1118|  56.3k|        auto this_view = get_storage_view();
 1119|  56.3k|        size_type q = k / word_type_bits;
 1120|  56.3k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 56.3k]
  ------------------
 1121|      0|        {
 1122|      0|            resize(this_view.size() + q);
 1123|      0|            this_view = get_storage_view();
 1124|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1124:50): [True: 0, False: 0]
  ------------------
 1125|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1125:34): [True: 0, False: 0]
  ------------------
 1126|      0|            k %= word_type_bits;
 1127|      0|        }
 1128|  56.3k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 56.3k]
  ------------------
 1129|      0|        {
 1130|      0|            size_type k1 = word_type_bits - k;
 1131|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1132|      0|            resize( this_view.size() + 1 );
 1133|      0|            this_view = get_storage_view();
 1134|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1134:50): [True: 0, False: 0]
  ------------------
 1135|      0|            {
 1136|      0|                this_view[i] <<= k;
 1137|      0|                if ( i > 0 )
  ------------------
  |  Branch (1137:22): [True: 0, False: 0]
  ------------------
 1138|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1139|      0|            }
 1140|      0|        }
 1141|  56.3k|        reduce();
 1142|  56.3k|        return *this;
 1143|  56.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  28.1k|    {
 1800|  28.1k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  28.1k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  28.1k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  28.1k|        middle = qHi * dLo;
 1805|  28.1k|        left = qHi * dHi;
 1806|  28.1k|        x = B - (middle << word_type_half_bits);
 1807|  28.1k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  28.1k|        B = x;
 1809|  28.1k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  28.1k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 28.1k]
  |  Branch (1811:29): [True: 0, False: 28.1k]
  |  Branch (1811:41): [True: 0, False: 0]
  ------------------
 1812|      0|        {
 1813|      0|            x = B - dLo1;
 1814|      0|            A -= dHi + (x > B);
 1815|      0|            B = x;
 1816|      0|            qHi++;
 1817|      0|        }
 1818|  28.1k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  28.1k|        right = qLo * dLo;
 1821|  28.1k|        middle = qLo * dHi;
 1822|  28.1k|        x = B - right;
 1823|  28.1k|        A -= (x > B);
 1824|  28.1k|        B = x;
 1825|  28.1k|        x = B - (middle << word_type_half_bits);
 1826|  28.1k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  28.1k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  32.2k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 32.2k]
  |  Branch (1829:22): [True: 4.08k, False: 28.1k]
  ------------------
 1830|  4.08k|        {
 1831|  4.08k|            x = B - d;
 1832|  4.08k|            A -= (x > B);
 1833|  4.08k|            B = x;
 1834|  4.08k|            qLo++;
 1835|  4.08k|        }
 1836|  28.1k|        return (qHi << word_type_half_bits) + qLo;
 1837|  28.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  28.1k|    {
 1842|  28.1k|        word_type hi, lo, d, carry = 0;
 1843|  28.1k|        size_type i;
 1844|  56.3k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 28.1k, False: 28.1k]
  ------------------
 1845|  28.1k|        {
 1846|  28.1k|            DDproduct( b[i], q, hi, lo );
 1847|  28.1k|            d = a[i];
 1848|  28.1k|            a[i] -= lo;
 1849|  28.1k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 16.1k, False: 11.9k]
  ------------------
 1850|  16.1k|                carry++;
 1851|  28.1k|            d = a[i + 1];
 1852|  28.1k|            a[i + 1] -= hi + carry;
 1853|  28.1k|            carry = a[i + 1] > d;
 1854|  28.1k|        }
 1855|  28.1k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 28.1k]
  ------------------
 1856|      0|        {
 1857|      0|            q--;
 1858|      0|            carry = 0;
 1859|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1859:26): [True: 0, False: 0]
  ------------------
 1860|      0|            {
 1861|      0|                d = a[i] + carry;
 1862|      0|                carry = d < carry;
 1863|      0|                a[i] = d + b[i];
 1864|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1864:22): [True: 0, False: 0]
  ------------------
 1865|      0|                    carry = 1;
 1866|      0|            }
 1867|      0|            a[n] = 0;
 1868|      0|        }
 1869|  28.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   133k|        {
   80|   133k|            return data_;
   81|   133k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  28.1k|    {
 1902|  28.1k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 28.1k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  28.1k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 28.1k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  28.1k|        else
 1911|  28.1k|        {
 1912|  28.1k|            rem.reduce();
 1913|  28.1k|        }
 1914|  28.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   465k|    {
  709|   465k|        storage_.destroy();
  710|   465k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   465k|    {
  488|   465k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 137k, False: 328k]
  ------------------
  489|   137k|        {
  490|   137k|            allocated_.destroy(get_allocator());
  491|   137k|            allocated_.~allocated_storage();
  492|   137k|        }
  493|   328k|        else
  494|   328k|        {
  495|   328k|            inlined_.~inlined_storage();
  496|   328k|        }
  497|   465k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   137k|        {
  247|   137k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 137k, False: 0]
  ------------------
  248|   137k|            {
  249|   137k|                real_allocator_type alloc(a);
  250|   137k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   137k|            }
  252|   137k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  65.4k|        : storage_(n, alloc)
  694|  65.4k|    {
  695|  65.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  65.4k|        : word_allocator_type(alloc)
  361|  65.4k|    {
  362|  65.4k|        ::new (&inlined_) inlined_storage(n);
  363|  65.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  65.4k|            : is_allocated_(false),
  126|  65.4k|            is_negative_(n < 0),
  127|  65.4k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 35.2k, False: 30.2k]
  ------------------
  128|  65.4k|        {
  129|  65.4k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 12.5k, False: 52.9k]
  ------------------
  130|  65.4k|            values_[1] = 0;
  131|  65.4k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  32.7k|    {
 1482|  32.7k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 12.5k, False: 20.2k]
  ------------------
 1483|  32.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  12.5k|        : storage_(n, alloc)
  694|  12.5k|    {
  695|  12.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  12.5k|        : word_allocator_type(alloc)
  361|  12.5k|    {
  362|  12.5k|        ::new (&inlined_) inlined_storage(n);
  363|  12.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  12.5k|            : is_allocated_(false),
  139|  12.5k|            is_negative_(false),
  140|  12.5k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 1.78k, False: 10.7k]
  ------------------
  141|  12.5k|        {
  142|  12.5k|            values_[0] = n;
  143|  12.5k|            values_[1] = 0;
  144|  12.5k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  12.5k|    {
  955|  12.5k|        auto y_view = y.get_storage_view();
  956|       |
  957|  12.5k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 12.5k, False: 0]
  ------------------
  958|  12.5k|            return *this += -y;
  959|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (959:15): [True: 0, False: 0]
  |  Branch (959:33): [True: 0, False: 0]
  |  Branch (959:48): [True: 0, False: 0]
  |  Branch (959:65): [True: 0, False: 0]
  ------------------
  960|      0|            return *this = -(y - *this);
  961|      0|        word_type borrow = 0;
  962|      0|        word_type d;
  963|      0|        auto this_view = get_storage_view();
  964|      0|        const size_type this_size = this_view.size();
  965|      0|        const size_type y_size = y_view.size();
  966|       |
  967|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 0, False: 0]
  ------------------
  968|      0|        {
  969|      0|            d = this_view[i] - borrow;
  970|      0|            borrow = d > this_view[i];
  971|      0|            this_view[i] = d - y_view[i];
  972|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (972:18): [True: 0, False: 0]
  ------------------
  973|      0|                borrow = 1;
  974|      0|        }
  975|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 0, False: 0]
  |  Branch (975:53): [True: 0, False: 0]
  ------------------
  976|      0|        {
  977|      0|            d = this_view[i] - borrow;
  978|      0|            borrow = d > this_view[i];
  979|      0|            this_view[i] = d;
  980|      0|        }
  981|      0|        reduce();
  982|      0|        return *this;
  983|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  920|  12.5k|    {
  921|  12.5k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 12.5k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  12.5k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  12.5k|        word_type d;
  927|  12.5k|        word_type carry = 0;
  928|       |
  929|  12.5k|        auto this_view = get_storage_view();
  930|  12.5k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  12.5k|        this_view = get_storage_view();
  932|       |
  933|  12.5k|        const size_t this_size = this_view.size();
  934|  12.5k|        const size_t y_size = y_view.size();
  935|  23.2k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 10.7k, False: 12.5k]
  ------------------
  936|  10.7k|        {
  937|  10.7k|            d = this_view[i] + carry;
  938|  10.7k|            carry = d < carry;
  939|  10.7k|            this_view[i] = d + y_view[i];
  940|  10.7k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 974, False: 9.77k]
  ------------------
  941|    974|                carry = 1;
  942|  10.7k|        }
  943|  13.5k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 12.7k, False: 759]
  |  Branch (943:53): [True: 974, False: 11.7k]
  ------------------
  944|    974|        {
  945|    974|            d = this_view[i] + carry;
  946|    974|            carry = d < carry;
  947|    974|            this_view[i] = d;
  948|    974|        }
  949|  12.5k|        reduce();
  950|  12.5k|        return *this;
  951|  12.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  20.2k|    {
  890|  20.2k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 20.2k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  20.2k|        word_type d;
  894|  20.2k|        word_type carry = 0;
  895|       |
  896|  20.2k|        auto this_view = get_storage_view();
  897|  20.2k|        resize(this_view.size() + 1);
  898|       |
  899|  20.2k|        this_view = get_storage_view();
  900|  20.2k|        const size_type this_size = this_view.size();
  901|  20.2k|        size_type y_size = 1;
  902|       |
  903|  20.2k|        d = this_view[0] + carry;
  904|  20.2k|        carry = d < carry;
  905|  20.2k|        this_view[0] = d + y;
  906|  20.2k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 9.19k, False: 11.0k]
  ------------------
  907|  9.19k|            carry = 1;
  908|       |
  909|  29.4k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 26.9k, False: 2.48k]
  |  Branch (909:53): [True: 9.19k, False: 17.7k]
  ------------------
  910|  9.19k|        {
  911|  9.19k|            d = this_view[i] + carry;
  912|  9.19k|            carry = d < carry;
  913|  9.19k|            this_view[i] = d;
  914|  9.19k|        }
  915|  20.2k|        reduce();
  916|  20.2k|        return *this;
  917|  20.2k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  93.8k|    {
  183|  93.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 93.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  93.8k|        T val;
  188|  93.8k|        std::memcpy(&val,first,sizeof(T));
  189|  93.8k|        return byte_swap(val);
  190|  93.8k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  93.8k|    {
   65|  93.8k|        uint32_t x;
   66|  93.8k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  93.8k|        uint32_t y = byte_swap(x);
   68|  93.8k|        T val2;
   69|  93.8k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  93.8k|        return val2;
   71|  93.8k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   194k|    {
   40|   194k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   194k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   194k|#  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|   194k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  14.0k|    {
  183|  14.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 14.0k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  14.0k|        T val;
  188|  14.0k|        std::memcpy(&val,first,sizeof(T));
  189|  14.0k|        return byte_swap(val);
  190|  14.0k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  14.0k|    {
   77|  14.0k|        uint64_t x;
   78|  14.0k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  14.0k|        uint64_t y = byte_swap(x);
   80|  14.0k|        T val2;
   81|  14.0k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  14.0k|        return val2;
   83|  14.0k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  24.7k|    {
   52|  24.7k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  24.7k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  24.7k|#  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|  24.7k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   218k|    {
  183|   218k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 218k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   218k|        T val;
  188|   218k|        std::memcpy(&val,first,sizeof(T));
  189|   218k|        return byte_swap(val);
  190|   218k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   218k|    {
   29|   218k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   218k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   218k|#      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|   218k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   100k|    {
  183|   100k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 100k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   100k|        T val;
  188|   100k|        std::memcpy(&val,first,sizeof(T));
  189|   100k|        return byte_swap(val);
  190|   100k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  10.7k|    {
  183|  10.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 10.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  10.7k|        T val;
  188|  10.7k|        std::memcpy(&val,first,sizeof(T));
  189|  10.7k|        return byte_swap(val);
  190|  10.7k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.05M|    {
  183|  1.05M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.05M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.05M|        T val;
  188|  1.05M|        std::memcpy(&val,first,sizeof(T));
  189|  1.05M|        return byte_swap(val);
  190|  1.05M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.05M|    {
   22|  1.05M|        return val;
   23|  1.05M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.13k|    {
  183|  2.13k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.13k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.13k|        T val;
  188|  2.13k|        std::memcpy(&val,first,sizeof(T));
  189|  2.13k|        return byte_swap(val);
  190|  2.13k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  2.13k|    {
   29|  2.13k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  2.13k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  2.13k|#      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|  2.13k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  4.42k|    {
  183|  4.42k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 4.42k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  4.42k|        T val;
  188|  4.42k|        std::memcpy(&val,first,sizeof(T));
  189|  4.42k|        return byte_swap(val);
  190|  4.42k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  4.42k|    {
   40|  4.42k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  4.42k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  4.42k|#  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|  4.42k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  37.2k|    {
  183|  37.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 37.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  37.2k|        T val;
  188|  37.2k|        std::memcpy(&val,first,sizeof(T));
  189|  37.2k|        return byte_swap(val);
  190|  37.2k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  37.2k|    {
   52|  37.2k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  37.2k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  37.2k|#  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|  37.2k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  54.4k|    {
  183|  54.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 54.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  54.4k|        T val;
  188|  54.4k|        std::memcpy(&val,first,sizeof(T));
  189|  54.4k|        return byte_swap(val);
  190|  54.4k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  54.4k|    {
   22|  54.4k|        return val;
   23|  54.4k|    }

_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|   739k|    {
   45|   739k|        std::size_t count = 0;
   46|   739k|        unsigned char a3[3];
   47|   739k|        unsigned char a4[4];
   48|   739k|        unsigned char fill = alphabet[64];
   49|   739k|        int i = 0;
   50|   739k|        int j = 0;
   51|       |
   52|  10.3M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 9.61M, False: 739k]
  ------------------
   53|  9.61M|        {
   54|  9.61M|            a3[i++] = *first++;
   55|  9.61M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 2.73M, False: 6.87M]
  ------------------
   56|  2.73M|            {
   57|  2.73M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  2.73M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  2.73M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  2.73M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  13.6M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 10.9M, False: 2.73M]
  ------------------
   63|  10.9M|                {
   64|  10.9M|                    result.push_back(alphabet[a4[i]]);
   65|  10.9M|                    ++count;
   66|  10.9M|                }
   67|  2.73M|                i = 0;
   68|  2.73M|            }
   69|  9.61M|        }
   70|       |
   71|   739k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 715k, False: 24.4k]
  ------------------
   72|   715k|        {
   73|  1.45M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 736k, False: 715k]
  ------------------
   74|   736k|            {
   75|   736k|                a3[j] = 0;
   76|   736k|            }
   77|       |
   78|   715k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   715k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   715k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  2.83M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 2.12M, False: 715k]
  ------------------
   83|  2.12M|            {
   84|  2.12M|                result.push_back(alphabet[a4[j]]);
   85|  2.12M|                ++count;
   86|  2.12M|            }
   87|       |
   88|   715k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 715k]
  ------------------
   89|      0|            {
   90|      0|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 0, False: 0]
  ------------------
   91|      0|                {
   92|      0|                    result.push_back(fill);
   93|      0|                    ++count;
   94|      0|                }
   95|      0|            }
   96|   715k|        }
   97|       |
   98|   739k|        return count;
   99|   739k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|   739k|        {
  410|   739k|            return data_;
  411|   739k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|   739k|        {
  414|   739k|            return data_ + size_;
  415|   739k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|   739k|    {
  178|   739k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|   739k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|   739k|                                                      "0123456789-_"
  181|   739k|                                                      "\0";
  182|   739k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|   739k|    }
_ZNK8jsoncons16byte_string_view4dataEv:
  399|   892k|        {
  400|   892k|            return data_;
  401|   892k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|   892k|        {
  404|   892k|            return size_;
  405|   892k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  1.70M|            : data_(data), size_(length)
  363|  1.70M|        {
  364|  1.70M|        }

_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   109k|    {       
  242|   109k|        return (ptr);
  243|   109k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  5.85k|{
  867|  5.85k|    const char* cur = s+length;
  868|  5.85k|    char *end = nullptr;
  869|  5.85k|    val = strtod(s, &end);
  870|  5.85k|    const char* str_end = end;
  871|  5.85k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  5.85k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.85k]
  |  |  ------------------
  ------------------
  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|  5.85k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  11.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.85k]
  |  |  |  Branch (78:50): [True: 0, False: 5.85k]
  |  |  |  Branch (78:50): [True: 0, False: 5.85k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  5.85k|    return to_number_result<char>{str_end};
  892|  5.85k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  5.85k|        : ptr(ptr_), ec(std::errc{})
  138|  5.85k|    {
  139|  5.85k|    }

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  5.01M|    {
 1148|  5.01M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  5.01M|        const uint8_t* end = it + length;
 1150|       |
 1151|  5.01M|        unicode_errc  result{};
 1152|  5.09M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 82.8k, False: 5.01M]
  ------------------
 1153|  82.8k|        {
 1154|  82.8k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 74.3k, False: 8.46k]
  ------------------
 1155|  74.3k|            {
 1156|   504k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   148k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 73.2k, False: 1.07k]
  |  |  |  Branch (281:34): [True: 72.8k, False: 475]
  |  |  |  Branch (281:36): [True: 72.4k, False: 382]
  |  |  |  Branch (281:38): [True: 71.8k, False: 547]
  |  |  |  Branch (281:40): [True: 71.5k, False: 291]
  |  |  |  Branch (281:42): [True: 71.2k, False: 294]
  |  |  |  Branch (281:44): [True: 71.0k, False: 208]
  |  |  |  Branch (281:46): [True: 70.8k, False: 207]
  |  |  ------------------
  ------------------
 1157|  70.8k|                continue;
 1158|   504k|            }
 1159|  11.9k|    non_ascii:
 1160|  11.9k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  11.9k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 41, False: 11.8k]
  ------------------
 1162|     41|            {
 1163|     41|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     41|            }
 1165|  11.8k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 167, False: 11.7k]
  ------------------
 1166|    167|            {
 1167|    167|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    167|            }
 1169|  11.7k|            it += len;
 1170|  11.7k|        }
 1171|  5.01M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  5.01M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  11.8k|    {
  306|  11.8k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  11.8k|        const uint8_t* end = it+length;
  308|       |
  309|  11.8k|        uint8_t byte;
  310|  11.8k|        switch (length) {
  311|     18|        default:
  ------------------
  |  Branch (311:9): [True: 18, False: 11.8k]
  ------------------
  312|     18|            return unicode_errc::over_long_utf8_sequence;
  313|    499|        case 4:
  ------------------
  |  Branch (313:9): [True: 499, False: 11.4k]
  ------------------
  314|    499|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 9, False: 490]
  ------------------
  315|      9|                return unicode_errc::bad_continuation_byte;
  316|    490|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    490|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.21k|        case 3:
  ------------------
  |  Branch (317:9): [True: 724, False: 11.1k]
  ------------------
  318|  1.21k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 8, False: 1.20k]
  ------------------
  319|      8|                return unicode_errc::bad_continuation_byte;
  320|  1.20k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.20k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.96k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.75k, False: 9.14k]
  ------------------
  322|  3.96k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 48, False: 3.91k]
  ------------------
  323|     48|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.91k|            switch (*it) 
  326|  3.91k|            {
  327|       |                // no fall-through in this inner switch
  328|    276|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 276, False: 3.64k]
  |  Branch (328:32): [True: 6, False: 270]
  ------------------
  329|    438|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 438, False: 3.47k]
  |  Branch (329:32): [True: 1, False: 437]
  ------------------
  330|    437|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 218, False: 3.69k]
  |  Branch (330:32): [True: 5, False: 213]
  ------------------
  331|    245|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 245, False: 3.67k]
  |  Branch (331:32): [True: 5, False: 240]
  ------------------
  332|  2.73k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.73k, False: 1.17k]
  |  Branch (332:32): [True: 0, False: 2.73k]
  ------------------
  333|  3.91k|            }
  334|       |
  335|  3.89k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.89k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  11.7k|        case 1:
  ------------------
  |  Branch (336:9): [True: 7.90k, False: 3.99k]
  ------------------
  337|  11.7k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.95k, False: 7.84k]
  |  Branch (337:32): [True: 64, False: 3.89k]
  ------------------
  338|     64|                return unicode_errc::source_illegal;
  339|  11.7k|            break;
  340|  11.8k|        }
  341|  11.7k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 3, False: 11.7k]
  ------------------
  342|      3|            return unicode_errc::source_illegal;
  343|       |
  344|  11.7k|        return unicode_errc();
  345|  11.7k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  7.76M|{
   43|  7.76M|    using char_type = typename Result::value_type;
   44|       |
   45|  7.76M|    char_type buf[255];
   46|  7.76M|    char_type *p = buf;
   47|  7.76M|    const char_type* last = buf+255;
   48|       |
   49|  7.76M|    bool is_negative = value < 0;
   50|       |
   51|  7.76M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 7.76M]
  ------------------
   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|  7.76M|    else
   60|  7.76M|    {
   61|       |
   62|  7.76M|        do
   63|  14.5M|        {
   64|  14.5M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  14.5M|        }
   66|  14.5M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 6.79M, False: 7.76M]
  |  Branch (66:33): [True: 6.79M, False: 0]
  ------------------
   67|  7.76M|    }
   68|  7.76M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  7.76M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 7.76M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  7.76M|    std::size_t count = (p - buf);
   71|  7.76M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 7.76M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  22.3M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 14.5M, False: 7.76M]
  ------------------
   77|  14.5M|    {
   78|  14.5M|        result.push_back(*p);
   79|  14.5M|    }
   80|       |
   81|  7.76M|    return count;
   82|  7.76M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  4.10M|{
   43|  4.10M|    using char_type = typename Result::value_type;
   44|       |
   45|  4.10M|    char_type buf[255];
   46|  4.10M|    char_type *p = buf;
   47|  4.10M|    const char_type* last = buf+255;
   48|       |
   49|  4.10M|    bool is_negative = value < 0;
   50|       |
   51|  4.10M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 4.09M, False: 4.89k]
  ------------------
   52|  4.09M|    {
   53|  4.09M|        do
   54|  4.51M|        {
   55|  4.51M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.51M|        }
   57|  4.51M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 420k, False: 4.09M]
  |  Branch (57:33): [True: 420k, False: 0]
  ------------------
   58|  4.09M|    }
   59|  4.89k|    else
   60|  4.89k|    {
   61|       |
   62|  4.89k|        do
   63|  34.3k|        {
   64|  34.3k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  34.3k|        }
   66|  34.3k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 29.4k, False: 4.89k]
  |  Branch (66:33): [True: 29.4k, False: 0]
  ------------------
   67|  4.89k|    }
   68|  4.10M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  4.10M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.10M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  4.10M|    std::size_t count = (p - buf);
   71|  4.10M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 4.09M, False: 4.89k]
  ------------------
   72|  4.09M|    {
   73|  4.09M|        result.push_back('-');
   74|  4.09M|        ++count;
   75|  4.09M|    }
   76|  8.65M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.55M, False: 4.10M]
  ------------------
   77|  4.55M|    {
   78|  4.55M|        result.push_back(*p);
   79|  4.55M|    }
   80|       |
   81|  4.10M|    return count;
   82|  4.10M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   104k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   104k|    {
  489|   104k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   104k|        struct lconv *lc = localeconv();
  491|   104k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 104k, False: 0]
  |  Branch (491:30): [True: 104k, False: 0]
  ------------------
  492|   104k|        {
  493|   104k|            decimal_point_ = lc->decimal_point[0];
  494|   104k|        }
  495|   104k|#endif
  496|   104k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   104k|    {
  504|   104k|        std::size_t count = 0;
  505|       |
  506|   104k|        char number_buffer[200];
  507|   104k|        int length = 0;
  508|       |
  509|   104k|        switch (float_format_)
  510|   104k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 104k]
  ------------------
  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: 104k]
  ------------------
  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|   104k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 104k, False: 0]
  ------------------
  552|   104k|            {
  553|   104k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 104k]
  ------------------
  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|   104k|                else
  563|   104k|                {
  564|   104k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 104k]
  ------------------
  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|   104k|                }             
  569|   104k|                break;
  570|   104k|            }
  571|   104k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 104k]
  ------------------
  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|   104k|        }
  575|   104k|        return count;
  576|   104k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  5.85k|{
  244|  5.85k|    const char *sbeg = buffer;
  245|  5.85k|    const char *send = sbeg + length;
  246|       |
  247|  5.85k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 5.85k, False: 0]
  ------------------
  248|  5.85k|    {
  249|  5.85k|        bool needs_dot = true;
  250|   113k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 107k, False: 5.85k]
  ------------------
  251|   107k|        {
  252|   107k|            switch (*q)
  253|   107k|            {
  254|  5.41k|            case '-':
  ------------------
  |  Branch (254:13): [True: 5.41k, False: 102k]
  ------------------
  255|  17.0k|            case '0':
  ------------------
  |  Branch (255:13): [True: 11.6k, False: 96.2k]
  ------------------
  256|  26.2k|            case '1':
  ------------------
  |  Branch (256:13): [True: 9.23k, False: 98.6k]
  ------------------
  257|  36.3k|            case '2':
  ------------------
  |  Branch (257:13): [True: 10.0k, False: 97.8k]
  ------------------
  258|  43.5k|            case '3':
  ------------------
  |  Branch (258:13): [True: 7.23k, False: 100k]
  ------------------
  259|  50.1k|            case '4':
  ------------------
  |  Branch (259:13): [True: 6.59k, False: 101k]
  ------------------
  260|  59.8k|            case '5':
  ------------------
  |  Branch (260:13): [True: 9.73k, False: 98.1k]
  ------------------
  261|  70.1k|            case '6':
  ------------------
  |  Branch (261:13): [True: 10.2k, False: 97.6k]
  ------------------
  262|  80.4k|            case '7':
  ------------------
  |  Branch (262:13): [True: 10.3k, False: 97.5k]
  ------------------
  263|  89.5k|            case '8':
  ------------------
  |  Branch (263:13): [True: 9.08k, False: 98.8k]
  ------------------
  264|  95.0k|            case '9':
  ------------------
  |  Branch (264:13): [True: 5.52k, False: 102k]
  ------------------
  265|  97.0k|            case '+':
  ------------------
  |  Branch (265:13): [True: 1.97k, False: 105k]
  ------------------
  266|  97.0k|                result.push_back(*q);
  267|  97.0k|                break;
  268|  3.41k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 3.41k, False: 104k]
  ------------------
  269|  3.41k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 107k]
  ------------------
  270|  3.41k|                result.push_back('e');
  271|  3.41k|                needs_dot = false;
  272|  3.41k|                break;
  273|  7.41k|            default:
  ------------------
  |  Branch (273:13): [True: 7.41k, False: 100k]
  ------------------
  274|  7.41k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 4.80k, False: 2.60k]
  ------------------
  275|  4.80k|                {
  276|  4.80k|                    needs_dot = false;
  277|  4.80k|                    result.push_back('.');
  278|  4.80k|                }
  279|  7.41k|                break;
  280|   107k|            }
  281|   107k|        }
  282|  5.85k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.04k, False: 4.80k]
  ------------------
  283|  1.04k|        {
  284|  1.04k|            result.push_back('.');
  285|  1.04k|            result.push_back('0');
  286|  1.04k|        }
  287|  5.85k|    }
  288|  5.85k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  97.6k|{
  172|  97.6k|    int nb_digits = length;
  173|  97.6k|    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|  97.6k|    int kk = nb_digits + k;
  179|       |
  180|  97.6k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 43.1k, False: 54.4k]
  |  Branch (180:28): [True: 39.0k, False: 4.16k]
  ------------------
  181|  39.0k|    {
  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|   307k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 268k, False: 39.0k]
  ------------------
  186|   268k|        {
  187|   268k|            result.push_back(buffer[i]);
  188|   268k|        }
  189|  62.3k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 23.3k, False: 39.0k]
  ------------------
  190|  23.3k|        {
  191|  23.3k|            result.push_back('0');
  192|  23.3k|        }
  193|  39.0k|        result.push_back('.');
  194|  39.0k|        result.push_back('0');
  195|  39.0k|    } 
  196|  58.6k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 34.2k, False: 24.3k]
  |  Branch (196:24): [True: 30.1k, False: 4.16k]
  ------------------
  197|  30.1k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   140k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 110k, False: 30.1k]
  ------------------
  200|   110k|        {
  201|   110k|            result.push_back(buffer[i]);
  202|   110k|        }
  203|  30.1k|        result.push_back('.');
  204|   352k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 322k, False: 30.1k]
  ------------------
  205|   322k|        {
  206|   322k|            result.push_back(buffer[i]);
  207|   322k|        }
  208|  30.1k|    } 
  209|  28.5k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 7.21k, False: 21.3k]
  |  Branch (209:30): [True: 3.05k, False: 4.16k]
  ------------------
  210|  3.05k|    {
  211|  3.05k|        offset = 2 - kk;
  212|       |
  213|  3.05k|        result.push_back('0');
  214|  3.05k|        result.push_back('.');
  215|  7.85k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 4.80k, False: 3.05k]
  ------------------
  216|  4.80k|            result.push_back('0');
  217|  47.8k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 44.8k, False: 3.05k]
  ------------------
  218|  44.8k|        {
  219|  44.8k|            result.push_back(buffer[i]);
  220|  44.8k|        }
  221|  3.05k|    } 
  222|  25.4k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 3.36k, False: 22.1k]
  ------------------
  223|  3.36k|    {
  224|  3.36k|        result.push_back(buffer[0]);
  225|  3.36k|        result.push_back('e');
  226|  3.36k|        fill_exponent(kk - 1, result);
  227|  3.36k|    } 
  228|  22.1k|    else
  229|  22.1k|    {
  230|  22.1k|        result.push_back(buffer[0]);
  231|  22.1k|        result.push_back('.');
  232|   320k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 298k, False: 22.1k]
  ------------------
  233|   298k|        {
  234|   298k|            result.push_back(buffer[i]);
  235|   298k|        }
  236|  22.1k|        result.push_back('e');
  237|  22.1k|        fill_exponent(kk - 1, result);
  238|  22.1k|    }
  239|  97.6k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  25.4k|{
  137|  25.4k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 21.3k, False: 4.16k]
  ------------------
  138|  21.3k|    {
  139|  21.3k|        result.push_back('-');
  140|  21.3k|        K = -K;
  141|  21.3k|    }
  142|  4.16k|    else
  143|  4.16k|    {
  144|  4.16k|        result.push_back('+'); // compatibility with sprintf
  145|  4.16k|    }
  146|       |
  147|  25.4k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.45k, False: 24.0k]
  ------------------
  148|  1.45k|    {
  149|  1.45k|        result.push_back('0'); // compatibility with sprintf
  150|  1.45k|        result.push_back((char)('0' + K));
  151|  1.45k|    }
  152|  24.0k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 11.7k, False: 12.2k]
  ------------------
  153|  11.7k|    {
  154|  11.7k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  11.7k|        result.push_back((char)('0' + K));
  156|  11.7k|    }
  157|  12.2k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 12.2k, False: 0]
  ------------------
  158|  12.2k|    {
  159|  12.2k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  12.2k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  12.2k|        result.push_back((char)('0' + K));
  162|  12.2k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  25.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   104k|{
  476|   104k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   104k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   104k|{
  367|   104k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.11k, False: 103k]
  ------------------
  368|  1.11k|    {
  369|  1.11k|        result.push_back('0');
  370|  1.11k|        result.push_back('.');
  371|  1.11k|        result.push_back('0');
  372|  1.11k|        return true;
  373|  1.11k|    }
  374|       |
  375|   103k|    int length = 0;
  376|   103k|    int k;
  377|       |
  378|   103k|    char buffer[100];
  379|       |
  380|   103k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 80.2k, False: 23.2k]
  ------------------
  381|   103k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 97.6k, False: 5.85k]
  ------------------
  382|  97.6k|    {
  383|  97.6k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 76.2k, False: 21.3k]
  ------------------
  384|  76.2k|        {
  385|  76.2k|            result.push_back('-');
  386|  76.2k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  97.6k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  97.6k|        return true;
  391|  97.6k|    }
  392|  5.85k|    else
  393|  5.85k|    {
  394|  5.85k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  5.85k|    }
  396|   103k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  5.85k|{
  330|  5.85k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 5.85k]
  ------------------
  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|  5.85k|    char buffer[100];
  339|  5.85k|    int precision = std::numeric_limits<double>::digits10;
  340|  5.85k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  5.85k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 5.85k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  5.85k|    double x{0};
  346|  5.85k|    auto res = decstr_to_double(buffer, length, x);
  347|  5.85k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 5.85k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  5.85k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 5.02k, False: 823]
  ------------------
  352|  5.02k|    {
  353|  5.02k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  5.02k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  5.02k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 5.02k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  5.02k|    }
  360|  5.85k|    dump_buffer(buffer, length, decimal_point, result);
  361|  5.85k|    return true;
  362|  5.85k|}

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   82|  3.74k|{
   83|  3.74k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   84|  3.74k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   75|  3.74k|{
   76|  3.74k|  static msgpack_error_category_impl instance;
   77|  3.74k|  return instance;
   78|  3.74k|}

_ZN8jsoncons7msgpack22msgpack_decode_optionsC1Ev:
   40|  4.63k|    msgpack_decode_options() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonC2Ev:
   23|  4.63k|    msgpack_options_common() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonD2Ev:
   26|  4.63k|    virtual ~msgpack_options_common() = default;
_ZNK8jsoncons7msgpack22msgpack_options_common17max_nesting_depthEv:
   31|  4.63k|    {
   32|  4.63k|        return max_nesting_depth_;
   33|  4.63k|    }

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_19basic_istringstreamIcNS3_11char_traitsIcEES7_EEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  4.63k|       : source_(std::forward<Sourceable>(source)),
   87|  4.63k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  4.63k|         text_buffer_(alloc),
   89|  4.63k|         bytes_buffer_(alloc),
   90|  4.63k|         state_stack_(alloc)
   91|  4.63k|    {
   92|  4.63k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  4.63k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|   496k|        : mode(mode), length(length)
   47|   496k|    {
   48|   496k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  4.63k|    {
  102|  4.63k|        more_ = true;
  103|  4.63k|        done_ = false;
  104|  4.63k|        text_buffer_.clear();
  105|  4.63k|        bytes_buffer_.clear();
  106|  4.63k|        state_stack_.clear();
  107|  4.63k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  4.63k|        nesting_depth_ = 0;
  109|  4.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  4.63k|    {
  160|  31.2M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 31.2M, False: 891]
  |  Branch (160:26): [True: 31.2M, False: 0]
  ------------------
  161|  31.2M|        {
  162|  31.2M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 31.2M, False: 0]
  ------------------
  163|  31.2M|            {
  164|  13.6M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 13.6M, False: 17.6M]
  ------------------
  165|  13.6M|                {
  166|  13.6M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 13.3M, False: 230k]
  ------------------
  167|  13.3M|                    {
  168|  13.3M|                        ++state_stack_.back().index;
  169|  13.3M|                        read_item(visitor, ec);
  170|  13.3M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 804, False: 13.3M]
  |  |  ------------------
  ------------------
  171|    804|                        {
  172|    804|                            return;
  173|    804|                        }
  174|  13.3M|                    }
  175|   230k|                    else
  176|   230k|                    {
  177|   230k|                        end_array(visitor, ec);
  178|   230k|                    }
  179|  13.6M|                    break;
  180|  13.6M|                }
  181|  13.6M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 8.92M, False: 22.3M]
  ------------------
  182|  8.92M|                {
  183|  8.92M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 8.72M, False: 199k]
  ------------------
  184|  8.72M|                    {
  185|  8.72M|                        ++state_stack_.back().index;
  186|  8.72M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  8.72M|                        read_item(visitor, ec);
  188|  8.72M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.72M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 687, False: 8.72M]
  |  |  ------------------
  ------------------
  189|    687|                        {
  190|    687|                            return;
  191|    687|                        }
  192|  8.72M|                    }
  193|   199k|                    else
  194|   199k|                    {
  195|   199k|                        end_object(visitor, ec);
  196|   199k|                    }
  197|  8.92M|                    break;
  198|  8.92M|                }
  199|  8.92M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 8.71M, False: 22.5M]
  ------------------
  200|  8.71M|                {
  201|  8.71M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  8.71M|                    read_item(visitor, ec);
  203|  8.71M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.71M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.81k, False: 8.70M]
  |  |  ------------------
  ------------------
  204|  1.81k|                    {
  205|  1.81k|                        return;
  206|  1.81k|                    }
  207|  8.70M|                    break;
  208|  8.71M|                }
  209|  8.70M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 4.63k, False: 31.2M]
  ------------------
  210|  4.63k|                {
  211|  4.63k|                    state_stack_.back().mode = parse_mode::accept;
  212|  4.63k|                    read_item(visitor, ec);
  213|  4.63k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.63k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 440, False: 4.19k]
  |  |  ------------------
  ------------------
  214|    440|                    {
  215|    440|                        return;
  216|    440|                    }
  217|  4.19k|                    break;
  218|  4.63k|                }
  219|  4.19k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 891, False: 31.2M]
  ------------------
  220|    891|                {
  221|    891|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|    891|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 891]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|    891|                    state_stack_.clear();
  223|    891|                    more_ = false;
  224|    891|                    done_ = true;
  225|    891|                    visitor.flush();
  226|    891|                    break;
  227|    891|                }
  228|  31.2M|            }
  229|  31.2M|        }
  230|  4.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  30.8M|    {
  235|  30.8M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 30.8M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  30.8M|        uint8_t type;
  243|  30.8M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 2.85k, False: 30.8M]
  ------------------
  244|  2.85k|        {
  245|  2.85k|            ec = msgpack_errc::unexpected_eof;
  246|  2.85k|            more_ = false;
  247|  2.85k|            return;
  248|  2.85k|        }
  249|       |
  250|  30.8M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 13.6M, False: 17.1M]
  ------------------
  251|  13.6M|        {
  252|  13.6M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 8.16M, False: 5.49M]
  ------------------
  253|  8.16M|            {
  254|       |                // positive fixint
  255|  8.16M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  8.16M|                more_ = !cursor_mode_;
  257|  8.16M|            }
  258|  5.49M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 226k, False: 5.26M]
  ------------------
  259|   226k|            {
  260|   226k|                begin_object(visitor,type,ec); // fixmap
  261|   226k|            }
  262|  5.26M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 252k, False: 5.01M]
  ------------------
  263|   252k|            {
  264|   252k|                begin_array(visitor,type,ec); // fixarray
  265|   252k|            }
  266|  5.01M|            else 
  267|  5.01M|            {
  268|       |                // fixstr
  269|  5.01M|                const size_t len = type & 0x1f;
  270|       |
  271|  5.01M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  5.01M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 33, False: 5.01M]
  ------------------
  273|     33|                {
  274|     33|                    ec = msgpack_errc::unexpected_eof;
  275|     33|                    more_ = false;
  276|     33|                    return;
  277|     33|                }
  278|       |
  279|  5.01M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  5.01M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 166, False: 5.01M]
  ------------------
  281|    166|                {
  282|    166|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    166|                    more_ = false;
  284|    166|                    return;
  285|    166|                }
  286|  5.01M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  5.01M|                    semantic_tag::none, *this, ec);
  288|  5.01M|                more_ = !cursor_mode_;
  289|  5.01M|            }
  290|  13.6M|        }
  291|  17.1M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 3.90M, False: 13.2M]
  ------------------
  292|  3.90M|        {
  293|       |            // negative fixint
  294|  3.90M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  3.90M|            more_ = !cursor_mode_;
  296|  3.90M|        }
  297|  13.2M|        else
  298|  13.2M|        {
  299|  13.2M|            switch (type)
  300|  13.2M|            {
  301|   123k|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 123k, False: 13.1M]
  ------------------
  302|   123k|                {
  303|   123k|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|   123k|                    more_ = !cursor_mode_;
  305|   123k|                    break;
  306|      0|                }
  307|  8.05M|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 8.05M, False: 5.21M]
  ------------------
  308|  8.05M|                {
  309|  8.05M|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|  8.05M|                    more_ = !cursor_mode_;
  311|  8.05M|                    break;
  312|      0|                }
  313|  3.61M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 3.61M, False: 9.65M]
  ------------------
  314|  3.61M|                {
  315|  3.61M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  3.61M|                    more_ = !cursor_mode_;
  317|  3.61M|                    break;
  318|      0|                }
  319|  93.8k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 93.8k, False: 13.1M]
  ------------------
  320|  93.8k|                {
  321|  93.8k|                    uint8_t buf[sizeof(float)];
  322|  93.8k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 7, False: 93.8k]
  ------------------
  323|      7|                    {
  324|      7|                        ec = msgpack_errc::unexpected_eof;
  325|      7|                        more_ = false;
  326|      7|                        return;
  327|      7|                    }
  328|  93.8k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|  93.8k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|  93.8k|                    more_ = !cursor_mode_;
  331|  93.8k|                    break;
  332|  93.8k|                }
  333|       |
  334|  14.0k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 14.0k, False: 13.2M]
  ------------------
  335|  14.0k|                {
  336|  14.0k|                    uint8_t buf[sizeof(double)];
  337|  14.0k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 8, False: 14.0k]
  ------------------
  338|      8|                    {
  339|      8|                        ec = msgpack_errc::unexpected_eof;
  340|      8|                        more_ = false;
  341|      8|                        return;
  342|      8|                    }
  343|  14.0k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  14.0k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  14.0k|                    more_ = !cursor_mode_;
  346|  14.0k|                    break;
  347|  14.0k|                }
  348|       |
  349|  1.89k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 1.89k, False: 13.2M]
  ------------------
  350|  1.89k|                {
  351|  1.89k|                    uint8_t b;
  352|  1.89k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 1, False: 1.88k]
  ------------------
  353|      1|                    {
  354|      1|                        ec = msgpack_errc::unexpected_eof;
  355|      1|                        more_ = false;
  356|      1|                        return;
  357|      1|                    }
  358|  1.88k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  1.88k|                    more_ = !cursor_mode_;
  360|  1.88k|                    break;
  361|  1.89k|                }
  362|       |
  363|   205k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 205k, False: 13.0M]
  ------------------
  364|   205k|                {
  365|   205k|                    uint8_t buf[sizeof(uint16_t)];
  366|   205k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 3, False: 205k]
  ------------------
  367|      3|                    {
  368|      3|                        ec = msgpack_errc::unexpected_eof;
  369|      3|                        more_ = false;
  370|      3|                        return;
  371|      3|                    }
  372|   205k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|   205k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|   205k|                    more_ = !cursor_mode_;
  375|   205k|                    break;
  376|   205k|                }
  377|       |
  378|  63.2k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 63.2k, False: 13.2M]
  ------------------
  379|  63.2k|                {
  380|  63.2k|                    uint8_t buf[sizeof(uint32_t)];
  381|  63.2k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 3, False: 63.2k]
  ------------------
  382|      3|                    {
  383|      3|                        ec = msgpack_errc::unexpected_eof;
  384|      3|                        more_ = false;
  385|      3|                        return;
  386|      3|                    }
  387|  63.2k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  63.2k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  63.2k|                    more_ = !cursor_mode_;
  390|  63.2k|                    break;
  391|  63.2k|                }
  392|       |
  393|  2.28k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 2.28k, False: 13.2M]
  ------------------
  394|  2.28k|                {
  395|  2.28k|                    uint8_t buf[sizeof(uint64_t)];
  396|  2.28k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 4, False: 2.27k]
  ------------------
  397|      4|                    {
  398|      4|                        ec = msgpack_errc::unexpected_eof;
  399|      4|                        more_ = false;
  400|      4|                        return;
  401|      4|                    }
  402|  2.27k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  2.27k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  2.27k|                    more_ = !cursor_mode_;
  405|  2.27k|                    break;
  406|  2.28k|                }
  407|       |
  408|   213k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 213k, False: 13.0M]
  ------------------
  409|   213k|                {
  410|   213k|                    uint8_t buf[sizeof(int8_t)];
  411|   213k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 1, False: 213k]
  ------------------
  412|      1|                    {
  413|      1|                        ec = msgpack_errc::unexpected_eof;
  414|      1|                        more_ = false;
  415|      1|                        return;
  416|      1|                    }
  417|   213k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|   213k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|   213k|                    more_ = !cursor_mode_;
  420|   213k|                    break;
  421|   213k|                }
  422|       |
  423|  2.13k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 2.13k, False: 13.2M]
  ------------------
  424|  2.13k|                {
  425|  2.13k|                    uint8_t buf[sizeof(int16_t)];
  426|  2.13k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 2, False: 2.13k]
  ------------------
  427|      2|                    {
  428|      2|                        ec = msgpack_errc::unexpected_eof;
  429|      2|                        more_ = false;
  430|      2|                        return;
  431|      2|                    }
  432|  2.13k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  2.13k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  2.13k|                    more_ = !cursor_mode_;
  435|  2.13k|                    break;
  436|  2.13k|                }
  437|       |
  438|  4.42k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 4.42k, False: 13.2M]
  ------------------
  439|  4.42k|                {
  440|  4.42k|                    uint8_t buf[sizeof(int32_t)];
  441|  4.42k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 4, False: 4.42k]
  ------------------
  442|      4|                    {
  443|      4|                        ec = msgpack_errc::unexpected_eof;
  444|      4|                        more_ = false;
  445|      4|                        return;
  446|      4|                    }
  447|  4.42k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  4.42k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  4.42k|                    more_ = !cursor_mode_;
  450|  4.42k|                    break;
  451|  4.42k|                }
  452|       |
  453|  4.54k|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 4.54k, False: 13.2M]
  ------------------
  454|  4.54k|                {
  455|  4.54k|                    uint8_t buf[sizeof(int64_t)];
  456|  4.54k|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 4, False: 4.54k]
  ------------------
  457|      4|                    {
  458|      4|                        ec = msgpack_errc::unexpected_eof;
  459|      4|                        more_ = false;
  460|      4|                        return;
  461|      4|                    }
  462|  4.54k|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|  4.54k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|  4.54k|                    more_ = !cursor_mode_;
  465|  4.54k|                    break;
  466|  4.54k|                }
  467|       |
  468|  1.09k|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 1.09k, False: 13.2M]
  ------------------
  469|  1.61k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 515, False: 13.2M]
  ------------------
  470|  2.07k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 467, False: 13.2M]
  ------------------
  471|  2.07k|                {
  472|  2.07k|                    std::size_t len = get_size(type, ec);
  473|  2.07k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 22, False: 2.05k]
  ------------------
  474|     22|                    {
  475|     22|                        return;
  476|     22|                    }
  477|       |
  478|  2.05k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  2.05k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 121, False: 1.93k]
  ------------------
  480|    121|                    {
  481|    121|                        ec = msgpack_errc::unexpected_eof;
  482|    121|                        more_ = false;
  483|    121|                        return;
  484|    121|                    }
  485|       |
  486|  1.93k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  1.93k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 42, False: 1.89k]
  ------------------
  488|     42|                    {
  489|     42|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     42|                        more_ = false;
  491|     42|                        return;
  492|     42|                    }
  493|  1.89k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  1.89k|                        semantic_tag::none, *this, ec);
  495|  1.89k|                    more_ = !cursor_mode_;
  496|  1.89k|                    break;
  497|  1.93k|                }
  498|       |
  499|  10.2k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 10.2k, False: 13.2M]
  ------------------
  500|  14.8k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 4.62k, False: 13.2M]
  ------------------
  501|  15.2k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 390, False: 13.2M]
  ------------------
  502|  15.2k|                {
  503|  15.2k|                    std::size_t len = get_size(type,ec);
  504|  15.2k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 27, False: 15.2k]
  ------------------
  505|     27|                    {
  506|     27|                        return;
  507|     27|                    }
  508|  15.2k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|  15.2k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  15.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 143, False: 15.1k]
  |  |  ------------------
  ------------------
  510|    143|                    {
  511|    143|                        ec = msgpack_errc::unexpected_eof;
  512|    143|                        more_ = false;
  513|    143|                        return;
  514|    143|                    }
  515|       |
  516|  15.1k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|  15.1k|                        semantic_tag::none, 
  518|  15.1k|                        *this,
  519|  15.1k|                        ec);
  520|  15.1k|                    more_ = !cursor_mode_;
  521|  15.1k|                    break;
  522|  15.2k|                }
  523|  18.2k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 18.2k, False: 13.2M]
  ------------------
  524|   782k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 764k, False: 12.4M]
  ------------------
  525|   786k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 3.83k, False: 13.2M]
  ------------------
  526|   797k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 10.7k, False: 13.2M]
  ------------------
  527|   799k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 1.84k, False: 13.2M]
  ------------------
  528|   842k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 43.1k, False: 13.2M]
  ------------------
  529|   842k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 765, False: 13.2M]
  ------------------
  530|   843k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 743, False: 13.2M]
  ------------------
  531|   843k|                {
  532|   843k|                    std::size_t len = get_size(type,ec);
  533|   843k|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 31, False: 843k]
  ------------------
  534|     31|                    {
  535|     31|                        return;
  536|     31|                    }
  537|       |
  538|       |                    // type
  539|   843k|                    uint8_t buf[sizeof(int8_t)];
  540|   843k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 46, False: 843k]
  ------------------
  541|     46|                    {
  542|     46|                        ec = msgpack_errc::unexpected_eof;
  543|     46|                        more_ = false;
  544|     46|                        return;
  545|     46|                    }
  546|       |
  547|   843k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|   843k|                    bool is_timestamp = false; 
  550|   843k|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 43.4k, False: 800k]
  ------------------
  551|  43.4k|                    {
  552|  43.4k|                        is_timestamp = true;;
  553|  43.4k|                    }
  554|       |
  555|       |                    // payload
  556|   843k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 43.4k, False: 800k]
  |  Branch (556:41): [True: 1.08k, False: 42.3k]
  ------------------
  557|  1.08k|                    {
  558|  1.08k|                        uint8_t buf32[sizeof(uint32_t)];
  559|  1.08k|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 3, False: 1.08k]
  ------------------
  560|      3|                        {
  561|      3|                            ec = msgpack_errc::unexpected_eof;
  562|      3|                            more_ = false;
  563|      3|                            return;
  564|      3|                        }
  565|  1.08k|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|  1.08k|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|  1.08k|                        more_ = !cursor_mode_;
  568|  1.08k|                    }
  569|   842k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 42.3k, False: 800k]
  |  Branch (569:46): [True: 8.42k, False: 33.9k]
  ------------------
  570|  8.42k|                    {
  571|  8.42k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  8.42k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 7, False: 8.42k]
  ------------------
  573|      7|                        {
  574|      7|                            ec = msgpack_errc::unexpected_eof;
  575|      7|                            more_ = false;
  576|      7|                            return;
  577|      7|                        }
  578|  8.42k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  8.42k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  8.42k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  8.42k|                        bigint nano(sec);
  583|  8.42k|                        nano *= uint64_t(nanos_in_second);
  584|  8.42k|                        nano += nsec;
  585|  8.42k|                        text_buffer_.clear();
  586|  8.42k|                        nano.write_string(text_buffer_);
  587|  8.42k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  8.42k|                        more_ = !cursor_mode_;
  589|  8.42k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 8.42k]
  ------------------
  590|  8.42k|                    }
  591|   834k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 33.9k, False: 800k]
  |  Branch (591:46): [True: 32.7k, False: 1.22k]
  ------------------
  592|  32.7k|                    {
  593|  32.7k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  32.7k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 4, False: 32.7k]
  ------------------
  595|      4|                        {
  596|      4|                            ec = msgpack_errc::unexpected_eof;
  597|      4|                            more_ = false;
  598|      4|                            return;
  599|      4|                        }
  600|  32.7k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  32.7k|                        uint8_t buf2[sizeof(int64_t)];
  603|  32.7k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 4, False: 32.7k]
  ------------------
  604|      4|                        {
  605|      4|                            ec = msgpack_errc::unexpected_eof;
  606|      4|                            more_ = false;
  607|      4|                            return;
  608|      4|                        }
  609|  32.7k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  32.7k|                        bigint nano(sec);
  612|       |
  613|  32.7k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  32.7k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 12.5k, False: 20.2k]
  ------------------
  616|  12.5k|                        {
  617|  12.5k|                            nano -= nsec;
  618|  12.5k|                        }
  619|  20.2k|                        else
  620|  20.2k|                        {
  621|  20.2k|                            nano += nsec;
  622|  20.2k|                        }
  623|       |
  624|  32.7k|                        text_buffer_.clear();
  625|  32.7k|                        nano.write_string(text_buffer_);
  626|  32.7k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  32.7k|                        more_ = !cursor_mode_;
  628|  32.7k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 32.7k]
  ------------------
  629|  32.7k|                    }
  630|   801k|                    else
  631|   801k|                    {
  632|   801k|                        auto data = source_.read_span(len, bytes_buffer_);
  633|   801k|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|   801k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 167, False: 801k]
  |  |  ------------------
  ------------------
  634|    167|                        {
  635|    167|                            ec = msgpack_errc::unexpected_eof;
  636|    167|                            more_ = false;
  637|    167|                            return;
  638|    167|                        }
  639|       |
  640|   801k|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|   801k|                                                          static_cast<uint8_t>(ext_type), 
  642|   801k|                                                          *this,
  643|   801k|                                                          ec);
  644|   801k|                        more_ = !cursor_mode_;
  645|   801k|                    }
  646|   843k|                    break;
  647|   843k|                }
  648|       |
  649|   843k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 4.64k, False: 13.2M]
  ------------------
  650|  5.57k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 929, False: 13.2M]
  ------------------
  651|  5.57k|                {
  652|  5.57k|                    begin_array(visitor,type,ec);
  653|  5.57k|                    break;
  654|  4.64k|                }
  655|       |
  656|  2.40k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 2.40k, False: 13.2M]
  ------------------
  657|  3.65k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 1.25k, False: 13.2M]
  ------------------
  658|  3.65k|                {
  659|  3.65k|                    begin_object(visitor, type, ec);
  660|  3.65k|                    break;
  661|  2.40k|                }
  662|       |
  663|      3|                default:
  ------------------
  |  Branch (663:17): [True: 3, False: 13.2M]
  ------------------
  664|      3|                {
  665|      3|                    ec = msgpack_errc::unknown_type;
  666|      3|                    more_ = false;
  667|      3|                    return;
  668|  2.40k|                }
  669|  13.2M|            }
  670|  13.2M|        }
  671|  30.8M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|   229k|    {
  702|   229k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   229k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 229k]
  |  |  ------------------
  ------------------
  703|      1|        {
  704|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      1|            more_ = false;
  706|      1|            return;
  707|      1|        } 
  708|   229k|        std::size_t length = get_size(type, ec);
  709|   229k|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 18, False: 229k]
  ------------------
  710|     18|        {
  711|     18|            return;
  712|     18|        }
  713|   229k|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|   229k|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|   229k|        more_ = !cursor_mode_;
  716|   229k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|   257k|    {
  675|   257k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   257k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 257k]
  |  |  ------------------
  ------------------
  676|      5|        {
  677|      5|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      5|            more_ = false;
  679|      5|            return;
  680|      5|        } 
  681|   257k|        std::size_t length = get_size(type, ec);
  682|   257k|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 18, False: 257k]
  ------------------
  683|     18|        {
  684|     18|            return;
  685|     18|        }
  686|   257k|        state_stack_.emplace_back(parse_mode::array,length);
  687|   257k|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|   257k|        more_ = !cursor_mode_;
  689|   257k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  727|  1.34M|    {
  728|  1.34M|        switch (type)
  729|  1.34M|        {
  730|  1.09k|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 1.09k, False: 1.34M]
  ------------------
  731|  11.3k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 10.2k, False: 1.33M]
  ------------------
  732|  54.5k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 43.1k, False: 1.30M]
  ------------------
  733|  54.5k|            {
  734|  54.5k|                uint8_t buf[sizeof(int8_t)];
  735|  54.5k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 29, False: 54.4k]
  ------------------
  736|     29|                {
  737|     29|                    ec = msgpack_errc::unexpected_eof;
  738|     29|                    more_ = false;
  739|     29|                    return 0;
  740|     29|                }
  741|  54.4k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|  54.4k|                return static_cast<std::size_t>(len);
  743|  54.5k|            }
  744|       |
  745|    515|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 515, False: 1.34M]
  ------------------
  746|  5.14k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 4.62k, False: 1.34M]
  ------------------
  747|  5.90k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 765, False: 1.34M]
  ------------------
  748|  10.5k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 4.64k, False: 1.34M]
  ------------------
  749|  12.9k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 2.40k, False: 1.34M]
  ------------------
  750|  12.9k|            {
  751|  12.9k|                uint8_t buf[sizeof(int16_t)];
  752|  12.9k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 42, False: 12.9k]
  ------------------
  753|     42|                {
  754|     42|                    ec = msgpack_errc::unexpected_eof;
  755|     42|                    more_ = false;
  756|     42|                    return 0;
  757|     42|                }
  758|  12.9k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  12.9k|                return static_cast<std::size_t>(len);
  760|  12.9k|            }
  761|       |
  762|    467|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 467, False: 1.34M]
  ------------------
  763|    857|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 390, False: 1.34M]
  ------------------
  764|  1.60k|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 743, False: 1.34M]
  ------------------
  765|  2.52k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 929, False: 1.34M]
  ------------------
  766|  3.78k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 1.25k, False: 1.34M]
  ------------------
  767|  3.78k|            {
  768|  3.78k|                uint8_t buf[sizeof(int32_t)];
  769|  3.78k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 45, False: 3.74k]
  ------------------
  770|     45|                {
  771|     45|                    ec = msgpack_errc::unexpected_eof;
  772|     45|                    more_ = false;
  773|     45|                    return 0;
  774|     45|                }
  775|  3.74k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  3.74k|                return static_cast<std::size_t>(len);
  777|  3.78k|            }
  778|  18.2k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 18.2k, False: 1.33M]
  ------------------
  779|  18.2k|                return 1;
  780|   764k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 764k, False: 584k]
  ------------------
  781|   764k|                return 2;
  782|  3.83k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 3.83k, False: 1.34M]
  ------------------
  783|  3.83k|                return 4;
  784|  10.7k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 10.7k, False: 1.33M]
  ------------------
  785|  10.7k|                return 8;
  786|  1.84k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 1.84k, False: 1.34M]
  ------------------
  787|  1.84k|                return 16;
  788|   478k|            default:
  ------------------
  |  Branch (788:13): [True: 478k, False: 870k]
  ------------------
  789|   478k|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 252k, False: 226k]
  |  Branch (789:37): [True: 252k, False: 0]
  ------------------
  790|   226k|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 226k, False: 0]
  |  Branch (790:40): [True: 226k, False: 0]
  ------------------
  791|   478k|        )
  792|   478k|                {
  793|   478k|                    return type & 0x0f;
  794|   478k|                }
  795|      0|                else
  796|      0|                {
  797|      0|                    ec = msgpack_errc::unknown_type;
  798|      0|                    more_ = false;
  799|      0|                    return 0;
  800|      0|                }
  801|      0|                break;
  802|  1.34M|        }
  803|  1.34M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|   230k|    {
  693|   230k|        --nesting_depth_;
  694|       |
  695|   230k|        visitor.end_array(*this, ec);
  696|   230k|        more_ = !cursor_mode_;
  697|   230k|        state_stack_.pop_back();
  698|   230k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|   199k|    {
  720|   199k|        --nesting_depth_;
  721|   199k|        visitor.end_object(*this, ec);
  722|   199k|        more_ = !cursor_mode_;
  723|   199k|        state_stack_.pop_back();
  724|   199k|    }

_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_19basic_istringstreamIcNS3_11char_traitsIcEES7_EEEEOT_RNS_18basic_json_visitorIcEERKNS0_22msgpack_decode_optionsERKS7_:
   51|  4.63k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   52|  4.63k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   53|  4.63k|    {
   54|  4.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   87|  4.63k|    {
   88|  4.63k|        parser_.reset();
   89|  4.63k|        parser_.parse(visitor_, ec);
   90|  4.63k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.63k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.74k, False: 891]
  |  |  ------------------
  ------------------
   91|  3.74k|        {
   92|  3.74k|            return;
   93|  3.74k|        }
   94|  4.63k|    }

