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

Method Get

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

Get writes the bytes representing the slice to out, starting at offset bytes. This is equivalent to: copy(out, data[offset:]).

(ctx context.Context, offset uint64, out []byte)

Source from the content-addressed store, hash-verified

27 // Get writes the bytes representing the slice to out, starting at offset
28 // bytes. This is equivalent to: copy(out, data[offset:]).
29 Get(ctx context.Context, offset uint64, out []byte) error
30
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.

Callers 15

loadAndConnectViaJDWPMethod · 0.65
TestGetFunction · 0.65
checkTextureBufferFunction · 0.65
TickFunction · 0.65
handleStatusMethod · 0.65
queryRestEndpointFunction · 0.65
queryObjectFunction · 0.65
BodyMethod · 0.65
DocFunction · 0.65
window.goFile · 0.65
ChildrenMethod · 0.65
GetMethod · 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 2

TestGetFunction · 0.52
checkDataFunction · 0.52