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/aienux/blob/main/native/kernel/tests/fixtures/pipe/p002_capacity_partial.vec # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. 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 `aienux / native / kernel / tests / fixtures / pipe / p002_capacity_partial.vec` 15 lines ยท 441 bytes Raw Blame History 1 case capacity_partial 2 kind negative 3 # a finite buffer: a write past capacity is partial, a write on a full pipe is WOULD_BLOCK, never unbounded 4 create R W A => OK 5 fill W 65000 41 => OK n=65000 6 fill W 1000 42 => OK n=536 7 write W "x" => WOULD_BLOCK 8 check max_resident=65536 would_block=1 9 read R 100 => OK n=100 10 fill W 200 43 => OK n=100 11 write W "x" => WOULD_BLOCK 12 check max_resident=65536 would_block=2 13 close W => OK 14 close R => OK 15 check empty