MCPcopy Index your code
hub / github.com/fogleman/primitive / NewHeatmap

Function NewHeatmap

primitive/heatmap.go:14–17  ·  view source on GitHub ↗
(w, h int)

Source from the content-addressed store, hash-verified

12}
13
14func NewHeatmap(w, h int) *Heatmap {
15 count := make([]uint64, w*h)
16 return &Heatmap{w, h, count}
17}
18
19func (h *Heatmap) Clear() {
20 for i := range h.Count {

Callers 1

NewWorkerFunction · 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…