Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test5242 (0.19 sec)

  1. src/cmd/cgo/internal/test/cgo_test.go

    func Test4339(t *testing.T)                  { test4339(t) }
    func Test5227(t *testing.T)                  { test5227(t) }
    func Test5242(t *testing.T)                  { test5242(t) }
    func Test5337(t *testing.T)                  { test5337(t) }
    func Test5548(t *testing.T)                  { test5548(t) }
    func Test5603(t *testing.T)                  { test5603(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    	}
    	if C.common != 123 {
    		t.Errorf("common: %v (expected 123)", C.common)
    	}
    }
    
    // issue 5227
    
    func test5227(t *testing.T) {
    	C.init()
    }
    
    func selectfont() C.Fontinfo {
    	return C.SansTypeface
    }
    
    // issue 5242
    
    func test5242(t *testing.T) {
    	if got := C.issue5242(C.foo{}, C.bar{}); got != 5242 {
    		t.Errorf("got %v", got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/testx.go

    //export issue5548FromC
    func issue5548FromC(s string, i int) int {
    	if len(s) == 4 && s == "test" && i == 42 {
    		return 12345
    	}
    	println("got", len(s), i)
    	return 9876
    }
    
    func test5548(t *testing.T) {
    	if x := C.issue5548_in_c(); x != 12345 {
    		t.Errorf("issue5548_in_c = %d, want %d", x, 12345)
    	}
    }
    
    // issue 6833
    
    //export GoIssue6833Func
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top