omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / ng / front / runs / diag-host-prlimit.om
| 1 | om2 diag |
| 2 | note Host-only admission/error path; no GPU or device opened. |
| 3 | text path "/dev/null" |
| 4 | fn main to int |
| 5 | a = new uchar 128 0 |
| 6 | b = new uchar 128 0 |
| 7 | r = prlimit 0 3 a 0 16 |
| 8 | if not eq r 0 |
| 9 | ret 1 |
| 10 | end |
| 11 | ret 0 |
| 12 | end |