Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for darwin (0.27 sec)

  1. src/cmd/distpack/test.go

    	{name: "go/src/cmd/dist/dist.exe", exclude: true},
    
    	{name: "go/bin/go", goos: "linux"},
    	{name: "go/bin/go", goos: "darwin"},
    	{name: "go/bin/go", goos: "windows", exclude: true},
    	{name: "go/bin/go.exe", goos: "windows"},
    	{name: "go/bin/gofmt", goos: "linux"},
    	{name: "go/bin/gofmt", goos: "darwin"},
    	{name: "go/bin/gofmt", goos: "windows", exclude: true},
    	{name: "go/bin/gofmt.exe", goos: "windows"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 22:29:19 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue18146.go

    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue4029.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !static && !(darwin && internal)
    
    // Excluded in darwin internal linking PIE (which is the default) mode,
    // as dynamic export is not supported.
    
    package cgotest
    
    /*
    #include <stdint.h>
    #include <dlfcn.h>
    #cgo linux LDFLAGS: -ldl
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	}
    	if out, err := exec.Command(ccArgs[0], ccArgs[1:]...).CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	darwin := "0"
    	if runtime.GOOS == "darwin" {
    		darwin = "1"
    	}
    	cmd = exec.Command(bin[0], append(bin[1:], darwin)...)
    
    	if out, err := cmd.CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    }
    
    func TestSignalForwarding(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/fmahash_test.go

    // The test file is however a useful example of fused-vs-cascaded multiply-add.
    func TestFmaHash(t *testing.T) {
    	switch runtime.GOOS {
    	case "linux", "darwin":
    	default:
    		t.Skipf("Slow test, usually avoid it, os=%s not linux or darwin", runtime.GOOS)
    	}
    	switch runtime.GOARCH {
    	case "amd64", "arm64":
    	default:
    		t.Skipf("Slow test, usually avoid it, arch=%s not amd64 or arm64", runtime.GOARCH)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue8756/issue8756.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue8756
    
    /*
    #cgo !darwin LDFLAGS: -lm
    #include <math.h>
    */
    import "C"
    
    func Pow() {
    	C.pow(1, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 269 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    // because the internal package can't be used here.
    func libFuzzerSupported(goos, goarch string) bool {
    	switch goarch {
    	case "amd64", "arm64":
    		// TODO(#14565): support more architectures.
    		switch goos {
    		case "darwin", "freebsd", "linux", "windows":
    			return true
    		default:
    			return false
    		}
    	default:
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/dist/build.go

    	case "gc", "cmd_go_bootstrap", "go1.1":
    		return true
    	case "linux":
    		return goos == "linux" || goos == "android"
    	case "solaris":
    		return goos == "solaris" || goos == "illumos"
    	case "darwin":
    		return goos == "darwin" || goos == "ios"
    	case goos, goarch:
    		return true
    	case "unix":
    		return unixOS[goos]
    	default:
    		return false
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcshared/cshared_test.go

    		cc = append(cc, s[start:])
    	}
    
    	switch GOOS {
    	case "darwin", "ios":
    		// For Darwin/ARM.
    		// TODO(crawshaw): can we do better?
    		cc = append(cc, []string{"-framework", "CoreFoundation", "-framework", "Foundation"}...)
    	case "android":
    		cc = append(cc, "-pie")
    	}
    	libgodir := GOOS + "_" + GOARCH
    	switch GOOS {
    	case "darwin", "ios":
    		if GOARCH == "arm64" {
    			libgodir += "_shared"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top