MCPcopy Index your code
hub / github.com/UI5/webcomponents / allocUnsafe

Function allocUnsafe

packages/main/test/pages/diffable-html.js:308–311  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

306 }
307
308 function allocUnsafe (size) {
309 assertSize(size)
310 return createBuffer(size < 0 ? 0 : checked(size) | 0)
311 }
312
313 /**
314 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.

Callers 2

BufferFunction · 0.85
diffable-html.jsFile · 0.85

Calls 3

assertSizeFunction · 0.85
createBufferFunction · 0.85
checkedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…