Go stdlib package — sort. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Find()NeutralFind(n int, cmp func(int) int) (int, bool)
Find uses binary search to find and return the smallest index i in [0, n)
.Float64Slice.Less()NeutralFloat64Slice.Less(i int, j int) bool
Less reports whether x[i] should be ordered before x[j], as required by the sort Interface.
.Float64Slice.Search()NeutralFloat64Slice.Search(x float64) int
Search returns the result of applying SearchFloat64s to the receiver and x.
.Float64Slice.Sort()NeutralFloat64Slice.Sort()
Sort is a convenience method: x.Sort() calls Sort(x).
.Float64s()NeutralFloat64s(x []float64)
Float64s sorts a slice of float64s in increasing order.
.Float64sAreSorted()NeutralFloat64sAreSorted(x []float64) bool
Float64sAreSorted reports whether the slice x is sorted in increasing order,
| FQN | Field | |
|---|---|---|
| sort | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # sort