code wiki / (root) / nx_features_test.nx

nx_features_test.nx

buildroot/runtime/nx_features_test.nx

6806 B194 linesdepth 7pulls 14 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_features_test.nx -- smoke for image + feature primitives. Uses SYNTHETIC test images (generated procedurally) so the smoke has no external dependency.

dependencies 5 imports · 0 importers

syscalls.nx nx_axioms.nx nx_image.nx nx_features.nx nx_qed_freek.nx nx_features_test.nx

imports: syscalls.nxnx_axioms.nxnx_image.nxnx_features.nxnx_qed_freek.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_image_alloc sys_mmap nx_image_set nx_image_get nx_image_to_grayscale nx_image_alloc ↻ nx_image_get ↻ nx_image_set ↻ nx_image_sobel_x sys_mmap ↻ nx_image_convolve_3x3 nx_image_s64_alloc sys_mmap ↻ nx_image_get ↻ nx_image_s64_set nx_image_s64_get nx_image_sobel_y sys_mmap ↻ nx_image_convolve_3x3 ↻ nx_image_gradient_magnitud nx_image_s64_alloc ↻ nx_image_s64_get ↻ nx_muldiv_i64 nx_i128_alloc nx_i128_mul_i64 nx_i128_mul_u64 nx_i128_neg nx_i128_div_i64 nx_i128_is_neg nx_i128_neg ↻ nx_i128_udiv_u64 nx_image_s64_set ↻ nx_image_histogram_256 nx_image_get ↻ nx_image_otsu_threshold sys_mmap ↻ nx_image_histogram_256 ↻ nx_muldiv_i64 ↻ nx_image_threshold

structs

none

consts

none

functions

12func main() -> i64 {