MCPcopy Create free account
hub / github.com/alignoth/alignoth / pS

Function pS

resources/vega.min.js:26143–26165  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

26141 }
26142 }
26143 function pS(t, e, n) {
26144 n >>= 5;
26145 for (
26146 var r,
26147 i = t.sprite,
26148 o = t.width >> 5,
26149 a = t.x - (o << 4),
26150 s = 127 & a,
26151 u = 32 - s,
26152 l = t.y1 - t.y0,
26153 c = (t.y + t.y0) * n + (a >> 5),
26154 f = 0;
26155 f < l;
26156 f++
26157 ) {
26158 r = 0;
26159 for (var h = 0; h <= o; h++)
26160 if (((r << u) | (h < o ? (r = i[f * o + h]) >>> s : 0)) & e[c + h])
26161 return !0;
26162 c += n;
26163 }
26164 return !1;
26165 }
26166 function gS(t, e) {
26167 var n = t[0],
26168 r = t[1];

Callers 1

hFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected