You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb15ba4
Browse filesBrowse the repository at this point in the historyBrowse files
Address Copilot review feedback:
- The test asserted `buf.byteOffset % alignment === 0`, which does not
hold: the padding an allocation needs depends on where its backing
store lands, so an aligned buffer's `byteOffset` is congruent to
`-address` modulo `alignment`, not to 0. Check alignment against
`arrayBufferAlignedOffset()` instead, which makes the address
alignment genuinely observable from JS rather than only asserted by
the binding's CHECKs.
- Correct the pre-existing `@returns {FastBuffer|undefined}` on
`Buffer.allocUnsafeSlow()`; it never returns undefined.
Assisted-by: Claude/Opus 5
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments