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

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

_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  16.2M|        {
  117|  16.2M|            return size_;
  118|  16.2M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  5.12M|        {
   59|  5.12M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   444k|            : data_(data), size_(size)
   62|   444k|        {
   63|   444k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  10.6M|        {
  112|  10.6M|            return data_;
  113|  10.6M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|   214k|        {
 1009|   214k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 38.6k, False: 176k]
  ------------------
 1010|  38.6k|            {
 1011|  38.6k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 34.1k, False: 4.51k]
  |  Branch (1011:86): [True: 31.4k, False: 2.63k]
  ------------------
 1012|  31.4k|                {
 1013|  31.4k|                    key_buffer_.push_back(',');
 1014|  31.4k|                }
 1015|  38.6k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|  38.6k|                key_buffer_.push_back('[');
 1017|  38.6k|            }
 1018|   176k|            else
 1019|   176k|            {
 1020|   176k|                switch (level_stack_.back().target_kind())
 1021|   176k|                {
 1022|   162k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 162k, False: 13.5k]
  ------------------
 1023|   162k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 128k, False: 33.9k]
  |  Branch (1023:65): [True: 45.9k, False: 82.7k]
  ------------------
 1024|  45.9k|                        {
 1025|  45.9k|                            key_buffer_.push_back(',');
 1026|  45.9k|                        }
 1027|   162k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   162k|                        key_buffer_.push_back('[');
 1029|   162k|                        break;
 1030|  13.5k|                    default:
  ------------------
  |  Branch (1030:21): [True: 13.5k, False: 162k]
  ------------------
 1031|  13.5k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  13.5k|                        destination_->begin_array(length, tag, context, ec);
 1033|  13.5k|                        break;
 1034|   176k|                }
 1035|   176k|            }
 1036|   214k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   214k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|   214k|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|  84.4M|            {
  816|  84.4M|                return even_odd_ == 0;
  817|  84.4M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|  48.3M|            {
  826|  48.3M|                return target_kind_;
  827|  48.3M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  20.8M|            {
  831|  20.8M|                return count_;
  832|  20.8M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|   455k|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 236k, False: 219k]
  ------------------
  799|   455k|            {
  800|   455k|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|  50.7M|            {
  821|  50.7M|                return structure_kind_ == json_structure_kind::object;
  822|  50.7M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|   189k|        {
 1041|   189k|            switch (level_stack_.back().target_kind())
 1042|   189k|            {
 1043|   184k|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 184k, False: 5.52k]
  ------------------
 1044|   184k|                    key_buffer_.push_back(']');
 1045|   184k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   184k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 184k]
  |  |  ------------------
  |  |   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|   184k|                    level_stack_.pop_back();
 1047|   184k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 3.90k, False: 180k]
  ------------------
 1048|  3.90k|                    {
 1049|  3.90k|                        destination_->key(key_buffer_, context, ec);
 1050|  3.90k|                        key_buffer_.clear();
 1051|  3.90k|                    }
 1052|   180k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 32.4k, False: 147k]
  ------------------
 1053|  32.4k|                    {
 1054|  32.4k|                        key_buffer_.push_back(':');
 1055|  32.4k|                    }
 1056|   184k|                    level_stack_.back().advance();
 1057|   184k|                    break;
 1058|  5.52k|                default:
  ------------------
  |  Branch (1058:17): [True: 5.52k, False: 184k]
  ------------------
 1059|  5.52k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  5.52k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.52k]
  |  |  ------------------
  |  |   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.52k|                    level_stack_.pop_back();
 1061|  5.52k|                    level_stack_.back().advance();
 1062|  5.52k|                    destination_->end_array(context, ec);
 1063|  5.52k|                    break;
 1064|   189k|            }
 1065|   189k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|   189k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  29.8M|            {
  804|  29.8M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 21.9M, False: 7.89M]
  ------------------
  805|  21.9M|                {
  806|  21.9M|                    ++count_;
  807|  21.9M|                }
  808|  29.8M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 15.7M, False: 14.0M]
  ------------------
  809|  15.7M|                {
  810|  15.7M|                    even_odd_ = !even_odd_;
  811|  15.7M|                }
  812|  29.8M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  8.16M|        {
 1234|  8.16M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 2.09M, False: 6.06M]
  |  Branch (1234:49): [True: 5.41M, False: 657k]
  ------------------
 1235|  7.50M|            {
 1236|  7.50M|                key_.clear();
 1237|  7.50M|                jsoncons::from_integer(value,key_);
 1238|  7.50M|            }
 1239|       |
 1240|  8.16M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 2.09M, False: 6.06M]
  ------------------
 1241|  2.09M|            {
 1242|  2.09M|                switch (level_stack_.back().target_kind())
 1243|  2.09M|                {
 1244|  1.98M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 1.98M, False: 107k]
  ------------------
 1245|  1.98M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 1.96M, False: 27.1k]
  ------------------
 1246|  1.96M|                        {
 1247|  1.96M|                            key_buffer_.push_back(',');
 1248|  1.96M|                        }
 1249|  1.98M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  1.98M|                        key_buffer_.push_back(':');
 1251|  1.98M|                        break;
 1252|   107k|                    default:
  ------------------
  |  Branch (1252:21): [True: 107k, False: 1.98M]
  ------------------
 1253|   107k|                        destination_->key(key_, context, ec);
 1254|   107k|                        break;
 1255|  2.09M|                }
 1256|  2.09M|            }
 1257|  6.06M|            else
 1258|  6.06M|            {
 1259|  6.06M|                switch (level_stack_.back().target_kind())
 1260|  6.06M|                {
 1261|  5.41M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 5.41M, False: 657k]
  ------------------
 1262|  5.41M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 3.41M, False: 2.00M]
  |  Branch (1262:65): [True: 3.40M, False: 6.07k]
  ------------------
 1263|  3.40M|                        {
 1264|  3.40M|                            key_buffer_.push_back(',');
 1265|  3.40M|                        }
 1266|  5.41M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  5.41M|                        break;
 1268|   657k|                    default:
  ------------------
  |  Branch (1268:21): [True: 657k, False: 5.41M]
  ------------------
 1269|   657k|                        destination_->uint64_value(value, tag, context, ec);
 1270|   657k|                        break;
 1271|  6.06M|                }
 1272|  6.06M|            }
 1273|       |
 1274|  8.16M|            level_stack_.back().advance();
 1275|  8.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  8.16M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  3.96M|        {
 1280|  3.96M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 998k, False: 2.96M]
  |  Branch (1280:49): [True: 2.93M, False: 27.8k]
  ------------------
 1281|  3.93M|            {
 1282|  3.93M|                key_.clear();
 1283|  3.93M|                jsoncons::from_integer(value,key_);
 1284|  3.93M|            }
 1285|       |
 1286|  3.96M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 998k, False: 2.96M]
  ------------------
 1287|   998k|            {
 1288|   998k|                switch (level_stack_.back().target_kind())
 1289|   998k|                {
 1290|   976k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 976k, False: 22.0k]
  ------------------
 1291|   976k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 970k, False: 5.29k]
  ------------------
 1292|   970k|                        {
 1293|   970k|                            key_buffer_.push_back(',');
 1294|   970k|                        }
 1295|   976k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   976k|                        key_buffer_.push_back(':');
 1297|   976k|                        break;
 1298|  22.0k|                    default:
  ------------------
  |  Branch (1298:21): [True: 22.0k, False: 976k]
  ------------------
 1299|  22.0k|                        destination_->key(key_, context, ec);
 1300|  22.0k|                        break;
 1301|   998k|                }
 1302|   998k|            }
 1303|  2.96M|            else
 1304|  2.96M|            {
 1305|  2.96M|                switch (level_stack_.back().target_kind())
 1306|  2.96M|                {
 1307|  2.93M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.93M, False: 27.8k]
  ------------------
 1308|  2.93M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 1.94M, False: 994k]
  |  Branch (1308:65): [True: 1.93M, False: 4.35k]
  ------------------
 1309|  1.93M|                        {
 1310|  1.93M|                            key_buffer_.push_back(',');
 1311|  1.93M|                        }
 1312|  2.93M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.93M|                        break;
 1314|  27.8k|                    default:
  ------------------
  |  Branch (1314:21): [True: 27.8k, False: 2.93M]
  ------------------
 1315|  27.8k|                        destination_->int64_value(value, tag, context, ec);
 1316|  27.8k|                        break;
 1317|  2.96M|                }
 1318|  2.96M|            }
 1319|       |
 1320|  3.96M|            level_stack_.back().advance();
 1321|  3.96M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  3.96M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   100k|        {
 1375|   100k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 32.9k, False: 67.7k]
  |  Branch (1375:49): [True: 64.2k, False: 3.50k]
  ------------------
 1376|  97.1k|            {
 1377|  97.1k|                key_.clear();
 1378|  97.1k|                string_sink<string_type> sink(key_);
 1379|  97.1k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  97.1k|                f(value, sink);
 1381|  97.1k|            }
 1382|       |
 1383|   100k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 32.9k, False: 67.7k]
  ------------------
 1384|  32.9k|            {
 1385|  32.9k|                switch (level_stack_.back().target_kind())
 1386|  32.9k|                {
 1387|  28.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 28.5k, False: 4.33k]
  ------------------
 1388|  28.5k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 19.8k, False: 8.71k]
  ------------------
 1389|  19.8k|                        {
 1390|  19.8k|                            key_buffer_.push_back(',');
 1391|  19.8k|                        }
 1392|  28.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  28.5k|                        key_buffer_.push_back(':');
 1394|  28.5k|                        break;
 1395|  4.33k|                    default:
  ------------------
  |  Branch (1395:21): [True: 4.33k, False: 28.5k]
  ------------------
 1396|  4.33k|                        destination_->key(key_, context, ec);
 1397|  4.33k|                        break;
 1398|  32.9k|                }
 1399|  32.9k|            }
 1400|  67.7k|            else
 1401|  67.7k|            {
 1402|  67.7k|                switch (level_stack_.back().target_kind())
 1403|  67.7k|                {
 1404|  64.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 64.2k, False: 3.50k]
  ------------------
 1405|  64.2k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 42.0k, False: 22.1k]
  |  Branch (1405:65): [True: 38.2k, False: 3.82k]
  ------------------
 1406|  38.2k|                        {
 1407|  38.2k|                            key_buffer_.push_back(',');
 1408|  38.2k|                        }
 1409|  64.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  64.2k|                        break;
 1411|  3.50k|                    default:
  ------------------
  |  Branch (1411:21): [True: 3.50k, False: 64.2k]
  ------------------
 1412|  3.50k|                        destination_->double_value(value, tag, context, ec);
 1413|  3.50k|                        break;
 1414|  67.7k|                }
 1415|  67.7k|            }
 1416|       |
 1417|   100k|            level_stack_.back().advance();
 1418|   100k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   100k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   100k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|    920|        {
  882|    920|            destination_->flush();
  883|    920|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|   236k|        {
  915|   236k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 119k, False: 116k]
  ------------------
  916|   119k|            {
  917|   119k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 113k, False: 5.56k]
  |  Branch (917:86): [True: 34.6k, False: 79.0k]
  ------------------
  918|  34.6k|                {
  919|  34.6k|                    key_buffer_.push_back(',');
  920|  34.6k|                }
  921|   119k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   119k|                key_buffer_.push_back('{');
  923|   119k|            }
  924|   116k|            else
  925|   116k|            {
  926|   116k|                switch (level_stack_.back().target_kind())
  927|   116k|                {
  928|   103k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 103k, False: 13.3k]
  ------------------
  929|   103k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 52.0k, False: 51.4k]
  |  Branch (929:65): [True: 49.5k, False: 2.45k]
  ------------------
  930|  49.5k|                        {
  931|  49.5k|                            key_buffer_.push_back(',');
  932|  49.5k|                        }
  933|   103k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   103k|                        key_buffer_.push_back('{');
  935|   103k|                        break;
  936|  13.3k|                    default:
  ------------------
  |  Branch (936:21): [True: 13.3k, False: 103k]
  ------------------
  937|  13.3k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  13.3k|                        destination_->begin_object(length, tag, context, ec);
  939|  13.3k|                        break;
  940|   116k|                }
  941|   116k|            }
  942|   236k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   236k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|   236k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|   208k|        {
  947|   208k|            switch (level_stack_.back().target_kind())
  948|   208k|            {
  949|   200k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 200k, False: 7.91k]
  ------------------
  950|   200k|                    key_buffer_.push_back('}');
  951|   200k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   200k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 200k]
  |  |  ------------------
  |  |   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|   200k|                    level_stack_.pop_back();
  953|       |                    
  954|   200k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 4.61k, False: 195k]
  ------------------
  955|  4.61k|                    {
  956|  4.61k|                        destination_->key(key_buffer_,context, ec);
  957|  4.61k|                        key_buffer_.clear();
  958|  4.61k|                    }
  959|   195k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 101k, False: 94.2k]
  ------------------
  960|   101k|                    {
  961|   101k|                        key_buffer_.push_back(':');
  962|   101k|                    }
  963|   200k|                    level_stack_.back().advance();
  964|   200k|                    break;
  965|  7.91k|                default:
  ------------------
  |  Branch (965:17): [True: 7.91k, False: 200k]
  ------------------
  966|  7.91k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  7.91k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 7.91k]
  |  |  ------------------
  |  |   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|  7.91k|                    level_stack_.pop_back();
  968|  7.91k|                    level_stack_.back().advance();
  969|  7.91k|                    destination_->end_object(context, ec);
  970|  7.91k|                    break;
  971|   208k|            }
  972|   208k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   208k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|   208k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|   116k|        {
 1476|   116k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 38.6k, False: 78.0k]
  |  Branch (1476:49): [True: 76.8k, False: 1.19k]
  ------------------
 1477|   115k|            {
 1478|   115k|                key_.clear(); 
 1479|   115k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   115k|            }
 1481|       |
 1482|   116k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 38.6k, False: 78.0k]
  ------------------
 1483|  38.6k|            {
 1484|  38.6k|                switch (level_stack_.back().target_kind())
 1485|  38.6k|                {
 1486|  37.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 37.6k, False: 1.00k]
  ------------------
 1487|  37.6k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 32.6k, False: 5.07k]
  ------------------
 1488|  32.6k|                        {
 1489|  32.6k|                            key_buffer_.push_back(',');
 1490|  32.6k|                        }
 1491|  37.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|  37.6k|                        key_buffer_.push_back(':');
 1493|  37.6k|                        break;
 1494|  1.00k|                    default:
  ------------------
  |  Branch (1494:21): [True: 1.00k, False: 37.6k]
  ------------------
 1495|  1.00k|                        destination_->key(key_, context, ec);
 1496|  1.00k|                        break;
 1497|  38.6k|                }
 1498|  38.6k|            }
 1499|  78.0k|            else
 1500|  78.0k|            {
 1501|  78.0k|                switch (level_stack_.back().target_kind())
 1502|  78.0k|                {
 1503|  76.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 76.8k, False: 1.19k]
  ------------------
 1504|  76.8k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 43.4k, False: 33.3k]
  |  Branch (1504:65): [True: 42.9k, False: 510]
  ------------------
 1505|  42.9k|                        {
 1506|  42.9k|                            key_buffer_.push_back(',');
 1507|  42.9k|                        }
 1508|  76.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|  76.8k|                        break;
 1510|  1.19k|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.19k, False: 76.8k]
  ------------------
 1511|  1.19k|                        destination_->null_value(tag, context, ec);
 1512|  1.19k|                        break;
 1513|  78.0k|                }
 1514|  78.0k|            }
 1515|       |
 1516|   116k|            level_stack_.back().advance();
 1517|   116k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   116k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|   116k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  11.4M|        {
 1423|  11.4M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 3.40M, False: 8.09M]
  |  Branch (1423:49): [True: 8.05M, False: 43.5k]
  ------------------
 1424|  11.4M|            {
 1425|  11.4M|                key_.clear(); 
 1426|  11.4M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 8.21M, False: 3.23M]
  ------------------
 1427|  8.21M|                {
 1428|  8.21M|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  8.21M|                }
 1430|  3.23M|                else
 1431|  3.23M|                {
 1432|  3.23M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  3.23M|                }
 1434|  11.4M|            }
 1435|       |
 1436|  11.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 3.40M, False: 8.09M]
  ------------------
 1437|  3.40M|            {
 1438|  3.40M|                switch (level_stack_.back().target_kind())
 1439|  3.40M|                {
 1440|  3.37M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 3.37M, False: 27.3k]
  ------------------
 1441|  3.37M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 3.36M, False: 9.67k]
  ------------------
 1442|  3.36M|                        {
 1443|  3.36M|                            key_buffer_.push_back(',');
 1444|  3.36M|                        }
 1445|  3.37M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|  3.37M|                        key_buffer_.push_back(':');
 1447|  3.37M|                        break;
 1448|  27.3k|                    default:
  ------------------
  |  Branch (1448:21): [True: 27.3k, False: 3.37M]
  ------------------
 1449|  27.3k|                        destination_->key(key_, context, ec);
 1450|  27.3k|                        break;
 1451|  3.40M|                }
 1452|  3.40M|            }
 1453|  8.09M|            else
 1454|  8.09M|            {
 1455|  8.09M|                switch (level_stack_.back().target_kind())
 1456|  8.09M|                {
 1457|  8.05M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 8.05M, False: 43.5k]
  ------------------
 1458|  8.05M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 4.64M, False: 3.40M]
  |  Branch (1458:65): [True: 4.64M, False: 6.06k]
  ------------------
 1459|  4.64M|                        {
 1460|  4.64M|                            key_buffer_.push_back(',');
 1461|  4.64M|                        }
 1462|  8.05M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  8.05M|                        break;
 1464|  43.5k|                    default:
  ------------------
  |  Branch (1464:21): [True: 43.5k, False: 8.05M]
  ------------------
 1465|  43.5k|                        destination_->bool_value(value, tag, context, ec);
 1466|  43.5k|                        break;
 1467|  8.09M|                }
 1468|  8.09M|            }
 1469|       |
 1470|  11.4M|            level_stack_.back().advance();
 1471|  11.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  11.4M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  5.16M|        {
 1073|  5.16M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 1.14M, False: 4.01M]
  ------------------
 1074|  1.14M|            {
 1075|  1.14M|                switch (level_stack_.back().target_kind())
 1076|  1.14M|                {
 1077|  1.14M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 1.14M, False: 5.03k]
  ------------------
 1078|  1.14M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 1.14M, False: 3.11k]
  ------------------
 1079|  1.14M|                        {
 1080|  1.14M|                            key_buffer_.push_back(',');
 1081|  1.14M|                        }
 1082|  1.14M|                        key_buffer_.push_back('\"');
 1083|  1.14M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  1.14M|                        key_buffer_.push_back('\"');
 1085|  1.14M|                        key_buffer_.push_back(':');
 1086|  1.14M|                        break;
 1087|  5.03k|                    default:
  ------------------
  |  Branch (1087:21): [True: 5.03k, False: 1.14M]
  ------------------
 1088|  5.03k|                        destination_->key(value, context, ec);
 1089|  5.03k|                        break;
 1090|  1.14M|                }
 1091|  1.14M|            }
 1092|  4.01M|            else
 1093|  4.01M|            {
 1094|  4.01M|                switch (level_stack_.back().target_kind())
 1095|  4.01M|                {
 1096|  3.99M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 3.99M, False: 14.2k]
  ------------------
 1097|  3.99M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 2.85M, False: 1.14M]
  |  Branch (1097:65): [True: 2.85M, False: 796]
  ------------------
 1098|  2.85M|                        {
 1099|  2.85M|                            key_buffer_.push_back(',');
 1100|  2.85M|                        }
 1101|  3.99M|                        key_buffer_.push_back('\"');
 1102|  3.99M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|  3.99M|                        key_buffer_.push_back('\"');
 1104|  3.99M|                        break;
 1105|  14.2k|                    default:
  ------------------
  |  Branch (1105:21): [True: 14.2k, False: 3.99M]
  ------------------
 1106|  14.2k|                        destination_->string_value(value, tag, context, ec);
 1107|  14.2k|                        break;
 1108|  4.01M|                }
 1109|  4.01M|            }
 1110|       |
 1111|  5.16M|            level_stack_.back().advance();
 1112|  5.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  5.16M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  14.8k|        {
 1120|  14.8k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 5.89k, False: 8.96k]
  |  Branch (1120:49): [True: 7.95k, False: 1.01k]
  ------------------
 1121|  13.8k|            {
 1122|  13.8k|                key_.clear();
 1123|  13.8k|                switch (tag)
 1124|  13.8k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 13.8k]
  ------------------
 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: 13.8k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  13.8k|                    default:
  ------------------
  |  Branch (1131:21): [True: 13.8k, False: 0]
  ------------------
 1132|  13.8k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  13.8k|                        break;
 1134|  13.8k|                }
 1135|  13.8k|            }
 1136|       |
 1137|  14.8k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 5.89k, False: 8.96k]
  ------------------
 1138|  5.89k|            {
 1139|  5.89k|                switch (level_stack_.back().target_kind())
 1140|  5.89k|                {
 1141|  5.00k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 5.00k, False: 886]
  ------------------
 1142|  5.00k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 3.43k, False: 1.57k]
  ------------------
 1143|  3.43k|                        {
 1144|  3.43k|                            key_buffer_.push_back(',');
 1145|  3.43k|                        }
 1146|  5.00k|                        key_buffer_.push_back('\"');
 1147|  5.00k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  5.00k|                        key_buffer_.push_back('\"');
 1149|  5.00k|                        key_buffer_.push_back(':');
 1150|  5.00k|                        break;
 1151|    886|                    default:
  ------------------
  |  Branch (1151:21): [True: 886, False: 5.00k]
  ------------------
 1152|    886|                        destination_->key(key_, context, ec);
 1153|    886|                        break;
 1154|  5.89k|                }
 1155|  5.89k|            }
 1156|  8.96k|            else
 1157|  8.96k|            {
 1158|  8.96k|                switch (level_stack_.back().target_kind())
 1159|  8.96k|                {
 1160|  7.95k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 7.95k, False: 1.01k]
  ------------------
 1161|  7.95k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 2.79k, False: 5.16k]
  |  Branch (1161:65): [True: 1.93k, False: 857]
  ------------------
 1162|  1.93k|                        {
 1163|  1.93k|                            key_buffer_.push_back(',');
 1164|  1.93k|                        }
 1165|  7.95k|                        key_buffer_.push_back('\"');
 1166|  7.95k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  7.95k|                        key_buffer_.push_back('\"');
 1168|  7.95k|                        break;
 1169|  1.01k|                    default:
  ------------------
  |  Branch (1169:21): [True: 1.01k, False: 7.95k]
  ------------------
 1170|  1.01k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  1.01k|                        break;
 1172|  8.96k|                }
 1173|  8.96k|            }
 1174|       |
 1175|  14.8k|            level_stack_.back().advance();
 1176|  14.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  14.8k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|   442k|        {
 1184|   442k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 33.5k, False: 409k]
  |  Branch (1184:49): [True: 32.8k, False: 376k]
  ------------------
 1185|  66.4k|            {
 1186|  66.4k|                key_.clear();
 1187|  66.4k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|  66.4k|            }
 1189|       |
 1190|   442k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 33.5k, False: 409k]
  ------------------
 1191|  33.5k|            {
 1192|  33.5k|                switch (level_stack_.back().target_kind())
 1193|  33.5k|                {
 1194|  28.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 28.5k, False: 4.98k]
  ------------------
 1195|  28.5k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 21.5k, False: 6.96k]
  ------------------
 1196|  21.5k|                        {
 1197|  21.5k|                            key_buffer_.push_back(',');
 1198|  21.5k|                        }
 1199|  28.5k|                        key_buffer_.push_back('\"');
 1200|  28.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  28.5k|                        key_buffer_.push_back('\"');
 1202|  28.5k|                        key_buffer_.push_back(':');
 1203|  28.5k|                        break;
 1204|  4.98k|                    default:
  ------------------
  |  Branch (1204:21): [True: 4.98k, False: 28.5k]
  ------------------
 1205|  4.98k|                        destination_->key(key_, context, ec);
 1206|  4.98k|                        break;
 1207|  33.5k|                }
 1208|  33.5k|            }
 1209|   409k|            else
 1210|   409k|            {
 1211|   409k|                switch (level_stack_.back().target_kind())
 1212|   409k|                {
 1213|  32.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 32.8k, False: 376k]
  ------------------
 1214|  32.8k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 10.9k, False: 21.9k]
  |  Branch (1214:65): [True: 9.16k, False: 1.80k]
  ------------------
 1215|  9.16k|                        {
 1216|  9.16k|                            key_buffer_.push_back(',');
 1217|  9.16k|                        }
 1218|  32.8k|                        key_buffer_.push_back('\"');
 1219|  32.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|  32.8k|                        key_buffer_.push_back('\"');
 1221|  32.8k|                        break;
 1222|   376k|                    default:
  ------------------
  |  Branch (1222:21): [True: 376k, False: 32.8k]
  ------------------
 1223|   376k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   376k|                        break;
 1225|   409k|                }
 1226|   409k|            }
 1227|       |
 1228|   442k|            level_stack_.back().advance();
 1229|   442k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   442k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|   442k|        }
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|   214k|    {
  295|   214k|        visit_begin_array(length, tag, context, ec);
  296|   214k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   214k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|   214k|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  8.16M|    {
  364|  8.16M|        visit_uint64(value, tag, context, ec);
  365|  8.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  8.16M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|   189k|    {
  301|   189k|        visit_end_array(context, ec);
  302|   189k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   189k|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  3.96M|    {
  373|  3.96M|        visit_int64(value, tag, context, ec);
  374|  3.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  3.96M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   100k|    {
  391|   100k|        visit_double(value, tag, context, ec);
  392|   100k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   100k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   100k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  4.73k|            : destination_(std::addressof(visitor)), 
  856|  4.73k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  4.73k|        {
  858|  4.73k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  4.73k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  4.73k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|   236k|    {
  277|   236k|        visit_begin_object(length, tag, context, ec);
  278|   236k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   236k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|   236k|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  5.16M|    {
  333|  5.16M|        visit_string(value, tag, context, ec);
  334|  5.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  5.16M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|   116k|    {
  315|   116k|        visit_null(tag, context, ec);
  316|   116k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   116k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|   116k|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  11.4M|    {
  324|  11.4M|        visit_bool(value, tag, context, ec);
  325|  11.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  11.4M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  14.8k|    {
  344|  14.8k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  14.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  14.8k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|   442k|    {
  355|   442k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|   442k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   442k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|   442k|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|   208k|    {
  283|   208k|        visit_end_object(context, ec);
  284|   208k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   208k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|   208k|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|    920|    {
   58|    920|        visit_flush();
   59|    920|    }

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

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

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.73k|    {
  194|  4.73k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.73k, False: 0]
  ------------------
  195|  4.73k|        {
  196|  4.73k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.73k|        }
  198|  4.73k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.73k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.73k|          chunk_size_(default_max_chunk_size)
  178|  4.73k|    {
  179|  4.73k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.73k|        data_end_ = chunk_;
  181|  4.73k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.73k|      : std::basic_istream<CharT>(&nb_)
   58|  4.73k|    {
   59|  4.73k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.73k|        null_buffer() = default;
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  29.9M|    {
  277|  29.9M|        return stream_ptr_->bad();  
  278|  29.9M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  31.0M|    {
  378|  31.0M|        std::size_t len = 0;
  379|  31.0M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 31.0M, False: 9.49k]
  ------------------
  380|  31.0M|        {
  381|  31.0M|            len = (std::min)(remaining_, length);
  382|  31.0M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  31.0M|            data_end_ += len;
  384|  31.0M|            remaining_ -= len;
  385|  31.0M|            position_ += len;
  386|  31.0M|        }
  387|  31.0M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 31.0M, False: 10.9k]
  ------------------
  388|  31.0M|        {
  389|  31.0M|            return len;
  390|  31.0M|        }
  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.62k, False: 3.33k]
  ------------------
  396|  7.62k|            {
  397|  7.62k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  7.62k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  7.62k|                data_end_ += len2;
  400|  7.62k|                remaining_ -= len2;
  401|  7.62k|                position_ += len2;
  402|  7.62k|                len += len2;
  403|  7.62k|            }
  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|  31.0M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  11.6k|    {
  443|  11.6k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 3.40k, False: 8.28k]
  ------------------
  444|  3.40k|        {
  445|  3.40k|            return 0;
  446|  3.40k|        }
  447|       |
  448|  8.28k|        JSONCONS_TRY
  ------------------
  |  |   37|  8.28k|    #define JSONCONS_TRY try
  ------------------
  449|  8.28k|        {
  450|  8.28k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  8.28k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  8.28k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.72k, False: 3.56k]
  ------------------
  454|  4.72k|            {
  455|  4.72k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.72k|            }
  457|  8.28k|            return length;
  458|  8.28k|        }
  459|  8.28k|        JSONCONS_CATCH(const std::exception&)     
  460|  8.28k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  8.28k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.56M|    {
  353|  5.56M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  5.56M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.12M, False: 444k]
  |  |  ------------------
  ------------------
  354|  5.12M|        {
  355|  5.12M|            return span<const value_type>{};
  356|  5.12M|        }
  357|   444k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 295, False: 443k]
  |  Branch (357:32): [True: 142, False: 153]
  ------------------
  358|    142|        {
  359|    142|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    142|            data_end_ = chunk_;
  361|    142|        }
  362|   444k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 875, False: 443k]
  ------------------
  363|    875|        {
  364|    875|            buffer.clear();
  365|    875|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    875|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    875|        }
  368|       |
  369|   443k|        const value_type* data = data_end_;
  370|   443k|        data_end_ += length;
  371|   443k|        remaining_ -= length;
  372|   443k|        position_ += length;
  373|   443k|        return span<const value_type>(data, length);
  374|   444k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    875|    {
  747|    875|        std::size_t unread = length;
  748|       |
  749|  2.90k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.50k, False: 396]
  |  Branch (749:30): [True: 2.02k, False: 479]
  ------------------
  750|  2.02k|        {
  751|  2.02k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 586, False: 1.44k]
  |  Branch (751:44): [True: 584, False: 2]
  ------------------
  752|    584|            {
  753|    584|                std::size_t n = source.chunk_size();
  754|    584|                std::size_t offset = buffer.size();
  755|    584|                buffer.resize(offset+n);
  756|    584|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    584|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    584|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 47, False: 537]
  |  |  ------------------
  ------------------
  758|     47|                {
  759|     47|                    buffer.resize(offset+actual);
  760|     47|                }
  761|    584|                unread -= actual;
  762|    584|            }
  763|  1.44k|            else
  764|  1.44k|            {
  765|  1.44k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.44k|                std::size_t offset = buffer.size();
  767|  1.44k|                buffer.resize(offset+n);
  768|  1.44k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.44k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.44k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 247, False: 1.19k]
  |  |  ------------------
  ------------------
  770|    247|                {
  771|    247|                    buffer.resize(offset + actual);
  772|    247|                }
  773|  1.44k|                unread -= actual;
  774|  1.44k|            }
  775|  2.02k|        }
  776|    875|        return length - unread;
  777|    875|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.50k|    {
  272|  2.50k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.06k, False: 1.44k]
  |  Branch (272:35): [True: 479, False: 586]
  ------------------
  273|  2.50k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.02k|    {
  347|  2.02k|        return remaining_;
  348|  2.02k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.61k|    {
  262|  2.61k|        return chunk_size_;
  263|  2.61k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    584|    {
  436|    584|        auto len = fill_buffer(chunk, chunk_size);
  437|    584|        position_ += len;
  438|    584|        return len;
  439|    584|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|   125k|        : storage_(n, alloc)
  694|   125k|    {
  695|   125k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|   125k|        : word_allocator_type(alloc)
  361|   125k|    {
  362|   125k|        ::new (&inlined_) inlined_storage(n);
  363|   125k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|   125k|            : is_allocated_(false),
  139|   125k|            is_negative_(false),
  140|   125k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 51.9k, False: 73.4k]
  ------------------
  141|   125k|        {
  142|   125k|            values_[0] = n;
  143|   125k|            values_[1] = 0;
  144|   125k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  52.3k|    {
  999|  52.3k|        auto this_view = get_storage_view();
 1000|  52.3k|        size_type len0 = this_view.size();
 1001|  52.3k|        word_type dig = this_view[0];
 1002|  52.3k|        word_type carry = 0;
 1003|       |
 1004|  52.3k|        resize(this_view.size() + 1);
 1005|  52.3k|        this_view = get_storage_view();
 1006|       |
 1007|  52.3k|        size_type i = 0;
 1008|   101k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 49.4k, False: 52.3k]
  ------------------
 1009|  49.4k|        {
 1010|  49.4k|            word_type hi;
 1011|  49.4k|            word_type lo;
 1012|  49.4k|            DDproduct( dig, y, hi, lo );
 1013|  49.4k|            this_view[i] = lo + carry;
 1014|  49.4k|            dig = this_view[i+1];
 1015|  49.4k|            carry = hi + (this_view[i] < lo);
 1016|  49.4k|        }
 1017|  52.3k|        this_view[i] = carry;
 1018|  52.3k|        reduce();
 1019|  52.3k|        return *this;
 1020|  52.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   939k|    {
  719|   939k|        return storage_.get_storage_view();
  720|   939k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  1.34M|    {
  521|  1.34M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 481k, False: 866k]
  ------------------
  522|   481k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  1.34M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  1.34M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  1.34M|            : data_(data), size_(size)
   65|  1.34M|        {
   66|  1.34M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  2.14M|        {
   85|  2.14M|            return size_;
   86|  2.14M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   899k|        {
   70|   899k|            return data_[i];
   71|   899k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|   142k|    {
  819|   142k|        storage_.resize(new_length);
  820|   142k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   295k|    {
  535|   295k|        size_type old_length = common_.size_;
  536|   295k|        reserve(new_length);
  537|   295k|        common_.size_ = new_length;
  538|       |
  539|   295k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 155k, False: 139k]
  ------------------
  540|   155k|        {
  541|   155k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 37.0k, False: 118k]
  ------------------
  542|  37.0k|            {
  543|  37.0k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  37.0k|            }
  545|   118k|            else
  546|   118k|            {
  547|   118k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|   118k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 118k]
  |  |  ------------------
  |  |   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|   292k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 174k, False: 118k]
  ------------------
  549|   174k|                {
  550|   174k|                    inlined_.values_[i] = 0;
  551|   174k|                }
  552|   118k|            }
  553|   155k|        }
  554|   295k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   295k|    {
  453|   295k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 37.0k, False: 258k]
  ------------------
  454|  37.0k|       {
  455|  37.0k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 37.0k, False: 0]
  ------------------
  456|  37.0k|           {
  457|  37.0k|               size_type size = inlined_.size_;
  458|  37.0k|               size_type is_neg = inlined_.is_negative_;
  459|  37.0k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  37.0k|               ::new (&allocated_) allocated_storage();
  462|  37.0k|               allocated_.reserve(n, get_allocator());
  463|  37.0k|               allocated_.size_ = size;
  464|  37.0k|               allocated_.is_negative_ = is_neg;
  465|  37.0k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 37.0k, False: 0]
  ------------------
  466|  37.0k|               {
  467|  37.0k|                   allocated_.data_[0] = values[0];
  468|  37.0k|               }
  469|  37.0k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 37.0k, False: 0]
  ------------------
  470|  37.0k|               {
  471|  37.0k|                   allocated_.data_[1] = values[1];
  472|  37.0k|               }
  473|  37.0k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  37.0k|       }
  479|   295k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   295k|    {
  506|   295k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 74.0k, False: 221k]
  ------------------
  507|   295k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  37.0k|            : is_allocated_(true),
  204|  37.0k|            is_negative_(false)
  205|  37.0k|        {
  206|  37.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  37.0k|        {
  256|  37.0k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  37.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 37.0k]
  |  |  ------------------
  |  |   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|  37.0k|            size_type capacity_new = round_up(n);
  258|       |
  259|  37.0k|            real_allocator_type alloc(a);
  260|  37.0k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  37.0k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 37.0k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  37.0k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 37.0k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  37.0k|            capacity_ = capacity_new;
  270|  37.0k|            data_ = data_new;
  271|  37.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  37.0k|        {
  276|  37.0k|            size_type remainder = i % mem_unit;
  277|  37.0k|            size_type off = mem_unit - remainder;
  278|  37.0k|            bool testoff = i < max_size - off;
  279|  37.0k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  37.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 37.0k]
  |  |  ------------------
  |  |   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|  37.0k|            return i + off;
  282|  37.0k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   692k|    {
  483|   692k|        return static_cast<const word_allocator_type&>(*this);
  484|   692k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  1.42M|    {
  501|  1.42M|        return common_.is_allocated_;
  502|  1.42M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  87.1k|    {
 1782|  87.1k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  87.1k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  87.1k|        lo = loA * loB;
 1786|  87.1k|        hi = hiA * hiB;
 1787|  87.1k|        word_type mid1 = loA * hiB;
 1788|  87.1k|        word_type mid2 = hiA * loB;
 1789|  87.1k|        word_type old = lo;
 1790|  87.1k|        lo += mid1 << word_type_half_bits;
 1791|  87.1k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  87.1k|        old = lo;
 1793|  87.1k|        lo += mid2 << word_type_half_bits;
 1794|  87.1k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  87.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   255k|    {
 1918|   255k|        storage_.reduce();
 1919|   255k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   255k|    {
  430|   255k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 255k, False: 0]
  ------------------
  431|   255k|        {
  432|   255k|            auto this_view = get_storage_view();
  433|   255k|            word_type* p = this_view.end() - 1;
  434|   255k|            word_type* first = this_view.begin();
  435|   359k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 354k, False: 5.18k]
  ------------------
  436|   354k|            {
  437|   354k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 250k, False: 104k]
  ------------------
  438|   250k|                {
  439|   250k|                    break;
  440|   250k|                }
  441|   104k|                --common_.size_;
  442|   104k|                --p;
  443|   104k|            }
  444|   255k|        }
  445|   255k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 5.18k, False: 250k]
  ------------------
  446|  5.18k|        {
  447|  5.18k|            common_.is_negative_ = false;
  448|  5.18k|        }
  449|   255k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   255k|        {
   94|   255k|            return data_ + size_;
   95|   255k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   255k|        {
   89|   255k|            return data_;
   90|   255k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  10.4k|    {
  890|  10.4k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 10.4k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  10.4k|        word_type d;
  894|  10.4k|        word_type carry = 0;
  895|       |
  896|  10.4k|        auto this_view = get_storage_view();
  897|  10.4k|        resize(this_view.size() + 1);
  898|       |
  899|  10.4k|        this_view = get_storage_view();
  900|  10.4k|        const size_type this_size = this_view.size();
  901|  10.4k|        size_type y_size = 1;
  902|       |
  903|  10.4k|        d = this_view[0] + carry;
  904|  10.4k|        carry = d < carry;
  905|  10.4k|        this_view[0] = d + y;
  906|  10.4k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 10.4k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  10.4k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 9.14k, False: 1.32k]
  |  Branch (909:53): [True: 0, False: 9.14k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  10.4k|        reduce();
  916|  10.4k|        return *this;
  917|  10.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   866k|    {
  729|   866k|        return storage_.is_negative();
  730|   866k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   866k|    {
  511|   866k|        return common_.is_negative_;
  512|   866k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  14.3k|    {
  836|  14.3k|        basic_bigint<Allocator> v(*this);
  837|  14.3k|        v.set_negative(!v.is_negative());
  838|  14.3k|        return v;
  839|  14.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  66.6k|        : storage_(other.storage_)
  672|  66.6k|    {
  673|  66.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  66.6k|        : word_allocator_type(other.get_allocator())
  300|  66.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|  66.6k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 29.6k, False: 37.0k]
  ------------------
  306|  29.6k|        {
  307|  29.6k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  29.6k|        }
  309|  37.0k|        else
  310|  37.0k|        {
  311|  37.0k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  37.0k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  66.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   184k|            : is_allocated_(false),
  179|   184k|            is_negative_(stor.is_negative_),
  180|   184k|            size_(stor.size_)
  181|   184k|        {
  182|   184k|            values_[0] = stor.values_[0];
  183|   184k|            values_[1] = stor.values_[1];
  184|   184k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|   148k|            : is_allocated_(true),
  210|   148k|              is_negative_(stor.is_negative_),
  211|   148k|              size_(stor.size_),
  212|   148k|              capacity_(stor.capacity_)
  213|   148k|        {
  214|   148k|            real_allocator_type alloc(a);
  215|       |
  216|   148k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|   148k|            JSONCONS_TRY
  ------------------
  |  |   37|   148k|    #define JSONCONS_TRY try
  ------------------
  218|   148k|            {
  219|   148k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|   148k|            }
  221|   148k|            JSONCONS_CATCH(...)
  222|   148k|            {
  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|   148k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|   148k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 148k]
  |  |  ------------------
  |  |   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|   148k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|   148k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   395k|    {
  734|   395k|        storage_.set_negative(value);
  735|   395k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   395k|    {
  516|   395k|        common_.is_negative_ = value;
  517|   395k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  52.3k|    {
 1360|  52.3k|        basic_bigint<Allocator> v(*this);
 1361|  52.3k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  52.3k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  52.3k|        data.reserve(len);
 1365|       |
 1366|  52.3k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 2.02k, False: 50.3k]
  ------------------
 1367|  2.02k|        {
 1368|  2.02k|            data.push_back('0');
 1369|  2.02k|        }
 1370|  50.3k|        else
 1371|  50.3k|        {
 1372|  50.3k|            word_type r;
 1373|  50.3k|            basic_bigint<Allocator> R(get_allocator());
 1374|  50.3k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  50.3k|            do
 1377|  95.2k|            {
 1378|  95.2k|                v.divide( LP10, v, R, true );
 1379|  95.2k|                v_view = v.get_storage_view();
 1380|       |
 1381|  95.2k|                auto R_view = R.get_storage_view();
 1382|  95.2k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 94.6k, False: 576]
  ------------------
 1383|  1.27M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 1.22M, False: 44.8k]
  ------------------
 1384|  1.22M|                {
 1385|  1.22M|                    data.push_back(char(r % 10u + '0'));
 1386|  1.22M|                    r /= 10u;
 1387|  1.22M|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 50.3k, False: 1.17M]
  ------------------
 1388|  50.3k|                        break;
 1389|  1.22M|                }
 1390|  95.2k|            } 
 1391|  95.2k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 44.8k, False: 50.3k]
  ------------------
 1392|       |
 1393|  50.3k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 14.3k, False: 36.0k]
  ------------------
 1394|  14.3k|            {
 1395|  14.3k|                data.push_back('-');
 1396|  14.3k|            }
 1397|  50.3k|            std::reverse(data.begin(),data.end());
 1398|  50.3k|        }
 1399|  52.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   366k|    {
  714|   366k|        return storage_.get_allocator();
  715|   366k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  50.3k|        : storage_(alloc)
  645|  50.3k|    {
  646|  50.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  50.3k|        : word_allocator_type(alloc)
  294|  50.3k|    {
  295|  50.3k|        ::new (&inlined_) inlined_storage();
  296|  50.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  50.3k|            : is_allocated_(false),
  114|  50.3k|            is_negative_(false),
  115|  50.3k|            size_(0),
  116|  50.3k|            values_{0, 0}
  117|  50.3k|        {
  118|  50.3k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  95.2k|    {
 1676|  95.2k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  95.2k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  95.2k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 95.2k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  95.2k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  95.2k|        bool rem_neg = is_negative();
 1685|  95.2k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  95.2k|        num.set_negative(false);
 1687|  95.2k|        denom.set_negative(false);
 1688|  95.2k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 50.3k, False: 44.8k]
  ------------------
 1689|  50.3k|        {
 1690|  50.3k|            quot = word_type(0);
 1691|  50.3k|            quot.set_negative(quot_neg);
 1692|  50.3k|            rem = num;
 1693|  50.3k|            rem.set_negative(rem_neg);
 1694|  50.3k|            return;
 1695|  50.3k|        }
 1696|       |
 1697|  44.8k|        auto num_view = num.get_storage_view();
 1698|  44.8k|        auto quot_view = quot.get_storage_view();
 1699|  44.8k|        auto this_view = get_storage_view();
 1700|       |
 1701|  44.8k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 44.8k, False: 0]
  |  Branch (1701:40): [True: 7.17k, False: 37.7k]
  ------------------
 1702|  7.17k|        {
 1703|  7.17k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  7.17k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  7.17k|            quot.set_negative(quot_neg);
 1706|  7.17k|            rem.set_negative(rem_neg);
 1707|  7.17k|            return;
 1708|  7.17k|        }
 1709|  37.7k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 37.7k, False: 0]
  |  Branch (1709:39): [True: 0, False: 37.7k]
  ------------------
 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|  37.7k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  37.7k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  37.7k|        int x = 0;
 1734|  37.7k|        bool second_done = normalize(denom, num, x);
 1735|  37.7k|        denom_view = denom.get_storage_view();
 1736|  37.7k|        num_view = num.get_storage_view();
 1737|       |
 1738|  37.7k|        size_type l = denom_view.size() - 1;
 1739|  37.7k|        size_type n = num_view.size() - 1;
 1740|  37.7k|        quot.resize(n - l);
 1741|  37.7k|        quot_view = quot.get_storage_view();
 1742|  75.4k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 37.7k, False: 37.7k]
  ------------------
 1743|  37.7k|        {
 1744|  37.7k|            quot_view[i] = 0;
 1745|  37.7k|        }
 1746|  37.7k|        rem = num;
 1747|  37.7k|        auto rem_view = rem.get_storage_view();
 1748|  37.7k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 37.7k]
  ------------------
 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|  37.7k|        word_type d = denom_view[l];
 1757|       |
 1758|  75.4k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 37.7k, False: 37.7k]
  ------------------
 1759|  37.7k|        {
 1760|  37.7k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  37.7k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  37.7k|            quot_view[k - l - 1] = q;
 1763|  37.7k|        }
 1764|  37.7k|        quot.reduce();
 1765|  37.7k|        quot.set_negative(quot_neg);
 1766|  37.7k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 37.7k, False: 0]
  ------------------
 1767|  37.7k|        {
 1768|  37.7k|            unnormalize(rem, x, second_done);
 1769|  37.7k|            rem.set_negative(rem_neg);
 1770|  37.7k|        }
 1771|  37.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   265k|        : storage_(other.storage_, alloc)
  677|   265k|    {
  678|   265k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   265k|        : word_allocator_type(alloc)
  320|   265k|    {
  321|   265k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 154k, False: 111k]
  ------------------
  322|   154k|        {
  323|   154k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   154k|        }
  325|   111k|        else
  326|   111k|        {
  327|   111k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|   111k|        }
  329|   265k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  95.2k|    {
 1477|  95.2k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 50.3k, False: 44.8k]
  ------------------
 1478|  95.2k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   137k|    {
 1642|   137k|        auto this_view = get_storage_view();
 1643|   137k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   137k|        const size_type y_size = y_view.size();
 1646|   137k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 1.58k, False: 135k]
  |  Branch (1646:39): [True: 1.58k, False: 0]
  ------------------
 1647|  1.58k|            return 0;
 1648|   135k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 14.3k, False: 121k]
  ------------------
 1649|  14.3k|            return y.is_negative() - is_negative();
 1650|   121k|        int code = 0;
 1651|   121k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 121k]
  ------------------
 1652|      0|            code = -1;
 1653|   121k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 63.7k, False: 57.5k]
  ------------------
 1654|  63.7k|            code = +1;
 1655|  57.5k|        else
 1656|  57.5k|        {
 1657|  57.8k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 57.5k, False: 330]
  ------------------
 1658|  57.5k|            {
 1659|  57.5k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 6.84k, False: 50.6k]
  ------------------
 1660|  6.84k|                {
 1661|  6.84k|                    code = 1;
 1662|  6.84k|                    break;
 1663|  6.84k|                }
 1664|  50.6k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 50.3k, False: 330]
  ------------------
 1665|  50.3k|                {
 1666|  50.3k|                    code = -1;
 1667|  50.3k|                    break;
 1668|  50.3k|                }
 1669|  57.5k|            }
 1670|  57.5k|        }
 1671|   121k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 121k]
  ------------------
 1672|   135k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   152k|    {
  843|   152k|        storage_ = y.storage_;
  844|   152k|        return *this;
  845|   152k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   152k|    {
  367|   152k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 152k, False: 0]
  ------------------
  368|   152k|        {
  369|   152k|            auto other_view = other.get_storage_view();
  370|   152k|            resize(other_view.size());
  371|   152k|            auto this_view = get_storage_view();
  372|   152k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 102k, False: 50.6k]
  ------------------
  373|   102k|            {
  374|   102k|                common_.is_negative_ = other.common_.is_negative_;
  375|   102k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|   102k|            }
  377|   152k|        }
  378|   152k|        return *this;
  379|   152k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   500k|    {
  528|   500k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 185k, False: 315k]
  ------------------
  529|   185k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   500k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   500k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   500k|            : data_(data), size_(size)
   65|   500k|        {
   66|   500k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|   102k|        {
   80|   102k|            return data_;
   81|   102k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   347k|    {
  724|   347k|        return storage_.get_storage_view();
  725|   347k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|  1.01M|        {
   85|  1.01M|            return size_;
   86|  1.01M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   228k|        {
   70|   228k|            return data_[i];
   71|   228k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  37.7k|    {
 1873|  37.7k|        auto denom_view = denom.get_storage_view();
 1874|  37.7k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 37.7k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  37.7k|        size_type r = denom_view.size() - 1;
 1879|  37.7k|        word_type y = denom_view[r];
 1880|       |
 1881|  37.7k|        x = 0;
 1882|  37.7k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 37.7k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  37.7k|        denom <<= x;
 1888|  37.7k|        num <<= x;
 1889|       |
 1890|  37.7k|        denom_view = denom.get_storage_view();
 1891|  37.7k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 37.7k]
  |  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|  37.7k|        return false;
 1898|  37.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  75.4k|    {
 1118|  75.4k|        auto this_view = get_storage_view();
 1119|  75.4k|        size_type q = k / word_type_bits;
 1120|  75.4k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 75.4k]
  ------------------
 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|  75.4k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 75.4k]
  ------------------
 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|  75.4k|        reduce();
 1142|  75.4k|        return *this;
 1143|  75.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  37.7k|    {
 1800|  37.7k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  37.7k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  37.7k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  37.7k|        middle = qHi * dLo;
 1805|  37.7k|        left = qHi * dHi;
 1806|  37.7k|        x = B - (middle << word_type_half_bits);
 1807|  37.7k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  37.7k|        B = x;
 1809|  37.7k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  37.7k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 37.7k]
  |  Branch (1811:29): [True: 0, False: 37.7k]
  |  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|  37.7k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  37.7k|        right = qLo * dLo;
 1821|  37.7k|        middle = qLo * dHi;
 1822|  37.7k|        x = B - right;
 1823|  37.7k|        A -= (x > B);
 1824|  37.7k|        B = x;
 1825|  37.7k|        x = B - (middle << word_type_half_bits);
 1826|  37.7k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  37.7k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  42.1k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 42.1k]
  |  Branch (1829:22): [True: 4.40k, False: 37.7k]
  ------------------
 1830|  4.40k|        {
 1831|  4.40k|            x = B - d;
 1832|  4.40k|            A -= (x > B);
 1833|  4.40k|            B = x;
 1834|  4.40k|            qLo++;
 1835|  4.40k|        }
 1836|  37.7k|        return (qHi << word_type_half_bits) + qLo;
 1837|  37.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  37.7k|    {
 1842|  37.7k|        word_type hi, lo, d, carry = 0;
 1843|  37.7k|        size_type i;
 1844|  75.4k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 37.7k, False: 37.7k]
  ------------------
 1845|  37.7k|        {
 1846|  37.7k|            DDproduct( b[i], q, hi, lo );
 1847|  37.7k|            d = a[i];
 1848|  37.7k|            a[i] -= lo;
 1849|  37.7k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 22.8k, False: 14.8k]
  ------------------
 1850|  22.8k|                carry++;
 1851|  37.7k|            d = a[i + 1];
 1852|  37.7k|            a[i + 1] -= hi + carry;
 1853|  37.7k|            carry = a[i + 1] > d;
 1854|  37.7k|        }
 1855|  37.7k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 37.7k]
  ------------------
 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|  37.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   177k|        {
   80|   177k|            return data_;
   81|   177k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  37.7k|    {
 1902|  37.7k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 37.7k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  37.7k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 37.7k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  37.7k|        else
 1911|  37.7k|        {
 1912|  37.7k|            rem.reduce();
 1913|  37.7k|        }
 1914|  37.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   606k|    {
  709|   606k|        storage_.destroy();
  710|   606k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   606k|    {
  488|   606k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 185k, False: 421k]
  ------------------
  489|   185k|        {
  490|   185k|            allocated_.destroy(get_allocator());
  491|   185k|            allocated_.~allocated_storage();
  492|   185k|        }
  493|   421k|        else
  494|   421k|        {
  495|   421k|            inlined_.~inlined_storage();
  496|   421k|        }
  497|   606k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   185k|        {
  247|   185k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 185k, False: 0]
  ------------------
  248|   185k|            {
  249|   185k|                real_allocator_type alloc(a);
  250|   185k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   185k|            }
  252|   185k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  83.7k|        : storage_(n, alloc)
  694|  83.7k|    {
  695|  83.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  83.7k|        : word_allocator_type(alloc)
  361|  83.7k|    {
  362|  83.7k|        ::new (&inlined_) inlined_storage(n);
  363|  83.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  83.7k|            : is_allocated_(false),
  126|  83.7k|            is_negative_(n < 0),
  127|  83.7k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 43.4k, False: 40.3k]
  ------------------
  128|  83.7k|        {
  129|  83.7k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 14.3k, False: 69.4k]
  ------------------
  130|  83.7k|            values_[1] = 0;
  131|  83.7k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  41.8k|    {
 1482|  41.8k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 14.3k, False: 27.5k]
  ------------------
 1483|  41.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  14.3k|        : storage_(n, alloc)
  694|  14.3k|    {
  695|  14.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  14.3k|        : word_allocator_type(alloc)
  361|  14.3k|    {
  362|  14.3k|        ::new (&inlined_) inlined_storage(n);
  363|  14.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  14.3k|            : is_allocated_(false),
  139|  14.3k|            is_negative_(false),
  140|  14.3k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 2.34k, False: 11.9k]
  ------------------
  141|  14.3k|        {
  142|  14.3k|            values_[0] = n;
  143|  14.3k|            values_[1] = 0;
  144|  14.3k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  14.3k|    {
  955|  14.3k|        auto y_view = y.get_storage_view();
  956|       |
  957|  14.3k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 14.3k, False: 0]
  ------------------
  958|  14.3k|            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|  14.3k|    {
  921|  14.3k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 14.3k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  14.3k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  14.3k|        word_type d;
  927|  14.3k|        word_type carry = 0;
  928|       |
  929|  14.3k|        auto this_view = get_storage_view();
  930|  14.3k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  14.3k|        this_view = get_storage_view();
  932|       |
  933|  14.3k|        const size_t this_size = this_view.size();
  934|  14.3k|        const size_t y_size = y_view.size();
  935|  26.2k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 11.9k, False: 14.3k]
  ------------------
  936|  11.9k|        {
  937|  11.9k|            d = this_view[i] + carry;
  938|  11.9k|            carry = d < carry;
  939|  11.9k|            this_view[i] = d + y_view[i];
  940|  11.9k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 806, False: 11.1k]
  ------------------
  941|    806|                carry = 1;
  942|  11.9k|        }
  943|  15.1k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 14.4k, False: 668]
  |  Branch (943:53): [True: 806, False: 13.6k]
  ------------------
  944|    806|        {
  945|    806|            d = this_view[i] + carry;
  946|    806|            carry = d < carry;
  947|    806|            this_view[i] = d;
  948|    806|        }
  949|  14.3k|        reduce();
  950|  14.3k|        return *this;
  951|  14.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  27.5k|    {
  890|  27.5k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 27.5k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  27.5k|        word_type d;
  894|  27.5k|        word_type carry = 0;
  895|       |
  896|  27.5k|        auto this_view = get_storage_view();
  897|  27.5k|        resize(this_view.size() + 1);
  898|       |
  899|  27.5k|        this_view = get_storage_view();
  900|  27.5k|        const size_type this_size = this_view.size();
  901|  27.5k|        size_type y_size = 1;
  902|       |
  903|  27.5k|        d = this_view[0] + carry;
  904|  27.5k|        carry = d < carry;
  905|  27.5k|        this_view[0] = d + y;
  906|  27.5k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 15.8k, False: 11.7k]
  ------------------
  907|  15.8k|            carry = 1;
  908|       |
  909|  43.4k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 41.8k, False: 1.60k]
  |  Branch (909:53): [True: 15.8k, False: 25.9k]
  ------------------
  910|  15.8k|        {
  911|  15.8k|            d = this_view[i] + carry;
  912|  15.8k|            carry = d < carry;
  913|  15.8k|            this_view[i] = d;
  914|  15.8k|        }
  915|  27.5k|        reduce();
  916|  27.5k|        return *this;
  917|  27.5k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  88.6k|    {
  183|  88.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 88.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  88.6k|        T val;
  188|  88.6k|        std::memcpy(&val,first,sizeof(T));
  189|  88.6k|        return byte_swap(val);
  190|  88.6k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  88.6k|    {
   65|  88.6k|        uint32_t x;
   66|  88.6k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  88.6k|        uint32_t y = byte_swap(x);
   68|  88.6k|        T val2;
   69|  88.6k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  88.6k|        return val2;
   71|  88.6k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   245k|    {
   40|   245k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   245k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   245k|#  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|   245k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  11.9k|    {
  183|  11.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 11.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  11.9k|        T val;
  188|  11.9k|        std::memcpy(&val,first,sizeof(T));
  189|  11.9k|        return byte_swap(val);
  190|  11.9k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  11.9k|    {
   77|  11.9k|        uint64_t x;
   78|  11.9k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  11.9k|        uint64_t y = byte_swap(x);
   80|  11.9k|        T val2;
   81|  11.9k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  11.9k|        return val2;
   83|  11.9k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  24.4k|    {
   52|  24.4k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  24.4k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  24.4k|#  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.4k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   217k|    {
  183|   217k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 217k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   217k|        T val;
  188|   217k|        std::memcpy(&val,first,sizeof(T));
  189|   217k|        return byte_swap(val);
  190|   217k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   217k|    {
   29|   217k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   217k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   217k|#      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|   217k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   156k|    {
  183|   156k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 156k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   156k|        T val;
  188|   156k|        std::memcpy(&val,first,sizeof(T));
  189|   156k|        return byte_swap(val);
  190|   156k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  12.4k|    {
  183|  12.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 12.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  12.4k|        T val;
  188|  12.4k|        std::memcpy(&val,first,sizeof(T));
  189|  12.4k|        return byte_swap(val);
  190|  12.4k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   498k|    {
  183|   498k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 498k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   498k|        T val;
  188|   498k|        std::memcpy(&val,first,sizeof(T));
  189|   498k|        return byte_swap(val);
  190|   498k|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   498k|    {
   22|   498k|        return val;
   23|   498k|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.83k|    {
  183|  1.83k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.83k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.83k|        T val;
  188|  1.83k|        std::memcpy(&val,first,sizeof(T));
  189|  1.83k|        return byte_swap(val);
  190|  1.83k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  1.83k|    {
   29|  1.83k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  1.83k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  1.83k|#      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|  1.83k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  4.55k|    {
  183|  4.55k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 4.55k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  4.55k|        T val;
  188|  4.55k|        std::memcpy(&val,first,sizeof(T));
  189|  4.55k|        return byte_swap(val);
  190|  4.55k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  4.55k|    {
   40|  4.55k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  4.55k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  4.55k|#  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.55k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  45.3k|    {
  183|  45.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 45.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  45.3k|        T val;
  188|  45.3k|        std::memcpy(&val,first,sizeof(T));
  189|  45.3k|        return byte_swap(val);
  190|  45.3k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  45.3k|    {
   52|  45.3k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  45.3k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  45.3k|#  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|  45.3k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  63.0k|    {
  183|  63.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 63.0k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  63.0k|        T val;
  188|  63.0k|        std::memcpy(&val,first,sizeof(T));
  189|  63.0k|        return byte_swap(val);
  190|  63.0k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  63.0k|    {
   22|  63.0k|        return val;
   23|  63.0k|    }

_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  80.2k|    {
   45|  80.2k|        std::size_t count = 0;
   46|  80.2k|        unsigned char a3[3];
   47|  80.2k|        unsigned char a4[4];
   48|  80.2k|        unsigned char fill = alphabet[64];
   49|  80.2k|        int i = 0;
   50|  80.2k|        int j = 0;
   51|       |
   52|  6.93M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 6.85M, False: 80.2k]
  ------------------
   53|  6.85M|        {
   54|  6.85M|            a3[i++] = *first++;
   55|  6.85M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 2.25M, False: 4.60M]
  ------------------
   56|  2.25M|            {
   57|  2.25M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  2.25M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  2.25M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  2.25M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  11.2M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 9.02M, False: 2.25M]
  ------------------
   63|  9.02M|                {
   64|  9.02M|                    result.push_back(alphabet[a4[i]]);
   65|  9.02M|                    ++count;
   66|  9.02M|                }
   67|  2.25M|                i = 0;
   68|  2.25M|            }
   69|  6.85M|        }
   70|       |
   71|  80.2k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 56.7k, False: 23.5k]
  ------------------
   72|  56.7k|        {
   73|   137k|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 81.1k, False: 56.7k]
  ------------------
   74|  81.1k|            {
   75|  81.1k|                a3[j] = 0;
   76|  81.1k|            }
   77|       |
   78|  56.7k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|  56.7k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|  56.7k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|   202k|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 145k, False: 56.7k]
  ------------------
   83|   145k|            {
   84|   145k|                result.push_back(alphabet[a4[j]]);
   85|   145k|                ++count;
   86|   145k|            }
   87|       |
   88|  56.7k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 56.7k]
  ------------------
   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|  56.7k|        }
   97|       |
   98|  80.2k|        return count;
   99|  80.2k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  80.2k|        {
  410|  80.2k|            return data_;
  411|  80.2k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  80.2k|        {
  414|  80.2k|            return data_ + size_;
  415|  80.2k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  80.2k|    {
  178|  80.2k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  80.2k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  80.2k|                                                      "0123456789-_"
  181|  80.2k|                                                      "\0";
  182|  80.2k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  80.2k|    }
_ZNK8jsoncons16byte_string_view4dataEv:
  399|   834k|        {
  400|   834k|            return data_;
  401|   834k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|   834k|        {
  404|   834k|            return size_;
  405|   834k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  1.29M|            : data_(data), size_(length)
  363|  1.29M|        {
  364|  1.29M|        }

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

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

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  5.10M|    {
 1148|  5.10M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  5.10M|        const uint8_t* end = it + length;
 1150|       |
 1151|  5.10M|        unicode_errc  result{};
 1152|  5.25M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 142k, False: 5.10M]
  ------------------
 1153|   142k|        {
 1154|   142k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 132k, False: 9.74k]
  ------------------
 1155|   132k|            {
 1156|   910k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   265k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 131k, False: 1.22k]
  |  |  |  Branch (281:34): [True: 130k, False: 621]
  |  |  |  Branch (281:36): [True: 130k, False: 368]
  |  |  |  Branch (281:38): [True: 129k, False: 844]
  |  |  |  Branch (281:40): [True: 129k, False: 286]
  |  |  |  Branch (281:42): [True: 129k, False: 320]
  |  |  |  Branch (281:44): [True: 128k, False: 212]
  |  |  |  Branch (281:46): [True: 128k, False: 205]
  |  |  ------------------
  ------------------
 1157|   128k|                continue;
 1158|   910k|            }
 1159|  13.8k|    non_ascii:
 1160|  13.8k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  13.8k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 35, False: 13.7k]
  ------------------
 1162|     35|            {
 1163|     35|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     35|            }
 1165|  13.7k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 175, False: 13.6k]
  ------------------
 1166|    175|            {
 1167|    175|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    175|            }
 1169|  13.6k|            it += len;
 1170|  13.6k|        }
 1171|  5.10M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  5.10M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  13.7k|    {
  306|  13.7k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  13.7k|        const uint8_t* end = it+length;
  308|       |
  309|  13.7k|        uint8_t byte;
  310|  13.7k|        switch (length) {
  311|     23|        default:
  ------------------
  |  Branch (311:9): [True: 23, False: 13.7k]
  ------------------
  312|     23|            return unicode_errc::over_long_utf8_sequence;
  313|    726|        case 4:
  ------------------
  |  Branch (313:9): [True: 726, False: 13.0k]
  ------------------
  314|    726|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 11, False: 715]
  ------------------
  315|     11|                return unicode_errc::bad_continuation_byte;
  316|    715|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    715|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.21k|        case 3:
  ------------------
  |  Branch (317:9): [True: 503, False: 13.2k]
  ------------------
  318|  1.21k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 11, False: 1.20k]
  ------------------
  319|     11|                return unicode_errc::bad_continuation_byte;
  320|  1.20k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.20k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.59k|        case 2:
  ------------------
  |  Branch (321:9): [True: 3.38k, False: 10.4k]
  ------------------
  322|  4.59k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 42, False: 4.54k]
  ------------------
  323|     42|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  4.54k|            switch (*it) 
  326|  4.54k|            {
  327|       |                // no fall-through in this inner switch
  328|    210|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 210, False: 4.33k]
  |  Branch (328:32): [True: 8, False: 202]
  ------------------
  329|    279|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 279, False: 4.26k]
  |  Branch (329:32): [True: 1, False: 278]
  ------------------
  330|    278|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 222, False: 4.32k]
  |  Branch (330:32): [True: 8, False: 214]
  ------------------
  331|    411|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 411, False: 4.13k]
  |  Branch (331:32): [True: 3, False: 408]
  ------------------
  332|  3.42k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 3.42k, False: 1.12k]
  |  Branch (332:32): [True: 0, False: 3.42k]
  ------------------
  333|  4.54k|            }
  334|       |
  335|  4.52k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  4.52k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  13.6k|        case 1:
  ------------------
  |  Branch (336:9): [True: 9.15k, False: 4.63k]
  ------------------
  337|  13.6k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.59k, False: 9.09k]
  |  Branch (337:32): [True: 66, False: 4.52k]
  ------------------
  338|     66|                return unicode_errc::source_illegal;
  339|  13.6k|            break;
  340|  13.7k|        }
  341|  13.6k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 2, False: 13.6k]
  ------------------
  342|      2|            return unicode_errc::source_illegal;
  343|       |
  344|  13.6k|        return unicode_errc();
  345|  13.6k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  7.50M|{
   43|  7.50M|    using char_type = typename Result::value_type;
   44|       |
   45|  7.50M|    char_type buf[255];
   46|  7.50M|    char_type *p = buf;
   47|  7.50M|    const char_type* last = buf+255;
   48|       |
   49|  7.50M|    bool is_negative = value < 0;
   50|       |
   51|  7.50M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 7.50M]
  ------------------
   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.50M|    else
   60|  7.50M|    {
   61|       |
   62|  7.50M|        do
   63|  14.4M|        {
   64|  14.4M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  14.4M|        }
   66|  14.4M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 6.92M, False: 7.50M]
  |  Branch (66:33): [True: 6.92M, False: 0]
  ------------------
   67|  7.50M|    }
   68|  7.50M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  7.50M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 7.50M]
  |  |  ------------------
  |  |   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.50M|    std::size_t count = (p - buf);
   71|  7.50M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 7.50M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  21.9M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 14.4M, False: 7.50M]
  ------------------
   77|  14.4M|    {
   78|  14.4M|        result.push_back(*p);
   79|  14.4M|    }
   80|       |
   81|  7.50M|    return count;
   82|  7.50M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  3.93M|{
   43|  3.93M|    using char_type = typename Result::value_type;
   44|       |
   45|  3.93M|    char_type buf[255];
   46|  3.93M|    char_type *p = buf;
   47|  3.93M|    const char_type* last = buf+255;
   48|       |
   49|  3.93M|    bool is_negative = value < 0;
   50|       |
   51|  3.93M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 3.92M, False: 3.43k]
  ------------------
   52|  3.92M|    {
   53|  3.92M|        do
   54|  4.13M|        {
   55|  4.13M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.13M|        }
   57|  4.13M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 207k, False: 3.92M]
  |  Branch (57:33): [True: 207k, False: 0]
  ------------------
   58|  3.92M|    }
   59|  3.43k|    else
   60|  3.43k|    {
   61|       |
   62|  3.43k|        do
   63|  30.4k|        {
   64|  30.4k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  30.4k|        }
   66|  30.4k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 27.0k, False: 3.43k]
  |  Branch (66:33): [True: 27.0k, False: 0]
  ------------------
   67|  3.43k|    }
   68|  3.93M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  3.93M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.93M]
  |  |  ------------------
  |  |   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|  3.93M|    std::size_t count = (p - buf);
   71|  3.93M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 3.92M, False: 3.43k]
  ------------------
   72|  3.92M|    {
   73|  3.92M|        result.push_back('-');
   74|  3.92M|        ++count;
   75|  3.92M|    }
   76|  8.10M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.16M, False: 3.93M]
  ------------------
   77|  4.16M|    {
   78|  4.16M|        result.push_back(*p);
   79|  4.16M|    }
   80|       |
   81|  3.93M|    return count;
   82|  3.93M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  97.1k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  97.1k|    {
  489|  97.1k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  97.1k|        struct lconv *lc = localeconv();
  491|  97.1k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 97.1k, False: 0]
  |  Branch (491:30): [True: 97.1k, False: 0]
  ------------------
  492|  97.1k|        {
  493|  97.1k|            decimal_point_ = lc->decimal_point[0];
  494|  97.1k|        }
  495|  97.1k|#endif
  496|  97.1k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  97.1k|    {
  504|  97.1k|        std::size_t count = 0;
  505|       |
  506|  97.1k|        char number_buffer[200];
  507|  97.1k|        int length = 0;
  508|       |
  509|  97.1k|        switch (float_format_)
  510|  97.1k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 97.1k]
  ------------------
  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: 97.1k]
  ------------------
  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|  97.1k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 97.1k, False: 0]
  ------------------
  552|  97.1k|            {
  553|  97.1k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 97.1k]
  ------------------
  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|  97.1k|                else
  563|  97.1k|                {
  564|  97.1k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 97.1k]
  ------------------
  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|  97.1k|                }             
  569|  97.1k|                break;
  570|  97.1k|            }
  571|  97.1k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 97.1k]
  ------------------
  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|  97.1k|        }
  575|  97.1k|        return count;
  576|  97.1k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  5.53k|{
  244|  5.53k|    const char *sbeg = buffer;
  245|  5.53k|    const char *send = sbeg + length;
  246|       |
  247|  5.53k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 5.53k, False: 0]
  ------------------
  248|  5.53k|    {
  249|  5.53k|        bool needs_dot = true;
  250|   105k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 100k, False: 5.53k]
  ------------------
  251|   100k|        {
  252|   100k|            switch (*q)
  253|   100k|            {
  254|  5.98k|            case '-':
  ------------------
  |  Branch (254:13): [True: 5.98k, False: 94.3k]
  ------------------
  255|  14.4k|            case '0':
  ------------------
  |  Branch (255:13): [True: 8.45k, False: 91.8k]
  ------------------
  256|  23.9k|            case '1':
  ------------------
  |  Branch (256:13): [True: 9.53k, False: 90.7k]
  ------------------
  257|  33.1k|            case '2':
  ------------------
  |  Branch (257:13): [True: 9.19k, False: 91.1k]
  ------------------
  258|  41.4k|            case '3':
  ------------------
  |  Branch (258:13): [True: 8.25k, False: 92.0k]
  ------------------
  259|  48.1k|            case '4':
  ------------------
  |  Branch (259:13): [True: 6.73k, False: 93.5k]
  ------------------
  260|  55.6k|            case '5':
  ------------------
  |  Branch (260:13): [True: 7.49k, False: 92.8k]
  ------------------
  261|  68.3k|            case '6':
  ------------------
  |  Branch (261:13): [True: 12.7k, False: 87.6k]
  ------------------
  262|  75.4k|            case '7':
  ------------------
  |  Branch (262:13): [True: 7.08k, False: 93.2k]
  ------------------
  263|  81.6k|            case '8':
  ------------------
  |  Branch (263:13): [True: 6.18k, False: 94.1k]
  ------------------
  264|  88.9k|            case '9':
  ------------------
  |  Branch (264:13): [True: 7.30k, False: 93.0k]
  ------------------
  265|  89.9k|            case '+':
  ------------------
  |  Branch (265:13): [True: 980, False: 99.3k]
  ------------------
  266|  89.9k|                result.push_back(*q);
  267|  89.9k|                break;
  268|  3.18k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 3.18k, False: 97.1k]
  ------------------
  269|  3.18k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 100k]
  ------------------
  270|  3.18k|                result.push_back('e');
  271|  3.18k|                needs_dot = false;
  272|  3.18k|                break;
  273|  7.22k|            default:
  ------------------
  |  Branch (273:13): [True: 7.22k, False: 93.0k]
  ------------------
  274|  7.22k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 4.43k, False: 2.79k]
  ------------------
  275|  4.43k|                {
  276|  4.43k|                    needs_dot = false;
  277|  4.43k|                    result.push_back('.');
  278|  4.43k|                }
  279|  7.22k|                break;
  280|   100k|            }
  281|   100k|        }
  282|  5.53k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.09k, False: 4.43k]
  ------------------
  283|  1.09k|        {
  284|  1.09k|            result.push_back('.');
  285|  1.09k|            result.push_back('0');
  286|  1.09k|        }
  287|  5.53k|    }
  288|  5.53k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  90.4k|{
  172|  90.4k|    int nb_digits = length;
  173|  90.4k|    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|  90.4k|    int kk = nb_digits + k;
  179|       |
  180|  90.4k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 39.4k, False: 51.0k]
  |  Branch (180:28): [True: 34.2k, False: 5.22k]
  ------------------
  181|  34.2k|    {
  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|   266k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 232k, False: 34.2k]
  ------------------
  186|   232k|        {
  187|   232k|            result.push_back(buffer[i]);
  188|   232k|        }
  189|  65.3k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 31.1k, False: 34.2k]
  ------------------
  190|  31.1k|        {
  191|  31.1k|            result.push_back('0');
  192|  31.1k|        }
  193|  34.2k|        result.push_back('.');
  194|  34.2k|        result.push_back('0');
  195|  34.2k|    } 
  196|  56.2k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 32.3k, False: 23.9k]
  |  Branch (196:24): [True: 27.0k, False: 5.22k]
  ------------------
  197|  27.0k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   126k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 99.5k, False: 27.0k]
  ------------------
  200|  99.5k|        {
  201|  99.5k|            result.push_back(buffer[i]);
  202|  99.5k|        }
  203|  27.0k|        result.push_back('.');
  204|   315k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 288k, False: 27.0k]
  ------------------
  205|   288k|        {
  206|   288k|            result.push_back(buffer[i]);
  207|   288k|        }
  208|  27.0k|    } 
  209|  29.1k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 8.16k, False: 21.0k]
  |  Branch (209:30): [True: 2.93k, False: 5.22k]
  ------------------
  210|  2.93k|    {
  211|  2.93k|        offset = 2 - kk;
  212|       |
  213|  2.93k|        result.push_back('0');
  214|  2.93k|        result.push_back('.');
  215|  7.57k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 4.63k, False: 2.93k]
  ------------------
  216|  4.63k|            result.push_back('0');
  217|  45.7k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 42.7k, False: 2.93k]
  ------------------
  218|  42.7k|        {
  219|  42.7k|            result.push_back(buffer[i]);
  220|  42.7k|        }
  221|  2.93k|    } 
  222|  26.2k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 2.85k, False: 23.3k]
  ------------------
  223|  2.85k|    {
  224|  2.85k|        result.push_back(buffer[0]);
  225|  2.85k|        result.push_back('e');
  226|  2.85k|        fill_exponent(kk - 1, result);
  227|  2.85k|    } 
  228|  23.3k|    else
  229|  23.3k|    {
  230|  23.3k|        result.push_back(buffer[0]);
  231|  23.3k|        result.push_back('.');
  232|   347k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 324k, False: 23.3k]
  ------------------
  233|   324k|        {
  234|   324k|            result.push_back(buffer[i]);
  235|   324k|        }
  236|  23.3k|        result.push_back('e');
  237|  23.3k|        fill_exponent(kk - 1, result);
  238|  23.3k|    }
  239|  90.4k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  26.2k|{
  137|  26.2k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 21.0k, False: 5.22k]
  ------------------
  138|  21.0k|    {
  139|  21.0k|        result.push_back('-');
  140|  21.0k|        K = -K;
  141|  21.0k|    }
  142|  5.22k|    else
  143|  5.22k|    {
  144|  5.22k|        result.push_back('+'); // compatibility with sprintf
  145|  5.22k|    }
  146|       |
  147|  26.2k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.33k, False: 24.8k]
  ------------------
  148|  1.33k|    {
  149|  1.33k|        result.push_back('0'); // compatibility with sprintf
  150|  1.33k|        result.push_back((char)('0' + K));
  151|  1.33k|    }
  152|  24.8k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 12.4k, False: 12.4k]
  ------------------
  153|  12.4k|    {
  154|  12.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  12.4k|        result.push_back((char)('0' + K));
  156|  12.4k|    }
  157|  12.4k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 12.4k, False: 0]
  ------------------
  158|  12.4k|    {
  159|  12.4k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  12.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  12.4k|        result.push_back((char)('0' + K));
  162|  12.4k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  26.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  97.1k|{
  476|  97.1k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  97.1k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  97.1k|{
  367|  97.1k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.12k, False: 96.0k]
  ------------------
  368|  1.12k|    {
  369|  1.12k|        result.push_back('0');
  370|  1.12k|        result.push_back('.');
  371|  1.12k|        result.push_back('0');
  372|  1.12k|        return true;
  373|  1.12k|    }
  374|       |
  375|  96.0k|    int length = 0;
  376|  96.0k|    int k;
  377|       |
  378|  96.0k|    char buffer[100];
  379|       |
  380|  96.0k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 75.1k, False: 20.8k]
  ------------------
  381|  96.0k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 90.4k, False: 5.53k]
  ------------------
  382|  90.4k|    {
  383|  90.4k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 71.3k, False: 19.0k]
  ------------------
  384|  71.3k|        {
  385|  71.3k|            result.push_back('-');
  386|  71.3k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  90.4k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  90.4k|        return true;
  391|  90.4k|    }
  392|  5.53k|    else
  393|  5.53k|    {
  394|  5.53k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  5.53k|    }
  396|  96.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  5.53k|{
  330|  5.53k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 5.53k]
  ------------------
  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.53k|    char buffer[100];
  339|  5.53k|    int precision = std::numeric_limits<double>::digits10;
  340|  5.53k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  5.53k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 5.53k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  5.53k|    double x{0};
  346|  5.53k|    auto res = decstr_to_double(buffer, length, x);
  347|  5.53k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 5.53k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  5.53k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 4.76k, False: 763]
  ------------------
  352|  4.76k|    {
  353|  4.76k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  4.76k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  4.76k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 4.76k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  4.76k|    }
  360|  5.53k|    dump_buffer(buffer, length, decimal_point, result);
  361|  5.53k|    return true;
  362|  5.53k|}

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

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

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_19basic_istringstreamIcNS3_11char_traitsIcEES7_EEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  4.73k|       : source_(std::forward<Sourceable>(source)),
   87|  4.73k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  4.73k|         text_buffer_(alloc),
   89|  4.73k|         bytes_buffer_(alloc),
   90|  4.73k|         state_stack_(alloc)
   91|  4.73k|    {
   92|  4.73k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  4.73k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|   460k|        : mode(mode), length(length)
   47|   460k|    {
   48|   460k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  4.73k|    {
  102|  4.73k|        more_ = true;
  103|  4.73k|        done_ = false;
  104|  4.73k|        text_buffer_.clear();
  105|  4.73k|        bytes_buffer_.clear();
  106|  4.73k|        state_stack_.clear();
  107|  4.73k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  4.73k|        nesting_depth_ = 0;
  109|  4.73k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  4.73k|    {
  160|  30.3M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 30.3M, False: 920]
  |  Branch (160:26): [True: 30.3M, False: 0]
  ------------------
  161|  30.3M|        {
  162|  30.3M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 30.3M, False: 0]
  ------------------
  163|  30.3M|            {
  164|  14.2M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 14.2M, False: 16.0M]
  ------------------
  165|  14.2M|                {
  166|  14.2M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 14.1M, False: 189k]
  ------------------
  167|  14.1M|                    {
  168|  14.1M|                        ++state_stack_.back().index;
  169|  14.1M|                        read_item(visitor, ec);
  170|  14.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 793, False: 14.0M]
  |  |  ------------------
  ------------------
  171|    793|                        {
  172|    793|                            return;
  173|    793|                        }
  174|  14.1M|                    }
  175|   189k|                    else
  176|   189k|                    {
  177|   189k|                        end_array(visitor, ec);
  178|   189k|                    }
  179|  14.2M|                    break;
  180|  14.2M|                }
  181|  14.2M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 8.12M, False: 22.1M]
  ------------------
  182|  8.12M|                {
  183|  8.12M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 7.91M, False: 208k]
  ------------------
  184|  7.91M|                    {
  185|  7.91M|                        ++state_stack_.back().index;
  186|  7.91M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  7.91M|                        read_item(visitor, ec);
  188|  7.91M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.91M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 701, False: 7.91M]
  |  |  ------------------
  ------------------
  189|    701|                        {
  190|    701|                            return;
  191|    701|                        }
  192|  7.91M|                    }
  193|   208k|                    else
  194|   208k|                    {
  195|   208k|                        end_object(visitor, ec);
  196|   208k|                    }
  197|  8.11M|                    break;
  198|  8.12M|                }
  199|  8.11M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 7.89M, False: 22.4M]
  ------------------
  200|  7.89M|                {
  201|  7.89M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  7.89M|                    read_item(visitor, ec);
  203|  7.89M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.89M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.86k, False: 7.89M]
  |  |  ------------------
  ------------------
  204|  1.86k|                    {
  205|  1.86k|                        return;
  206|  1.86k|                    }
  207|  7.89M|                    break;
  208|  7.89M|                }
  209|  7.89M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 4.73k, False: 30.3M]
  ------------------
  210|  4.73k|                {
  211|  4.73k|                    state_stack_.back().mode = parse_mode::accept;
  212|  4.73k|                    read_item(visitor, ec);
  213|  4.73k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.73k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 453, False: 4.28k]
  |  |  ------------------
  ------------------
  214|    453|                    {
  215|    453|                        return;
  216|    453|                    }
  217|  4.28k|                    break;
  218|  4.73k|                }
  219|  4.28k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 920, False: 30.3M]
  ------------------
  220|    920|                {
  221|    920|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|    920|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 920]
  |  |  ------------------
  |  |   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|    920|                    state_stack_.clear();
  223|    920|                    more_ = false;
  224|    920|                    done_ = true;
  225|    920|                    visitor.flush();
  226|    920|                    break;
  227|    920|                }
  228|  30.3M|            }
  229|  30.3M|        }
  230|  4.73k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  29.9M|    {
  235|  29.9M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 29.9M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  29.9M|        uint8_t type;
  243|  29.9M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 2.89k, False: 29.9M]
  ------------------
  244|  2.89k|        {
  245|  2.89k|            ec = msgpack_errc::unexpected_eof;
  246|  2.89k|            more_ = false;
  247|  2.89k|            return;
  248|  2.89k|        }
  249|       |
  250|  29.9M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 13.3M, False: 16.5M]
  ------------------
  251|  13.3M|        {
  252|  13.3M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 7.83M, False: 5.54M]
  ------------------
  253|  7.83M|            {
  254|       |                // positive fixint
  255|  7.83M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  7.83M|                more_ = !cursor_mode_;
  257|  7.83M|            }
  258|  5.54M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 232k, False: 5.31M]
  ------------------
  259|   232k|            {
  260|   232k|                begin_object(visitor,type,ec); // fixmap
  261|   232k|            }
  262|  5.31M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 210k, False: 5.10M]
  ------------------
  263|   210k|            {
  264|   210k|                begin_array(visitor,type,ec); // fixarray
  265|   210k|            }
  266|  5.10M|            else 
  267|  5.10M|            {
  268|       |                // fixstr
  269|  5.10M|                const size_t len = type & 0x1f;
  270|       |
  271|  5.10M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  5.10M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 34, False: 5.10M]
  ------------------
  273|     34|                {
  274|     34|                    ec = msgpack_errc::unexpected_eof;
  275|     34|                    more_ = false;
  276|     34|                    return;
  277|     34|                }
  278|       |
  279|  5.10M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  5.10M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 171, False: 5.10M]
  ------------------
  281|    171|                {
  282|    171|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    171|                    more_ = false;
  284|    171|                    return;
  285|    171|                }
  286|  5.10M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  5.10M|                    semantic_tag::none, *this, ec);
  288|  5.10M|                more_ = !cursor_mode_;
  289|  5.10M|            }
  290|  13.3M|        }
  291|  16.5M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 3.94M, False: 12.5M]
  ------------------
  292|  3.94M|        {
  293|       |            // negative fixint
  294|  3.94M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  3.94M|            more_ = !cursor_mode_;
  296|  3.94M|        }
  297|  12.5M|        else
  298|  12.5M|        {
  299|  12.5M|            switch (type)
  300|  12.5M|            {
  301|   116k|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 116k, False: 12.4M]
  ------------------
  302|   116k|                {
  303|   116k|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|   116k|                    more_ = !cursor_mode_;
  305|   116k|                    break;
  306|      0|                }
  307|  8.21M|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 8.21M, False: 4.35M]
  ------------------
  308|  8.21M|                {
  309|  8.21M|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|  8.21M|                    more_ = !cursor_mode_;
  311|  8.21M|                    break;
  312|      0|                }
  313|  3.27M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 3.27M, False: 9.29M]
  ------------------
  314|  3.27M|                {
  315|  3.27M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  3.27M|                    more_ = !cursor_mode_;
  317|  3.27M|                    break;
  318|      0|                }
  319|  88.6k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 88.6k, False: 12.4M]
  ------------------
  320|  88.6k|                {
  321|  88.6k|                    uint8_t buf[sizeof(float)];
  322|  88.6k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 6, False: 88.6k]
  ------------------
  323|      6|                    {
  324|      6|                        ec = msgpack_errc::unexpected_eof;
  325|      6|                        more_ = false;
  326|      6|                        return;
  327|      6|                    }
  328|  88.6k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|  88.6k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|  88.6k|                    more_ = !cursor_mode_;
  331|  88.6k|                    break;
  332|  88.6k|                }
  333|       |
  334|  11.9k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 11.9k, False: 12.5M]
  ------------------
  335|  11.9k|                {
  336|  11.9k|                    uint8_t buf[sizeof(double)];
  337|  11.9k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 9, False: 11.9k]
  ------------------
  338|      9|                    {
  339|      9|                        ec = msgpack_errc::unexpected_eof;
  340|      9|                        more_ = false;
  341|      9|                        return;
  342|      9|                    }
  343|  11.9k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  11.9k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  11.9k|                    more_ = !cursor_mode_;
  346|  11.9k|                    break;
  347|  11.9k|                }
  348|       |
  349|  7.99k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 7.99k, False: 12.5M]
  ------------------
  350|  7.99k|                {
  351|  7.99k|                    uint8_t b;
  352|  7.99k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 1, False: 7.99k]
  ------------------
  353|      1|                    {
  354|      1|                        ec = msgpack_errc::unexpected_eof;
  355|      1|                        more_ = false;
  356|      1|                        return;
  357|      1|                    }
  358|  7.99k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  7.99k|                    more_ = !cursor_mode_;
  360|  7.99k|                    break;
  361|  7.99k|                }
  362|       |
  363|   205k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 205k, False: 12.3M]
  ------------------
  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|   110k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 110k, False: 12.4M]
  ------------------
  379|   110k|                {
  380|   110k|                    uint8_t buf[sizeof(uint32_t)];
  381|   110k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 5, False: 110k]
  ------------------
  382|      5|                    {
  383|      5|                        ec = msgpack_errc::unexpected_eof;
  384|      5|                        more_ = false;
  385|      5|                        return;
  386|      5|                    }
  387|   110k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|   110k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|   110k|                    more_ = !cursor_mode_;
  390|   110k|                    break;
  391|   110k|                }
  392|       |
  393|  2.03k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 2.03k, False: 12.5M]
  ------------------
  394|  2.03k|                {
  395|  2.03k|                    uint8_t buf[sizeof(uint64_t)];
  396|  2.03k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 4, False: 2.02k]
  ------------------
  397|      4|                    {
  398|      4|                        ec = msgpack_errc::unexpected_eof;
  399|      4|                        more_ = false;
  400|      4|                        return;
  401|      4|                    }
  402|  2.02k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  2.02k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  2.02k|                    more_ = !cursor_mode_;
  405|  2.02k|                    break;
  406|  2.03k|                }
  407|       |
  408|  2.16k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 2.16k, False: 12.5M]
  ------------------
  409|  2.16k|                {
  410|  2.16k|                    uint8_t buf[sizeof(int8_t)];
  411|  2.16k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 1, False: 2.16k]
  ------------------
  412|      1|                    {
  413|      1|                        ec = msgpack_errc::unexpected_eof;
  414|      1|                        more_ = false;
  415|      1|                        return;
  416|      1|                    }
  417|  2.16k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  2.16k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  2.16k|                    more_ = !cursor_mode_;
  420|  2.16k|                    break;
  421|  2.16k|                }
  422|       |
  423|  1.83k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 1.83k, False: 12.5M]
  ------------------
  424|  1.83k|                {
  425|  1.83k|                    uint8_t buf[sizeof(int16_t)];
  426|  1.83k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 2, False: 1.83k]
  ------------------
  427|      2|                    {
  428|      2|                        ec = msgpack_errc::unexpected_eof;
  429|      2|                        more_ = false;
  430|      2|                        return;
  431|      2|                    }
  432|  1.83k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  1.83k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  1.83k|                    more_ = !cursor_mode_;
  435|  1.83k|                    break;
  436|  1.83k|                }
  437|       |
  438|  4.56k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 4.56k, False: 12.5M]
  ------------------
  439|  4.56k|                {
  440|  4.56k|                    uint8_t buf[sizeof(int32_t)];
  441|  4.56k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 5, False: 4.55k]
  ------------------
  442|      5|                    {
  443|      5|                        ec = msgpack_errc::unexpected_eof;
  444|      5|                        more_ = false;
  445|      5|                        return;
  446|      5|                    }
  447|  4.55k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  4.55k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  4.55k|                    more_ = !cursor_mode_;
  450|  4.55k|                    break;
  451|  4.56k|                }
  452|       |
  453|  3.50k|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 3.50k, False: 12.5M]
  ------------------
  454|  3.50k|                {
  455|  3.50k|                    uint8_t buf[sizeof(int64_t)];
  456|  3.50k|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 5, False: 3.50k]
  ------------------
  457|      5|                    {
  458|      5|                        ec = msgpack_errc::unexpected_eof;
  459|      5|                        more_ = false;
  460|      5|                        return;
  461|      5|                    }
  462|  3.50k|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|  3.50k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|  3.50k|                    more_ = !cursor_mode_;
  465|  3.50k|                    break;
  466|  3.50k|                }
  467|       |
  468|  1.07k|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 1.07k, False: 12.5M]
  ------------------
  469|  1.75k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 678, False: 12.5M]
  ------------------
  470|  2.07k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 317, False: 12.5M]
  ------------------
  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: 134, False: 1.91k]
  ------------------
  480|    134|                    {
  481|    134|                        ec = msgpack_errc::unexpected_eof;
  482|    134|                        more_ = false;
  483|    134|                        return;
  484|    134|                    }
  485|       |
  486|  1.91k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  1.91k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 39, False: 1.87k]
  ------------------
  488|     39|                    {
  489|     39|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     39|                        more_ = false;
  491|     39|                        return;
  492|     39|                    }
  493|  1.87k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  1.87k|                        semantic_tag::none, *this, ec);
  495|  1.87k|                    more_ = !cursor_mode_;
  496|  1.87k|                    break;
  497|  1.91k|                }
  498|       |
  499|  10.2k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 10.2k, False: 12.5M]
  ------------------
  500|  14.5k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 4.30k, False: 12.5M]
  ------------------
  501|  15.0k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 462, False: 12.5M]
  ------------------
  502|  15.0k|                {
  503|  15.0k|                    std::size_t len = get_size(type,ec);
  504|  15.0k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 25, False: 15.0k]
  ------------------
  505|     25|                    {
  506|     25|                        return;
  507|     25|                    }
  508|  15.0k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|  15.0k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  15.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 143, False: 14.8k]
  |  |  ------------------
  ------------------
  510|    143|                    {
  511|    143|                        ec = msgpack_errc::unexpected_eof;
  512|    143|                        more_ = false;
  513|    143|                        return;
  514|    143|                    }
  515|       |
  516|  14.8k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|  14.8k|                        semantic_tag::none, 
  518|  14.8k|                        *this,
  519|  14.8k|                        ec);
  520|  14.8k|                    more_ = !cursor_mode_;
  521|  14.8k|                    break;
  522|  15.0k|                }
  523|  22.1k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 22.1k, False: 12.5M]
  ------------------
  524|   425k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 403k, False: 12.1M]
  ------------------
  525|   427k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 2.50k, False: 12.5M]
  ------------------
  526|   441k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 13.4k, False: 12.5M]
  ------------------
  527|   443k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 1.98k, False: 12.5M]
  ------------------
  528|   495k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 51.7k, False: 12.5M]
  ------------------
  529|   496k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 953, False: 12.5M]
  ------------------
  530|   496k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 377, False: 12.5M]
  ------------------
  531|   496k|                {
  532|   496k|                    std::size_t len = get_size(type,ec);
  533|   496k|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 32, False: 496k]
  ------------------
  534|     32|                    {
  535|     32|                        return;
  536|     32|                    }
  537|       |
  538|       |                    // type
  539|   496k|                    uint8_t buf[sizeof(int8_t)];
  540|   496k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 48, False: 496k]
  ------------------
  541|     48|                    {
  542|     48|                        ec = msgpack_errc::unexpected_eof;
  543|     48|                        more_ = false;
  544|     48|                        return;
  545|     48|                    }
  546|       |
  547|   496k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|   496k|                    bool is_timestamp = false; 
  550|   496k|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 54.7k, False: 441k]
  ------------------
  551|  54.7k|                    {
  552|  54.7k|                        is_timestamp = true;;
  553|  54.7k|                    }
  554|       |
  555|       |                    // payload
  556|   496k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 54.7k, False: 441k]
  |  Branch (556:41): [True: 1.25k, False: 53.5k]
  ------------------
  557|  1.25k|                    {
  558|  1.25k|                        uint8_t buf32[sizeof(uint32_t)];
  559|  1.25k|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 3, False: 1.25k]
  ------------------
  560|      3|                        {
  561|      3|                            ec = msgpack_errc::unexpected_eof;
  562|      3|                            more_ = false;
  563|      3|                            return;
  564|      3|                        }
  565|  1.25k|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|  1.25k|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|  1.25k|                        more_ = !cursor_mode_;
  568|  1.25k|                    }
  569|   495k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 53.5k, False: 441k]
  |  Branch (569:46): [True: 10.4k, False: 43.0k]
  ------------------
  570|  10.4k|                    {
  571|  10.4k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  10.4k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 6, False: 10.4k]
  ------------------
  573|      6|                        {
  574|      6|                            ec = msgpack_errc::unexpected_eof;
  575|      6|                            more_ = false;
  576|      6|                            return;
  577|      6|                        }
  578|  10.4k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  10.4k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  10.4k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  10.4k|                        bigint nano(sec);
  583|  10.4k|                        nano *= uint64_t(nanos_in_second);
  584|  10.4k|                        nano += nsec;
  585|  10.4k|                        text_buffer_.clear();
  586|  10.4k|                        nano.write_string(text_buffer_);
  587|  10.4k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  10.4k|                        more_ = !cursor_mode_;
  589|  10.4k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 10.4k]
  ------------------
  590|  10.4k|                    }
  591|   484k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 43.0k, False: 441k]
  |  Branch (591:46): [True: 41.9k, False: 1.15k]
  ------------------
  592|  41.9k|                    {
  593|  41.9k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  41.9k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 4, False: 41.9k]
  ------------------
  595|      4|                        {
  596|      4|                            ec = msgpack_errc::unexpected_eof;
  597|      4|                            more_ = false;
  598|      4|                            return;
  599|      4|                        }
  600|  41.9k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  41.9k|                        uint8_t buf2[sizeof(int64_t)];
  603|  41.9k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 4, False: 41.8k]
  ------------------
  604|      4|                        {
  605|      4|                            ec = msgpack_errc::unexpected_eof;
  606|      4|                            more_ = false;
  607|      4|                            return;
  608|      4|                        }
  609|  41.8k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  41.8k|                        bigint nano(sec);
  612|       |
  613|  41.8k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  41.8k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 14.3k, False: 27.5k]
  ------------------
  616|  14.3k|                        {
  617|  14.3k|                            nano -= nsec;
  618|  14.3k|                        }
  619|  27.5k|                        else
  620|  27.5k|                        {
  621|  27.5k|                            nano += nsec;
  622|  27.5k|                        }
  623|       |
  624|  41.8k|                        text_buffer_.clear();
  625|  41.8k|                        nano.write_string(text_buffer_);
  626|  41.8k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  41.8k|                        more_ = !cursor_mode_;
  628|  41.8k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 41.8k]
  ------------------
  629|  41.8k|                    }
  630|   442k|                    else
  631|   442k|                    {
  632|   442k|                        auto data = source_.read_span(len, bytes_buffer_);
  633|   442k|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|   442k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 168, False: 442k]
  |  |  ------------------
  ------------------
  634|    168|                        {
  635|    168|                            ec = msgpack_errc::unexpected_eof;
  636|    168|                            more_ = false;
  637|    168|                            return;
  638|    168|                        }
  639|       |
  640|   442k|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|   442k|                                                          static_cast<uint8_t>(ext_type), 
  642|   442k|                                                          *this,
  643|   442k|                                                          ec);
  644|   442k|                        more_ = !cursor_mode_;
  645|   442k|                    }
  646|   496k|                    break;
  647|   496k|                }
  648|       |
  649|   496k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 3.59k, False: 12.5M]
  ------------------
  650|  4.30k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 712, False: 12.5M]
  ------------------
  651|  4.30k|                {
  652|  4.30k|                    begin_array(visitor,type,ec);
  653|  4.30k|                    break;
  654|  3.59k|                }
  655|       |
  656|  2.45k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 2.45k, False: 12.5M]
  ------------------
  657|  3.30k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 851, False: 12.5M]
  ------------------
  658|  3.30k|                {
  659|  3.30k|                    begin_object(visitor, type, ec);
  660|  3.30k|                    break;
  661|  2.45k|                }
  662|       |
  663|      4|                default:
  ------------------
  |  Branch (663:17): [True: 4, False: 12.5M]
  ------------------
  664|      4|                {
  665|      4|                    ec = msgpack_errc::unknown_type;
  666|      4|                    more_ = false;
  667|      4|                    return;
  668|  2.45k|                }
  669|  12.5M|            }
  670|  12.5M|        }
  671|  29.9M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|   236k|    {
  702|   236k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   236k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 236k]
  |  |  ------------------
  ------------------
  703|      3|        {
  704|      3|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      3|            more_ = false;
  706|      3|            return;
  707|      3|        } 
  708|   236k|        std::size_t length = get_size(type, ec);
  709|   236k|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 18, False: 236k]
  ------------------
  710|     18|        {
  711|     18|            return;
  712|     18|        }
  713|   236k|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|   236k|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|   236k|        more_ = !cursor_mode_;
  716|   236k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|   214k|    {
  675|   214k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   214k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 214k]
  |  |  ------------------
  ------------------
  676|      5|        {
  677|      5|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      5|            more_ = false;
  679|      5|            return;
  680|      5|        } 
  681|   214k|        std::size_t length = get_size(type, ec);
  682|   214k|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 17, False: 214k]
  ------------------
  683|     17|        {
  684|     17|            return;
  685|     17|        }
  686|   214k|        state_stack_.emplace_back(parse_mode::array,length);
  687|   214k|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|   214k|        more_ = !cursor_mode_;
  689|   214k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  727|   964k|    {
  728|   964k|        switch (type)
  729|   964k|        {
  730|  1.07k|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 1.07k, False: 963k]
  ------------------
  731|  11.3k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 10.2k, False: 954k]
  ------------------
  732|  63.1k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 51.7k, False: 912k]
  ------------------
  733|  63.1k|            {
  734|  63.1k|                uint8_t buf[sizeof(int8_t)];
  735|  63.1k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 30, False: 63.0k]
  ------------------
  736|     30|                {
  737|     30|                    ec = msgpack_errc::unexpected_eof;
  738|     30|                    more_ = false;
  739|     30|                    return 0;
  740|     30|                }
  741|  63.0k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|  63.0k|                return static_cast<std::size_t>(len);
  743|  63.1k|            }
  744|       |
  745|    678|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 678, False: 963k]
  ------------------
  746|  4.98k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 4.30k, False: 960k]
  ------------------
  747|  5.94k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 953, False: 963k]
  ------------------
  748|  9.53k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 3.59k, False: 960k]
  ------------------
  749|  11.9k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 2.45k, False: 961k]
  ------------------
  750|  11.9k|            {
  751|  11.9k|                uint8_t buf[sizeof(int16_t)];
  752|  11.9k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 42, False: 11.9k]
  ------------------
  753|     42|                {
  754|     42|                    ec = msgpack_errc::unexpected_eof;
  755|     42|                    more_ = false;
  756|     42|                    return 0;
  757|     42|                }
  758|  11.9k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  11.9k|                return static_cast<std::size_t>(len);
  760|  11.9k|            }
  761|       |
  762|    317|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 317, False: 964k]
  ------------------
  763|    779|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 462, False: 963k]
  ------------------
  764|  1.15k|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 377, False: 964k]
  ------------------
  765|  1.86k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 712, False: 963k]
  ------------------
  766|  2.71k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 851, False: 963k]
  ------------------
  767|  2.71k|            {
  768|  2.71k|                uint8_t buf[sizeof(int32_t)];
  769|  2.71k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 42, False: 2.67k]
  ------------------
  770|     42|                {
  771|     42|                    ec = msgpack_errc::unexpected_eof;
  772|     42|                    more_ = false;
  773|     42|                    return 0;
  774|     42|                }
  775|  2.67k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  2.67k|                return static_cast<std::size_t>(len);
  777|  2.71k|            }
  778|  22.1k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 22.1k, False: 942k]
  ------------------
  779|  22.1k|                return 1;
  780|   403k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 403k, False: 561k]
  ------------------
  781|   403k|                return 2;
  782|  2.50k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 2.50k, False: 961k]
  ------------------
  783|  2.50k|                return 4;
  784|  13.4k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 13.4k, False: 950k]
  ------------------
  785|  13.4k|                return 8;
  786|  1.98k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 1.98k, False: 962k]
  ------------------
  787|  1.98k|                return 16;
  788|   443k|            default:
  ------------------
  |  Branch (788:13): [True: 443k, False: 521k]
  ------------------
  789|   443k|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 210k, False: 232k]
  |  Branch (789:37): [True: 210k, False: 0]
  ------------------
  790|   232k|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 232k, False: 0]
  |  Branch (790:40): [True: 232k, False: 0]
  ------------------
  791|   443k|        )
  792|   443k|                {
  793|   443k|                    return type & 0x0f;
  794|   443k|                }
  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|   964k|        }
  803|   964k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|   189k|    {
  693|   189k|        --nesting_depth_;
  694|       |
  695|   189k|        visitor.end_array(*this, ec);
  696|   189k|        more_ = !cursor_mode_;
  697|   189k|        state_stack_.pop_back();
  698|   189k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|   208k|    {
  720|   208k|        --nesting_depth_;
  721|   208k|        visitor.end_object(*this, ec);
  722|   208k|        more_ = !cursor_mode_;
  723|   208k|        state_stack_.pop_back();
  724|   208k|    }

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

