func slices.Max
5 uses
slices (current package)
sort.go#L95: func Max[S ~[]E, E cmp.Ordered](x S) E {
github.com/klauspost/compress/zstd
blockenc.go#L462: cnt := int(slices.Max(hist[:maxSym]))
blockenc.go#L890: b.coders.mlEnc.HistogramFinished(mlMax, int(slices.Max(mlH[:mlMax+1])))
blockenc.go#L891: b.coders.ofEnc.HistogramFinished(ofMax, int(slices.Max(ofH[:ofMax+1])))
blockenc.go#L892: b.coders.llEnc.HistogramFinished(llMax, int(slices.Max(llH[:llMax+1])))
![]() |
The pages are generated with Golds v0.8.4. (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. |