Home
last modified time | relevance | path

Searched defs:EnumRanges (Results 1 – 2 of 2) sorted by relevance

/external/golang-protobuf/internal/filedesc/
Ddesc_list.go69 type EnumRanges struct { struct
70 List [][2]pref.EnumNumber // start inclusive; end inclusive
71 once sync.Once
72 sorted [][2]pref.EnumNumber // protected by once
75 func (p *EnumRanges) Len() int { return len(p.List) }
76 func (p *EnumRanges) Get(i int) [2]pref.EnumNumber { return p.List[i] }
77 func (p *EnumRanges) Has(n pref.EnumNumber) bool {
91 func (p *EnumRanges) Format(s fmt.State, r rune) { descfmt.FormatList(s, r, p) }
92 func (p *EnumRanges) ProtoInternal(pragma.DoNotImplement) {}
93 func (p *EnumRanges) lazyInit() *EnumRanges {
[all …]
/external/golang-protobuf/reflect/protoreflect/
Dproto.go399 type EnumRanges interface { interface