github.com/puellanivis/breton@v0.2.16/lib/sort/unsafe_pre119.go (about) 1 //go:build !go1.19 2 // +build !go1.19 3 4 package sort 5 6 import ( 7 "sort" 8 _ "unsafe" // this is to explicitly signal this file is unsafe. 9 ) 10 11 //go:linkname quickSort sort.quickSort 12 func quickSort(data sort.Interface, a, b, maxDepth int) 13 14 //go:linkname maxDepth sort.maxDepth 15 func maxDepth(n int) int