Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testnocgo (0.17 sec)

  1. src/cmd/dist/test.go

    				// TODO(#56629): Why does this fail on netbsd-arm?
    				cgoTest("static", "testtls", "external", "static", staticCheck)
    			}
    			cgoTest("external", "testnocgo", "external", "", staticCheck)
    			if goos != "android" {
    				cgoTest("static", "testnocgo", "external", "static", staticCheck)
    				cgoTest("static", "test", "external", "static", staticCheck)
    				// -static in CGO_LDFLAGS triggers a different code path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    func TestB(*testing.T) {}
    -- b/default.pgo --
    -- nopgo/nopgo.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- nopgo/nopgo_test.go --
    package main
    import "testing"
    func TestNopgo(*testing.T) {}
    -- dep/dep.go --
    package dep
    import _ "test/dep3"
    -- dep2/dep2.go --
    package dep2
    -- dep3/dep3.go --
    package dep3
    -- testdep/testdep.go --
    package testdep
    import _ "test/testdep2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/go/internal/srcimporter/srcimporter_test.go

    }
    
    // TestIssue24392 tests imports against a path containing 'testdata'.
    func TestIssue24392(t *testing.T) {
    	testImportPath(t, "go/internal/srcimporter/testdata/issue24392")
    }
    
    func TestCgo(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    	buildCtx := build.Default
    	importer := New(&buildCtx, token.NewFileSet(), make(map[string]*types.Package))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256_test.go

    		h.Reset()
    		h.Write(in)
    		out = h.Sum(out[:0])
    	}))
    	if n > 0 {
    		t.Errorf("allocs = %d, want 0", n)
    	}
    }
    
    type cgoData struct {
    	Data [16]byte
    	Ptr  *cgoData
    }
    
    func TestCgo(t *testing.T) {
    	// Test that Write does not cause cgo to scan the entire cgoData struct for pointers.
    	// The scan (if any) should be limited to the [16]byte.
    	d := new(cgoData)
    	d.Ptr = d
    	h := New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top