MCPcopy
hub / github.com/teh-cmc/go-internals / AddPtr

Method AddPtr

chapter2_interfaces/direct_calls.go:9–9  ·  view source on GitHub ↗

go:noinline

(a, b int32)

Source from the content-addressed store, hash-verified

7
8//go:noinline
9func (adder *Adder) AddPtr(a, b int32) int32 { return a + b }
10
11//go:noinline
12func (adder Adder) AddVal(a, b int32) int32 { return a + b }

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected