text stringlengths 12 786k |
|---|
module Long = struct [ %% h5struct a " A " Bigstring ; ] end |
let ( ) = let file = " test . h5 " in let h5 = H5 . create_trunc file in let a = Short . Array . init 8 ( fun i -> Short . set ~ a ( : Printf . sprintf " % 16d " i ) ) in Short . Array . make_table a h5 " a " ; H5 . close h5 ; let h5 = H5 . open_rdonly file in ... |
let testlib = Dl . ( dlopen ~ filename " : clib / libtest_functions . so " ~ flags [ : RTLD_NOW ] ) |
module Build_foreign_tests ( S : Cstubs . FOREIGN with type ' a result = ' a and type ' a return = ' a ) = struct module M = Functions . Common ( S ) open M let test_passing_struct _ = let module M = struct let s = make simple let ( ) = begin setf s i 10 ; setf s f 14 . 5 ; se... |
let test_incomplete_struct_members _ = let s = structure " s " in begin assert_raises IncompleteType ( fun ( ) -> field s " _ " void ) ; assert_raises IncompleteType ( fun ( ) -> field s " _ " ( structure " incomplete " ) ) ; assert_raises IncompleteType ( fun ( ) -... |
let test_adding_fields_through_views _ = let module M = struct let struct_s = structure " struct_s " let s = typedef struct_s " s " let i = field s " i " int let j = field s " j " float let ( ) = seal s end in ( ) |
let test_ocaml_types_rejected_as_fields _ = let module M = struct let s = structure " s " let ( ) = assert_raises IncompleteType ( fun ( ) -> field s " o " ocaml_string ) let u = union " u " let ( ) = assert_raises IncompleteType ( fun ( ) -> let _ = field u " o " ocaml_... |
let test_pointers_to_struct_members _ = let module M = struct type s let styp : s structure typ = structure " s " let ( ) -: ty label = field styp label ty let i = int -: " i " let j = int -: " j " let k = ptr int -: " k " let ( ) = seal styp let s = make styp let ( ) = begin... |
let test_structs_with_union_members _ = let module M = struct type u and s let complex64_eq = let open Complex in let eps = 1e - 12 in fun { re = lre ; im = lim } { re = rre ; im = rim } -> abs_float ( lre . - rre ) < eps && abs_float ( lim . - rim ) < eps let utyp : u union t... |
let test_structs_with_array_members _ = let module M = struct type u and s let styp : s structure typ = structure " s " let ( ) -: ty label = field styp label ty let i = int -: " i " let a = array 3 double -: " a " let c = char -: " c " let ( ) = seal styp let s = make styp modul... |
let test_updating_sealed_struct _ = let styp = structure " sealed " in let _ = field styp " _ " int in let ( ) = seal styp in assert_raises ( ModifyingSealedType " sealed " ) ( fun ( ) -> field styp " _ " char ) |
let test_sealing_empty_struct _ = let empty = structure " empty " in assert_raises ( Unsupported " struct with no fields " ) ( fun ( ) -> seal empty ) |
let test_field_references_not_invalidated _ = let module M = struct type s1 and s2 let s1 : s1 structure typ = structure " s1 " let ( ) = ( fun ( ) -> let s2 : s2 structure typ = structure " s2 " in let _ = field s2 " i " int in let ( ) = seal s2 in let _ = field s1 " _ " s2... |
let test_struct_ffi_type_lifetime _ = let module M = struct let f = let t = void @-> returning ( begin let s = structure " one_int " in let _ = field s " i " int in let ( ) = seal s in s end ) in Foreign . foreign ~ from : testlib " return_struct_by_value " t let ( ) = Gc . full... |
module Build_stub_tests ( S : Cstubs . FOREIGN with type ' a result = ' a and type ' a return = ' a ) = struct open Functions include Build_foreign_tests ( S ) module N = Functions . Stubs ( S ) open N let test_passing_structs_with_union_members _ = let mkInt v = let t = make tagged in ... |
module Build_struct_stub_tests ( S : Ctypes . TYPE with type ' a typ = ' a Ctypes . typ and type ( ' a , ' s ) field = ( ' a , ' s ) Ctypes . field ) = struct module M = Types . Struct_stubs ( S ) let retrieve_size name = let f = Foreign . foreign ~ from : testlib name... |
let suite = " Struct tests " >::: [ " passing struct ( foreign ) " >:: Foreign_tests . test_passing_struct ; " passing struct ( stubs ) " >:: Stub_tests . test_passing_struct ; " returning struct ( foreign ) " >:: Foreign_tests . test_returning_struct ; " returning struc... |
let _ = run_test_tt_main suite |
module Account = struct type t = Mina_base . Account . Stable . Latest . t [ @@ deriving bin_io_unversioned , sexp , equal , compare , hash , yojson ] yojson type key = Mina_base . Account . Key . Stable . Latest . t [ @@ deriving bin_io_unversioned , sexp , equal , compare , hash ] has... |
module Hash = struct module T = struct type t = Md5 . t [ @@ deriving sexp , hash , compare , bin_io_unversioned , equal ] equal end include T include Codable . Make_base58_check ( struct type t = T . t [ @@ deriving bin_io_unversioned ] bin_io_unversioned let description = " Ledger test h... |
module In_memory_kvdb : Intf . Key_value_database with type config := string = struct module Bigstring_frozen = struct module T = struct include Bigstring . Stable . V1 let hash = hash_t_frozen let hash_fold_t = hash_fold_t_frozen end include T include Hashable . Make_binable ( T ) T end type t = { uui... |
module Storage_locations : Intf . Storage_locations = struct let key_value_db_dir = " " end |
module Key = struct [ %% versioned module Stable = struct module V1 = struct type t = Mina_base . Account . Key . Stable . V1 . t [ @@ deriving sexp , equal , compare , hash ] hash let to_latest = Fn . id end end ] end let to_string = Signature_lib . Public_key . Compressed . to_base58_check le... |
module Account_id = struct [ %% versioned module Stable = struct module V2 = struct type t = Mina_base . Account_id . Stable . V2 . t [ @@ deriving sexp , equal , compare , hash ] hash let to_latest = Fn . id end end ] end include Hashable . Make_binable ( Stable . Latest ) Latest include ... |
module Base_inputs = struct module Key = Key module Account_id = Account_id module Token_id = Token_id module Balance = Balance module Account = Account module Hash = Hash end |
let pp_str_pair ppf ( a , b ) = Format . fprintf ppf " [ @< 1 ( >% a , % a ) ] " @ String . dump a String . dump b |
let pp_pair ppf ( a , b ) = Format . fprintf ppf " [ @< 1 ( >% a , % a ) ] " @ String . Sub . dump a String . Sub . dump b |
let eq_pair ( l0 , r0 ) ( l1 , r1 ) = String . Sub . equal l0 l1 && String . Sub . equal r0 r1 |
let eq_sub = eq ~ eq : String . Sub . equal ~ pp : String . Sub . dump |
let eq_sub_raw = eq ~ eq : String . Sub . equal ~ pp : String . Sub . dump_raw |
let eqs sub s = eq_str ( String . Sub . to_string sub ) s |
let eqb sub s = eq_str ( String . Sub . base_string sub ) s |
let eqs_opt sub os = let sub_to_str = function | Some sub -> Some ( String . Sub . to_string sub ) | None -> None in eq_option ~ eq ( ) := ~ pp : pp_str ( sub_to_str sub ) os |
let eqs_pair_opt subs_pair pair = let subs_to_str = function | None -> None | Some ( sub , sub ' ) -> Some ( String . Sub . to_string sub , String . Sub . to_string sub ' ) in eq_option ~ eq ( ) := ~ pp : pp_str_pair ( subs_to_str subs_pair ) pair |
let empty_pos s pos = eq_int ( String . Sub . length s ) 0 ; eq_int ( String . Sub . start_pos s ) pos |
let misc = test " String . Sub misc . base functions " @@ fun ( ) -> eqs String . Sub . empty " " ; eqs ( String . Sub . v " abc " ) " abc " ; eqs ( String . Sub . v ~ start : 0 ~ stop : 1 " abc " ) " a " ; eqs ( String . Sub . v ~ start : 1 ~... |
let head = test " String . [ get_ ] head " @@ fun ( ) -> let empty = String . Sub . v ~ start : 2 ~ stop : 2 " abc " in let bc = String . Sub . v ~ start : 1 ~ stop : 3 " abc " in let eq_ochar = eq_option ~ eq ( ) := ~ pp : pp_char in eq_ochar ( String . Sub .... |
let to_string = test " String . Sub . to_string " @@ fun ( ) -> let no_alloc s = let r = String . Sub . to_string s in eq_bool ( r == ( String . Sub . base_string s ) || r == String . empty ) true in no_alloc ( String . Sub . v ~ start : 0 ~ stop : 0 " abc " ) ; ... |
let start = test " String . Sub . start " @@ fun ( ) -> empty_pos String . Sub . ( start @@ v " " ) 0 ; empty_pos String . Sub . ( start @@ v ~ start : 0 ~ stop : 0 " abc " ) 0 ; empty_pos String . Sub . ( start @@ v ~ start : 0 ~ stop : 1 " abc " ) ... |
let stop = test " String . Sub . stop " @@ fun ( ) -> empty_pos String . Sub . ( stop @@ v " " ) 0 ; empty_pos String . Sub . ( stop @@ v ~ start : 0 ~ stop : 0 " abc " ) 0 ; empty_pos String . Sub . ( stop @@ v ~ start : 0 ~ stop : 1 " abc " ) 1 ... |
let tail = test " String . Sub . tail " @@ fun ( ) -> empty_pos String . Sub . ( tail @@ v " " ) 0 ; empty_pos String . Sub . ( tail @@ v ~ start : 0 ~ stop : 0 " abc " ) 0 ; empty_pos String . Sub . ( tail @@ v ~ start : 0 ~ stop : 1 " abc " ) 1 ... |
let base = test " String . Sub . base " @@ fun ( ) -> eqs String . Sub . ( base @@ v " " ) " " ; eqs String . Sub . ( base @@ v ~ start : 0 ~ stop : 0 " abc " ) " abc " ; eqs String . Sub . ( base @@ v ~ start : 0 ~ stop : 1 " abc " ) " abc... |
let extend = test " String . Sub . extend " @@ fun ( ) -> let empty = String . Sub . v ~ start : 2 ~ stop : 2 " abcdefg " in let abcd = String . Sub . v ~ start : 0 ~ stop : 4 " abcdefg " in let cd = String . Sub . v ~ start : 2 ~ stop : 4 " abcdefg " in app_i... |
let reduce = test " String . Sub . reduce " @@ fun ( ) -> let empty = String . Sub . v ~ start : 2 ~ stop : 2 " abcdefg " in let abcd = String . Sub . v ~ start : 0 ~ stop : 4 " abcdefg " in let cd = String . Sub . v ~ start : 2 ~ stop : 4 " abcdefg " in app_i... |
let extent = test " String . Sub . extent " @@ fun ( ) -> app_invalid ~ pp : String . Sub . dump_raw String . Sub . ( extent ( v " a " ) ) ( String . Sub . ( v " b " ) ) ; let abcd = " abcd " in let e0 = String . Sub . v ~ start : 0 ~ stop : 0 abcd ... |
let overlap = test " String . Sub . overlap " @@ fun ( ) -> let empty_pos sub pos = match sub with | None -> fail " no sub " | Some sub -> empty_pos sub pos in app_invalid ~ pp : String . Sub . dump_raw String . Sub . ( extent ( v " a " ) ) ( String . Sub . ( v " ... |
let append = test " String . Sub . append " @@ fun ( ) -> let no_allocl s s ' = eq_bool ( String . Sub . ( base_string @@ append s s ' ) == String . Sub . ( base_string s ) ) true in let no_allocr s s ' = eq_bool ( String . Sub . ( base_string @@ append s s ' ) ... |
let concat = test " String . Sub . concat " @@ fun ( ) -> let dash = String . sub_with_range ~ first : 2 ~ len : 1 " ab - d " in let ddash = String . sub_with_range ~ first : 1 ~ len : 2 " a -- d " in let empty = String . sub_with_range ~ first : 2 ~ len : 0 " ab -... |
let is_empty = test " String . Sub . is_empty " @@ fun ( ) -> eq_bool ( String . Sub . is_empty ( String . Sub . v " " ) ) true ; eq_bool ( String . Sub . is_empty ( String . Sub . v ~ start : 4 ~ stop : 4 " abcd " ) ) true ; eq_bool ( String . Sub . ... |
let is_prefix = test " String . Sub . is_prefix " @@ fun ( ) -> let empty = String . sub_with_range ~ first : 3 ~ len : 0 " ugoadfj " in let sempty = String . sub_with_range ~ first : 4 ~ len : 0 " dfkdjf " in let habla = String . sub_with_range ~ first : 2 ~ len : 5 " ... |
let is_infix = test " String . Sub . is_infix " @@ fun ( ) -> let empty = String . sub_with_range ~ first : 1 ~ len : 0 " ugoadfj " in let sempty = String . sub_with_range ~ first : 2 ~ len : 0 " dfkdjf " in let asdf = String . sub_with_range ~ first : 1 ~ len : 4 " a... |
let is_suffix = test " String . Sub . is_suffix " @@ fun ( ) -> let empty = String . sub_with_range ~ first : 1 ~ len : 0 " ugoadfj " in let sempty = String . sub_with_range ~ first : 2 ~ len : 0 " dfkdjf " in let asdf = String . sub_with_range ~ first : 1 ~ len : 4 " ... |
let for_all = test " String . Sub . for_all " @@ fun ( ) -> let empty = String . Sub . v ~ start : 3 ~ stop : 3 " asldfksaf " in let s123 = String . Sub . v ~ start : 2 ~ stop : 5 " sf123df " in let s412 = String . Sub . v " 412 " in let s142 = String . Sub . ... |
let exists = test " String . Sub . exists " @@ fun ( ) -> let empty = String . Sub . v ~ start : 3 ~ stop : 3 " asldfksaf " in let s541 = String . sub_with_index_range ~ first : 1 ~ last : 3 " a541 " in let s154 = String . sub_with_index_range ~ first : 1 " a154 " in... |
let same_base = test " String . Sub . same_base " @@ fun ( ) -> let abcd = " abcd " in let a = String . sub_with_index_range ~ first : 0 ~ last : 0 abcd in let ab = String . sub_with_index_range ~ first : 0 ~ last : 1 abcd in let abce = String . sub_with_index_range ~ first : ... |
let equal_bytes = test " String . Sub . equal_bytes " @@ fun ( ) -> let a = String . sub_with_index_range ~ first : 0 ~ last : 0 " abcd " in let ab = String . sub_with_index_range ~ first : 0 ~ last : 1 " abcd " in let ab ' = String . sub_with_index_range ~ first : 2 ~ ... |
let compare_bytes = test " String . Sub . compare_bytes " @@ fun ( ) -> let empty = String . Sub . v " " in let ab = String . sub_with_index_range ~ first : 0 ~ last : 1 " abcd " in let ab ' = String . sub_with_index_range ~ first : 2 ~ last : 3 " cdab " in let abc =... |
let equal = test " String . Sub . equal " @@ fun ( ) -> app_invalid ~ pp : pp_bool ( String . Sub . ( equal ( v " b " ) ) ) ( String . Sub . v " a " ) ; let base = " abcd " in let a = String . Sub . v ~ start : 0 ~ stop : 1 base in let empty = String .... |
let compare = test " String . Sub . compare " @@ fun ( ) -> app_invalid ~ pp : pp_bool ( String . Sub . ( equal ( v " b " ) ) ) ( String . Sub . v " a " ) ; let base = " abcd " in let a = String . Sub . v ~ start : 0 ~ stop : 1 base in let empty = Stri... |
let with_range = test " String . Sub . with_range " @@ fun ( ) -> let invalid ? first ? len s = app_invalid ~ pp : String . Sub . pp ( String . Sub . with_range ? first ? len ) s in let empty_pos ? first ? len s pos = empty_pos ( String . Sub . with_range ? first ? len s ) ... |
let with_index_range = test " String . Sub . with_index_range " @@ fun ( ) -> let empty_pos ? first ? last s pos = empty_pos ( String . Sub . with_index_range ? first ? last s ) pos in let base = " 00abc1234 " in let abc = String . sub ~ start : 2 ~ stop : 5 base in let a = S... |
let span = test " String . Sub . { span , take , drop } " @@ fun ( ) -> let eq_pair ( l0 , r0 ) ( l1 , r1 ) = String . Sub . ( equal l0 l1 && equal r0 r1 ) in let eq_pair = eq ~ eq : eq_pair ~ pp : pp_pair in let eq ( ? rev = false ) ? min ? max ? sat s ( sl ... |
let trim = test " String . Sub . trim " @@ fun ( ) -> let drop_a c = c = ' a ' in let base = " 00aaaabcdaaaa00 " in let aaaabcdaaaa = String . sub ~ start : 2 ~ stop : 13 base in let aaaabcd = String . sub ~ start : 2 ~ stop : 9 base in let bcdaaaa = String . sub ~ start... |
let cut = test " String . Sub . cut " @@ fun ( ) -> let ppp = pp_option pp_pair in let eqo = eqs_pair_opt in let s s = String . sub ~ start : 1 ~ stop ( : 1 + ( String . length s ) ) ( strf " \ x00 % s \ x00 " s ) in let cut ? rev ~ sep str = String . Sub . cut ? ... |
let cuts = test " String . Sub . cuts " @@ fun ( ) -> let ppl = pp_list String . Sub . dump in let eql subs l = let subs = List . map String . Sub . to_string subs in eq_list ~ eq : String . equal ~ pp : String . dump subs l in let s s = String . sub ~ start : 1 ~ stop ( : ... |
let fields = test " String . Sub . fields " @@ fun ( ) -> let eql subs l = let subs = List . map String . Sub . to_string subs in eq_list ~ eq : String . equal ~ pp : String . dump subs l in let s s = String . sub ~ start : 1 ~ stop ( : 1 + ( String . length s ) ) ( ... |
let find = test " String . Sub . find " @@ fun ( ) -> let abcbd = " abcbd " in let empty = String . sub ~ start : 3 ~ stop : 3 abcbd in let a = String . sub ~ start : 0 ~ stop : 1 abcbd in let ab = String . sub ~ start : 0 ~ stop : 2 abcbd in let c = String . sub ~ sta... |
let find_sub = test " String . Sub . find_sub " @@ fun ( ) -> let abcbd = " abcbd " in let empty = String . sub ~ start : 3 ~ stop : 3 abcbd in let ab = String . sub ~ start : 0 ~ stop : 2 abcbd in let b0 = String . sub ~ start : 1 ~ stop : 2 abcbd in let b1 = String . ... |
let map = test " String . Sub . map [ i ] " @@ fun ( ) -> let next_letter c = Char . ( of_byte @@ to_int c + 1 ) in let base = " i34abcdbbb " in let abcd = String . Sub . v ~ start : 3 ~ stop : 7 base in let empty = String . Sub . v ~ start : 2 ~ stop : 2 base in ... |
let fold = test " String . Sub . fold_ { left , right } " @@ fun ( ) -> let empty = String . Sub . v ~ start : 2 ~ stop : 2 " ab " in let abc = String . Sub . v ~ start : 3 ~ stop : 6 " i34abcdbbb " in let eql = eq_list ~ eq ( ) := ~ pp : pp_char in String . ... |
let iter = test " String . Sub . iter [ i ] " @@ fun ( ) -> let empty = String . Sub . v ~ start : 2 ~ stop : 2 " ab " in let abc = String . Sub . v ~ start : 3 ~ stop : 6 " i34abcdbbb " in String . Sub . iter ( fun _ -> fail " invoked " ) empty ; String ... |
let suite = suite " Base String functions " [ misc ; head ; to_string ; start ; stop ; tail ; base ; extend ; reduce ; extent ; overlap ; append ; concat ; is_empty ; is_prefix ; is_infix ; is_suffix ; for_all ; exists ; same_base ; equal_bytes ; compare_bytes ; equal ... |
let print_expr expr = Pprintast . string_of_structure [ % str let ( ) = [ % e expr ] ] |> print_string ; ; Ppx_let_expander . expand ~ modul : None Sub [ % expr let MY_PAT = MY_EXPR in MY_BODY ] |> print_expr ; [ % expect { | let ( ) = Let_syntax . sub MY_EXPR ~ f ( ... |
let assert_fails_with_syntax_error ~ f = try ignore ( f ( ) ) ; assert false with | ex -> Location . Error . of_exn ex |> ( fun a -> Option . value_exn a ) |> Location . Error . message |> print_endline ; ; assert_fails_with_syntax_error ~ f ( : fun ( ) -> Ppx_let_expander .... |
module Test ( Base : sig type t val of_string : string -> t end ) ( Substring : Substring . S with type base = Base . t ) : sig end = struct open Substring let % test_module " get " = ( module struct let hello = Base . of_string " hello " let % test _ = let lo = create ~ pos : 3 ... |
let ( ) += r x = r := ! r + x |
let compat3 = match Sundials . Config . sundials_version with | 3 , _ , _ -> true | _ -> false |
module ArrayBand_tests = struct type k = Matrix . custom type m = Matrix . ArrayBand . t type nd = Nvector_serial . data type nk = Nvector_serial . kind type t = nk Matrix . arrayband type nvec = Nvector_serial . t let rewrap = Matrix . wrap_arrayband let check_matrix a b tol = let ca , cb =... |
module Test = Test_matrix . Test ( ArrayBand_tests ) ( Nvector_serial . Ops ) |
let main ( ) = let fails = ref 0 in if Array . length Sys . argv < 5 then ( printf " ERROR : FOUR ( 4 ) Inputs required : matrix cols , matrix uband , matrix lband , print timing @\ n " ; exit ( - 1 ) ) ; let cols = int_of_string Sys . argv . ( 1 ) in if cols <= 0... |
let reps = try int_of_string ( Unix . getenv " NUM_REPS " ) with Not_found | Failure _ -> 1 |
let gc_at_end = try int_of_string ( Unix . getenv " GC_AT_END " ) <> 0 with Not_found | Failure _ -> false |
let gc_each_rep = try int_of_string ( Unix . getenv " GC_EACH_REP " ) <> 0 with Not_found | Failure _ -> false |
let _ = for _ = 1 to reps do main ( ) ; if gc_each_rep then Gc . compact ( ) done ; if gc_at_end then Gc . compact ( ) |
let ( ) += r x = r := ! r + x |
let compat2_3 = match Sundials . Config . sundials_version with | 2 , _ , _ -> true | 3 , _ , _ -> true | _ -> false |
module ArrayDense_tests = struct type k = Matrix . custom type m = Matrix . ArrayDense . t type nd = Nvector_serial . data type nk = Nvector_serial . kind type t = nk Matrix . arraydense type nvec = Nvector_serial . t let rewrap = Matrix . wrap_arraydense let check_matrix a b tol = let ca , c... |
module Test = Test_matrix . Test ( ArrayDense_tests ) ( Nvector_serial . Ops ) |
let main ( ) = let fails = ref 0 in if Array . length Sys . argv < 4 then ( printf " ERROR : THREE ( 3 ) Input required : matrix rows , matrix cols , print timing @\ n " ; exit ( - 1 ) ) ; let matrows = int_of_string Sys . argv . ( 1 ) in if matrows <= 0 then ( p... |
let reps = try int_of_string ( Unix . getenv " NUM_REPS " ) with Not_found | Failure _ -> 1 |
let gc_at_end = try int_of_string ( Unix . getenv " GC_AT_END " ) <> 0 with Not_found | Failure _ -> false |
let gc_each_rep = try int_of_string ( Unix . getenv " GC_EACH_REP " ) <> 0 with Not_found | Failure _ -> false |
let _ = for _ = 1 to reps do main ( ) ; if gc_each_rep then Gc . compact ( ) done ; if gc_at_end then Gc . compact ( ) |
let ( ) += r x = r := ! r + x |
let compat3 = match Sundials . Config . sundials_version with | 3 , _ , _ -> true | _ -> false |
module Band_tests = struct type k = Matrix . standard type m = Matrix . Band . t type nd = Nvector_serial . data type nk = Nvector_serial . kind type t = nk Matrix . band type nvec = Nvector_serial . t let rewrap = Matrix . wrap_band let check_matrix a b tol = let ca , cb = Matrix . ( un... |
module Test = Test_matrix . Test ( Band_tests ) ( Nvector_serial . Ops ) |
let main ( ) = let fails = ref 0 in if Array . length Sys . argv < 5 then ( printf " ERROR : FOUR ( 4 ) Inputs required : matrix cols , matrix uband , matrix lband , print timing @\ n " ; exit ( - 1 ) ) ; let cols = int_of_string Sys . argv . ( 1 ) in if cols <= 0... |
let reps = try int_of_string ( Unix . getenv " NUM_REPS " ) with Not_found | Failure _ -> 1 |
let gc_at_end = try int_of_string ( Unix . getenv " GC_AT_END " ) <> 0 with Not_found | Failure _ -> false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.