Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/salvage/tests/limits.om # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / salvage / tests / limits.om` 72 lines ยท 999 bytes Raw Blame History 1 text qla "did:key:quota-author" 2 text qlb "did:key:other-author" 3 text qlpass "SALVAGE_LIMITS PASS: 64 per author, durable recount, independent author, second writer refused\n" 4 fn qlrecord who view uchar * serial uchar to void 5 b = new uchar 1 0 6 put b 0 serial 7 slbegin 1 8 x = slput 0 who 9 x = slput 1 b 10 for i ulong 10 11 x = slput add i 2 tlempty 12 end 13 end 14 fn main to int 15 p = new uchar 512 0 16 st = new uchar 4 0 17 n = argread 1 p 0 512 18 if le n 0 19 ret 1 20 end 21 if not slroot view part p 0 ulong n 22 ret 2 23 end 24 if not slinit 25 ret 3 26 end 27 for i ulong 64 28 qlrecord qla uchar add i 32 29 if not slsave 30 ret 4 31 end 32 end 33 qlrecord qla 100 34 if slsave 35 ret 5 36 end 37 qlrecord qlb 100 38 if not slsave 39 ret 6 40 end 41 if ne get glidxn 0 65 42 ret 7 43 end 44 if not slinit 45 ret 8 46 end 47 qlrecord qla 101 48 if slquota 49 ret 9 50 end 51 pid = fork 52 if lt pid 0 53 ret 10 54 end 55 if eq pid 0 56 r = fclose int get gllock 0 57 put gllock 0 0 58 if slinit 59 exit 1 60 end 61 exit 0 62 end 63 r = waitpid int pid st 0 4 0 64 if ne r pid 65 ret 11 66 end 67 if ne get st 1 0 68 ret 12 69 end 70 r = write 1 qlpass 0 len qlpass 71 ret 0 72 end