MCPcopy Create free account
hub / github.com/microsoft/SandDance / kMaxLength

Function kMaxLength

docs/tests/v2/es6/js/sanddance.js:78434–78438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78432}
78433
78434function kMaxLength () {
78435 return Buffer.TYPED_ARRAY_SUPPORT
78436 ? 0x7fffffff
78437 : 0x3fffffff
78438}
78439
78440function createBuffer (that, length) {
78441 if (kMaxLength() < length) {

Callers 3

sanddance.jsFile · 0.85
createBufferFunction · 0.85
checkedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected