type cmp.Ordered
29 uses
cmp (current package)
cmp.go#L18: type Ordered interface {
cmp.go#L28: func Less[T Ordered](x, y T) bool {
cmp.go#L40: func Compare[T Ordered](x, y T) int {
cmp.go#L63: func isNaN[T Ordered](x T) bool {
slices
iter.go#L63: func Sorted[E cmp.Ordered](seq iter.Seq[E]) []E {
slices.go#L57: func Compare[S ~[]E, E cmp.Ordered](s1, s2 S) int {
sort.go#L16: func Sort[S ~[]E, E cmp.Ordered](x S) {
sort.go#L42: func IsSorted[S ~[]E, E cmp.Ordered](x S) bool {
sort.go#L65: func Min[S ~[]E, E cmp.Ordered](x S) E {
sort.go#L95: func Max[S ~[]E, E cmp.Ordered](x S) E {
sort.go#L126: func BinarySearch[S ~[]E, E cmp.Ordered](x S, target E) (int, bool) {
sort.go#L194: func isNaN[T cmp.Ordered](x T) bool {
zsortordered.go#L12: func insertionSortOrdered[E cmp.Ordered](data []E, a, b int) {
zsortordered.go#L22: func siftDownOrdered[E cmp.Ordered](data []E, lo, hi, first int) {
zsortordered.go#L40: func heapSortOrdered[E cmp.Ordered](data []E, a, b int) {
zsortordered.go#L63: func pdqsortOrdered[E cmp.Ordered](data []E, a, b, limit int) {
zsortordered.go#L137: func partitionOrdered[E cmp.Ordered](data []E, a, b, pivot int) (newpivot int, alreadyPartitioned bool) {
zsortordered.go#L175: func partitionEqualOrdered[E cmp.Ordered](data []E, a, b, pivot int) (newpivot int) {
zsortordered.go#L197: func partialInsertionSortOrdered[E cmp.Ordered](data []E, a, b int) bool {
zsortordered.go#L242: func breakPatternsOrdered[E cmp.Ordered](data []E, a, b int) {
zsortordered.go#L263: func choosePivotOrdered[E cmp.Ordered](data []E, a, b int) (pivot int, hint sortedHint) {
zsortordered.go#L300: func order2Ordered[E cmp.Ordered](data []E, a, b int, swaps *int) (int, int) {
zsortordered.go#L309: func medianOrdered[E cmp.Ordered](data []E, a, b, c int, swaps *int) int {
zsortordered.go#L317: func medianAdjacentOrdered[E cmp.Ordered](data []E, a int, swaps *int) int {
zsortordered.go#L321: func reverseRangeOrdered[E cmp.Ordered](data []E, a, b int) {
zsortordered.go#L331: func swapRangeOrdered[E cmp.Ordered](data []E, a, b, n int) {
zsortordered.go#L337: func stableOrdered[E cmp.Ordered](data []E, n int) {
zsortordered.go#L380: func symMergeOrdered[E cmp.Ordered](data []E, a, m, b int) {
zsortordered.go#L466: func rotateOrdered[E cmp.Ordered](data []E, a, m, b int) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |