- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for SliceIsSorted (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/xl-storage-format-v2.go
} // sortByModTime will sort versions by modtime in descending order, // meaning index 0 will be latest version. func (x *xlMetaV2) sortByModTime() { // Quick check if len(x.versions) <= 1 || sort.SliceIsSorted(x.versions, func(i, j int) bool { return x.versions[i].header.sortsBefore(x.versions[j].header) }) { return } // We should sort. sort.Slice(x.versions, func(i, j int) bool {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1)