type github.com/beorn7/perks/quantile.Stream
19 uses
github.com/beorn7/perks/quantile (current package)
stream.go#L49: func NewLowBiased(epsilon float64) *Stream {
stream.go#L66: func NewHighBiased(epsilon float64) *Stream {
stream.go#L80: func NewTargeted(targetMap map[float64]float64) *Stream {
stream.go#L125: type Stream struct {
stream.go#L131: func newStream(ƒ invariant) *Stream {
stream.go#L133: return &Stream{x, make(Samples, 0, 500), true}
stream.go#L137: func (s *Stream) Insert(v float64) {
stream.go#L141: func (s *Stream) insert(sample Sample) {
stream.go#L152: func (s *Stream) Query(q float64) float64 {
stream.go#L176: func (s *Stream) Merge(samples Samples) {
stream.go#L182: func (s *Stream) Reset() {
stream.go#L188: func (s *Stream) Samples() Samples {
stream.go#L198: func (s *Stream) Count() int {
stream.go#L202: func (s *Stream) flush() {
stream.go#L208: func (s *Stream) maybeSort() {
stream.go#L215: func (s *Stream) flushed() bool {
github.com/prometheus/client_golang/prometheus
summary.go#L265: streams []*quantile.Stream
summary.go#L267: headStream *quantile.Stream
summary.go#L329: func (s *summary) newStream() *quantile.Stream {
![]() |
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. |