Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fogleman/primitive
/ Heatmap
Struct
Heatmap
primitive/heatmap.go:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
)
8
9
type
Heatmap
struct
{
10
W, H int
11
Count []uint64
12
}
13
14
func
NewHeatmap(w, h int) *Heatmap {
15
count := make([]uint64, w*h)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected