MCPcopy
hub / github.com/grafana/tempo / ReadAt

Method ReadAt

tempodb/encoding/vparquet5/readers.go:37–39  ·  view source on GitHub ↗
(p []byte, off int64)

Source from the content-addressed store, hash-verified

35}
36
37func (b *BackendReaderAt) ReadAt(p []byte, off int64) (int, error) {
38 return b.ReadAtWithCache(p, off, cache.RoleNone)
39}
40
41func (b *BackendReaderAt) ReadAtWithCache(p []byte, off int64, role cache.Role) (int, error) {
42 err := b.r.ReadRange(b.ctx, b.name, (uuid.UUID)(b.meta.BlockID), b.meta.TenantID, uint64(off), p, &backend.CacheInfo{

Callers

nothing calls this directly

Calls 1

ReadAtWithCacheMethod · 0.95

Tested by

no test coverage detected