Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,015 for gojs (0.04 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    0)
    	;;
    *)
    	echo 'usage: mkall.sh [-n]' 1>&2
    	exit 2
    esac
    
    if [[ "$GOOS" = "linux" ]]; then
    	# Use the Docker-based build system
    	# Files generated through docker (use $cmd so you can Ctl-C the build or run)
    	$cmd docker build --tag generate:$GOOS $GOOS
    	$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS
    	exit
    fi
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/config.go

    			}
    		}()
    	}
    
    	if platform.MustLinkExternal(buildcfg.GOOS, buildcfg.GOARCH, false) {
    		return true, fmt.Sprintf("%s/%s requires external linking", buildcfg.GOOS, buildcfg.GOARCH)
    	}
    
    	if *flagMsan {
    		return true, "msan"
    	}
    
    	if *flagAsan {
    		return true, "asan"
    	}
    
    	if iscgo && platform.MustLinkExternal(buildcfg.GOOS, buildcfg.GOARCH, true) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_benchmark_labels.txt

    # Tests that go test -bench prints out goos, goarch, and pkg.
    
    # Check for goos, goarch, and pkg.
    go test -run ^$ -bench . bench
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    stdout '^pkg: bench'
    
    # Check go test does not print pkg multiple times
    ! stdout 'pkg:.*pkg: '
    ! stderr 'pkg:.*pkg:'
    
    -- go.mod --
    module bench
    
    go 1.16
    -- x_test.go --
    package bench
    
    import "testing"
    
    func Benchmark(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 412 bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/init.go

    		base.Exit()
    	}
    	if cfg.BuildMSan && !platform.MSanSupported(cfg.Goos, cfg.Goarch) {
    		fmt.Fprintf(os.Stderr, "-msan is not supported on %s/%s\n", cfg.Goos, cfg.Goarch)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    	if cfg.BuildRace && !platform.RaceDetectorSupported(cfg.Goos, cfg.Goarch) {
    		fmt.Fprintf(os.Stderr, "-race is not supported on %s/%s\n", cfg.Goos, cfg.Goarch)
    		base.SetExitStatus(2)
    		base.Exit()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/pprof/pprof_test.go

    func mustHaveCPUProfiling(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("skipping on %s, unimplemented", runtime.GOOS)
    	case "aix":
    		t.Skipf("skipping on %s, issue 45170", runtime.GOOS)
    	case "ios", "dragonfly", "netbsd", "illumos", "solaris":
    		t.Skipf("skipping on %s, issue 13841", runtime.GOOS)
    	case "openbsd":
    		if runtime.GOARCH == "arm" || runtime.GOARCH == "arm64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    	}
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    	goos, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    	goarch, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !libFuzzerSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; libfuzzer option is not supported.", goos, goarch)
    	}
    	config := configure("fuzzer")
    	config.skipIfCSanitizerBroken(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/env_cross_build.txt

    env GOOS=
    env GOARCH=
    env GOEXPERIMENT=
    
    env GOENV=windows-amd64
    go build internal/abi
    
    env GOENV=ios-arm64
    go build internal/abi
    
    env GOENV=linux-mips
    go build internal/abi
    
    -- windows-amd64 --
    GOOS=windows
    GOARCH=amd64
    
    -- ios-arm64 --
    GOOS=ios
    GOARCH=arm64
    
    -- linux-mips --
    GOOS=linux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 537 bytes
    - Viewed (0)
  8. src/debug/buildinfo/buildinfo_test.go

    		buildModes = append(buildModes, "c-shared")
    	}
    
    	// Keep in sync with src/cmd/go/internal/work/init.go:buildModeInit.
    	badmode := func(goos, goarch, buildmode string) string {
    		return fmt.Sprintf("-buildmode=%s not supported on %s/%s", buildmode, goos, goarch)
    	}
    
    	buildWithModules := func(t *testing.T, goos, goarch, buildmode string) string {
    		dir := t.TempDir()
    		gomodPath := filepath.Join(dir, "go.mod")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/dist/build_test.go

    func TestMustLinkExternal(t *testing.T) {
    	for _, goos := range okgoos {
    		for _, goarch := range okgoarch {
    			for _, cgoEnabled := range []bool{true, false} {
    				got := mustLinkExternal(goos, goarch, cgoEnabled)
    				want := platform.MustLinkExternal(goos, goarch, cgoEnabled)
    				if got != want {
    					t.Errorf("mustLinkExternal(%q, %q, %v) = %v; want %v", goos, goarch, cgoEnabled, got, want)
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 16:34:21 UTC 2023
    - 757 bytes
    - Viewed (0)
  10. src/cmd/go/internal/telemetrystats/version_unix.go

    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-uname-error", runtime.GOOS))
    		return
    	}
    	major, minor, ok := majorMinor(convert(v.Release[:]))
    	if runtime.GOOS == "aix" {
    		major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), true
    	}
    	if !ok {
    		telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-bad-format", runtime.GOOS))
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top