MCPcopy Create free account
hub / github.com/brimdata/super / GenTypes

Function GenTypes

fuzz/fuzz.go:264–270  ·  view source on GitHub ↗
(b *bytes.Reader, context *super.Context, depth int)

Source from the content-addressed store, hash-verified

262}
263
264func GenTypes(b *bytes.Reader, context *super.Context, depth int) []super.Type {
265 var types []super.Type
266 for len(types) == 0 || GenByte(b) != 0 {
267 types = append(types, GenType(b, context, depth))
268 }
269 return types
270}
271
272func GenType(b *bytes.Reader, context *super.Context, depth int) super.Type {
273 if depth < 0 || GenByte(b)%2 == 0 {

Callers 3

FuzzQueryFunction · 0.92
FuzzCSUPRoundtripGenFunction · 0.92
GenTypeFunction · 0.85

Calls 2

GenByteFunction · 0.85
GenTypeFunction · 0.85

Tested by 2

FuzzQueryFunction · 0.74
FuzzCSUPRoundtripGenFunction · 0.74