code wiki / (root) / nx_wflow_boolean_boundary_probe_t344.nx

nx_wflow_boolean_boundary_probe_t344.nx

buildroot/runtime/nx_wflow_boolean_boundary_probe_t344.nx

318 B4 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind probetopic wflow
docsdependenciesstructsconstsfunctions

dependencies 1 imports · 0 importers

nx_send.nx nx_wflow_boolean_boundary_prob

imports: nx_send.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

3func probe()->i64{observed=observed+1;return 1}
4func main()->i64{observed=0;let a:i64=(1==1)||(probe()==1);p("or_rhs_calls=");pn(observed);p(" value=");pn(a);p("\n");observed=0;let b:i64=(1==0)&&(probe()==1);p("and_rhs_calls=");pn(observed);p(" value=");pn(b);p("\n");return 0}