MCPcopy
hub / github.com/NVIDIA/aistore / newPrefetch

Function newPrefetch

xs/multiobj.go:321–327  ·  view source on GitHub ↗
(xargs *xreg.Args, kind string, bck *cluster.Bck, msg *cmn.SelectObjsMsg)

Source from the content-addressed store, hash-verified

319}
320
321func newPrefetch(xargs *xreg.Args, kind string, bck *cluster.Bck, msg *cmn.SelectObjsMsg) (prf *prefetch) {
322 prf = &prefetch{}
323 prf.lriterator.init(prf, xargs.T, msg, true /*freeLOM*/)
324 prf.InitBase(xargs.UUID, kind, bck)
325 prf.lriterator.xctn = prf
326 return
327}
328
329func (r *prefetch) Run(*sync.WaitGroup) {
330 var (

Callers 1

StartMethod · 0.85

Calls 2

InitBaseMethod · 0.80
initMethod · 0.65

Tested by

no test coverage detected