code wiki / _hdl_build / nx_connect_events.nx
nx_connect_events.nx
buildroot/runtime/_hdl_build/nx_connect_events.nx
about
nx_connect_events.nx -- CONNECT real-world MEETUP EVENTS + RSVP (the direct Meetup axis; the LDS
census MU cell). Group-scoped events with capacity, IDEMPOTENT RSVP (rule 10), cancel-frees-seat,
and the YOUTH-SAFETY wall extended to real-world gatherings: a MINOR may RSVP only to a YOUTH event
and only while the confirmed roster carries >=2 adults (the Church two-deep norm as an admission
invariant, mirroring nx_connect_lds_room). Age is the VERIFIED band (nx_connect_idage spine), and an
UNKNOWN band is treated as MINOR (fail-closed). Zero fees BY CONSTRUCTION: organizer + RSVP prices
live in a data table checked to be 0 for connection features -- the NEG-CONTROL is the documented
Meetup model (organizer $23.99/month + $2 RSVP fee, banked: knowledge/library/conncomp_meetup_wiki.txt)
which the same checker FLAGS. A no-wall incumbent admission model (Discord/Meetup-style: any adult,
any minor, no structural wall) is the safety NEG-CONTROL: it admits exactly the lone-adult+minor
contact ours refuses. 100% sovereign. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_connect_events_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 15 | const K_MAGIC_2399: i64 = 2399 |
functions
| 17 | func sw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 18 | func sn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 } |
| 19 | func tcheck(pass: i64, label: *u8, fails: *i64) -> i64 |
| 24 | func count_paid_connection(prices: *i64, isconn: *i64, n: i64) -> i64 called by 1: main |
| 30 | func main() -> i64 |