MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / cn1_iv0

Function cn1_iv0

vm/ByteCodeTranslator/src/javascript/parparvm_runtime.js:4218–4224  ·  view source on GitHub ↗
(target, mid)

Source from the content-addressed store, hash-verified

4216// no heartbeat, pointer input dead). _Yc is counter-amortised (clock
4217// check every 256th call) so the hot-path cost is one increment+compare.
4218function* cn1_iv0(target, mid) {
4219 if (_Yc()) yield _Yv;
4220 if (target == null) { yield* throwNullPointerException(); }
4221 const r = cn1_ivResolve(target, mid)(target);
4222 if (r && typeof r.next === "function") { return yield* r; }
4223 return r;
4224}
4225function* cn1_iv1(target, mid, a0) {
4226 if (_Yc()) yield _Yv;
4227 if (target == null) { yield* throwNullPointerException(); }

Callers

nothing calls this directly

Calls 3

_YcFunction · 0.85
cn1_ivResolveFunction · 0.85

Tested by

no test coverage detected