code wiki / (root) / nx_find_first_negative.nx

nx_find_first_negative.nx

buildroot/runtime/nx_find_first_negative.nx

796 B26 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind generated fixturetopic find
docsdependenciesstructsconstsfunctions

about

nx_find_first_negative.nx -- AUTO-GENERATED from shape `array_find_index`. Return index of first element satisfying the COND_BODY test; -1 if none. genealogy_id: lineage_id: array_find_index license: public_domain complexity: O(n) worst, short-circuits on match

dependencies 2 imports · 1 importers

nx_syscalls.nx nx_tier.nx nx_find_first_negative.nx nx_find_first_negative_test.nx

imports: nx_syscalls.nxnx_tier.nx

imported by: nx_find_first_negative_test.nx

structs

none

consts

none

functions

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