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

Function BytePtr

gapis/memory/pointer.go:71–73  ·  view source on GitHub ↗

BytePtr returns a pointer to bytes.

(addr uint64)

Source from the content-addressed store, hash-verified

69
70// BytePtr returns a pointer to bytes.
71func BytePtr(addr uint64) Pointer {
72 return NewPtr(addr, reflect.TypeOf(byte(0)))
73}
74
75// ptr is a pointer to a basic type.
76type ptr struct {

Callers 5

pointer.goFile · 0.85
TestWriteOn32bitArchFunction · 0.85
TestWriteOn64bitArchFunction · 0.85

Calls 2

NewPtrFunction · 0.85
TypeOfMethod · 0.45

Tested by 4

TestWriteOn32bitArchFunction · 0.68
TestWriteOn64bitArchFunction · 0.68