Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stringsImpl (0.41 sec)

  1. src/sort/sort_impl_120.go

    // license that can be found in the LICENSE file.
    
    //go:build !go1.21
    
    package sort
    
    func intsImpl(x []int)         { Sort(IntSlice(x)) }
    func float64sImpl(x []float64) { Sort(Float64Slice(x)) }
    func stringsImpl(x []string)   { Sort(StringSlice(x)) }
    
    func intsAreSortedImpl(x []int) bool         { return IsSorted(IntSlice(x)) }
    func float64sAreSortedImpl(x []float64) bool { return IsSorted(Float64Slice(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 13:00:18 UTC 2023
    - 602 bytes
    - Viewed (0)
  2. src/sort/sort_impl_go121.go

    // in sort_impl_120.go that retains the old implementation.
    
    package sort
    
    import "slices"
    
    func intsImpl(x []int)         { slices.Sort(x) }
    func float64sImpl(x []float64) { slices.Sort(x) }
    func stringsImpl(x []string)   { slices.Sort(x) }
    
    func intsAreSortedImpl(x []int) bool         { return slices.IsSorted(x) }
    func float64sAreSortedImpl(x []float64) bool { return slices.IsSorted(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 13:00:18 UTC 2023
    - 876 bytes
    - Viewed (0)
Back to top