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
Copy file name to clipboardExpand all lines: lib/main.js
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ var Buffer = require( '@stdlib/buffer-ctor' );
35
35
* - The underlying memory of returned `Buffer` instances is not initialized. Memory contents are unknown and may contain sensitive data.
36
36
* - When the size is less than half the pool size (specified on the `Buffer` constructor), memory is allocated from the `Buffer` pool for faster allocation of new `Buffer` instances.
37
37
*
38
-
*
39
38
* @param {NonNegativeInteger} size - number of bytes to allocate
40
39
* @throws {TypeError} must provide a nonnegative integer
Copy file name to clipboardExpand all lines: lib/polyfill.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,6 @@ var Buffer = require( '@stdlib/buffer-ctor' );
35
35
* - The underlying memory of returned `Buffer` instances is not initialized. Memory contents are unknown and may contain sensitive data.
36
36
* - When the size is less than half the pool size (specified on the `Buffer` constructor), memory is allocated from the `Buffer` pool for faster allocation of new `Buffer` instances.
37
37
*
38
-
*
39
38
* @param {NonNegativeInteger} size - number of bytes to allocate
40
39
* @throws {TypeError} must provide a nonnegative integer
41
40
* @returns {Buffer} new `Buffer` instance
@@ -48,7 +47,7 @@ function allocUnsafe( size ) {
48
47
if(!isNonNegativeInteger(size)){
49
48
thrownewTypeError(format('invalid argument. Must provide a nonnegative integer. Value: `%s`.',size));
0 commit comments