type github.com/beorn7/perks/quantile.Samples
12 uses
github.com/beorn7/perks/quantile (current package)
stream.go#L31: type Samples []Sample
stream.go#L33: func (a Samples) Len() int { return len(a) }
stream.go#L34: func (a Samples) Less(i, j int) bool { return a[i].Value < a[j].Value }
stream.go#L35: func (a Samples) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
stream.go#L127: b Samples
stream.go#L133: return &Stream{x, make(Samples, 0, 500), true}
stream.go#L176: func (s *Stream) Merge(samples Samples) {
stream.go#L188: func (s *Stream) Samples() Samples {
stream.go#L231: s.merge(Samples{{v, 1, 0}})
stream.go#L234: func (s *stream) merge(samples Samples) {
stream.go#L312: func (s *stream) samples() Samples {
stream.go#L313: samples := make(Samples, len(s.l))
 |
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. |