code wiki / _hdl_build / nx_adnet_apply_gate.nx
nx_adnet_apply_gate.nx
buildroot/runtime/_hdl_build/nx_adnet_apply_gate.nx
about
nx_adnet_apply_gate.nx -- GATE for the public advertiser intake page (nx_adnet_apply).
A public page is a PROMISE, so the teeth check that the promise matches the machine:
* THE SPEC ON THE PAGE MUST MATCH THE VALIDATOR. 728x90 and the 64KB ceiling are what
nx_adnet_creative actually enforces. A spec page that drifts from its validator produces a support
queue full of rejected uploads and an advertiser who thinks we moved the goalposts.
* THE VIEWABLE CLAIM MUST BE STATED, because it is the one thing that makes the invoice defensible.
* STAGED-NEVER-LIVE MUST BE SAID OUT LOUD in the acknowledgement -- an ack that implies the ad is
running is a lie the operator has to walk back.
* NO VISITOR FIELD. The form must collect a BUSINESS contact and nothing that could be a visitor
record; this is a paired control (business fields present AND tracking fields absent) so the tooth
is proven able to fail.
expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_adnet_apply.nxnx_gate_verdict.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
| none |
functions
| 17 | func ta_slen(s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { i = i + 1 } return i } |
| 18 | func ta_puts(s: *u8) -> i64 { sys_write(1, s, ta_slen(s)); return 0 } |
| 19 | func ta_pn(v: i64) -> i64 |
| 31 | func ta_has(buf: *u8, n: i64, pat: *u8) -> i64 |
| 45 | func ta_check(name: *u8, cond: i64) -> i64 |
| 51 | func main() -> i64 |