Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ Area
Function
Area
vgpu/szalloc/szalloc.go:90–92 ·
view source on GitHub ↗
(sz image.Point)
Source
from the content-addressed store, hash-verified
88
}
89
90
func
Area(sz image.Point) int {
91
return
sz.X * sz.Y
92
}
93
94
// Alloc allocates items as a function of size
95
func
(sa *SzAlloc) Alloc() {
Callers
1
SetSizes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected