Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 159 of 159 for GOEXPERIMENT (0.14 sec)

  1. src/go/types/decl.go

    			if tparam0 != nil {
    				if !versionErr && !buildcfg.Experiment.AliasTypeParams {
    					check.error(tdecl, UnsupportedFeature, "generic type alias requires GOEXPERIMENT=aliastypeparams")
    					versionErr = true
    				}
    				check.openScope(tdecl, "type parameters")
    				defer check.closeScope()
    				check.collectTypeParams(&alias.tparams, tdecl.TypeParams)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    // precondition is not followed, this function will fail to scan the
    // right pointers.
    //
    // When in doubt, pass nil for typ. That is safe and will always work.
    //
    // Callers must perform cgo checks if goexperiment.CgoCheck2.
    //
    //go:nosplit
    func bulkBarrierPreWrite(dst, src, size uintptr, typ *abi.Type) {
    	if (dst|src|size)&(goarch.PtrSize-1) != 0 {
    		throw("bulkBarrierPreWrite: unaligned arguments")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/testing/testing.go

    // testing needs, where ordinary test functions suffice.
    package testing
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/goexperiment"
    	"internal/race"
    	"io"
    	"math/rand"
    	"os"
    	"reflect"
    	"runtime"
    	"runtime/debug"
    	"runtime/trace"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. src/cmd/link/link_test.go

    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	if true /* was buildcfg.Experiment.Unified */ {
    		t.Skip("TODO(mdempsky): Fix ICE when importing unlinkable objects for GOEXPERIMENT=unified")
    	}
    
    	tmpdir := t.TempDir()
    
    	xSrc := filepath.Join(tmpdir, "x.go")
    	pSrc := filepath.Join(tmpdir, "p.go")
    	xObj := filepath.Join(tmpdir, "x.o")
    	pObj := filepath.Join(tmpdir, "p.o")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //		generated by running a "go build -cover" binary.
    //		Requires that GOEXPERIMENT=coverageredesign is enabled.
    //
    // Special-purpose environment variables:
    //
    //	GCCGOTOOLDIR
    //		If set, where to find gccgo tools, such as cgo.
    //		The default is based on how gccgo was configured.
    //	GOEXPERIMENT
    //		Comma-separated list of toolchain experiments to enable or disable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    reasonably cheap dynamic checks. These checks may be disabled
    entirely using GODEBUG=cgocheck=0. Complete checking of pointer
    handling, at some cost in run time, is available by setting
    GOEXPERIMENT=cgocheck2 at build time.
    
    It is possible to defeat this enforcement by using the unsafe package,
    and of course there is nothing stopping the C code from doing anything
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    		}
    
    		// GOARM, GOMIPS, etc.
    		key, val, _ := cfg.GetArchEnv()
    		fmt.Fprintf(h, "%s=%s\n", key, val)
    
    		if cfg.CleanGOEXPERIMENT != "" {
    			fmt.Fprintf(h, "GOEXPERIMENT=%q\n", cfg.CleanGOEXPERIMENT)
    		}
    
    		// TODO(rsc): Convince compiler team not to add more magic environment variables,
    		// or perhaps restrict the environment variables passed to subprocesses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    			appendSetting(name, cfg.Getenv(name))
    		}
    	}
    	appendSetting("GOARCH", cfg.BuildContext.GOARCH)
    	if cfg.RawGOEXPERIMENT != "" {
    		appendSetting("GOEXPERIMENT", cfg.RawGOEXPERIMENT)
    	}
    	appendSetting("GOOS", cfg.BuildContext.GOOS)
    	if key, val, _ := cfg.GetArchEnv(); key != "" && val != "" {
    		appendSetting(key, val)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. src/runtime/asm_amd64.s

    	// Gather our arguments into registers.
    	MOVQ	fn+0(FP), BX
    	MOVQ	frame+8(FP), CX
    	MOVQ	ctxt+16(FP), DX
    	// Compute the size of the frame, including return PC and, if
    	// GOEXPERIMENT=framepointer, the saved base pointer
    	LEAQ	fn+0(FP), AX
    	SUBQ	SP, AX   // AX is our actual frame size
    	SUBQ	AX, DI   // Allocate the same frame size on the g stack
    	MOVQ	DI, SP
    
    	MOVQ	BX, 0(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top