MCPcopy Index your code
hub / github.com/prometheus/prometheus / Be64

Method Be64

tsdb/encoding/encoding.go:251–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249}
250
251func (d *Decbuf) Be64() uint64 {
252 if d.E != nil {
253 return 0
254 }
255 if len(d.B) < 8 {
256 d.E = ErrInvalidSize
257 return 0
258 }
259 x := binary.BigEndian.Uint64(d.B)
260 d.B = d.B[8:]
261 return x
262}
263
264func (d *Decbuf) Be64Float64() float64 {
265 return math.Float64frombits(d.Be64())

Callers 14

SeriesMethod · 0.95
TombstonesMethod · 0.95
MmapMarkersMethod · 0.95
Be64int64Method · 0.95
Be64Float64Method · 0.95
NewTOCFromByteSliceFunction · 0.95
samplesV1Method · 0.80
samplesV2Method · 0.80
ExemplarsFromBufferMethod · 0.80
histogramSamplesV1Method · 0.80

Calls

no outgoing calls