HomeSort by relevance Sort by last modified time
    Searched defs:StringSlice (Results 1 - 3 of 3) sorted by null

  /external/v8/src/js/
string.js 69 function StringSlice(start, end) {
295 "slice", StringSlice,
  /prebuilts/go/darwin-x86/src/sort/
sort.go 294 // StringSlice attaches the methods of Interface to []string, sorting in increasing order.
295 type StringSlice []string
297 func (p StringSlice) Len() int { return len(p) }
298 func (p StringSlice) Less(i, j int) bool { return p[i] < p[j] }
299 func (p StringSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
302 func (p StringSlice) Sort() { Sort(p) }
314 func Strings(a []string) { Sort(StringSlice(a)) }
324 func StringsAreSorted(a []string) bool { return IsSorted(StringSlice(a)) }
  /prebuilts/go/linux-x86/src/sort/
sort.go 294 // StringSlice attaches the methods of Interface to []string, sorting in increasing order.
295 type StringSlice []string
297 func (p StringSlice) Len() int { return len(p) }
298 func (p StringSlice) Less(i, j int) bool { return p[i] < p[j] }
299 func (p StringSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
302 func (p StringSlice) Sort() { Sort(p) }
314 func Strings(a []string) { Sort(StringSlice(a)) }
324 func StringsAreSorted(a []string) bool { return IsSorted(StringSlice(a)) }

Completed in 75 milliseconds