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

Function checked

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

Source from the content-addressed store, hash-verified

21625 )
21626 }
21627 function checked(s) {
21628 if (s >= w)
21629 throw new RangeError(
21630 'Attempt to allocate Buffer larger than maximum size: 0x' +
21631 w.toString(16) +
21632 ' bytes'
21633 )
21634 return 0 | s
21635 }
21636 function byteLength(s, o) {
21637 if (Buffer.isBuffer(s)) return s.length
21638 if (ArrayBuffer.isView(s) || isInstance(s, ArrayBuffer)) return s.byteLength

Callers 3

fromFunction · 0.85
allocUnsafeFunction · 0.85
fromArrayLikeFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected