1
0
mirror of https://github.com/golang/go synced 2024-10-04 18:31:22 -06:00
go/src/pkg/sort
Andriy Lytvynov fb25a61872 sort: fix Example_sortMultiKeys
Old example referenced global var from multiSorter.Sort and ignored it's argument.
Changed one of example calls to actually pass slice to sort.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13551044
2013-09-06 16:49:34 -04:00
..
example_interface_test.go sort: add interface examples 2012-02-16 13:16:07 +11:00
example_keys_test.go sort: use proper mass unit in example 2013-02-27 10:44:50 -08:00
example_multi_test.go sort: fix Example_sortMultiKeys 2013-09-06 16:49:34 -04:00
example_test.go sort: add Reverse as a function 2013-02-01 08:44:45 -08:00
export_test.go sort: use heapsort to bail out quicksort 2011-09-07 13:54:33 -04:00
search_test.go all: protect alloc count tests by -testing.short 2013-08-21 14:00:45 +10:00
search.go sort: fix comment for various Search routines 2012-11-07 05:07:46 +08:00
sort_test.go sort: use a very fast random generator for benchmarks 2013-08-29 13:21:21 +10:00
sort.go all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00