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

Function firstCodePointOfRange

deps/v8/test/mjsunit/whitespaces.js:106–108  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

104const max_codepoint = 0x10000;
105
106function firstCodePointOfRange(i) {
107 return Math.floor(i * (max_codepoint / number_of_tests));
108}
109
110function testCodePointRange(i) {
111 assertTrue(i >= 0 && i < number_of_tests);

Callers 1

testCodePointRangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…