- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for float64sImpl (0.16 sec)
-
src/sort/sort_impl_120.go
// Use of this source code is governed by a BSD-style // 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)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 13:00:18 UTC 2023 - 602 bytes - Viewed (0) -
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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 13:00:18 UTC 2023 - 876 bytes - Viewed (0) -
src/sort/sort.go
// Float64s sorts a slice of float64s in increasing order. // Not-a-number (NaN) values are ordered before other values. // // Note: as of Go 1.22, this function simply calls [slices.Sort]. func Float64s(x []float64) { float64sImpl(x) } // Strings sorts a slice of strings in increasing order. // // Note: as of Go 1.22, this function simply calls [slices.Sort]. func Strings(x []string) { stringsImpl(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 10.1K bytes - Viewed (0)