nx_classical_unpatented_3.nx
buildroot/runtime/nx_classical_unpatented_3.nx
about
nx_classical_unpatented_3.nx -- batch 3 of unpatented algorithms:
4 hash functions + 4 array transformations. All public domain.
dependencies 2 imports · 3 importers
imports: nx_syscalls.nxnx_tier.nx
imported by: nx_classical_unpatented_3_test.nxnx_triangulation_classical.nxnx_triangulation_crypto_fft.nx
structs
| none |
consts
| 12 | const K_MAGIC_2166136261: i64 = 2166136261 |
| 13 | const K_MAGIC_16777619: i64 = 16777619 |
| 14 | const K_MAGIC_5381: i64 = 5381 |
| 15 | const K_MAGIC_65521: i64 = 65521 |
functions
| 27 | func nx_fnv1a_32_buf(buf: *u8, n: nx_size) -> nx_int |
| 42 | func nx_djb2_buf(buf: *u8, n: nx_size) -> nx_int |
| 56 | func nx_jenkins_oaat_buf(buf: *u8, n: nx_size) -> nx_int |
| 75 | func nx_adler32_buf(buf: *u8, n: nx_size) -> nx_int |
| 88 | func nx_array_reverse_inplace(arr: *nx_int, n: nx_idx) -> nx_int called by 1: main |
| 107 | func nx_array_rotate_left(arr: *nx_int, n: nx_idx, k: nx_idx) -> nx_int called by 1: main |
| 149 | func nx_partition_lomuto(arr: *nx_int, n: nx_idx) -> nx_idx called by 1: main |
| 170 | func nx_count_occurrences(arr: *nx_int, n: nx_idx, target: nx_int) -> nx_int |