MCPcopy Index your code
hub / github.com/dataease/SQLBot / allocUnsafe

Function allocUnsafe

frontend/public/swagger-ui-bundle.js:21601–21603  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

21599 if (s < 0) throw new RangeError('The value "' + s + '" is invalid for option "size"')
21600 }
21601 function allocUnsafe(s) {
21602 return (assertSize(s), createBuffer(s < 0 ? 0 : 0 | checked(s)))
21603 }
21604 function fromArrayLike(s) {
21605 const o = s.length < 0 ? 0 : 0 | checked(s.length),
21606 i = createBuffer(o)

Callers 2

BufferFunction · 0.85

Calls 3

assertSizeFunction · 0.85
createBufferFunction · 0.85
checkedFunction · 0.85

Tested by

no test coverage detected