interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / aienux / disk / tests / omega_nvme_failstop.om

23 lines · 379 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Verification-only: an uncertain completion must reject a second read and reopen.
3fn main to int
4getmanifest
5r = initialize
6if ne r 0
7report r
8ret r
9end
10r = readblocks man64 48 man32 56
11if ne get st 0 0
12again = readblocks man64 48 man32 56
13if ne again 10
14ret 91
15end
16again = initialize
17if ne again 10
18ret 92
19end
20end
21report r
22ret r
23end