Skip to content

Commit

Permalink
Documentation style change and remove accidental additions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannad committed Jun 28, 2024
1 parent ef5474d commit 3fe52ab
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// Collects the view of the resizable array buffer rab into values, with an
// iteration during which, after resizeAfter steps, rab is resized to length
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// Collects the view of the resizable array buffer rab into values, with an
// iteration during which, after resizeAfter steps, rab is resized to length
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
Expand Down
14 changes: 0 additions & 14 deletions test/built-ins/Array/prototype/every/resizable-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ includes: [resizableArrayBufferUtils.js ]
features: [resizable-arraybuffer]
---*/

let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo);
}

for (let ctor of ctors) {
const rab = CreateResizableArrayBuffer(4 * ctor.BYTES_PER_ELEMENT, 8 * ctor.BYTES_PER_ELEMENT);
const fixedLength = new ctor(rab, 0, 4);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// Collects the view of the resizable array buffer rab into values, with an
// iteration during which, after resizeAfter steps, rab is resized to length
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// Collects the view of the resizable array buffer rab into values, with an
// iteration during which, after resizeAfter steps, rab is resized to length
// resizeTo. To be called by a method of the view being collected.
// Note that rab, values, resizeAfter, and resizeTo may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
Expand Down
14 changes: 0 additions & 14 deletions test/built-ins/TypedArray/prototype/every/resizable-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ includes: [resizableArrayBufferUtils.js]
features: [resizable-arraybuffer]
---*/

let values;
let rab;
let resizeAfter;
let resizeTo;
// Collects the view of the resizable array buffer "rab" into "values", with an
// iteration during which, after "resizeAfter" steps, "rab" is resized to length
// "resizeTo". To be called by a method of the view being collected.
// Note that "rab", "values", "resizeAfter", and "resizeTo" may need to be reset
// before calling this.
function ResizeBufferMidIteration(n) {
// Returns true by default.
return CollectValuesAndResize(n, values, rab, resizeAfter, resizeTo);
}

for (let ctor of ctors) {
const rab = CreateResizableArrayBuffer(4 * ctor.BYTES_PER_ELEMENT, 8 * ctor.BYTES_PER_ELEMENT);
const fixedLength = new ctor(rab, 0, 4);
Expand Down

0 comments on commit 3fe52ab

Please sign in to comment.