code wiki / (root) / nx_count_positive.nx

nx_count_positive.nx

buildroot/runtime/nx_count_positive.nx

820 B27 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind generated fixturetopic count
docsdependenciesstructsconstsfunctions

about

nx_count_positive.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

nx_syscalls.nx nx_tier.nx nx_count_positive.nx nx_count_positive_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_count_positive_test.nx

structs

none

consts

none

functions

18func nx_count_positive(arr: *nx_int, n: nx_idx) -> nx_int
called by 1: main