Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for GOEXPERIMENT (0.43 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    	goexperiment := strings.Split(os.Getenv("GOEXPERIMENT"), ",")
    	if len(goexperiment) == 1 && goexperiment[0] == "" {
    		goexperiment = nil
    	}
    	i := slices.Index(goexperiment, "cgocheck2")
    	changed := false
    	if cgocheck2 && i < 0 {
    		goexperiment = append(goexperiment, "cgocheck2")
    		changed = true
    	} else if !cgocheck2 && i >= 0 {
    		goexperiment = append(goexperiment[:i], goexperiment[i+1:]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cfg/cfg.go

    		}
    	}
    }
    
    // Experiment configuration.
    var (
    	// RawGOEXPERIMENT is the GOEXPERIMENT value set by the user.
    	RawGOEXPERIMENT = envOr("GOEXPERIMENT", buildcfg.DefaultGOEXPERIMENT)
    	// CleanGOEXPERIMENT is the minimal GOEXPERIMENT value needed to reproduce the
    	// experiments enabled by RawGOEXPERIMENT.
    	CleanGOEXPERIMENT = RawGOEXPERIMENT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOEXE", Value: cfg.ExeSuffix},
    
    		// List the raw value of GOEXPERIMENT, not the cleaned one.
    		// The set of default experiments may change from one release
    		// to the next, so a GOEXPERIMENT setting that is redundant
    		// with the current toolchain might actually be relevant with
    		// a different version (for example, when bisecting a regression).
    		{Name: "GOEXPERIMENT", Value: cfg.RawGOEXPERIMENT},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    	for _, opt := range opts {
    		opt(&conf)
    	}
    
    	// apply flag setting (overrides custom configuration)
    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/cc_test.go

    func appendExperimentEnv(cmd *exec.Cmd, experiments []string) {
    	if cmd.Env == nil {
    		cmd.Env = cmd.Environ()
    	}
    	exps := strings.Join(experiments, ",")
    	for _, evar := range cmd.Env {
    		c := strings.SplitN(evar, "=", 2)
    		if c[0] == "GOEXPERIMENT" {
    			exps = c[1] + "," + exps
    		}
    	}
    	cmd.Env = append(cmd.Env, "GOEXPERIMENT="+exps)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/go/types/check_test.go

    	for _, opt := range opts {
    		opt(&conf)
    	}
    
    	// apply flag setting (overrides custom configuration)
    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/runtime/extern.go

    	Setting cgocheck=1 (the default) enables relatively cheap
    	checks that may miss some errors. A more complete, but slow,
    	cgocheck mode can be enabled using GOEXPERIMENT (which
    	requires a rebuild), see https://pkg.go.dev/internal/goexperiment for details.
    
    	disablethp: setting disablethp=1 on Linux disables transparent huge pages for the heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/inl_test.go

    // Copyright 2017 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 test
    
    import (
    	"bufio"
    	"internal/goexperiment"
    	"internal/testenv"
    	"io"
    	"math/bits"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestIntendedInlining tests that specific functions are inlined.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/main.go

    	} else {
    		addstrdata1(ctxt, "runtime.defaultGOROOT="+buildcfg.GOROOT)
    	}
    
    	buildVersion := buildcfg.Version
    	if goexperiment := buildcfg.Experiment.String(); goexperiment != "" {
    		buildVersion += " X:" + goexperiment
    	}
    	addstrdata1(ctxt, "runtime.buildVersion="+buildVersion)
    
    	// TODO(matloob): define these above and then check flag values here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/runtime/mbarrier.go

    // assembly. This file contains write barrier entry points for bulk
    // operations. See also mwbbuf.go.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/goexperiment"
    	"unsafe"
    )
    
    // Go uses a hybrid barrier that combines a Yuasa-style deletion
    // barrier—which shades the object whose reference is being
    // overwritten—with Dijkstra insertion barrier—which shades the object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top