Skip to content
Myr

slab.go

This file

Path

src/util/slab.go

12 lines · 185 bytes · Go

Last changed by

Not known.

History of this file

Take it

1package util23type Slab struct {4	I16 []int165	I32 []int326}78func MakeSlab(size16 int, size32 int) *Slab {9	return &Slab{10		I16: make([]int16, size16),11		I32: make([]int32, size32)}12}