Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Test18126 (0.12 sec)

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

    	s = C.GoStringN((*C.char)(C.api_hello), C.int(6))
    	var b []byte
    	b = C.GoBytes(unsafe.Pointer(C.api_hello), C.int(6))
    	_, _ = s, b
    	C.cstring_pointer_fun(nil)
    }
    
    // issue 18126
    
    func test18126(t *testing.T) {
    	p := C.malloc(1)
    	_, err := C.Issue18126C(&p)
    	C.free(p)
    	_ = err
    }
    
    // issue 18720
    
    func test18720(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue18146.go

    	defer func() {
    		for _, cmd := range cmds {
    			cmd.Process.Kill()
    		}
    	}()
    
    	args := append(append([]string(nil), os.Args[1:]...), "-test.run=^Test18146$")
    	for n := attempts; n > 0; n-- {
    		cmd := exec.Command(os.Args[0], args...)
    		cmd.Env = append(os.Environ(), "test18146=exec")
    		buf := bytes.NewBuffer(nil)
    		cmd.Stdout = buf
    		cmd.Stderr = buf
    		if err := cmd.Start(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top