Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for issue32233 (0.18 sec)

  1. src/cmd/link/internal/ld/dwarf_test.go

    	}
    
    	tmpdir := t.TempDir()
    
    	wd, err := os.Getwd()
    	if err != nil {
    		t.Fatalf("where am I? %v", err)
    	}
    	pdir := filepath.Join(wd, "testdata", "issue32233", "main")
    	f := gobuildTestdata(t, tmpdir, pdir, DefaultOpt)
    	f.Close()
    }
    
    func TestWindowsIssue36495(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	if runtime.GOOS != "windows" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/cshared_test.go

    	tmpdir, err := os.MkdirTemp("", "cshared-TestIssue36233")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(tmpdir)
    
    	const exportHeader = "issue36233.h"
    
    	run(t, nil, "go", "tool", "cgo", "-exportheader", exportHeader, "-objdir", tmpdir, "./issue36233/issue36233.go")
    	data, err := os.ReadFile(exportHeader)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	funcs := []struct{ name, signature string }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/testx.go

    func test31891(t *testing.T) {
    	C.callIssue31891()
    }
    
    // issue 37033, check if cgo.Handle works properly
    
    var issue37033 = 42
    
    //export GoFunc37033
    func GoFunc37033(handle C.uintptr_t) {
    	h := cgo.Handle(handle)
    	ch := h.Value().(chan int)
    	ch <- issue37033
    }
    
    // issue 38408
    // A typedef pointer can be used as the element type.
    // No runtime test; just make sure it compiles.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/test.go

    	ch := make(chan int)
    
    	for i := 0; i < 42; i++ {
    		h := cgo.NewHandle(ch)
    		go func() {
    			C.cFunc37033(C.uintptr_t(h))
    		}()
    		if v := <-ch; issue37033 != v {
    			t.Fatalf("unexpected receiving value: got %d, want %d", v, issue37033)
    		}
    		h.Delete()
    	}
    }
    
    // issue 38649
    
    var issue38649 C.netbsd_gid = 42
    
    // issue 39877
    
    var issue39877 *C.void = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top