Home
last modified time | relevance | path

Searched refs:int32Slice (Results 1 – 2 of 2) sorted by relevance

/external/golang-protobuf/proto/
Dtext.go673 type int32Slice []int32 type
675 func (s int32Slice) Len() int { return len(s) }
676 func (s int32Slice) Less(i, j int) bool { return s[i] < s[j] }
677 func (s int32Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
697 sort.Sort(int32Slice(ids))
/external/golang-protobuf/jsonpb/
Djsonpb.go151 type int32Slice []int32 type
160 func (s int32Slice) Len() int { return len(s) }
161 func (s int32Slice) Less(i, j int) bool { return s[i] < s[j] }
162 func (s int32Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
368 sort.Sort(int32Slice(ids))