Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 590 for zosarch (0.8 sec)

  1. src/internal/platform/zosarch.go

    // maps in cmd/dist/build.go, then run 'go generate internal/platform'.
    
    package platform
    
    // List is the list of all valid GOOS/GOARCH combinations,
    // including known-broken ports.
    var List = []OSArch{
    	{"aix", "ppc64"},
    	{"android", "386"},
    	{"android", "amd64"},
    	{"android", "arm"},
    	{"android", "arm64"},
    	{"darwin", "amd64"},
    	{"darwin", "arm64"},
    	{"dragonfly", "amd64"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:19:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/internal/platform/zosarch_test.go

    	}
    
    	got, err := os.ReadFile("zosarch.go")
    	if err == nil && bytes.Equal(got, want) {
    		return
    	}
    
    	if !*flagFix {
    		if err != nil {
    			t.Log(err)
    		} else {
    			t.Logf("diff:\n%s", diff.Diff("zosarch.go", got, "want", want))
    		}
    		t.Fatalf("zosarch.go is missing or out of date; to regenerate, run\ngo generate internal/platform")
    	}
    
    	if err := os.WriteFile("zosarch.go", want, 0666); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/distpack/pack.go

    	if goroot == "" {
    		log.Fatalf("missing $GOROOT")
    	}
    	gohostos = runtime.GOOS
    	gohostarch = runtime.GOARCH
    	goos = os.Getenv("GOOS")
    	if goos == "" {
    		goos = gohostos
    	}
    	goarch = os.Getenv("GOARCH")
    	if goarch == "" {
    		goarch = gohostarch
    	}
    	goosUnderGoarch := goos + "_" + goarch
    	goosDashGoarch := goos + "-" + goarch
    	exe := ""
    	if goos == "windows" {
    		exe = ".exe"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/internal/goarch/goarch.go

    // license that can be found in the LICENSE file.
    
    // package goarch contains GOARCH-specific constants.
    package goarch
    
    // The next line makes 'go generate' write the zgoarch*.go files with
    // per-arch information, including constants named $GOARCH for every
    // GOARCH. The constant is 1 on the current system, 0 otherwise; multiplying
    // by them is useful for defining GOARCH-specific constants.
    //
    //go:generate go run gengoarch.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:48:21 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/platform/supported.go

    func RaceDetectorSupported(goos, goarch string) bool {
    	switch goos {
    	case "linux":
    		return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64" || goarch == "s390x"
    	case "darwin":
    		return goarch == "amd64" || goarch == "arm64"
    	case "freebsd", "netbsd", "windows":
    		return goarch == "amd64"
    	default:
    		return false
    	}
    }
    
    // MSanSupported reports whether goos/goarch supports the memory
    // sanitizer option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    	exit
    fi
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    aix_ppc)
    	mkerrors="$mkerrors -maix32"
    	mksyscall="go run mksyscall_aix_ppc.go -aix"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    aix_ppc64)
    	mkerrors="$mkerrors -maix64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/mkall.sh

    #
    # Generated by mksysnum_${GOOS}.
    #
    # * ztypes_${GOOS}_${GOARCH}.go
    #
    # Generated by godefs; see types_${GOOS}.c above.
    
    GOOSARCH="${GOOS}_${GOARCH}"
    
    # defaults
    mksyscall="go run mksyscall.go"
    mkerrors="./mkerrors.sh"
    zerrors="zerrors_$GOOSARCH.go"
    mksysctl=""
    zsysctl="zsysctl_$GOOSARCH.go"
    mksysnum=
    mktypes=
    run="sh"
    
    case "$1" in
    -syscalls)
    	for i in zsyscall*go
    	do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  8. src/syscall/mkall.sh

    	exit 2
    esac
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    aix_ppc64)
    	mkerrors="$mkerrors -maix64"
    	mksyscall="./mksyscall_libc.pl -aix"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    darwin_amd64)
    	mkerrors="$mkerrors -m64"
    	mksyscall="./mksyscall.pl -darwin"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  9. buildscripts/cross-compile.sh

    }
    
    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 19 01:08:22 UTC 2023
    - 958 bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/matchers/UserAgentMatcher.java

            String osName = System.getProperty("os.name");
            String osVersion = System.getProperty("os.version");
            String osArch = System.getProperty("os.arch");
            return String.format("%s/%s (%s;%s;%s) (%s;%s;%s)", applicationName, version, osName, osVersion, osArch, javaVendor, javaVersion, javaVendorVersion);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top