code wiki / (root) / nx_any_positive.nx

nx_any_positive.nx

buildroot/runtime/nx_any_positive.nx

971 B30 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind generated fixturetopic any
docsdependenciesstructsconstsfunctions

about

nx_any_positive.nx -- AUTO-GENERATED from shape `array_predicate`. Shape: read-only scan returning 1 (predicate satisfied) or 0. The SHORTCIRCUIT_BODY is the per-element test; the loop iterates until exhaustion or the body returns early. DEFAULT_RETURN is what the function returns if no element triggers short-circuit. genealogy_id: lineage_id: array_predicate license: public_domain complexity: O(n) worst case, may short-circuit

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_tier.nx nx_any_positive.nx nx_any_positive_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_any_positive_test.nx

structs

none

consts

none

functions

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