github.com/beorn7/perks/quantile.stream.l (field)
29 uses
github.com/beorn7/perks/quantile (current package)
stream.go#L216: return len(s.stream.l) > 0
stream.go#L221: l []Sample
stream.go#L226: s.l = s.l[:0]
stream.go#L242: for ; i < len(s.l); i++ {
stream.go#L243: c := s.l[i]
stream.go#L246: s.l = append(s.l, Sample{})
stream.go#L247: copy(s.l[i+1:], s.l[i:])
stream.go#L248: s.l[i] = Sample{
stream.go#L259: s.l = append(s.l, Sample{sample.Value, sample.Width, 0})
stream.go#L275: p := s.l[0]
stream.go#L277: for _, c := range s.l[1:] {
stream.go#L288: if len(s.l) < 2 {
stream.go#L291: x := s.l[len(s.l)-1]
stream.go#L292: xi := len(s.l) - 1
stream.go#L295: for i := len(s.l) - 2; i >= 0; i-- {
stream.go#L296: c := s.l[i]
stream.go#L299: s.l[xi] = x
stream.go#L301: copy(s.l[i:], s.l[i+1:])
stream.go#L302: s.l = s.l[:len(s.l)-1]
stream.go#L313: samples := make(Samples, len(s.l))
stream.go#L314: copy(samples, 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. |