MCPcopy
hub / github.com/subtrace/subtrace / SizeBytes

Method SizeBytes

cmd/run/engine/seccomp/include.go:95–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93}
94
95func (x *resp) SizeBytes() int {
96 var n int
97 n += x.id.SizeBytes()
98 n += x.val.SizeBytes()
99 n += x.errno.SizeBytes()
100 n += x.flags.SizeBytes()
101 return n
102}
103
104func (x *resp) Bytes() []byte {
105 ret := make([]byte, x.SizeBytes())

Callers 7

BytesMethod · 0.95
SizeBytesMethod · 0.45
SizeBytesMethod · 0.45
handleFstatatMethod · 0.45
handleStatxMethod · 0.45
vmReadSockaddrMethod · 0.45
vmWriteSockaddrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected