MCPcopy Index your code
hub / github.com/nodejs/node / appendMappingCharCode

Function appendMappingCharCode

test/fixtures/snapshot/typescript.js:90171–90178  ·  view source on GitHub ↗
(charCode)

Source from the content-addressed store, hash-verified

90169 || lastNameIndex !== pendingNameIndex;
90170 }
90171 function appendMappingCharCode(charCode) {
90172 mappingCharCodes.push(charCode);
90173 // String.fromCharCode accepts its arguments on the stack, so we have to chunk the input,
90174 // otherwise we can get stack overflows for large source maps
90175 if (mappingCharCodes.length >= 1024) {
90176 flushMappingBuffer();
90177 }
90178 }
90179 function commitPendingMapping() {
90180 if (!hasPending || !shouldCommitMapping()) {
90181 return;

Callers 2

commitPendingMappingFunction · 0.85
appendBase64VLQFunction · 0.85

Calls 2

flushMappingBufferFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…