Home
last modified time | relevance | path

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

/external/golang-protobuf/proto/
Dtext.go671 type int32Slice []int32 type
673 func (s int32Slice) Len() int { return len(s) }
674 func (s int32Slice) Less(i, j int) bool { return s[i] < s[j] }
675 func (s int32Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
695 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] }
363 sort.Sort(int32Slice(ids))