[ | |
{ | |
"psig_desc": [ | |
"Psig_attribute", | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.text" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" The are two versions of [count_leading_zeros] and [count_set_bits]. They have the\n same types, but their native code implementations differ.\n\n The first version inputs a tagged integer and the second version inputs an untagged\n integer. Generally, the first version (operating on a tagged integer) is faster, but\n if the untagged integer is already available in the surrounding context,\n the second version may be faster. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 7, | |
"pos_bol": 403, | |
"pos_cnum": 443 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 7, | |
"pos_bol": 403, | |
"pos_cnum": 443 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 7, | |
"pos_bol": 403, | |
"pos_cnum": 443 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 7, | |
"pos_bol": 403, | |
"pos_cnum": 443 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 7, | |
"pos_bol": 403, | |
"pos_cnum": 443 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 682 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 701 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "count_leading_zeros" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 704 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 707 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 711 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 714 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 704 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 714 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [ | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.doc" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" [count_leading_zeros n] returns the number of most-significant\n zero bits before the most significant set bit in [n].\n If [n] is 0, the result is the number of bits in [n],\n that is 31 or 63, depending on the target. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 9, | |
"pos_bol": 445, | |
"pos_cnum": 445 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 12, | |
"pos_bol": 628, | |
"pos_cnum": 677 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 9, | |
"pos_bol": 445, | |
"pos_cnum": 445 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 12, | |
"pos_bol": 628, | |
"pos_cnum": 677 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 9, | |
"pos_bol": 445, | |
"pos_cnum": 445 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 12, | |
"pos_bol": 628, | |
"pos_cnum": 677 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 9, | |
"pos_bol": 445, | |
"pos_cnum": 445 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 12, | |
"pos_bol": 628, | |
"pos_cnum": 677 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 678 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 714 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 678 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 13, | |
"pos_bol": 678, | |
"pos_cnum": 714 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1014 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1034 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "count_leading_zeros2" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1037 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1040 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1044 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1047 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1037 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1047 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [ | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.doc" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" [count_leading_zeros2 n] computes the same result as [count_leading_zeros n].\n\n The functions only differ in optimizations that the compiler may be able to perform\n around the call. In particular, the implementation of [count_leading_zeros n] may\n operate directly on tagged n. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 15, | |
"pos_bol": 716, | |
"pos_cnum": 716 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 19, | |
"pos_bol": 973, | |
"pos_cnum": 1009 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 15, | |
"pos_bol": 716, | |
"pos_cnum": 716 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 19, | |
"pos_bol": 973, | |
"pos_cnum": 1009 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 15, | |
"pos_bol": 716, | |
"pos_cnum": 716 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 19, | |
"pos_bol": 973, | |
"pos_cnum": 1009 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 15, | |
"pos_bol": 716, | |
"pos_cnum": 716 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 19, | |
"pos_bol": 973, | |
"pos_cnum": 1009 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1010 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1047 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1010 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1010, | |
"pos_cnum": 1047 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1125 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1139 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "count_set_bits" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1142 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1145 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1149 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1152 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1142 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1152 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [ | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.doc" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" [count_set_bits n] returns the number of bits that are 1 in [n]. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1049 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1120 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1049 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1120 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1049 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1120 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1049 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 22, | |
"pos_bol": 1049, | |
"pos_cnum": 1120 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1121 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1152 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1121 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 23, | |
"pos_bol": 1121, | |
"pos_cnum": 1152 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1439 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1454 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "count_set_bits2" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1457 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1460 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1464 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1467 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1457 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1467 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [ | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.doc" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" [count_set_bits2 n] computes the same result as [count_set_bits n].\n\n The functions only differs in optimizations that the compiler may be able to perform\n around the call. In particular, the implementation of [count_set_bits n] may operate\n directly on tagged n. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 25, | |
"pos_bol": 1154, | |
"pos_cnum": 1154 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 29, | |
"pos_bol": 1405, | |
"pos_cnum": 1434 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 25, | |
"pos_bol": 1154, | |
"pos_cnum": 1154 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 29, | |
"pos_bol": 1405, | |
"pos_cnum": 1434 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 25, | |
"pos_bol": 1154, | |
"pos_cnum": 1154 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 29, | |
"pos_bol": 1405, | |
"pos_cnum": 1434 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 25, | |
"pos_bol": 1154, | |
"pos_cnum": 1154 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 29, | |
"pos_bol": 1405, | |
"pos_cnum": 1434 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1435 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1467 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1435 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1435, | |
"pos_cnum": 1467 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1709 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1729 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "count_trailing_zeros" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1732 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1735 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1739 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1742 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1732 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1742 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [ | |
{ | |
"attr_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_end": { | |
"pos_fname": "_none_", | |
"pos_lnum": 0, | |
"pos_bol": 0, | |
"pos_cnum": -1 | |
}, | |
"loc_ghost": true | |
}, | |
"txt2": "ocaml.doc" | |
}, | |
"attr_payload": [ | |
"PStr", | |
[ | |
{ | |
"pstr_desc": [ | |
"Pstr_eval", | |
{ | |
"pexp_desc": [ | |
"Pexp_constant", | |
[ | |
"Pconst_string", | |
" [count_trailing_zeros n] returns the number of least-significant\n zero bits before the least significant set bit in [n].\n If [n] is 0, the result is the number of bits in [n],\n that is 31 or 63, depending on the target. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1469, | |
"pos_cnum": 1469 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 35, | |
"pos_bol": 1655, | |
"pos_cnum": 1704 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1469, | |
"pos_cnum": 1469 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 35, | |
"pos_bol": 1655, | |
"pos_cnum": 1704 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1469, | |
"pos_cnum": 1469 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 35, | |
"pos_bol": 1655, | |
"pos_cnum": 1704 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1469, | |
"pos_cnum": 1469 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 35, | |
"pos_bol": 1655, | |
"pos_cnum": 1704 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1705 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1742 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1705 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ocaml_intrinsics_kernel/int.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1705, | |
"pos_cnum": 1742 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |