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

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

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|   256k|        {
 1009|   256k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 54.0k, False: 202k]
  ------------------
 1010|  54.0k|            {
 1011|  54.0k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 50.2k, False: 3.86k]
  |  Branch (1011:86): [True: 47.0k, False: 3.13k]
  ------------------
 1012|  47.0k|                {
 1013|  47.0k|                    key_buffer_.push_back(',');
 1014|  47.0k|                }
 1015|  54.0k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|  54.0k|                key_buffer_.push_back('[');
 1017|  54.0k|            }
 1018|   202k|            else
 1019|   202k|            {
 1020|   202k|                switch (level_stack_.back().target_kind())
 1021|   202k|                {
 1022|   186k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 186k, False: 15.6k]
  ------------------
 1023|   186k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 137k, False: 49.3k]
  |  Branch (1023:65): [True: 50.2k, False: 87.1k]
  ------------------
 1024|  50.2k|                        {
 1025|  50.2k|                            key_buffer_.push_back(',');
 1026|  50.2k|                        }
 1027|   186k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   186k|                        key_buffer_.push_back('[');
 1029|   186k|                        break;
 1030|  15.6k|                    default:
  ------------------
  |  Branch (1030:21): [True: 15.6k, False: 186k]
  ------------------
 1031|  15.6k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  15.6k|                        destination_->begin_array(length, tag, context, ec);
 1033|  15.6k|                        break;
 1034|   202k|                }
 1035|   202k|            }
 1036|   256k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   256k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|   256k|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|  89.5M|            {
  816|  89.5M|                return even_odd_ == 0;
  817|  89.5M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|  51.2M|            {
  826|  51.2M|                return target_kind_;
  827|  51.2M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  21.6M|            {
  831|  21.6M|                return count_;
  832|  21.6M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|   535k|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 274k, False: 261k]
  ------------------
  799|   535k|            {
  800|   535k|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|  52.9M|            {
  821|  52.9M|                return structure_kind_ == json_structure_kind::object;
  822|  52.9M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|   227k|        {
 1041|   227k|            switch (level_stack_.back().target_kind())
 1042|   227k|            {
 1043|   222k|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 222k, False: 5.39k]
  ------------------
 1044|   222k|                    key_buffer_.push_back(']');
 1045|   222k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   222k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 222k]
  |  |  ------------------
  |  |   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|   222k|                    level_stack_.pop_back();
 1047|   222k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 3.21k, False: 219k]
  ------------------
 1048|  3.21k|                    {
 1049|  3.21k|                        destination_->key(key_buffer_, context, ec);
 1050|  3.21k|                        key_buffer_.clear();
 1051|  3.21k|                    }
 1052|   219k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 48.1k, False: 170k]
  ------------------
 1053|  48.1k|                    {
 1054|  48.1k|                        key_buffer_.push_back(':');
 1055|  48.1k|                    }
 1056|   222k|                    level_stack_.back().advance();
 1057|   222k|                    break;
 1058|  5.39k|                default:
  ------------------
  |  Branch (1058:17): [True: 5.39k, False: 222k]
  ------------------
 1059|  5.39k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  5.39k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.39k]
  |  |  ------------------
  |  |   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.39k|                    level_stack_.pop_back();
 1061|  5.39k|                    level_stack_.back().advance();
 1062|  5.39k|                    destination_->end_array(context, ec);
 1063|  5.39k|                    break;
 1064|   227k|            }
 1065|   227k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   227k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|   227k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  31.4M|            {
  804|  31.4M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 22.6M, False: 8.76M]
  ------------------
  805|  22.6M|                {
  806|  22.6M|                    ++count_;
  807|  22.6M|                }
  808|  31.4M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 17.5M, False: 13.8M]
  ------------------
  809|  17.5M|                {
  810|  17.5M|                    even_odd_ = !even_odd_;
  811|  17.5M|                }
  812|  31.4M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  8.34M|        {
 1234|  8.34M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 2.47M, False: 5.87M]
  |  Branch (1234:49): [True: 5.16M, False: 717k]
  ------------------
 1235|  7.63M|            {
 1236|  7.63M|                key_.clear();
 1237|  7.63M|                jsoncons::from_integer(value,key_);
 1238|  7.63M|            }
 1239|       |
 1240|  8.34M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 2.47M, False: 5.87M]
  ------------------
 1241|  2.47M|            {
 1242|  2.47M|                switch (level_stack_.back().target_kind())
 1243|  2.47M|                {
 1244|  2.36M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 2.36M, False: 107k]
  ------------------
 1245|  2.36M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 2.33M, False: 29.2k]
  ------------------
 1246|  2.33M|                        {
 1247|  2.33M|                            key_buffer_.push_back(',');
 1248|  2.33M|                        }
 1249|  2.36M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  2.36M|                        key_buffer_.push_back(':');
 1251|  2.36M|                        break;
 1252|   107k|                    default:
  ------------------
  |  Branch (1252:21): [True: 107k, False: 2.36M]
  ------------------
 1253|   107k|                        destination_->key(key_, context, ec);
 1254|   107k|                        break;
 1255|  2.47M|                }
 1256|  2.47M|            }
 1257|  5.87M|            else
 1258|  5.87M|            {
 1259|  5.87M|                switch (level_stack_.back().target_kind())
 1260|  5.87M|                {
 1261|  5.16M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 5.16M, False: 717k]
  ------------------
 1262|  5.16M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 2.78M, False: 2.37M]
  |  Branch (1262:65): [True: 2.78M, False: 6.33k]
  ------------------
 1263|  2.78M|                        {
 1264|  2.78M|                            key_buffer_.push_back(',');
 1265|  2.78M|                        }
 1266|  5.16M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  5.16M|                        break;
 1268|   717k|                    default:
  ------------------
  |  Branch (1268:21): [True: 717k, False: 5.16M]
  ------------------
 1269|   717k|                        destination_->uint64_value(value, tag, context, ec);
 1270|   717k|                        break;
 1271|  5.87M|                }
 1272|  5.87M|            }
 1273|       |
 1274|  8.34M|            level_stack_.back().advance();
 1275|  8.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  8.34M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  4.27M|        {
 1280|  4.27M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 1.11M, False: 3.15M]
  |  Branch (1280:49): [True: 3.12M, False: 35.9k]
  ------------------
 1281|  4.23M|            {
 1282|  4.23M|                key_.clear();
 1283|  4.23M|                jsoncons::from_integer(value,key_);
 1284|  4.23M|            }
 1285|       |
 1286|  4.27M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 1.11M, False: 3.15M]
  ------------------
 1287|  1.11M|            {
 1288|  1.11M|                switch (level_stack_.back().target_kind())
 1289|  1.11M|                {
 1290|  1.09M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 1.09M, False: 21.3k]
  ------------------
 1291|  1.09M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 1.08M, False: 5.55k]
  ------------------
 1292|  1.08M|                        {
 1293|  1.08M|                            key_buffer_.push_back(',');
 1294|  1.08M|                        }
 1295|  1.09M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|  1.09M|                        key_buffer_.push_back(':');
 1297|  1.09M|                        break;
 1298|  21.3k|                    default:
  ------------------
  |  Branch (1298:21): [True: 21.3k, False: 1.09M]
  ------------------
 1299|  21.3k|                        destination_->key(key_, context, ec);
 1300|  21.3k|                        break;
 1301|  1.11M|                }
 1302|  1.11M|            }
 1303|  3.15M|            else
 1304|  3.15M|            {
 1305|  3.15M|                switch (level_stack_.back().target_kind())
 1306|  3.15M|                {
 1307|  3.12M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 3.12M, False: 35.9k]
  ------------------
 1308|  3.12M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.01M, False: 1.11M]
  |  Branch (1308:65): [True: 2.00M, False: 5.14k]
  ------------------
 1309|  2.00M|                        {
 1310|  2.00M|                            key_buffer_.push_back(',');
 1311|  2.00M|                        }
 1312|  3.12M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  3.12M|                        break;
 1314|  35.9k|                    default:
  ------------------
  |  Branch (1314:21): [True: 35.9k, False: 3.12M]
  ------------------
 1315|  35.9k|                        destination_->int64_value(value, tag, context, ec);
 1316|  35.9k|                        break;
 1317|  3.15M|                }
 1318|  3.15M|            }
 1319|       |
 1320|  4.27M|            level_stack_.back().advance();
 1321|  4.27M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  4.27M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   119k|        {
 1375|   119k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 43.5k, False: 76.2k]
  |  Branch (1375:49): [True: 73.2k, False: 3.07k]
  ------------------
 1376|   116k|            {
 1377|   116k|                key_.clear();
 1378|   116k|                string_sink<string_type> sink(key_);
 1379|   116k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|   116k|                f(value, sink);
 1381|   116k|            }
 1382|       |
 1383|   119k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 43.5k, False: 76.2k]
  ------------------
 1384|  43.5k|            {
 1385|  43.5k|                switch (level_stack_.back().target_kind())
 1386|  43.5k|                {
 1387|  39.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 39.6k, False: 3.97k]
  ------------------
 1388|  39.6k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 28.2k, False: 11.3k]
  ------------------
 1389|  28.2k|                        {
 1390|  28.2k|                            key_buffer_.push_back(',');
 1391|  28.2k|                        }
 1392|  39.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  39.6k|                        key_buffer_.push_back(':');
 1394|  39.6k|                        break;
 1395|  3.97k|                    default:
  ------------------
  |  Branch (1395:21): [True: 3.97k, False: 39.6k]
  ------------------
 1396|  3.97k|                        destination_->key(key_, context, ec);
 1397|  3.97k|                        break;
 1398|  43.5k|                }
 1399|  43.5k|            }
 1400|  76.2k|            else
 1401|  76.2k|            {
 1402|  76.2k|                switch (level_stack_.back().target_kind())
 1403|  76.2k|                {
 1404|  73.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 73.2k, False: 3.07k]
  ------------------
 1405|  73.2k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 42.6k, False: 30.5k]
  |  Branch (1405:65): [True: 38.6k, False: 3.93k]
  ------------------
 1406|  38.6k|                        {
 1407|  38.6k|                            key_buffer_.push_back(',');
 1408|  38.6k|                        }
 1409|  73.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  73.2k|                        break;
 1411|  3.07k|                    default:
  ------------------
  |  Branch (1411:21): [True: 3.07k, False: 73.2k]
  ------------------
 1412|  3.07k|                        destination_->double_value(value, tag, context, ec);
 1413|  3.07k|                        break;
 1414|  76.2k|                }
 1415|  76.2k|            }
 1416|       |
 1417|   119k|            level_stack_.back().advance();
 1418|   119k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   119k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   119k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|    895|        {
  882|    895|            destination_->flush();
  883|    895|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|   274k|        {
  915|   274k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 122k, False: 151k]
  ------------------
  916|   122k|            {
  917|   122k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 114k, False: 7.79k]
  |  Branch (917:86): [True: 33.9k, False: 80.5k]
  ------------------
  918|  33.9k|                {
  919|  33.9k|                    key_buffer_.push_back(',');
  920|  33.9k|                }
  921|   122k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   122k|                key_buffer_.push_back('{');
  923|   122k|            }
  924|   151k|            else
  925|   151k|            {
  926|   151k|                switch (level_stack_.back().target_kind())
  927|   151k|                {
  928|   138k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 138k, False: 13.4k]
  ------------------
  929|   138k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 83.9k, False: 54.2k]
  |  Branch (929:65): [True: 81.4k, False: 2.56k]
  ------------------
  930|  81.4k|                        {
  931|  81.4k|                            key_buffer_.push_back(',');
  932|  81.4k|                        }
  933|   138k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   138k|                        key_buffer_.push_back('{');
  935|   138k|                        break;
  936|  13.4k|                    default:
  ------------------
  |  Branch (936:21): [True: 13.4k, False: 138k]
  ------------------
  937|  13.4k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  13.4k|                        destination_->begin_object(length, tag, context, ec);
  939|  13.4k|                        break;
  940|   151k|                }
  941|   151k|            }
  942|   274k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   274k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|   274k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|   241k|        {
  947|   241k|            switch (level_stack_.back().target_kind())
  948|   241k|            {
  949|   233k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 233k, False: 8.06k]
  ------------------
  950|   233k|                    key_buffer_.push_back('}');
  951|   233k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   233k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 233k]
  |  |  ------------------
  |  |   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|   233k|                    level_stack_.pop_back();
  953|       |                    
  954|   233k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 6.85k, False: 226k]
  ------------------
  955|  6.85k|                    {
  956|  6.85k|                        destination_->key(key_buffer_,context, ec);
  957|  6.85k|                        key_buffer_.clear();
  958|  6.85k|                    }
  959|   226k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 97.8k, False: 128k]
  ------------------
  960|  97.8k|                    {
  961|  97.8k|                        key_buffer_.push_back(':');
  962|  97.8k|                    }
  963|   233k|                    level_stack_.back().advance();
  964|   233k|                    break;
  965|  8.06k|                default:
  ------------------
  |  Branch (965:17): [True: 8.06k, False: 233k]
  ------------------
  966|  8.06k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  8.06k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.06k]
  |  |  ------------------
  |  |   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|  8.06k|                    level_stack_.pop_back();
  968|  8.06k|                    level_stack_.back().advance();
  969|  8.06k|                    destination_->end_object(context, ec);
  970|  8.06k|                    break;
  971|   241k|            }
  972|   241k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   241k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|   241k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|   147k|        {
 1476|   147k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 38.5k, False: 109k]
  |  Branch (1476:49): [True: 107k, False: 1.67k]
  ------------------
 1477|   146k|            {
 1478|   146k|                key_.clear(); 
 1479|   146k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   146k|            }
 1481|       |
 1482|   147k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 38.5k, False: 109k]
  ------------------
 1483|  38.5k|            {
 1484|  38.5k|                switch (level_stack_.back().target_kind())
 1485|  38.5k|                {
 1486|  37.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 37.3k, False: 1.21k]
  ------------------
 1487|  37.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 32.4k, False: 4.90k]
  ------------------
 1488|  32.4k|                        {
 1489|  32.4k|                            key_buffer_.push_back(',');
 1490|  32.4k|                        }
 1491|  37.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|  37.3k|                        key_buffer_.push_back(':');
 1493|  37.3k|                        break;
 1494|  1.21k|                    default:
  ------------------
  |  Branch (1494:21): [True: 1.21k, False: 37.3k]
  ------------------
 1495|  1.21k|                        destination_->key(key_, context, ec);
 1496|  1.21k|                        break;
 1497|  38.5k|                }
 1498|  38.5k|            }
 1499|   109k|            else
 1500|   109k|            {
 1501|   109k|                switch (level_stack_.back().target_kind())
 1502|   109k|                {
 1503|   107k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 107k, False: 1.67k]
  ------------------
 1504|   107k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 73.6k, False: 33.8k]
  |  Branch (1504:65): [True: 72.7k, False: 941]
  ------------------
 1505|  72.7k|                        {
 1506|  72.7k|                            key_buffer_.push_back(',');
 1507|  72.7k|                        }
 1508|   107k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   107k|                        break;
 1510|  1.67k|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.67k, False: 107k]
  ------------------
 1511|  1.67k|                        destination_->null_value(tag, context, ec);
 1512|  1.67k|                        break;
 1513|   109k|                }
 1514|   109k|            }
 1515|       |
 1516|   147k|            level_stack_.back().advance();
 1517|   147k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   147k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|   147k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  11.7M|        {
 1423|  11.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 3.38M, False: 8.39M]
  |  Branch (1423:49): [True: 8.35M, False: 38.3k]
  ------------------
 1424|  11.7M|            {
 1425|  11.7M|                key_.clear(); 
 1426|  11.7M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 8.38M, False: 3.36M]
  ------------------
 1427|  8.38M|                {
 1428|  8.38M|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  8.38M|                }
 1430|  3.36M|                else
 1431|  3.36M|                {
 1432|  3.36M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  3.36M|                }
 1434|  11.7M|            }
 1435|       |
 1436|  11.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 3.38M, False: 8.39M]
  ------------------
 1437|  3.38M|            {
 1438|  3.38M|                switch (level_stack_.back().target_kind())
 1439|  3.38M|                {
 1440|  3.36M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 3.36M, False: 28.3k]
  ------------------
 1441|  3.36M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 3.35M, False: 9.34k]
  ------------------
 1442|  3.35M|                        {
 1443|  3.35M|                            key_buffer_.push_back(',');
 1444|  3.35M|                        }
 1445|  3.36M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|  3.36M|                        key_buffer_.push_back(':');
 1447|  3.36M|                        break;
 1448|  28.3k|                    default:
  ------------------
  |  Branch (1448:21): [True: 28.3k, False: 3.36M]
  ------------------
 1449|  28.3k|                        destination_->key(key_, context, ec);
 1450|  28.3k|                        break;
 1451|  3.38M|                }
 1452|  3.38M|            }
 1453|  8.39M|            else
 1454|  8.39M|            {
 1455|  8.39M|                switch (level_stack_.back().target_kind())
 1456|  8.39M|                {
 1457|  8.35M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 8.35M, False: 38.3k]
  ------------------
 1458|  8.35M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 4.96M, False: 3.39M]
  |  Branch (1458:65): [True: 4.95M, False: 5.39k]
  ------------------
 1459|  4.95M|                        {
 1460|  4.95M|                            key_buffer_.push_back(',');
 1461|  4.95M|                        }
 1462|  8.35M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  8.35M|                        break;
 1464|  38.3k|                    default:
  ------------------
  |  Branch (1464:21): [True: 38.3k, False: 8.35M]
  ------------------
 1465|  38.3k|                        destination_->bool_value(value, tag, context, ec);
 1466|  38.3k|                        break;
 1467|  8.39M|                }
 1468|  8.39M|            }
 1469|       |
 1470|  11.7M|            level_stack_.back().advance();
 1471|  11.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  11.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  4.70M|        {
 1073|  4.70M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 1.25M, False: 3.45M]
  ------------------
 1074|  1.25M|            {
 1075|  1.25M|                switch (level_stack_.back().target_kind())
 1076|  1.25M|                {
 1077|  1.25M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 1.25M, False: 5.20k]
  ------------------
 1078|  1.25M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 1.24M, False: 3.45k]
  ------------------
 1079|  1.24M|                        {
 1080|  1.24M|                            key_buffer_.push_back(',');
 1081|  1.24M|                        }
 1082|  1.25M|                        key_buffer_.push_back('\"');
 1083|  1.25M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  1.25M|                        key_buffer_.push_back('\"');
 1085|  1.25M|                        key_buffer_.push_back(':');
 1086|  1.25M|                        break;
 1087|  5.20k|                    default:
  ------------------
  |  Branch (1087:21): [True: 5.20k, False: 1.25M]
  ------------------
 1088|  5.20k|                        destination_->key(value, context, ec);
 1089|  5.20k|                        break;
 1090|  1.25M|                }
 1091|  1.25M|            }
 1092|  3.45M|            else
 1093|  3.45M|            {
 1094|  3.45M|                switch (level_stack_.back().target_kind())
 1095|  3.45M|                {
 1096|  3.43M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 3.43M, False: 13.7k]
  ------------------
 1097|  3.43M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 2.18M, False: 1.25M]
  |  Branch (1097:65): [True: 2.18M, False: 1.57k]
  ------------------
 1098|  2.18M|                        {
 1099|  2.18M|                            key_buffer_.push_back(',');
 1100|  2.18M|                        }
 1101|  3.43M|                        key_buffer_.push_back('\"');
 1102|  3.43M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|  3.43M|                        key_buffer_.push_back('\"');
 1104|  3.43M|                        break;
 1105|  13.7k|                    default:
  ------------------
  |  Branch (1105:21): [True: 13.7k, False: 3.43M]
  ------------------
 1106|  13.7k|                        destination_->string_value(value, tag, context, ec);
 1107|  13.7k|                        break;
 1108|  3.45M|                }
 1109|  3.45M|            }
 1110|       |
 1111|  4.70M|            level_stack_.back().advance();
 1112|  4.70M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  4.70M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  17.3k|        {
 1120|  17.3k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 7.18k, False: 10.1k]
  |  Branch (1120:49): [True: 9.19k, False: 998]
  ------------------
 1121|  16.3k|            {
 1122|  16.3k|                key_.clear();
 1123|  16.3k|                switch (tag)
 1124|  16.3k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 16.3k]
  ------------------
 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: 16.3k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  16.3k|                    default:
  ------------------
  |  Branch (1131:21): [True: 16.3k, False: 0]
  ------------------
 1132|  16.3k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  16.3k|                        break;
 1134|  16.3k|                }
 1135|  16.3k|            }
 1136|       |
 1137|  17.3k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 7.18k, False: 10.1k]
  ------------------
 1138|  7.18k|            {
 1139|  7.18k|                switch (level_stack_.back().target_kind())
 1140|  7.18k|                {
 1141|  6.23k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 6.23k, False: 946]
  ------------------
 1142|  6.23k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 4.64k, False: 1.59k]
  ------------------
 1143|  4.64k|                        {
 1144|  4.64k|                            key_buffer_.push_back(',');
 1145|  4.64k|                        }
 1146|  6.23k|                        key_buffer_.push_back('\"');
 1147|  6.23k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  6.23k|                        key_buffer_.push_back('\"');
 1149|  6.23k|                        key_buffer_.push_back(':');
 1150|  6.23k|                        break;
 1151|    946|                    default:
  ------------------
  |  Branch (1151:21): [True: 946, False: 6.23k]
  ------------------
 1152|    946|                        destination_->key(key_, context, ec);
 1153|    946|                        break;
 1154|  7.18k|                }
 1155|  7.18k|            }
 1156|  10.1k|            else
 1157|  10.1k|            {
 1158|  10.1k|                switch (level_stack_.back().target_kind())
 1159|  10.1k|                {
 1160|  9.19k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 9.19k, False: 998]
  ------------------
 1161|  9.19k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 3.44k, False: 5.75k]
  |  Branch (1161:65): [True: 2.90k, False: 537]
  ------------------
 1162|  2.90k|                        {
 1163|  2.90k|                            key_buffer_.push_back(',');
 1164|  2.90k|                        }
 1165|  9.19k|                        key_buffer_.push_back('\"');
 1166|  9.19k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  9.19k|                        key_buffer_.push_back('\"');
 1168|  9.19k|                        break;
 1169|    998|                    default:
  ------------------
  |  Branch (1169:21): [True: 998, False: 9.19k]
  ------------------
 1170|    998|                        destination_->byte_string_value(value, tag, context, ec);
 1171|    998|                        break;
 1172|  10.1k|                }
 1173|  10.1k|            }
 1174|       |
 1175|  17.3k|            level_stack_.back().advance();
 1176|  17.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  17.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  17.3k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.53M|        {
 1184|  1.53M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 289k, False: 1.24M]
  |  Branch (1184:49): [True: 995k, False: 250k]
  ------------------
 1185|  1.28M|            {
 1186|  1.28M|                key_.clear();
 1187|  1.28M|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|  1.28M|            }
 1189|       |
 1190|  1.53M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 289k, False: 1.24M]
  ------------------
 1191|   289k|            {
 1192|   289k|                switch (level_stack_.back().target_kind())
 1193|   289k|                {
 1194|   286k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 286k, False: 2.92k]
  ------------------
 1195|   286k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 275k, False: 11.5k]
  ------------------
 1196|   275k|                        {
 1197|   275k|                            key_buffer_.push_back(',');
 1198|   275k|                        }
 1199|   286k|                        key_buffer_.push_back('\"');
 1200|   286k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|   286k|                        key_buffer_.push_back('\"');
 1202|   286k|                        key_buffer_.push_back(':');
 1203|   286k|                        break;
 1204|  2.92k|                    default:
  ------------------
  |  Branch (1204:21): [True: 2.92k, False: 286k]
  ------------------
 1205|  2.92k|                        destination_->key(key_, context, ec);
 1206|  2.92k|                        break;
 1207|   289k|                }
 1208|   289k|            }
 1209|  1.24M|            else
 1210|  1.24M|            {
 1211|  1.24M|                switch (level_stack_.back().target_kind())
 1212|  1.24M|                {
 1213|   995k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 995k, False: 250k]
  ------------------
 1214|   995k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 719k, False: 276k]
  |  Branch (1214:65): [True: 717k, False: 1.82k]
  ------------------
 1215|   717k|                        {
 1216|   717k|                            key_buffer_.push_back(',');
 1217|   717k|                        }
 1218|   995k|                        key_buffer_.push_back('\"');
 1219|   995k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   995k|                        key_buffer_.push_back('\"');
 1221|   995k|                        break;
 1222|   250k|                    default:
  ------------------
  |  Branch (1222:21): [True: 250k, False: 995k]
  ------------------
 1223|   250k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   250k|                        break;
 1225|  1.24M|                }
 1226|  1.24M|            }
 1227|       |
 1228|  1.53M|            level_stack_.back().advance();
 1229|  1.53M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.53M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.53M|        }
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|   256k|    {
  295|   256k|        visit_begin_array(length, tag, context, ec);
  296|   256k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   256k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|   256k|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  8.34M|    {
  364|  8.34M|        visit_uint64(value, tag, context, ec);
  365|  8.34M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  8.34M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|   227k|    {
  301|   227k|        visit_end_array(context, ec);
  302|   227k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   227k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   227k|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  4.27M|    {
  373|  4.27M|        visit_int64(value, tag, context, ec);
  374|  4.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  4.27M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   119k|    {
  391|   119k|        visit_double(value, tag, context, ec);
  392|   119k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   119k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   119k|    }
_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|   274k|    {
  277|   274k|        visit_begin_object(length, tag, context, ec);
  278|   274k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   274k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|   274k|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  4.70M|    {
  333|  4.70M|        visit_string(value, tag, context, ec);
  334|  4.70M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  4.70M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|   147k|    {
  315|   147k|        visit_null(tag, context, ec);
  316|   147k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   147k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|   147k|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  11.7M|    {
  324|  11.7M|        visit_bool(value, tag, context, ec);
  325|  11.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  11.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  17.3k|    {
  344|  17.3k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  17.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  17.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  17.3k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.53M|    {
  355|  1.53M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.53M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.53M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.53M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|   241k|    {
  283|   241k|        visit_end_object(context, ec);
  284|   241k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   241k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|   241k|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|    895|    {
   58|    895|        visit_flush();
   59|    895|    }

_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|  15.6k|        {
  561|  15.6k|            visit_begin_array(tag, context, ec);
  562|  15.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  15.6k|        }
_ZN8jsoncons26basic_default_json_visitorIcE15visit_end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  833|  5.39k|        {
  834|  5.39k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.39k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  835|  5.39k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  858|   717k|        {
  859|   717k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   717k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  860|   717k|        }
_ZN8jsoncons26basic_default_json_visitorIcE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  863|  35.9k|        {
  864|  35.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  35.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  865|  35.9k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  873|  3.07k|        {
  874|  3.07k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.07k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  875|  3.07k|        }
_ZN8jsoncons26basic_default_json_visitorIcE11visit_flushEv:
  814|    895|        {
  815|    895|        }
_ZN8jsoncons26basic_default_json_visitorIcE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  818|  13.4k|        {
  819|  13.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  820|  13.4k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  13.4k|        {
  545|  13.4k|            visit_begin_object(tag, context, ec);
  546|  13.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  13.4k|        }
_ZN8jsoncons26basic_default_json_visitorIcE16visit_end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  823|  8.06k|        {
  824|  8.06k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.06k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  825|  8.06k|        }
_ZN8jsoncons26basic_default_json_visitorIcE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  828|  15.6k|        {
  829|  15.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  830|  15.6k|        }
_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.67k|        {
  844|  1.67k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.67k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  845|  1.67k|        }
_ZN8jsoncons26basic_default_json_visitorIcE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  878|  38.3k|        {
  879|  38.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  880|  38.3k|        }
_ZN8jsoncons26basic_default_json_visitorIcE12visit_stringERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  848|  13.7k|        {
  849|  13.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  850|  13.7k|        }
_ZN8jsoncons26basic_default_json_visitorIcE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  853|   251k|        {
  854|   251k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   251k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  855|   251k|        }
_ZN8jsoncons18basic_json_visitorIcE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNSt3__110error_codeE:
  595|   250k|        {
  596|   250k|            visit_byte_string(value, semantic_tag::none, context, ec);
  597|   250k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   250k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  598|   250k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  15.6k|        {
  346|  15.6k|            visit_begin_array(length, tag, context, ec);
  347|  15.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  15.6k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|   717k|        {
  415|   717k|            visit_uint64(value, tag, context, ec);
  416|   717k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   717k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|   717k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  5.39k|        {
  352|  5.39k|            visit_end_array(context, ec);
  353|  5.39k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.39k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  5.39k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  35.9k|        {
  424|  35.9k|            visit_int64(value, tag, context, ec);
  425|  35.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  35.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  35.9k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  3.07k|        {
  442|  3.07k|            visit_double(value, tag, context, ec);
  443|  3.07k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.07k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  3.07k|        }
_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|    895|        {
  109|    895|            visit_flush();
  110|    895|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  13.4k|        {
  328|  13.4k|            visit_begin_object(length, tag, context, ec);
  329|  13.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  13.4k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  8.06k|        {
  334|  8.06k|            visit_end_object(context, ec);
  335|  8.06k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.06k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  8.06k|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  1.67k|        {
  366|  1.67k|            visit_null(tag, context, ec);
  367|  1.67k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.67k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  1.67k|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  38.3k|        {
  375|  38.3k|            visit_bool(value, tag, context, ec);
  376|  38.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  38.3k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  13.7k|        {
  384|  13.7k|            visit_string(value, tag, context, ec);
  385|  13.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  13.7k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|    998|        {
  395|    998|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|    998|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    998|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|    998|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   250k|        {
  406|   250k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   250k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   250k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   250k|        }

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

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

_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|  31.4M|    {
  277|  31.4M|        return stream_ptr_->bad();  
  278|  31.4M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  33.8M|    {
  378|  33.8M|        std::size_t len = 0;
  379|  33.8M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 33.8M, False: 9.58k]
  ------------------
  380|  33.8M|        {
  381|  33.8M|            len = (std::min)(remaining_, length);
  382|  33.8M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  33.8M|            data_end_ += len;
  384|  33.8M|            remaining_ -= len;
  385|  33.8M|            position_ += len;
  386|  33.8M|        }
  387|  33.8M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 33.8M, False: 11.4k]
  ------------------
  388|  33.8M|        {
  389|  33.8M|            return len;
  390|  33.8M|        }
  391|  11.4k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 11.4k, False: 0]
  ------------------
  392|  11.4k|        {
  393|  11.4k|            data_end_ = chunk_;
  394|  11.4k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  11.4k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 8.10k, False: 3.33k]
  ------------------
  396|  8.10k|            {
  397|  8.10k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  8.10k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  8.10k|                data_end_ += len2;
  400|  8.10k|                remaining_ -= len2;
  401|  8.10k|                position_ += len2;
  402|  8.10k|                len += len2;
  403|  8.10k|            }
  404|  11.4k|            return len;
  405|  11.4k|        }
  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|  33.8M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  12.1k|    {
  443|  12.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 3.40k, False: 8.71k]
  ------------------
  444|  3.40k|        {
  445|  3.40k|            return 0;
  446|  3.40k|        }
  447|       |
  448|  8.71k|        JSONCONS_TRY
  ------------------
  |  |   37|  8.71k|    #define JSONCONS_TRY try
  ------------------
  449|  8.71k|        {
  450|  8.71k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  8.71k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  8.71k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.72k, False: 3.99k]
  ------------------
  454|  4.72k|            {
  455|  4.72k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.72k|            }
  457|  8.71k|            return length;
  458|  8.71k|        }
  459|  8.71k|        JSONCONS_CATCH(const std::exception&)     
  460|  8.71k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  8.71k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  6.21M|    {
  353|  6.21M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  6.21M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.68M, False: 1.53M]
  |  |  ------------------
  ------------------
  354|  4.68M|        {
  355|  4.68M|            return span<const value_type>{};
  356|  4.68M|        }
  357|  1.53M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 382, False: 1.53M]
  |  Branch (357:32): [True: 203, False: 179]
  ------------------
  358|    203|        {
  359|    203|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    203|            data_end_ = chunk_;
  361|    203|        }
  362|  1.53M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 1.02k, False: 1.53M]
  ------------------
  363|  1.02k|        {
  364|  1.02k|            buffer.clear();
  365|  1.02k|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|  1.02k|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|  1.02k|        }
  368|       |
  369|  1.53M|        const value_type* data = data_end_;
  370|  1.53M|        data_end_ += length;
  371|  1.53M|        remaining_ -= length;
  372|  1.53M|        position_ += length;
  373|  1.53M|        return span<const value_type>(data, length);
  374|  1.53M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|  1.02k|    {
  747|  1.02k|        std::size_t unread = length;
  748|       |
  749|  3.40k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.86k, False: 541]
  |  Branch (749:30): [True: 2.37k, False: 485]
  ------------------
  750|  2.37k|        {
  751|  2.37k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 471, False: 1.90k]
  |  Branch (751:44): [True: 469, False: 2]
  ------------------
  752|    469|            {
  753|    469|                std::size_t n = source.chunk_size();
  754|    469|                std::size_t offset = buffer.size();
  755|    469|                buffer.resize(offset+n);
  756|    469|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    469|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    469|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 66, False: 403]
  |  |  ------------------
  ------------------
  758|     66|                {
  759|     66|                    buffer.resize(offset+actual);
  760|     66|                }
  761|    469|                unread -= actual;
  762|    469|            }
  763|  1.90k|            else
  764|  1.90k|            {
  765|  1.90k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.90k|                std::size_t offset = buffer.size();
  767|  1.90k|                buffer.resize(offset+n);
  768|  1.90k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.90k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.90k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 230, False: 1.67k]
  |  |  ------------------
  ------------------
  770|    230|                {
  771|    230|                    buffer.resize(offset + actual);
  772|    230|                }
  773|  1.90k|                unread -= actual;
  774|  1.90k|            }
  775|  2.37k|        }
  776|  1.02k|        return length - unread;
  777|  1.02k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.86k|    {
  272|  2.86k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 956, False: 1.90k]
  |  Branch (272:35): [True: 485, False: 471]
  ------------------
  273|  2.86k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.37k|    {
  347|  2.37k|        return remaining_;
  348|  2.37k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.84k|    {
  262|  2.84k|        return chunk_size_;
  263|  2.84k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    469|    {
  436|    469|        auto len = fill_buffer(chunk, chunk_size);
  437|    469|        position_ += len;
  438|    469|        return len;
  439|    469|    }

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

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   104k|    {
  183|   104k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 104k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   104k|        T val;
  188|   104k|        std::memcpy(&val,first,sizeof(T));
  189|   104k|        return byte_swap(val);
  190|   104k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   104k|    {
   65|   104k|        uint32_t x;
   66|   104k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   104k|        uint32_t y = byte_swap(x);
   68|   104k|        T val2;
   69|   104k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   104k|        return val2;
   71|   104k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   207k|    {
   40|   207k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   207k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   207k|#  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|   207k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  15.6k|    {
  183|  15.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 15.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  15.6k|        T val;
  188|  15.6k|        std::memcpy(&val,first,sizeof(T));
  189|  15.6k|        return byte_swap(val);
  190|  15.6k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  15.6k|    {
   77|  15.6k|        uint64_t x;
   78|  15.6k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  15.6k|        uint64_t y = byte_swap(x);
   80|  15.6k|        T val2;
   81|  15.6k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  15.6k|        return val2;
   83|  15.6k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  27.0k|    {
   52|  27.0k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  27.0k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  27.0k|#  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|  27.0k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   219k|    {
  183|   219k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 219k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   219k|        T val;
  188|   219k|        std::memcpy(&val,first,sizeof(T));
  189|   219k|        return byte_swap(val);
  190|   219k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   219k|    {
   29|   219k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   219k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   219k|#      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|   219k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   103k|    {
  183|   103k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 103k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   103k|        T val;
  188|   103k|        std::memcpy(&val,first,sizeof(T));
  189|   103k|        return byte_swap(val);
  190|   103k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  11.3k|    {
  183|  11.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 11.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  11.3k|        T val;
  188|  11.3k|        std::memcpy(&val,first,sizeof(T));
  189|  11.3k|        return byte_swap(val);
  190|  11.3k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.79M|    {
  183|  1.79M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.79M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.79M|        T val;
  188|  1.79M|        std::memcpy(&val,first,sizeof(T));
  189|  1.79M|        return byte_swap(val);
  190|  1.79M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.79M|    {
   22|  1.79M|        return val;
   23|  1.79M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.55k|    {
  183|  2.55k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.55k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.55k|        T val;
  188|  2.55k|        std::memcpy(&val,first,sizeof(T));
  189|  2.55k|        return byte_swap(val);
  190|  2.55k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  2.55k|    {
   29|  2.55k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  2.55k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  2.55k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  2.55k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  4.80k|    {
  183|  4.80k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 4.80k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  4.80k|        T val;
  188|  4.80k|        std::memcpy(&val,first,sizeof(T));
  189|  4.80k|        return byte_swap(val);
  190|  4.80k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  4.80k|    {
   40|  4.80k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  4.80k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  4.80k|#  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.80k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  39.3k|    {
  183|  39.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 39.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  39.3k|        T val;
  188|  39.3k|        std::memcpy(&val,first,sizeof(T));
  189|  39.3k|        return byte_swap(val);
  190|  39.3k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  39.3k|    {
   52|  39.3k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  39.3k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  39.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|  39.3k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  57.7k|    {
  183|  57.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 57.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  57.7k|        T val;
  188|  57.7k|        std::memcpy(&val,first,sizeof(T));
  189|  57.7k|        return byte_swap(val);
  190|  57.7k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  57.7k|    {
   22|  57.7k|        return val;
   23|  57.7k|    }

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

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

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

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  4.66M|    {
 1148|  4.66M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  4.66M|        const uint8_t* end = it + length;
 1150|       |
 1151|  4.66M|        unicode_errc  result{};
 1152|  4.68M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 21.7k, False: 4.66M]
  ------------------
 1153|  21.7k|        {
 1154|  21.7k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 13.2k, False: 8.56k]
  ------------------
 1155|  13.2k|            {
 1156|  75.6k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  26.4k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 12.0k, False: 1.15k]
  |  |  |  Branch (281:34): [True: 11.5k, False: 486]
  |  |  |  Branch (281:36): [True: 11.2k, False: 386]
  |  |  |  Branch (281:38): [True: 10.6k, False: 602]
  |  |  |  Branch (281:40): [True: 10.3k, False: 300]
  |  |  |  Branch (281:42): [True: 10.0k, False: 257]
  |  |  |  Branch (281:44): [True: 9.83k, False: 206]
  |  |  |  Branch (281:46): [True: 9.62k, False: 210]
  |  |  ------------------
  ------------------
 1157|  9.62k|                continue;
 1158|  75.6k|            }
 1159|  12.1k|    non_ascii:
 1160|  12.1k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  12.1k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 41, False: 12.1k]
  ------------------
 1162|     41|            {
 1163|     41|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     41|            }
 1165|  12.1k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 173, False: 11.9k]
  ------------------
 1166|    173|            {
 1167|    173|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    173|            }
 1169|  11.9k|            it += len;
 1170|  11.9k|        }
 1171|  4.66M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  4.66M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  12.1k|    {
  306|  12.1k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  12.1k|        const uint8_t* end = it+length;
  308|       |
  309|  12.1k|        uint8_t byte;
  310|  12.1k|        switch (length) {
  311|     18|        default:
  ------------------
  |  Branch (311:9): [True: 18, False: 12.1k]
  ------------------
  312|     18|            return unicode_errc::over_long_utf8_sequence;
  313|    618|        case 4:
  ------------------
  |  Branch (313:9): [True: 618, False: 11.5k]
  ------------------
  314|    618|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 8, False: 610]
  ------------------
  315|      8|                return unicode_errc::bad_continuation_byte;
  316|    610|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    610|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.08k|        case 3:
  ------------------
  |  Branch (317:9): [True: 475, False: 11.6k]
  ------------------
  318|  1.08k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 9, False: 1.07k]
  ------------------
  319|      9|                return unicode_errc::bad_continuation_byte;
  320|  1.07k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.07k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.02k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.95k, False: 9.17k]
  ------------------
  322|  4.02k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 58, False: 3.97k]
  ------------------
  323|     58|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.97k|            switch (*it) 
  326|  3.97k|            {
  327|       |                // no fall-through in this inner switch
  328|    206|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 206, False: 3.76k]
  |  Branch (328:32): [True: 7, False: 199]
  ------------------
  329|    259|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 259, False: 3.71k]
  |  Branch (329:32): [True: 2, False: 257]
  ------------------
  330|    326|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 326, False: 3.64k]
  |  Branch (330:32): [True: 6, False: 320]
  ------------------
  331|    320|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 265, False: 3.70k]
  |  Branch (331:32): [True: 5, False: 260]
  ------------------
  332|  2.91k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.91k, False: 1.05k]
  |  Branch (332:32): [True: 0, False: 2.91k]
  ------------------
  333|  3.97k|            }
  334|       |
  335|  3.95k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.95k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  12.0k|        case 1:
  ------------------
  |  Branch (336:9): [True: 8.06k, False: 4.06k]
  ------------------
  337|  12.0k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.00k, False: 8.00k]
  |  Branch (337:32): [True: 59, False: 3.94k]
  ------------------
  338|     59|                return unicode_errc::source_illegal;
  339|  11.9k|            break;
  340|  12.1k|        }
  341|  11.9k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 11.9k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  11.9k|        return unicode_errc();
  345|  11.9k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  7.63M|{
   43|  7.63M|    using char_type = typename Result::value_type;
   44|       |
   45|  7.63M|    char_type buf[255];
   46|  7.63M|    char_type *p = buf;
   47|  7.63M|    const char_type* last = buf+255;
   48|       |
   49|  7.63M|    bool is_negative = value < 0;
   50|       |
   51|  7.63M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 7.63M]
  ------------------
   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.63M|    else
   60|  7.63M|    {
   61|       |
   62|  7.63M|        do
   63|  14.1M|        {
   64|  14.1M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  14.1M|        }
   66|  14.1M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 6.48M, False: 7.63M]
  |  Branch (66:33): [True: 6.48M, False: 0]
  ------------------
   67|  7.63M|    }
   68|  7.63M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  7.63M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 7.63M]
  |  |  ------------------
  |  |   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.63M|    std::size_t count = (p - buf);
   71|  7.63M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 7.63M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  21.7M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 14.1M, False: 7.63M]
  ------------------
   77|  14.1M|    {
   78|  14.1M|        result.push_back(*p);
   79|  14.1M|    }
   80|       |
   81|  7.63M|    return count;
   82|  7.63M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  4.23M|{
   43|  4.23M|    using char_type = typename Result::value_type;
   44|       |
   45|  4.23M|    char_type buf[255];
   46|  4.23M|    char_type *p = buf;
   47|  4.23M|    const char_type* last = buf+255;
   48|       |
   49|  4.23M|    bool is_negative = value < 0;
   50|       |
   51|  4.23M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 4.22M, False: 7.04k]
  ------------------
   52|  4.22M|    {
   53|  4.22M|        do
   54|  4.65M|        {
   55|  4.65M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.65M|        }
   57|  4.65M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 430k, False: 4.22M]
  |  Branch (57:33): [True: 430k, False: 0]
  ------------------
   58|  4.22M|    }
   59|  7.04k|    else
   60|  7.04k|    {
   61|       |
   62|  7.04k|        do
   63|  47.9k|        {
   64|  47.9k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  47.9k|        }
   66|  47.9k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 40.9k, False: 7.04k]
  |  Branch (66:33): [True: 40.9k, False: 0]
  ------------------
   67|  7.04k|    }
   68|  4.23M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  4.23M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.23M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  4.23M|    std::size_t count = (p - buf);
   71|  4.23M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 4.22M, False: 7.04k]
  ------------------
   72|  4.22M|    {
   73|  4.22M|        result.push_back('-');
   74|  4.22M|        ++count;
   75|  4.22M|    }
   76|  8.94M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.70M, False: 4.23M]
  ------------------
   77|  4.70M|    {
   78|  4.70M|        result.push_back(*p);
   79|  4.70M|    }
   80|       |
   81|  4.23M|    return count;
   82|  4.23M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   116k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   116k|    {
  489|   116k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   116k|        struct lconv *lc = localeconv();
  491|   116k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 116k, False: 0]
  |  Branch (491:30): [True: 116k, False: 0]
  ------------------
  492|   116k|        {
  493|   116k|            decimal_point_ = lc->decimal_point[0];
  494|   116k|        }
  495|   116k|#endif
  496|   116k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   116k|    {
  504|   116k|        std::size_t count = 0;
  505|       |
  506|   116k|        char number_buffer[200];
  507|   116k|        int length = 0;
  508|       |
  509|   116k|        switch (float_format_)
  510|   116k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 116k]
  ------------------
  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: 116k]
  ------------------
  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|   116k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 116k, False: 0]
  ------------------
  552|   116k|            {
  553|   116k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 116k]
  ------------------
  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|   116k|                else
  563|   116k|                {
  564|   116k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 116k]
  ------------------
  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|   116k|                }             
  569|   116k|                break;
  570|   116k|            }
  571|   116k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 116k]
  ------------------
  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|   116k|        }
  575|   116k|        return count;
  576|   116k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  5.37k|{
  244|  5.37k|    const char *sbeg = buffer;
  245|  5.37k|    const char *send = sbeg + length;
  246|       |
  247|  5.37k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 5.37k, False: 0]
  ------------------
  248|  5.37k|    {
  249|  5.37k|        bool needs_dot = true;
  250|  98.3k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 92.9k, False: 5.37k]
  ------------------
  251|  92.9k|        {
  252|  92.9k|            switch (*q)
  253|  92.9k|            {
  254|  4.78k|            case '-':
  ------------------
  |  Branch (254:13): [True: 4.78k, False: 88.1k]
  ------------------
  255|  13.1k|            case '0':
  ------------------
  |  Branch (255:13): [True: 8.40k, False: 84.5k]
  ------------------
  256|  23.0k|            case '1':
  ------------------
  |  Branch (256:13): [True: 9.84k, False: 83.1k]
  ------------------
  257|  31.9k|            case '2':
  ------------------
  |  Branch (257:13): [True: 8.89k, False: 84.0k]
  ------------------
  258|  39.6k|            case '3':
  ------------------
  |  Branch (258:13): [True: 7.73k, False: 85.2k]
  ------------------
  259|  45.8k|            case '4':
  ------------------
  |  Branch (259:13): [True: 6.21k, False: 86.7k]
  ------------------
  260|  53.2k|            case '5':
  ------------------
  |  Branch (260:13): [True: 7.36k, False: 85.5k]
  ------------------
  261|  63.2k|            case '6':
  ------------------
  |  Branch (261:13): [True: 10.0k, False: 82.9k]
  ------------------
  262|  69.2k|            case '7':
  ------------------
  |  Branch (262:13): [True: 5.97k, False: 86.9k]
  ------------------
  263|  75.9k|            case '8':
  ------------------
  |  Branch (263:13): [True: 6.73k, False: 86.2k]
  ------------------
  264|  81.9k|            case '9':
  ------------------
  |  Branch (264:13): [True: 5.99k, False: 86.9k]
  ------------------
  265|  83.0k|            case '+':
  ------------------
  |  Branch (265:13): [True: 1.08k, False: 91.8k]
  ------------------
  266|  83.0k|                result.push_back(*q);
  267|  83.0k|                break;
  268|  2.61k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.61k, False: 90.3k]
  ------------------
  269|  2.61k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 92.9k]
  ------------------
  270|  2.61k|                result.push_back('e');
  271|  2.61k|                needs_dot = false;
  272|  2.61k|                break;
  273|  7.26k|            default:
  ------------------
  |  Branch (273:13): [True: 7.26k, False: 85.6k]
  ------------------
  274|  7.26k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 4.16k, False: 3.10k]
  ------------------
  275|  4.16k|                {
  276|  4.16k|                    needs_dot = false;
  277|  4.16k|                    result.push_back('.');
  278|  4.16k|                }
  279|  7.26k|                break;
  280|  92.9k|            }
  281|  92.9k|        }
  282|  5.37k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.21k, False: 4.16k]
  ------------------
  283|  1.21k|        {
  284|  1.21k|            result.push_back('.');
  285|  1.21k|            result.push_back('0');
  286|  1.21k|        }
  287|  5.37k|    }
  288|  5.37k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|   110k|{
  172|   110k|    int nb_digits = length;
  173|   110k|    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|   110k|    int kk = nb_digits + k;
  179|       |
  180|   110k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 44.2k, False: 66.2k]
  |  Branch (180:28): [True: 39.7k, False: 4.49k]
  ------------------
  181|  39.7k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|   313k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 274k, False: 39.7k]
  ------------------
  186|   274k|        {
  187|   274k|            result.push_back(buffer[i]);
  188|   274k|        }
  189|  67.2k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 27.5k, False: 39.7k]
  ------------------
  190|  27.5k|        {
  191|  27.5k|            result.push_back('0');
  192|  27.5k|        }
  193|  39.7k|        result.push_back('.');
  194|  39.7k|        result.push_back('0');
  195|  39.7k|    } 
  196|  70.7k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 44.7k, False: 25.9k]
  |  Branch (196:24): [True: 40.2k, False: 4.49k]
  ------------------
  197|  40.2k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   184k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 144k, False: 40.2k]
  ------------------
  200|   144k|        {
  201|   144k|            result.push_back(buffer[i]);
  202|   144k|        }
  203|  40.2k|        result.push_back('.');
  204|   483k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 442k, False: 40.2k]
  ------------------
  205|   442k|        {
  206|   442k|            result.push_back(buffer[i]);
  207|   442k|        }
  208|  40.2k|    } 
  209|  30.4k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 7.97k, False: 22.5k]
  |  Branch (209:30): [True: 3.48k, False: 4.49k]
  ------------------
  210|  3.48k|    {
  211|  3.48k|        offset = 2 - kk;
  212|       |
  213|  3.48k|        result.push_back('0');
  214|  3.48k|        result.push_back('.');
  215|  9.46k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 5.98k, False: 3.48k]
  ------------------
  216|  5.98k|            result.push_back('0');
  217|  55.1k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 51.6k, False: 3.48k]
  ------------------
  218|  51.6k|        {
  219|  51.6k|            result.push_back(buffer[i]);
  220|  51.6k|        }
  221|  3.48k|    } 
  222|  26.9k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 3.60k, False: 23.3k]
  ------------------
  223|  3.60k|    {
  224|  3.60k|        result.push_back(buffer[0]);
  225|  3.60k|        result.push_back('e');
  226|  3.60k|        fill_exponent(kk - 1, result);
  227|  3.60k|    } 
  228|  23.3k|    else
  229|  23.3k|    {
  230|  23.3k|        result.push_back(buffer[0]);
  231|  23.3k|        result.push_back('.');
  232|   339k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 315k, False: 23.3k]
  ------------------
  233|   315k|        {
  234|   315k|            result.push_back(buffer[i]);
  235|   315k|        }
  236|  23.3k|        result.push_back('e');
  237|  23.3k|        fill_exponent(kk - 1, result);
  238|  23.3k|    }
  239|   110k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  26.9k|{
  137|  26.9k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 22.5k, False: 4.49k]
  ------------------
  138|  22.5k|    {
  139|  22.5k|        result.push_back('-');
  140|  22.5k|        K = -K;
  141|  22.5k|    }
  142|  4.49k|    else
  143|  4.49k|    {
  144|  4.49k|        result.push_back('+'); // compatibility with sprintf
  145|  4.49k|    }
  146|       |
  147|  26.9k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.56k, False: 25.4k]
  ------------------
  148|  1.56k|    {
  149|  1.56k|        result.push_back('0'); // compatibility with sprintf
  150|  1.56k|        result.push_back((char)('0' + K));
  151|  1.56k|    }
  152|  25.4k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 11.9k, False: 13.4k]
  ------------------
  153|  11.9k|    {
  154|  11.9k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  11.9k|        result.push_back((char)('0' + K));
  156|  11.9k|    }
  157|  13.4k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 13.4k, False: 0]
  ------------------
  158|  13.4k|    {
  159|  13.4k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  13.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  13.4k|        result.push_back((char)('0' + K));
  162|  13.4k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  26.9k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   116k|{
  476|   116k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   116k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   116k|{
  367|   116k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 972, False: 115k]
  ------------------
  368|    972|    {
  369|    972|        result.push_back('0');
  370|    972|        result.push_back('.');
  371|    972|        result.push_back('0');
  372|    972|        return true;
  373|    972|    }
  374|       |
  375|   115k|    int length = 0;
  376|   115k|    int k;
  377|       |
  378|   115k|    char buffer[100];
  379|       |
  380|   115k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 90.4k, False: 25.3k]
  ------------------
  381|   115k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 110k, False: 5.37k]
  ------------------
  382|   110k|    {
  383|   110k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 87.1k, False: 23.2k]
  ------------------
  384|  87.1k|        {
  385|  87.1k|            result.push_back('-');
  386|  87.1k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|   110k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|   110k|        return true;
  391|   110k|    }
  392|  5.37k|    else
  393|  5.37k|    {
  394|  5.37k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  5.37k|    }
  396|   115k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  5.37k|{
  330|  5.37k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 5.37k]
  ------------------
  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.37k|    char buffer[100];
  339|  5.37k|    int precision = std::numeric_limits<double>::digits10;
  340|  5.37k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  5.37k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 5.37k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  5.37k|    double x{0};
  346|  5.37k|    auto res = decstr_to_double(buffer, length, x);
  347|  5.37k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 5.37k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  5.37k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 4.49k, False: 881]
  ------------------
  352|  4.49k|    {
  353|  4.49k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  4.49k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  4.49k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 4.49k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  4.49k|    }
  360|  5.37k|    dump_buffer(buffer, length, decimal_point, result);
  361|  5.37k|    return true;
  362|  5.37k|}

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

_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|   540k|        : mode(mode), length(length)
   47|   540k|    {
   48|   540k|    }
_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|  31.9M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 31.9M, False: 895]
  |  Branch (160:26): [True: 31.9M, False: 0]
  ------------------
  161|  31.9M|        {
  162|  31.9M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 31.9M, False: 0]
  ------------------
  163|  31.9M|            {
  164|  14.1M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 14.1M, False: 17.7M]
  ------------------
  165|  14.1M|                {
  166|  14.1M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 13.9M, False: 227k]
  ------------------
  167|  13.9M|                    {
  168|  13.9M|                        ++state_stack_.back().index;
  169|  13.9M|                        read_item(visitor, ec);
  170|  13.9M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 821, False: 13.9M]
  |  |  ------------------
  ------------------
  171|    821|                        {
  172|    821|                            return;
  173|    821|                        }
  174|  13.9M|                    }
  175|   227k|                    else
  176|   227k|                    {
  177|   227k|                        end_array(visitor, ec);
  178|   227k|                    }
  179|  14.1M|                    break;
  180|  14.1M|                }
  181|  14.1M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 9.02M, False: 22.9M]
  ------------------
  182|  9.02M|                {
  183|  9.02M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 8.78M, False: 241k]
  ------------------
  184|  8.78M|                    {
  185|  8.78M|                        ++state_stack_.back().index;
  186|  8.78M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  8.78M|                        read_item(visitor, ec);
  188|  8.78M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.78M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 692, False: 8.78M]
  |  |  ------------------
  ------------------
  189|    692|                        {
  190|    692|                            return;
  191|    692|                        }
  192|  8.78M|                    }
  193|   241k|                    else
  194|   241k|                    {
  195|   241k|                        end_object(visitor, ec);
  196|   241k|                    }
  197|  9.02M|                    break;
  198|  9.02M|                }
  199|  9.02M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 8.76M, False: 23.1M]
  ------------------
  200|  8.76M|                {
  201|  8.76M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  8.76M|                    read_item(visitor, ec);
  203|  8.76M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.76M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.86k, False: 8.76M]
  |  |  ------------------
  ------------------
  204|  1.86k|                    {
  205|  1.86k|                        return;
  206|  1.86k|                    }
  207|  8.76M|                    break;
  208|  8.76M|                }
  209|  8.76M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 4.73k, False: 31.9M]
  ------------------
  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: 462, False: 4.27k]
  |  |  ------------------
  ------------------
  214|    462|                    {
  215|    462|                        return;
  216|    462|                    }
  217|  4.27k|                    break;
  218|  4.73k|                }
  219|  4.27k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 895, False: 31.9M]
  ------------------
  220|    895|                {
  221|    895|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|    895|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 895]
  |  |  ------------------
  |  |   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|    895|                    state_stack_.clear();
  223|    895|                    more_ = false;
  224|    895|                    done_ = true;
  225|    895|                    visitor.flush();
  226|    895|                    break;
  227|    895|                }
  228|  31.9M|            }
  229|  31.9M|        }
  230|  4.73k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  31.4M|    {
  235|  31.4M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 31.4M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  31.4M|        uint8_t type;
  243|  31.4M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 2.91k, False: 31.4M]
  ------------------
  244|  2.91k|        {
  245|  2.91k|            ec = msgpack_errc::unexpected_eof;
  246|  2.91k|            more_ = false;
  247|  2.91k|            return;
  248|  2.91k|        }
  249|       |
  250|  31.4M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 13.2M, False: 18.2M]
  ------------------
  251|  13.2M|        {
  252|  13.2M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 8.07M, False: 5.18M]
  ------------------
  253|  8.07M|            {
  254|       |                // positive fixint
  255|  8.07M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  8.07M|                more_ = !cursor_mode_;
  257|  8.07M|            }
  258|  5.18M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 269k, False: 4.91M]
  ------------------
  259|   269k|            {
  260|   269k|                begin_object(visitor,type,ec); // fixmap
  261|   269k|            }
  262|  4.91M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 251k, False: 4.66M]
  ------------------
  263|   251k|            {
  264|   251k|                begin_array(visitor,type,ec); // fixarray
  265|   251k|            }
  266|  4.66M|            else 
  267|  4.66M|            {
  268|       |                // fixstr
  269|  4.66M|                const size_t len = type & 0x1f;
  270|       |
  271|  4.66M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  4.66M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 29, False: 4.66M]
  ------------------
  273|     29|                {
  274|     29|                    ec = msgpack_errc::unexpected_eof;
  275|     29|                    more_ = false;
  276|     29|                    return;
  277|     29|                }
  278|       |
  279|  4.66M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  4.66M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 166, False: 4.66M]
  ------------------
  281|    166|                {
  282|    166|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    166|                    more_ = false;
  284|    166|                    return;
  285|    166|                }
  286|  4.66M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  4.66M|                    semantic_tag::none, *this, ec);
  288|  4.66M|                more_ = !cursor_mode_;
  289|  4.66M|            }
  290|  13.2M|        }
  291|  18.2M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 4.04M, False: 14.1M]
  ------------------
  292|  4.04M|        {
  293|       |            // negative fixint
  294|  4.04M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  4.04M|            more_ = !cursor_mode_;
  296|  4.04M|        }
  297|  14.1M|        else
  298|  14.1M|        {
  299|  14.1M|            switch (type)
  300|  14.1M|            {
  301|   147k|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 147k, False: 14.0M]
  ------------------
  302|   147k|                {
  303|   147k|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|   147k|                    more_ = !cursor_mode_;
  305|   147k|                    break;
  306|      0|                }
  307|  8.39M|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 8.39M, False: 5.76M]
  ------------------
  308|  8.39M|                {
  309|  8.39M|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|  8.39M|                    more_ = !cursor_mode_;
  311|  8.39M|                    break;
  312|      0|                }
  313|  3.38M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 3.38M, False: 10.7M]
  ------------------
  314|  3.38M|                {
  315|  3.38M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  3.38M|                    more_ = !cursor_mode_;
  317|  3.38M|                    break;
  318|      0|                }
  319|   104k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 104k, False: 14.0M]
  ------------------
  320|   104k|                {
  321|   104k|                    uint8_t buf[sizeof(float)];
  322|   104k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 6, False: 104k]
  ------------------
  323|      6|                    {
  324|      6|                        ec = msgpack_errc::unexpected_eof;
  325|      6|                        more_ = false;
  326|      6|                        return;
  327|      6|                    }
  328|   104k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   104k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   104k|                    more_ = !cursor_mode_;
  331|   104k|                    break;
  332|   104k|                }
  333|       |
  334|  15.6k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 15.6k, False: 14.1M]
  ------------------
  335|  15.6k|                {
  336|  15.6k|                    uint8_t buf[sizeof(double)];
  337|  15.6k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 9, False: 15.6k]
  ------------------
  338|      9|                    {
  339|      9|                        ec = msgpack_errc::unexpected_eof;
  340|      9|                        more_ = false;
  341|      9|                        return;
  342|      9|                    }
  343|  15.6k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  15.6k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  15.6k|                    more_ = !cursor_mode_;
  346|  15.6k|                    break;
  347|  15.6k|                }
  348|       |
  349|  4.24k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 4.24k, False: 14.1M]
  ------------------
  350|  4.24k|                {
  351|  4.24k|                    uint8_t b;
  352|  4.24k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 1, False: 4.24k]
  ------------------
  353|      1|                    {
  354|      1|                        ec = msgpack_errc::unexpected_eof;
  355|      1|                        more_ = false;
  356|      1|                        return;
  357|      1|                    }
  358|  4.24k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  4.24k|                    more_ = !cursor_mode_;
  360|  4.24k|                    break;
  361|  4.24k|                }
  362|       |
  363|   205k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 205k, False: 13.9M]
  ------------------
  364|   205k|                {
  365|   205k|                    uint8_t buf[sizeof(uint16_t)];
  366|   205k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 3, False: 205k]
  ------------------
  367|      3|                    {
  368|      3|                        ec = msgpack_errc::unexpected_eof;
  369|      3|                        more_ = false;
  370|      3|                        return;
  371|      3|                    }
  372|   205k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|   205k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|   205k|                    more_ = !cursor_mode_;
  375|   205k|                    break;
  376|   205k|                }
  377|       |
  378|  63.3k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 63.3k, False: 14.1M]
  ------------------
  379|  63.3k|                {
  380|  63.3k|                    uint8_t buf[sizeof(uint32_t)];
  381|  63.3k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 3, False: 63.3k]
  ------------------
  382|      3|                    {
  383|      3|                        ec = msgpack_errc::unexpected_eof;
  384|      3|                        more_ = false;
  385|      3|                        return;
  386|      3|                    }
  387|  63.3k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  63.3k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  63.3k|                    more_ = !cursor_mode_;
  390|  63.3k|                    break;
  391|  63.3k|                }
  392|       |
  393|  2.12k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 2.12k, False: 14.1M]
  ------------------
  394|  2.12k|                {
  395|  2.12k|                    uint8_t buf[sizeof(uint64_t)];
  396|  2.12k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 3, False: 2.12k]
  ------------------
  397|      3|                    {
  398|      3|                        ec = msgpack_errc::unexpected_eof;
  399|      3|                        more_ = false;
  400|      3|                        return;
  401|      3|                    }
  402|  2.12k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  2.12k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  2.12k|                    more_ = !cursor_mode_;
  405|  2.12k|                    break;
  406|  2.12k|                }
  407|       |
  408|   215k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 215k, False: 13.9M]
  ------------------
  409|   215k|                {
  410|   215k|                    uint8_t buf[sizeof(int8_t)];
  411|   215k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 1, False: 215k]
  ------------------
  412|      1|                    {
  413|      1|                        ec = msgpack_errc::unexpected_eof;
  414|      1|                        more_ = false;
  415|      1|                        return;
  416|      1|                    }
  417|   215k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|   215k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|   215k|                    more_ = !cursor_mode_;
  420|   215k|                    break;
  421|   215k|                }
  422|       |
  423|  2.55k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 2.55k, False: 14.1M]
  ------------------
  424|  2.55k|                {
  425|  2.55k|                    uint8_t buf[sizeof(int16_t)];
  426|  2.55k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 2, False: 2.55k]
  ------------------
  427|      2|                    {
  428|      2|                        ec = msgpack_errc::unexpected_eof;
  429|      2|                        more_ = false;
  430|      2|                        return;
  431|      2|                    }
  432|  2.55k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  2.55k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  2.55k|                    more_ = !cursor_mode_;
  435|  2.55k|                    break;
  436|  2.55k|                }
  437|       |
  438|  4.81k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 4.81k, False: 14.1M]
  ------------------
  439|  4.81k|                {
  440|  4.81k|                    uint8_t buf[sizeof(int32_t)];
  441|  4.81k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 4, False: 4.80k]
  ------------------
  442|      4|                    {
  443|      4|                        ec = msgpack_errc::unexpected_eof;
  444|      4|                        more_ = false;
  445|      4|                        return;
  446|      4|                    }
  447|  4.80k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  4.80k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  4.80k|                    more_ = !cursor_mode_;
  450|  4.80k|                    break;
  451|  4.81k|                }
  452|       |
  453|  5.05k|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 5.05k, False: 14.1M]
  ------------------
  454|  5.05k|                {
  455|  5.05k|                    uint8_t buf[sizeof(int64_t)];
  456|  5.05k|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 4, False: 5.05k]
  ------------------
  457|      4|                    {
  458|      4|                        ec = msgpack_errc::unexpected_eof;
  459|      4|                        more_ = false;
  460|      4|                        return;
  461|      4|                    }
  462|  5.05k|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|  5.05k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|  5.05k|                    more_ = !cursor_mode_;
  465|  5.05k|                    break;
  466|  5.05k|                }
  467|       |
  468|  1.53k|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 1.53k, False: 14.1M]
  ------------------
  469|  2.01k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 484, False: 14.1M]
  ------------------
  470|  2.41k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 392, False: 14.1M]
  ------------------
  471|  2.41k|                {
  472|  2.41k|                    std::size_t len = get_size(type, ec);
  473|  2.41k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 24, False: 2.38k]
  ------------------
  474|     24|                    {
  475|     24|                        return;
  476|     24|                    }
  477|       |
  478|  2.38k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  2.38k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 118, False: 2.26k]
  ------------------
  480|    118|                    {
  481|    118|                        ec = msgpack_errc::unexpected_eof;
  482|    118|                        more_ = false;
  483|    118|                        return;
  484|    118|                    }
  485|       |
  486|  2.26k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  2.26k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 48, False: 2.22k]
  ------------------
  488|     48|                    {
  489|     48|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     48|                        more_ = false;
  491|     48|                        return;
  492|     48|                    }
  493|  2.22k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  2.22k|                        semantic_tag::none, *this, ec);
  495|  2.22k|                    more_ = !cursor_mode_;
  496|  2.22k|                    break;
  497|  2.26k|                }
  498|       |
  499|  11.6k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 11.6k, False: 14.1M]
  ------------------
  500|  17.1k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 5.48k, False: 14.1M]
  ------------------
  501|  17.5k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 410, False: 14.1M]
  ------------------
  502|  17.5k|                {
  503|  17.5k|                    std::size_t len = get_size(type,ec);
  504|  17.5k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 28, False: 17.5k]
  ------------------
  505|     28|                    {
  506|     28|                        return;
  507|     28|                    }
  508|  17.5k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|  17.5k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  17.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 154, False: 17.3k]
  |  |  ------------------
  ------------------
  510|    154|                    {
  511|    154|                        ec = msgpack_errc::unexpected_eof;
  512|    154|                        more_ = false;
  513|    154|                        return;
  514|    154|                    }
  515|       |
  516|  17.3k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|  17.3k|                        semantic_tag::none, 
  518|  17.3k|                        *this,
  519|  17.3k|                        ec);
  520|  17.3k|                    more_ = !cursor_mode_;
  521|  17.3k|                    break;
  522|  17.5k|                }
  523|  20.0k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 20.0k, False: 14.1M]
  ------------------
  524|  1.51M|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 1.49M, False: 12.6M]
  ------------------
  525|  1.52M|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 5.60k, False: 14.1M]
  ------------------
  526|  1.53M|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 11.8k, False: 14.1M]
  ------------------
  527|  1.53M|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 1.63k, False: 14.1M]
  ------------------
  528|  1.57M|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 44.5k, False: 14.1M]
  ------------------
  529|  1.58M|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 845, False: 14.1M]
  ------------------
  530|  1.58M|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 822, False: 14.1M]
  ------------------
  531|  1.58M|                {
  532|  1.58M|                    std::size_t len = get_size(type,ec);
  533|  1.58M|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 30, False: 1.58M]
  ------------------
  534|     30|                    {
  535|     30|                        return;
  536|     30|                    }
  537|       |
  538|       |                    // type
  539|  1.58M|                    uint8_t buf[sizeof(int8_t)];
  540|  1.58M|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 50, False: 1.58M]
  ------------------
  541|     50|                    {
  542|     50|                        ec = msgpack_errc::unexpected_eof;
  543|     50|                        more_ = false;
  544|     50|                        return;
  545|     50|                    }
  546|       |
  547|  1.58M|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|  1.58M|                    bool is_timestamp = false; 
  550|  1.58M|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 46.1k, False: 1.53M]
  ------------------
  551|  46.1k|                    {
  552|  46.1k|                        is_timestamp = true;;
  553|  46.1k|                    }
  554|       |
  555|       |                    // payload
  556|  1.58M|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 46.1k, False: 1.53M]
  |  Branch (556:41): [True: 1.26k, False: 44.9k]
  ------------------
  557|  1.26k|                    {
  558|  1.26k|                        uint8_t buf32[sizeof(uint32_t)];
  559|  1.26k|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 3, False: 1.26k]
  ------------------
  560|      3|                        {
  561|      3|                            ec = msgpack_errc::unexpected_eof;
  562|      3|                            more_ = false;
  563|      3|                            return;
  564|      3|                        }
  565|  1.26k|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|  1.26k|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|  1.26k|                        more_ = !cursor_mode_;
  568|  1.26k|                    }
  569|  1.57M|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 44.9k, False: 1.53M]
  |  Branch (569:46): [True: 9.25k, False: 35.6k]
  ------------------
  570|  9.25k|                    {
  571|  9.25k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  9.25k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 6, False: 9.25k]
  ------------------
  573|      6|                        {
  574|      6|                            ec = msgpack_errc::unexpected_eof;
  575|      6|                            more_ = false;
  576|      6|                            return;
  577|      6|                        }
  578|  9.25k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  9.25k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  9.25k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  9.25k|                        bigint nano(sec);
  583|  9.25k|                        nano *= uint64_t(nanos_in_second);
  584|  9.25k|                        nano += nsec;
  585|  9.25k|                        text_buffer_.clear();
  586|  9.25k|                        nano.write_string(text_buffer_);
  587|  9.25k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  9.25k|                        more_ = !cursor_mode_;
  589|  9.25k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 9.25k]
  ------------------
  590|  9.25k|                    }
  591|  1.57M|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 35.6k, False: 1.53M]
  |  Branch (591:46): [True: 34.3k, False: 1.32k]
  ------------------
  592|  34.3k|                    {
  593|  34.3k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  34.3k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 3, False: 34.3k]
  ------------------
  595|      3|                        {
  596|      3|                            ec = msgpack_errc::unexpected_eof;
  597|      3|                            more_ = false;
  598|      3|                            return;
  599|      3|                        }
  600|  34.3k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  34.3k|                        uint8_t buf2[sizeof(int64_t)];
  603|  34.3k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 3, False: 34.3k]
  ------------------
  604|      3|                        {
  605|      3|                            ec = msgpack_errc::unexpected_eof;
  606|      3|                            more_ = false;
  607|      3|                            return;
  608|      3|                        }
  609|  34.3k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  34.3k|                        bigint nano(sec);
  612|       |
  613|  34.3k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  34.3k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 12.0k, False: 22.2k]
  ------------------
  616|  12.0k|                        {
  617|  12.0k|                            nano -= nsec;
  618|  12.0k|                        }
  619|  22.2k|                        else
  620|  22.2k|                        {
  621|  22.2k|                            nano += nsec;
  622|  22.2k|                        }
  623|       |
  624|  34.3k|                        text_buffer_.clear();
  625|  34.3k|                        nano.write_string(text_buffer_);
  626|  34.3k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  34.3k|                        more_ = !cursor_mode_;
  628|  34.3k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 34.3k]
  ------------------
  629|  34.3k|                    }
  630|  1.53M|                    else
  631|  1.53M|                    {
  632|  1.53M|                        auto data = source_.read_span(len, bytes_buffer_);
  633|  1.53M|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  1.53M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 184, False: 1.53M]
  |  |  ------------------
  ------------------
  634|    184|                        {
  635|    184|                            ec = msgpack_errc::unexpected_eof;
  636|    184|                            more_ = false;
  637|    184|                            return;
  638|    184|                        }
  639|       |
  640|  1.53M|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|  1.53M|                                                          static_cast<uint8_t>(ext_type), 
  642|  1.53M|                                                          *this,
  643|  1.53M|                                                          ec);
  644|  1.53M|                        more_ = !cursor_mode_;
  645|  1.53M|                    }
  646|  1.58M|                    break;
  647|  1.58M|                }
  648|       |
  649|  1.58M|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 3.76k, False: 14.1M]
  ------------------
  650|  4.83k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 1.07k, False: 14.1M]
  ------------------
  651|  4.83k|                {
  652|  4.83k|                    begin_array(visitor,type,ec);
  653|  4.83k|                    break;
  654|  3.76k|                }
  655|       |
  656|  2.62k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 2.62k, False: 14.1M]
  ------------------
  657|  4.26k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 1.64k, False: 14.1M]
  ------------------
  658|  4.26k|                {
  659|  4.26k|                    begin_object(visitor, type, ec);
  660|  4.26k|                    break;
  661|  2.62k|                }
  662|       |
  663|      3|                default:
  ------------------
  |  Branch (663:17): [True: 3, False: 14.1M]
  ------------------
  664|      3|                {
  665|      3|                    ec = msgpack_errc::unknown_type;
  666|      3|                    more_ = false;
  667|      3|                    return;
  668|  2.62k|                }
  669|  14.1M|            }
  670|  14.1M|        }
  671|  31.4M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|   274k|    {
  702|   274k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   274k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 274k]
  |  |  ------------------
  ------------------
  703|      2|        {
  704|      2|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      2|            more_ = false;
  706|      2|            return;
  707|      2|        } 
  708|   274k|        std::size_t length = get_size(type, ec);
  709|   274k|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 17, False: 274k]
  ------------------
  710|     17|        {
  711|     17|            return;
  712|     17|        }
  713|   274k|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|   274k|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|   274k|        more_ = !cursor_mode_;
  716|   274k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|   256k|    {
  675|   256k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   256k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 256k]
  |  |  ------------------
  ------------------
  676|      4|        {
  677|      4|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      4|            more_ = false;
  679|      4|            return;
  680|      4|        } 
  681|   256k|        std::size_t length = get_size(type, ec);
  682|   256k|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 18, False: 256k]
  ------------------
  683|     18|        {
  684|     18|            return;
  685|     18|        }
  686|   256k|        state_stack_.emplace_back(parse_mode::array,length);
  687|   256k|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|   256k|        more_ = !cursor_mode_;
  689|   256k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  727|  2.13M|    {
  728|  2.13M|        switch (type)
  729|  2.13M|        {
  730|  1.53k|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 1.53k, False: 2.12M]
  ------------------
  731|  13.1k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 11.6k, False: 2.11M]
  ------------------
  732|  57.7k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 44.5k, False: 2.08M]
  ------------------
  733|  57.7k|            {
  734|  57.7k|                uint8_t buf[sizeof(int8_t)];
  735|  57.7k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 29, False: 57.7k]
  ------------------
  736|     29|                {
  737|     29|                    ec = msgpack_errc::unexpected_eof;
  738|     29|                    more_ = false;
  739|     29|                    return 0;
  740|     29|                }
  741|  57.7k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|  57.7k|                return static_cast<std::size_t>(len);
  743|  57.7k|            }
  744|       |
  745|    484|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 484, False: 2.13M]
  ------------------
  746|  5.96k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 5.48k, False: 2.12M]
  ------------------
  747|  6.81k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 845, False: 2.13M]
  ------------------
  748|  10.5k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 3.75k, False: 2.12M]
  ------------------
  749|  13.1k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 2.62k, False: 2.12M]
  ------------------
  750|  13.1k|            {
  751|  13.1k|                uint8_t buf[sizeof(int16_t)];
  752|  13.1k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 42, False: 13.1k]
  ------------------
  753|     42|                {
  754|     42|                    ec = msgpack_errc::unexpected_eof;
  755|     42|                    more_ = false;
  756|     42|                    return 0;
  757|     42|                }
  758|  13.1k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  13.1k|                return static_cast<std::size_t>(len);
  760|  13.1k|            }
  761|       |
  762|    392|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 392, False: 2.13M]
  ------------------
  763|    802|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 410, False: 2.13M]
  ------------------
  764|  1.62k|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 822, False: 2.13M]
  ------------------
  765|  2.70k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 1.07k, False: 2.13M]
  ------------------
  766|  4.34k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 1.64k, False: 2.12M]
  ------------------
  767|  4.34k|            {
  768|  4.34k|                uint8_t buf[sizeof(int32_t)];
  769|  4.34k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 46, False: 4.30k]
  ------------------
  770|     46|                {
  771|     46|                    ec = msgpack_errc::unexpected_eof;
  772|     46|                    more_ = false;
  773|     46|                    return 0;
  774|     46|                }
  775|  4.30k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  4.30k|                return static_cast<std::size_t>(len);
  777|  4.34k|            }
  778|  20.0k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 20.0k, False: 2.11M]
  ------------------
  779|  20.0k|                return 1;
  780|  1.49M|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 1.49M, False: 635k]
  ------------------
  781|  1.49M|                return 2;
  782|  5.60k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 5.60k, False: 2.12M]
  ------------------
  783|  5.60k|                return 4;
  784|  11.8k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 11.8k, False: 2.11M]
  ------------------
  785|  11.8k|                return 8;
  786|  1.63k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 1.63k, False: 2.12M]
  ------------------
  787|  1.63k|                return 16;
  788|   521k|            default:
  ------------------
  |  Branch (788:13): [True: 521k, False: 1.60M]
  ------------------
  789|   521k|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 251k, False: 269k]
  |  Branch (789:37): [True: 251k, False: 0]
  ------------------
  790|   269k|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 269k, False: 0]
  |  Branch (790:40): [True: 269k, False: 0]
  ------------------
  791|   521k|        )
  792|   521k|                {
  793|   521k|                    return type & 0x0f;
  794|   521k|                }
  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|  2.13M|        }
  803|  2.13M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|   227k|    {
  693|   227k|        --nesting_depth_;
  694|       |
  695|   227k|        visitor.end_array(*this, ec);
  696|   227k|        more_ = !cursor_mode_;
  697|   227k|        state_stack_.pop_back();
  698|   227k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|   241k|    {
  720|   241k|        --nesting_depth_;
  721|   241k|        visitor.end_object(*this, ec);
  722|   241k|        more_ = !cursor_mode_;
  723|   241k|        state_stack_.pop_back();
  724|   241k|    }

_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.83k, False: 895]
  |  |  ------------------
  ------------------
   91|  3.83k|        {
   92|  3.83k|            return;
   93|  3.83k|        }
   94|  4.73k|    }

