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

Function TypeID

type.go:376–381  ·  view source on GitHub ↗
(typ Type)

Source from the content-addressed store, hash-verified

374}
375
376func TypeID(typ Type) int {
377 if named, ok := typ.(*TypeNamed); ok {
378 return named.id
379 }
380 return typ.ID()
381}
382
383// UniqueTypes returns the set of unique Types in types in sorted
384// order. types will be sorted and deduplicated in place.

Callers 15

encodeTypeRecordMethod · 0.92
encodeTypeUnionMethod · 0.92
encodeTypeSetMethod · 0.92
encodeTypeArrayMethod · 0.92
encodeTypeMapMethod · 0.92
encodeTypeNameMethod · 0.92
encodeTypeErrorMethod · 0.92
encodeTypeFusionMethod · 0.92
WriteMethod · 0.92
encodeTypeMethod · 0.92
newTypeMethod · 0.92
encodePrimitiveMethod · 0.92

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected