text stringlengths 0 601k |
|---|
let get_test_field_prefix_reader = ( fun tag -> if tag <> 21 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let field_theprefix_hello = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_theprefix_world = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = B... |
let read_test_field_prefix = ( fun ib -> if Bi_io . read_tag ib <> 21 then Atdgen_runtime . Ob_run . read_error_at ib ; let field_theprefix_hello = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_theprefix_world = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = Bi_... |
let test_field_prefix_of_string ? pos s = read_test_field_prefix ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_star_rating = ( Bi_io . write_untagged_svint ) |
let write_star_rating ob x = Bi_io . write_tag ob Bi_io . svint_tag ; write_untagged_star_rating ob x |
let string_of_star_rating ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_star_rating ob x ; Bi_outbuf . contents ob |
let get_star_rating_reader = ( Atdgen_runtime . Ob_run . get_int_reader ) |
let read_star_rating = ( Atdgen_runtime . Ob_run . read_int ) |
let star_rating_of_string ? pos s = read_star_rating ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__30 : Bi_outbuf . t -> _ generic -> unit = ( fun ob x -> Bi_vint . write_uvint ob 1 ; Bi_outbuf . add_char4 ob ' \ 240 ' ' G ' ' \ 003 ' ' \ 130 ' ; ( Bi_io . write_svint ) ob x . x294623 ; ) |
let write__30 ob x = Bi_io . write_tag ob Bi_io . record_tag ; write_untagged__30 ob x |
let string_of__30 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__30 ob x ; Bi_outbuf . contents ob |
let get__30_reader = ( fun tag -> if tag <> 21 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let field_x294623 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = Bi_vint . read_uvint ib in for i = 1 to len do match Bi_io . read_field_hashtag ib with | - 263781502 -> f... |
let read__30 = ( fun ib -> if Bi_io . read_tag ib <> 21 then Atdgen_runtime . Ob_run . read_error_at ib ; let field_x294623 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = Bi_vint . read_uvint ib in for i = 1 to len do match Bi_io . read_field_hashtag ib with | - 263781502 -> fie... |
let _30_of_string ? pos s = read__30 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_specialized = ( write_untagged__30 ) |
let write_specialized ob x = Bi_io . write_tag ob Bi_io . record_tag ; write_untagged_specialized ob x |
let string_of_specialized ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_specialized ob x ; Bi_outbuf . contents ob |
let get_specialized_reader = ( get__30_reader ) |
let read_specialized = ( read__30 ) |
let specialized_of_string ? pos s = read_specialized ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_some_record : Bi_outbuf . t -> some_record -> unit = ( fun ob x -> Bi_vint . write_uvint ob 1 ; Bi_outbuf . add_char4 ob ' \ 151 ' ' \ r ' ' \ 173 ' ' \ 239 ' ; ( Bi_io . write_svint ) ob x . some_field ; ) |
let write_some_record ob x = Bi_io . write_tag ob Bi_io . record_tag ; write_untagged_some_record ob x |
let string_of_some_record ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_some_record ob x ; Bi_outbuf . contents ob |
let get_some_record_reader = ( fun tag -> if tag <> 21 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let field_some_field = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = Bi_vint . read_uvint ib in for i = 1 to len do match Bi_io . read_field_hashtag ib with | 38677... |
let read_some_record = ( fun ib -> if Bi_io . read_tag ib <> 21 then Atdgen_runtime . Ob_run . read_error_at ib ; let field_some_field = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let bits0 = ref 0 in let len = Bi_vint . read_uvint ib in for i = 1 to len do match Bi_io . read_field_hashtag ib with | 3867724... |
let some_record_of_string ? pos s = read_some_record ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_precision : Bi_outbuf . t -> precision -> unit = ( fun ob x -> Bi_vint . write_uvint ob 3 ; Bi_outbuf . add_char4 ob ' \ 204 ' ' \ 249 ' ' C ' ' \ 200 ' ; ( Bi_io . write_float64 ) ob x . sqrt2_5 ; Bi_outbuf . add_char4 ob ' \ 228 ' ' \ 158 ' ' C ' ' z ' ; ( Bi_io . write_float64 ) ob x . small_2 ; B... |
let write_precision ob x = Bi_io . write_tag ob Bi_io . record_tag ; write_untagged_precision ob x |
let string_of_precision ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_precision ob x ; Bi_outbuf . contents ob |
let get_precision_reader = ( fun tag -> if tag <> 21 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let field_sqrt2_5 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_small_2 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_large_2 = ref ( Obj . magic ( Sys . opaque_ide... |
let read_precision = ( fun ib -> if Bi_io . read_tag ib <> 21 then Atdgen_runtime . Ob_run . read_error_at ib ; let field_sqrt2_5 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_small_2 = ref ( Obj . magic ( Sys . opaque_identity 0 . 0 ) ) in let field_large_2 = ref ( Obj . magic ( Sys . opaque_ident... |
let precision_of_string ? pos s = read_precision ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_p ' ' = ( write_untagged__1 ) |
let write_p ' ' ob x = Bi_io . write_tag ob Bi_io . variant_tag ; write_untagged_p ' ' ob x |
let string_of_p ' ' ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_p ' ' ob x ; Bi_outbuf . contents ob |
let get_p ' ' _reader = ( get__1_reader ) |
let read_p ' ' = ( read__1 ) |
let p ' ' _of_string ? pos s = read_p ' ' ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__18 = ( Atdgen_runtime . Ob_run . write_untagged_option ( Bi_io . write_svint ) ) |
let write__18 ob x = Bi_io . write_tag ob Bi_io . num_variant_tag ; write_untagged__18 ob x |
let string_of__18 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__18 ob x ; Bi_outbuf . contents ob |
let get__18_reader = ( fun tag -> if tag <> 22 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> match Char . code ( Bi_inbuf . read_char ib ) with | 0 -> None | 0x80 -> Some ( ( Atdgen_runtime . Ob_run . read_int ) ib ) | _ -> Atdgen_runtime . Ob_run . read_error_at ib ) |
let read__18 = ( fun ib -> if Bi_io . read_tag ib <> 22 then Atdgen_runtime . Ob_run . read_error_at ib ; match Char . code ( Bi_inbuf . read_char ib ) with | 0 -> None | 0x80 -> Some ( ( Atdgen_runtime . Ob_run . read_int ) ib ) | _ -> Atdgen_runtime . Ob_run . read_error_at ib ) |
let _18_of_string ? pos s = read__18 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_option_validation = ( write_untagged__18 ) |
let write_option_validation ob x = Bi_io . write_tag ob Bi_io . num_variant_tag ; write_untagged_option_validation ob x |
let string_of_option_validation ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_option_validation ob x ; Bi_outbuf . contents ob |
let get_option_validation_reader = ( get__18_reader ) |
let read_option_validation = ( read__18 ) |
let option_validation_of_string ? pos s = read_option_validation ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__28 = ( write_untagged_some_record ) |
let write__28 ob x = Bi_io . write_tag ob some_record_tag ; write_untagged__28 ob x |
let string_of__28 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__28 ob x ; Bi_outbuf . contents ob |
let get__28_reader = ( get_some_record_reader ) |
let read__28 = ( read_some_record ) |
let _28_of_string ? pos s = read__28 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_no_real_wrap = ( write_untagged__28 ) |
let write_no_real_wrap ob x = Bi_io . write_tag ob some_record_tag ; write_untagged_no_real_wrap ob x |
let string_of_no_real_wrap ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_no_real_wrap ob x ; Bi_outbuf . contents ob |
let get_no_real_wrap_reader = ( get__28_reader ) |
let read_no_real_wrap = ( read__28 ) |
let no_real_wrap_of_string ? pos s = read_no_real_wrap ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__26 = ( fun ob x -> ( let x = ( Test_lib . Natural . unwrap ) x in ( Bi_io . write_untagged_svint ) ob x ) ) |
let write__26 ob x = Bi_io . write_tag ob Bi_io . svint_tag ; write_untagged__26 ob x |
let string_of__26 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__26 ob x ; Bi_outbuf . contents ob |
let get__26_reader = ( fun tag ib -> ( Test_lib . Natural . wrap ) ( ( Atdgen_runtime . Ob_run . get_int_reader ) tag ib ) ) |
let read__26 = ( fun ib -> ( Test_lib . Natural . wrap ) ( ( Atdgen_runtime . Ob_run . read_int ) ib ) ) |
let _26_of_string ? pos s = read__26 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_natural = ( write_untagged__26 ) |
let write_natural ob x = Bi_io . write_tag ob Bi_io . svint_tag ; write_untagged_natural ob x |
let string_of_natural ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_natural ob x ; Bi_outbuf . contents ob |
let get_natural_reader = ( get__26_reader ) |
let read_natural = ( read__26 ) |
let natural_of_string ? pos s = read_natural ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__24 = ( fun ob x -> ( let x = ( function ` Id s -> s ) x in ( Bi_io . write_untagged_string ) ob x ) ) |
let write__24 ob x = Bi_io . write_tag ob Bi_io . string_tag ; write_untagged__24 ob x |
let string_of__24 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__24 ob x ; Bi_outbuf . contents ob |
let get__24_reader = ( fun tag ib -> ( fun s -> ` Id s ) ( ( Atdgen_runtime . Ob_run . get_string_reader ) tag ib ) ) |
let read__24 = ( fun ib -> ( fun s -> ` Id s ) ( ( Atdgen_runtime . Ob_run . read_string ) ib ) ) |
let _24_of_string ? pos s = read__24 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_id = ( write_untagged__24 ) |
let write_id ob x = Bi_io . write_tag ob Bi_io . string_tag ; write_untagged_id ob x |
let string_of_id ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_id ob x ; Bi_outbuf . contents ob |
let get_id_reader = ( get__24_reader ) |
let read_id = ( read__24 ) |
let id_of_string ? pos s = read_id ( Bi_inbuf . from_string ? pos s ) |
let write_untagged__25 = ( Atdgen_runtime . Ob_run . write_untagged_list Bi_io . tuple_tag ( fun ob x -> Bi_vint . write_uvint ob 2 ; ( let x , _ = x in ( write_id ) ob x ) ; ( let _ , x = x in ( Bi_io . write_svint ) ob x ) ; ) ) |
let write__25 ob x = Bi_io . write_tag ob Bi_io . array_tag ; write_untagged__25 ob x |
let string_of__25 ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write__25 ob x ; Bi_outbuf . contents ob |
let get__25_reader = ( Atdgen_runtime . Ob_run . get_list_reader ( fun tag -> if tag <> 20 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let len = Bi_vint . read_uvint ib in if len < 2 then Atdgen_runtime . Ob_run . missing_tuple_fields len [ 0 ; 1 ] ; let x0 = ( read_id ) ib in let x1 = ( Atdgen_runtime... |
let read__25 = ( Atdgen_runtime . Ob_run . read_list ( fun tag -> if tag <> 20 then Atdgen_runtime . Ob_run . read_error ( ) else fun ib -> let len = Bi_vint . read_uvint ib in if len < 2 then Atdgen_runtime . Ob_run . missing_tuple_fields len [ 0 ; 1 ] ; let x0 = ( read_id ) ib in let x1 = ( Atdgen_runtime . Ob_run . ... |
let _25_of_string ? pos s = read__25 ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_json_map = ( write_untagged__25 ) |
let write_json_map ob x = Bi_io . write_tag ob Bi_io . array_tag ; write_untagged_json_map ob x |
let string_of_json_map ( ? len = 1024 ) x = let ob = Bi_outbuf . create len in write_json_map ob x ; Bi_outbuf . contents ob |
let get_json_map_reader = ( get__25_reader ) |
let read_json_map = ( read__25 ) |
let json_map_of_string ? pos s = read_json_map ( Bi_inbuf . from_string ? pos s ) |
let write_untagged_intopt = ( write_untagged__4 ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.