MCPcopy
hub / github.com/vercel/next.js / a

Function a

packages/next/src/compiled/@vercel/og/index.edge.js:17829–17834  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

17827 return l2 === void 0 && (l2 = e.measure(f, { fontSize: r, letterSpacing: i }), o.set(f, l2)), l2;
17828 }
17829 function a(f) {
17830 let l2 = 0;
17831 for (let p of f)
17832 t(p) ? l2 += r : l2 += s(p);
17833 return l2;
17834 }
17835 function u2(f) {
17836 return a(Ve(f, "grapheme"));
17837 }

Callers 15

ZFunction · 0.70
g2Function · 0.70
IcFunction · 0.70
index.edge.jsFile · 0.70
u2Function · 0.70
BdFunction · 0.70
tcFunction · 0.70
index.jsFile · 0.50
mcp.jsFile · 0.50
_traverseFunction · 0.50
_normalizeIPv4Function · 0.50
_normalizeIPv6Function · 0.50

Calls 10

splitMethod · 0.80
tFunction · 0.70
sFunction · 0.70
luFunction · 0.70
XFunction · 0.70
matchMethod · 0.65
joinMethod · 0.45
mapMethod · 0.45
endsWithMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected