Sha256: 1c7f512bc37f6fbcebcbf552ef6af080b2cca41dc65cb539b6b1f9af82bbceeb

Contents?: true

Size: 334 Bytes

Versions: 87

Compression:

Stored size: 334 Bytes

Contents

// +build !386,!amd64

package fzf

func compareRanks(irank Result, jrank Result, tac bool) bool {
	for idx := 3; idx >= 0; idx-- {
		left := irank.points[idx]
		right := jrank.points[idx]
		if left < right {
			return true
		} else if left > right {
			return false
		}
	}
	return (irank.item.Index() <= jrank.item.Index()) != tac
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
doing-2.1.88 lib/helpers/fzf/src/result_others.go
doing-2.1.87 lib/helpers/fzf/src/result_others.go
doing-2.1.86 lib/helpers/fzf/src/result_others.go
doing-2.1.85 lib/helpers/fzf/src/result_others.go
doing-2.1.84 lib/helpers/fzf/src/result_others.go
doing-2.1.83 lib/helpers/fzf/src/result_others.go
doing-2.1.82 lib/helpers/fzf/src/result_others.go
doing-2.1.81 lib/helpers/fzf/src/result_others.go
doing-2.1.80 lib/helpers/fzf/src/result_others.go
doing-2.1.79 lib/helpers/fzf/src/result_others.go
doing-2.1.78 lib/helpers/fzf/src/result_others.go
doing-2.1.77 lib/helpers/fzf/src/result_others.go
doing-2.1.76 lib/helpers/fzf/src/result_others.go
doing-2.1.75 lib/helpers/fzf/src/result_others.go
doing-2.1.74 lib/helpers/fzf/src/result_others.go
doing-2.1.73 lib/helpers/fzf/src/result_others.go
doing-2.1.72 lib/helpers/fzf/src/result_others.go
doing-2.1.69 lib/helpers/fzf/src/result_others.go
doing-2.1.68 lib/helpers/fzf/src/result_others.go
doing-2.1.66 lib/helpers/fzf/src/result_others.go