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 / seed / qualification / om2 / sec / s5s7 / m6-export-layout.om

12 lines · 390 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 6 lines 182-185, 204 and 5 line 156: an exported entry with an unsized view and a
3note layout parameter: accepted (function mode).
4om2
5layout shactx 104
6field state uint 8 at 0 little
7field count ulong at 32 little
8field buf uchar 64 at 40 little
9end
10export fn first c view shactx d view uchar * to ulong
11ret add get c count len d
12end