MCPcopy
hub / github.com/grafana/dskit / sovPropagationTracker

Function sovPropagationTracker

kv/memberlist/propagation_tracker.pb.go:408–410  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

406}
407
408func sovPropagationTracker(x uint64) (n int) {
409 return (math_bits.Len64(x|1) + 6) / 7
410}
411func sozPropagationTracker(x uint64) (n int) {
412 return sovPropagationTracker(uint64((x << 1) ^ uint64((int64(x) >> 63))))
413}

Callers 4

SizeMethod · 0.85
SizeMethod · 0.85
sozPropagationTrackerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected