github.com/primecitizens/pcz/std@v0.2.1/builtin/go/g_test.go (about) 1 package stdgo 2 3 import "github.com/primecitizens/pcz/std/core/alloc" 4 5 var _ G = (*GHead)(nil) 6 7 func (gp *GHead) Rand32() uint32 { return gp.G().Rand32() } 8 func (gp *GHead) Rand64() uint64 { return gp.G().Rand64() } 9 func (gp *GHead) Status() Status { return gp.G().Status() } 10 func (gp *GHead) DefaultAlloc() alloc.M { return gp.G().DefaultAlloc() } 11 func (gp *GHead) PersistantAlloc() alloc.P { return gp.G().PersistantAlloc() }