summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 18:23:20 -0300
committerGabriel Schneider <[email protected]>2026-11-06 20:00:43 -0300
commit1b38ca0aa0bfae1177f80a6713ec6d787d2f77d4 (patch)
tree9c656ca528561286e07c099a8d770af89417100a /src/replica.zig
parenteeb59b92295e74b956d32e66c3c318e105a391db (diff)
downloadpardes-1b38ca0aa0bfae1177f80a6713ec6d787d2f77d4.tar.gz
pardes-1b38ca0aa0bfae1177f80a6713ec6d787d2f77d4.zip
kinds #39, paint writes nothing a step reads and the digest is every Slot field a step reads (§17.2 B 2-3): the Slot says what is the kind's own or a frame's (its code and memory, its jobs' inputs, a placeholder's record, the place its kind says, the thumb, the pointer, whether a frame was drawn) and the walker digests the rest, `placed` and the prefix leave the Shadow's frame (the pointer its one byte), the dump carries the cancelled tokens a replica's job answers are dropped by, and a pane test dumps a session with a PDF and a picture, loads it on another core and compares every Slot field the walk does not leave out, so a field added and not dumped fails a test, not a soak
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replica.zig b/src/replica.zig
index 2a2d2f55..29904fa0 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -449,7 +449,7 @@ pub const Screens = struct {
// Within the wire's bound, its head (6 bytes) aside: a page of a
// PDF in a wide window is more, and a message past it ends
// the peer's link (its reader stops at it).
- if (!try screen_state.encodeShadow(x.s.gpa, &pp.shadow, &frame, k.prefix.slice(), false, k.pointer, wire.max_payload - 6, &w.writer)) continue;
+ if (!try screen_state.encodeShadow(x.s.gpa, &pp.shadow, &frame, k.pointer, wire.max_payload - 6, &w.writer)) continue;
try x.out.append(x.s.gpa, try x.s.gpa.dupe(u8, w.written()));
};
}