MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / allocUnsafe

Function allocUnsafe

static/plugins/pdfmake/pdfmake.js:4247–4250  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

4245};
4246
4247function allocUnsafe(size) {
4248 assertSize(size);
4249 return createBuffer(size < 0 ? 0 : checked(size) | 0);
4250}
4251/**
4252 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
4253 * */

Callers 2

BufferFunction · 0.70
pdfmake.jsFile · 0.70

Calls 3

assertSizeFunction · 0.70
createBufferFunction · 0.70
checkedFunction · 0.70

Tested by

no test coverage detected