MCPcopy Create free account
hub / github.com/cortexproject/cortex / sozCortex

Function sozCortex

pkg/cortexpb/cortex.pb.go:3976–3978  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

3974 return (math_bits.Len64(x|1) + 6) / 7
3975}
3976func sozCortex(x uint64) (n int) {
3977 return sovCortex(uint64((x << 1) ^ uint64((int64(x) >> 63))))
3978}
3979func (this *MessageWithBufRef) String() string {
3980 if this == nil {
3981 return "nil"

Callers 2

SizeMethod · 0.85
SizeMethod · 0.85

Calls 1

sovCortexFunction · 0.85

Tested by

no test coverage detected