Conversation
6dc1d1e to
f622fff
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
f622fff to
b57fa1f
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
b57fa1f to
b739413
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
b739413 to
5690750
Compare
|
CI does not seem happy |
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
5690750 to
ddbc9cd
Compare
Codecov Reportβ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #62390 +/- ##
==========================================
+ Coverage 89.72% 89.78% +0.06%
==========================================
Files 695 699 +4
Lines 214464 216282 +1818
Branches 41067 41349 +282
==========================================
+ Hits 192420 194193 +1773
- Misses 14106 14188 +82
+ Partials 7938 7901 -37
π New features to boost your workflow:
|
doc/api/buffer.md
Outdated
| ``` | ||
|
|
||
| ### `buf.includes(value[, byteOffset][, encoding])` | ||
| ### `buf.includes(value[, byteOffset[, end]][, encoding])` |
There was a problem hiding this comment.
When we start getting into new optional arguments in the middle like this I think we should consider an alternative signature with an options bag instead...
buf.includes(value, {
byteOffset: 0,
end: 10,
encoding: 'utf8',
});
Failed to start CIβ Commits were pushed since the last approving review: β - buffer: add end parameter β Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/23542726197 |
|
There's a conflict to solve |
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
ddbc9cd to
c4aecb4
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390
c4aecb4 to
445df3f
Compare
Commit Queue failed- Loading data for nodejs/node/pull/62390 β Done loading data for nodejs/node/pull/62390 ----------------------------------- PR info ------------------------------------ Title buffer: add end parameter (#62390) Author Robert Nagy <ronagy@icloud.com> (@ronag) Branch ronag:buffer-index-of-end -> nodejs:main Labels buffer, c++, semver-minor, author ready, needs-ci, review wanted Commits 1 - buffer: add end parameter Committers 1 - Robert Nagy <ronagy@icloud.com> PR-URL: https://github.com/nodejs/node/pull/62390 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/62390 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> -------------------------------------------------------------------------------- βΉ This PR was created on Sun, 22 Mar 2026 09:53:58 GMT β Approvals: 1 β - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/62390#pullrequestreview-4067847074 β Last GitHub CI successful βΉ Last Full PR CI on 2026-04-08T05:43:34Z: https://ci.nodejs.org/job/node-test-pull-request/72552/ - Querying data for job/node-test-pull-request/72552/ β Build data downloaded β Last Jenkins CI successful -------------------------------------------------------------------------------- β No git cherry-pick in progress β No git am in progress β No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD β origin/main is now up-to-date - Downloading patch for 62390 From https://github.com/nodejs/node * branch refs/pull/62390/merge -> FETCH_HEAD β Fetched commits as 70c1d6b7314f..445df3f2a63a -------------------------------------------------------------------------------- [main c26888b5a4] buffer: add end parameter Author: Robert Nagy <ronagy@icloud.com> Date: Sun Mar 22 10:53:00 2026 +0100 5 files changed, 195 insertions(+), 58 deletions(-) β Patches applied -------------------------------------------------------------------------------- β Found PR-URL: https://github.com/nodejs/node/pull/62390, skipping.. --------------------------------- New Message ---------------------------------- buffer: add end parameterhttps://github.com/nodejs/node/actions/runs/24207909791 |
To limit how far into the buffer we search without allocating an unnecessary subarray. PR-URL: #62390 Signed-off-by: Robert Nagy <ronay@icloud.com>
445df3f to
999b453
Compare
To limit how far into the buffer we search without allocating an unnecessary subarray.