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

Function NewContext

context.go:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50var _ TypeFetcher = (*Context)(nil)
51
52func NewContext() *Context {
53 return &Context{
54 byID: make([]Type, IDTypeComplex, 2*IDTypeComplex),
55 }
56}
57
58func (c *Context) Reset() {
59 c.mu.Lock()

Callers 15

isValidFunction · 0.92
runOneBoomerangFunction · 0.92
TestRecordAccessNamedFunction · 0.92
TestNonRecordDerefFunction · 0.92
TestDuplicatesFunction · 0.92
TestTranslateNamedFunction · 0.92
TestCopyMutateFieldsFunction · 0.92
BenchmarkValueUnderFunction · 0.92
runFunction · 0.92

Calls

no outgoing calls

Tested by 15

isValidFunction · 0.74
runOneBoomerangFunction · 0.74
TestRecordAccessNamedFunction · 0.74
TestNonRecordDerefFunction · 0.74
TestDuplicatesFunction · 0.74
TestTranslateNamedFunction · 0.74
TestCopyMutateFieldsFunction · 0.74
BenchmarkValueUnderFunction · 0.74
FuzzQueryFunction · 0.74