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

Function CodepointStart

deps/v8/test/mjsunit/wasm/stringrefs-exec.js:956–962  ·  view source on GitHub ↗
(wtf8, offset)

Source from the content-addressed store, hash-verified

954 return wtf8.length;
955 }
956 function CodepointStart(wtf8, offset) {
957 if (offset >= wtf8.length) return wtf8.length;
958 while (!Wtf8StartsCodepoint(wtf8, offset)) {
959 offset--;
960 }
961 return offset;
962 }
963
964 let instance = builder.instantiate();
965 let memory = new Uint8Array(instance.exports.memory.buffer);

Callers 2

stringrefs-exec.jsFile · 0.85
checkEncodingFunction · 0.85

Calls 1

Wtf8StartsCodepointFunction · 0.85

Tested by

no test coverage detected