MCPcopy
hub / github.com/gopherjs/gopherjs / Call

Method Call

tests/testdata/linkname/method/method.go:145–147  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

143type Func func(int, int) int
144
145func (f Func) Call(a, b int) int {
146 return f(a, b)
147}
148
149func (f *Func) CallPtr(a, b int) int {
150 return (*f)(a, b)

Callers 15

Test_parseCallFrameFunction · 0.45
Test_MapWrapperFunction · 0.45
Test_MapEmbeddedObjectFunction · 0.45
TestPanicIssue1030Function · 0.45
js_test.goFile · 0.45
TestCallFunction · 0.45
TestUnboxingFunction · 0.45
TestBoxingFunction · 0.45
TestFuncFunction · 0.45
TestDateFunction · 0.45
TestInternalizeDateFunction · 0.45
TestInternalizeStructFunction · 0.45

Calls

no outgoing calls

Tested by 15

Test_parseCallFrameFunction · 0.36
Test_MapWrapperFunction · 0.36
Test_MapEmbeddedObjectFunction · 0.36
TestPanicIssue1030Function · 0.36
TestCallFunction · 0.36
TestUnboxingFunction · 0.36
TestBoxingFunction · 0.36
TestFuncFunction · 0.36
TestDateFunction · 0.36
TestInternalizeDateFunction · 0.36
TestInternalizeStructFunction · 0.36