Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for issue7035 (0.26 sec)

  1. src/go/internal/gcimporter/gcimporter_test.go

    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    		t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler)
    	}
    
    	compileAndImportPkg(t, "issue57015")
    }
    
    func importPkg(t *testing.T, path, srcDir string) *types.Package {
    	fset := token.NewFileSet()
    	pkg, err := Import(fset, make(map[string]*types.Package), path, srcDir, nil)
    	if err != nil {
    		t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_test.go

    // that mirror to the 9 glibc syscalls with POSIX semantics. The test
    // here is considered authoritative and should compile and run
    // CGO_ENABLED=0 or 1. Note, there is an extended copy of this same
    // test in ../../misc/cgo/test/issue1435.go which requires
    // CGO_ENABLED=1 and launches pthreads from C that run concurrently
    // with the Go code of the test - and the test validates that these
    // pthreads are also kept in sync with the security state changed with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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