MCPcopy 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
90func Area(sz image.Point) int {
91 return sz.X * sz.Y
92}
93
94// Alloc allocates items as a function of size
95func (sa *SzAlloc) Alloc() {

Callers 1

SetSizesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected