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

Struct SGL

memsys/iosgl.go:31–36  ·  view source on GitHub ↗

implements io.ReadWriteCloser + Reset

Source from the content-addressed store, hash-verified

29type (
30 // implements io.ReadWriteCloser + Reset
31 SGL struct {
32 sgl [][]byte
33 slab *Slab
34 woff int64 // stream
35 roff int64
36 }
37 // uses the underlying SGL to implement io.ReadWriteCloser + io.Seeker
38 Reader struct {
39 z *SGL

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected