func math.Max
8 uses
math (current package)
dim.go#L35: func Max(x, y float64) float64
github.com/beorn7/perks/quantile
stream.go#L251: math.Max(sample.Delta, math.Floor(s.ƒ(s, r))-1),
github.com/google/go-cmp/cmp/cmpopts
equate.go#L69: return math.Abs(x-y) <= math.Max(a.marg, relMarg)
github.com/sergi/go-diff/diffmatchpatch
diff.go#L678: difference1 := int(math.Max(float64(lengthInsertions1), float64(lengthDeletions1)))
diff.go#L679: difference2 := int(math.Max(float64(lengthInsertions2), float64(lengthDeletions2)))
match.go#L20: loc = int(math.Max(0, math.Min(float64(loc), float64(len(text)))))
match.go#L77: start := int(math.Max(1, float64(loc-binMid+1)))
match.go#L110: start = int(math.Max(1, float64(2*loc-bestLoc)))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |