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

Method enter

sio/bsupio/types.go:457–465  ·  view source on GitHub ↗
(typ super.Type)

Source from the content-addressed store, hash-verified

455}
456
457func (d *Decoder) enter(typ super.Type) {
458 // Even though type decoding is single threaded, workers processing a
459 // previous batch can be accessing the types map (via LookupType) while
460 // the single thread is extending it so these accesses are protected
461 // with the mutex.
462 d.mu.Lock()
463 d.types = append(d.types, typ)
464 d.mu.Unlock()
465}

Callers 9

readTypeRecordMethod · 0.95
readTypeArrayMethod · 0.95
readTypeSetMethod · 0.95
readTypeMapMethod · 0.95
readTypeUnionMethod · 0.95
readTypeEnumMethod · 0.95
readTypeNameMethod · 0.95
readTypeErrorMethod · 0.95
readTypeFusionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected