- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Float64Slice (0.25 sec)
-
src/sort/sort_test.go
data := float64s a := Float64Slice(data[0:]) Sort(a) if !IsSorted(a) { t.Errorf("sorted %v", float64s) t.Errorf(" got %v", data) } } // Compare Sort with slices.Sort sorting a float64 slice containing NaNs. func TestSortFloat64sCompareSlicesSort(t *testing.T) { slice1 := slices.Clone(float64s[:]) slice2 := slices.Clone(float64s[:]) Sort(Float64Slice(slice1)) slices.Sort(slice2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:41:04 UTC 2024 - 16.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Sort", Func, 21}, {"SortFunc", Func, 21}, {"SortStableFunc", Func, 21}, }, "sort": { {"(Float64Slice).Len", Method, 0}, {"(Float64Slice).Less", Method, 0}, {"(Float64Slice).Search", Method, 0}, {"(Float64Slice).Sort", Method, 0}, {"(Float64Slice).Swap", Method, 0}, {"(IntSlice).Len", Method, 0}, {"(IntSlice).Less", Method, 0}, {"(IntSlice).Search", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)