MCPcopy Create free account
hub / github.com/google/gapid / NewReader

Method NewReader

gapis/memory/data.go:33–33  ·  view source on GitHub ↗

NewReader returns an io.Reader to efficiently read from the slice. There shouldn't be a need to wrap this in additional buffers.

(ctx context.Context)

Source from the content-addressed store, hash-verified

31 // NewReader returns an io.Reader to efficiently read from the slice.
32 // There shouldn't be a need to wrap this in additional buffers.
33 NewReader(ctx context.Context) io.Reader
34
35 // ResourceID returns the identifier of the resource representing the slice,
36 // creating a new resource if it isn't already backed by one.

Callers 15

initFunction · 0.65
decodeETCFunction · 0.65
decodeETCU11Function · 0.65
decodeETCS11Function · 0.65
DifferenceFunction · 0.65
decode4x4BlocksFunction · 0.65
TestRGBAF32ResizeFunction · 0.65
resizeRGBA_F32Function · 0.65
decodeMethod · 0.65
TestDimensionFunction · 0.65
decodeMethod · 0.65

Implementers 4

poolSlicegapis/memory/pool.go
blobgapis/memory/blob.go
resourcegapis/memory/resource.go
resourceSlicegapis/memory/resource.go

Calls

no outgoing calls

Tested by 10

TestRGBAF32ResizeFunction · 0.52
TestDimensionFunction · 0.52
TestReadConfigurationFunction · 0.52
TestNumericFunction · 0.52
TestReadInRandomOrderFunction · 0.52
runMethod · 0.52
checkDataFunction · 0.52