nx_count_zero.nx
buildroot/runtime/nx_count_zero.nx
about
nx_count_zero.nx -- AUTO-GENERATED from shape `array_count_predicate`.
Count array elements satisfying if v == 0 { count = count + 1 } (an `if ... { count = count + 1 }`).
genealogy_id:
lineage_id: array_count
license: public_domain
complexity: O(n)
dependencies 2 imports · 1 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_count_zero_test.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_count_zero(arr: *nx_int, n: nx_idx) -> nx_int called by 1: main |