Searched defs:mapKeySorter (Results 1 – 2 of 2) sorted by relevance
/external/golang-protobuf/proto/ |
D | lib.go | 915 type mapKeySorter struct { struct 916 vs []reflect.Value 917 less func(a, b reflect.Value) bool 920 func (s mapKeySorter) Len() int { return len(s.vs) } 921 func (s mapKeySorter) Swap(i, j int) { s.vs[i], s.vs[j] = s.vs[j], s.vs[i] } 922 func (s mapKeySorter) Less(i, j int) bool {
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | lib.go | 877 type mapKeySorter struct { struct 878 vs []reflect.Value 879 less func(a, b reflect.Value) bool 882 func (s mapKeySorter) Len() int { return len(s.vs) } 883 func (s mapKeySorter) Swap(i, j int) { s.vs[i], s.vs[j] = s.vs[j], s.vs[i] } 884 func (s mapKeySorter) Less(i, j int) bool {
|