- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for drawBox (0.14 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js
const divs = []; for (const box of list) { box.y -= adjust; divs.push(drawBox(xscale, box)); } divs.push(drawSep(-adjust, posTotal, negTotal)); const h = (list.length > 0 ? list[list.length-1].y : 0) + 4*ROW; chart.style.height = h+'px'; chart.replaceChildren(...divs); } function drawBox(xscale, box) { const srcIndex = box.src; const src = stacks.Sources[srcIndex];
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 18.5K bytes - Viewed (0) -
src/image/draw/bench_test.go
x := 3 * i % (dstw - srcw) y := 7 * i % (dsth - srch) DrawMask(dst, dst.Bounds().Add(image.Pt(x, y)), src, image.Point{}, mask, image.Point{}, op) } } // The BenchmarkFoo functions exercise a drawFoo fast-path function in draw.go. func BenchmarkFillOver(b *testing.B) { bench(b, color.RGBAModel, nil, nil, Over) } func BenchmarkFillSrc(b *testing.B) { bench(b, color.RGBAModel, nil, nil, Src) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 6.6K bytes - Viewed (0)