MCPcopy Index your code
hub / github.com/plotly/plotly.js / bruteForceRedFlip

Function bruteForceRedFlip

stackgl_modules/index.js:6493–6508  ·  view source on GitHub ↗
(d, ax, vv, rs, re, rb, ri, bs, be, bb, bi)

Source from the content-addressed store, hash-verified

6491
6492function partial() {
6493 function bruteForceRedFlip(d, ax, vv, rs, re, rb, ri, bs, be, bb, bi) {
6494 var es = 2 * d
6495 for (var i = rs, rp = es * rs; i < re; ++i, rp += es) {
6496 var x0 = rb[ax + rp], x1 = rb[ax + rp + d], xi = ri[i]
6497 Q: for (var j = bs, bp = es * bs; j < be; ++j, bp += es) {
6498 var y0 = bb[ax + bp], yi = bi[j]
6499 if (y0 <= x0 || x1 < y0) continue
6500 for (var k = ax + 1; k < d; ++k) {
6501 var r0 = rb[k + rp], r1 = rb[k + d + rp], b0 = bb[k + bp], b1 = bb[k + d + bp]
6502 if (r1 < b0 || b1 < r0) continue Q
6503 }
6504 var rv = vv(yi, xi)
6505 if (rv !== void 0) return rv
6506 }
6507 }
6508 }
6509 function bruteForceRed(d, ax, vv, rs, re, rb, ri, bs, be, bb, bi) {
6510 var es = 2 * d
6511 for (var i = rs, rp = es * rs; i < re; ++i, rp += es) {

Callers 1

bruteForcePartialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…