Lines Matching refs:l
195 l := make([]elem, len(values))
205 l[i] = elem{s.Value, i, v.Pos(), n}
208 sort.SliceStable(l, func(i, j int) bool {
209 return numericStringLess(l[i].s, l[j].s)
225 for i, e := range l {
268 func (l commentsByOffset) Len() int {
269 return len(l)
272 func (l commentsByOffset) Less(i, j int) bool {
273 return l[i].Pos().Offset < l[j].Pos().Offset
276 func (l commentsByOffset) Swap(i, j int) {
277 l[i], l[j] = l[j], l[i]