- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FuncPCTest (0.18 sec)
-
src/internal/abi/abi_test.go
"strings" "testing" ) func TestFuncPC(t *testing.T) { // Test that FuncPC* can get correct function PC. pcFromAsm := abi.FuncPCTestFnAddr // Test FuncPC for locally defined function pcFromGo := abi.FuncPCTest() if pcFromGo != pcFromAsm { t.Errorf("FuncPC returns wrong PC, want %x, got %x", pcFromAsm, pcFromGo) } // Test FuncPC for imported function pcFromGo = abi.FuncPCABI0(abi.FuncPCTestFn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 2.4K bytes - Viewed (0)