Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for goose (0.05 sec)

  1. 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)
  2. src/cmd/dist/test.go

    	if goarch == "ppc64" && goos != "aix" {
    		return false
    	}
    	return true
    }
    
    func (t *tester) internalLink() bool {
    	if gohostos == "dragonfly" {
    		// linkmode=internal fails on dragonfly since errno is a TLS relocation.
    		return false
    	}
    	if goos == "android" {
    		return false
    	}
    	if goos == "ios" {
    		return false
    	}
    	if goos == "windows" && goarch == "arm64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/go/build/build.go

    // goodOSArchFile returns false if the name contains a $GOOS or $GOARCH
    // suffix which does not match the current system.
    // The recognized name formats are:
    //
    //	name_$(GOOS).*
    //	name_$(GOARCH).*
    //	name_$(GOOS)_$(GOARCH).*
    //	name_$(GOOS)_test.*
    //	name_$(GOARCH)_test.*
    //	name_$(GOOS)_$(GOARCH)_test.*
    //
    // Exceptions:
    // if GOOS=android, then files with GOOS=linux are also matched.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/os/os_test.go

    func TestChmod(t *testing.T) {
    	// Chmod is not supported on wasip1.
    	if runtime.GOOS == "wasip1" {
    		t.Skip("Chmod is not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	f := newFile("TestChmod", t)
    	defer Remove(f.Name())
    	defer f.Close()
    	// Creation mode is read write
    
    	fm := FileMode(0456)
    	if runtime.GOOS == "windows" {
    		fm = FileMode(0444) // read-only file
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    	if *target != "" {
    		// When -target is set, propagate it to GOOS/GOARCH in our environment
    		// so that all commands run with the target GOOS/GOARCH.
    		//
    		// We do this before even calling "go env", because GOOS/GOARCH can
    		// affect other settings we get from go env (notably CGO_ENABLED).
    		goos, goarch, ok := strings.Cut(*target, "/")
    		if !ok {
    			t.Fatalf("bad -target flag %q, expected goos/goarch", *target)
    		}
    		t.Setenv("GOOS", goos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	tg.grepStdout("linux amd64", "unexpected GOOS/GOARCH combination")
    
    	tg.setenv("GOOS", "darwin")
    	tg.setenv("GOARCH", "arm64")
    	tg.run("generate", "gen")
    	tg.grepStdout("darwin arm64", "unexpected GOOS/GOARCH combination")
    }
    
    func TestGoEnv(t *testing.T) {
    	tg := testgo(t)
    	tg.parallel()
    	defer tg.cleanup()
    	tg.setenv("GOOS", "freebsd") // to avoid invalid pair errors
    	tg.setenv("GOARCH", "arm")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. src/runtime/malloc.go

    	// prefer using heapArenaBytes where possible (we need the
    	// constant to compute some other constants).
    	logHeapArenaBytes = (6+20)*(_64bit*(1-goos.IsWindows)*(1-goarch.IsWasm)*(1-goos.IsIos*goarch.IsArm64)) + (2+20)*(_64bit*goos.IsWindows) + (2+20)*(1-_64bit) + (2+20)*goarch.IsWasm + (2+20)*goos.IsIos*goarch.IsArm64
    
    	// heapArenaBitmapWords is the size of each heap arena's bitmap in uintptrs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    		switch ctxt.BuildMode {
    		case BuildModeCShared, BuildModeCArchive:
    			*flagEntrySymbol = fmt.Sprintf("_rt0_%s_%s_lib", buildcfg.GOARCH, buildcfg.GOOS)
    		case BuildModeExe, BuildModePIE:
    			*flagEntrySymbol = fmt.Sprintf("_rt0_%s_%s", buildcfg.GOARCH, buildcfg.GOOS)
    		case BuildModeShared, BuildModePlugin:
    			// No *flagEntrySymbol for -buildmode=shared and plugin
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    		path        string
    		expectedErr error
    	}{
    		{".", errFileAccessDenied},
    		{"/", errFileAccessDenied},
    		{"..", errFileAccessDenied},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    func diffCPUTime(t *testing.T, f func()) (user, system time.Duration) {
    	if fn := diffCPUTimeImpl; fn != nil {
    		return fn(f)
    	}
    	t.Fatalf("cannot measure CPU time on GOOS=%s GOARCH=%s", runtime.GOOS, runtime.GOARCH)
    	return 0, 0
    }
    
    func contains(slice []string, s string) bool {
    	for i := range slice {
    		if slice[i] == s {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top