Versions in this module Expand all Collapse all v1 v1.2.0 Jul 24, 2023 v1.1.0 Jun 10, 2020 v1.0.1 Mar 17, 2020 Changes in this version + const DefaultBigqueryP + const DefaultBigqueryPPrime + const K1 v1.0.0 Mar 16, 2020 Changes in this version + const K0 + const K2 + const K3 + const RHOW_BITS + const RHOW_MASK + var ErrInvalidLengthHll = fmt.Errorf("proto: negative length found during unmarshaling") + func BigQueryHash(s string) uint64 + type Hll struct + func NewHll(p, pPrime uint) *Hll + func NewHllFromBigquery(in string) (*Hll, error) + func (h *Hll) Add(x uint64) + func (h *Hll) Cardinality() uint64 + func (h *Hll) Combine(other *Hll) + func (h *Hll) Copy() *Hll + func (h *Hll) GobDecode(data []byte) error + func (h *Hll) GobEncode() ([]byte, error) + func (h *Hll) MarshalJSON() ([]byte, error) + func (h *Hll) MarshalPb() ([]byte, error) + func (h *Hll) UnmarshalJSON(buf []byte) error + func (h *Hll) UnmarshalPb(buf []byte) error + type HllPb struct + M []byte + P *int32 + Pp *int32 + S *HllPbSparse + XXX_unrecognized []byte + func (*HllPb) ProtoMessage() + func (m *HllPb) GetM() []byte + func (m *HllPb) GetP() int32 + func (m *HllPb) GetPp() int32 + func (m *HllPb) GetS() *HllPbSparse + func (m *HllPb) Marshal() (data []byte, err error) + func (m *HllPb) MarshalTo(data []byte) (int, error) + func (m *HllPb) Reset() + func (m *HllPb) Size() (n int) + func (m *HllPb) String() string + func (m *HllPb) Unmarshal(data []byte) error + type HllPbSparse struct + Buf []byte + LastVal *uint64 + NumElements *uint64 + XXX_unrecognized []byte + func (*HllPbSparse) ProtoMessage() + func (m *HllPbSparse) GetBuf() []byte + func (m *HllPbSparse) GetLastVal() uint64 + func (m *HllPbSparse) GetNumElements() uint64 + func (m *HllPbSparse) Marshal() (data []byte, err error) + func (m *HllPbSparse) MarshalTo(data []byte) (int, error) + func (m *HllPbSparse) Reset() + func (m *HllPbSparse) Size() (n int) + func (m *HllPbSparse) String() string + func (m *HllPbSparse) Unmarshal(data []byte) error