MCPcopy Create free account
hub / github.com/brimdata/super / load

Method load

runtime/vcache/array.go:43–55  ·  view source on GitHub ↗
(loader *loader)

Source from the content-addressed store, hash-verified

41}
42
43func (a *array) load(loader *loader) []uint32 {
44 a.mu.Lock()
45 defer a.mu.Unlock()
46 if a.offs != nil {
47 return a.offs
48 }
49 offs, err := csup.ReadUint32s(a.meta.Lengths, loader.r)
50 if err != nil {
51 panic(err)
52 }
53 a.offs = offs
54 return offs
55}

Callers 1

projectMethod · 0.95

Calls 1

ReadUint32sFunction · 0.92

Tested by

no test coverage detected