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

Method Encode

gapis/memory/write_test.go:72–77  ·  view source on GitHub ↗
(e *Encoder)

Source from the content-addressed store, hash-verified

70var _ Encodable = encodableStruct{}
71
72func (s encodableStruct) Encode(e *Encoder) {
73 e.U8(s.X)
74 e.Pointer(s.Y.Address())
75 e.I16(s.Z)
76 e.U64(s.W)
77}
78
79func TestWriteStructOn32bitArch(t *testing.T) {
80 arch := device.Big32

Callers

nothing calls this directly

Calls 5

AddressMethod · 0.65
U8Method · 0.45
PointerMethod · 0.45
I16Method · 0.45
U64Method · 0.45

Tested by

no test coverage detected