Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 159 for GOEXPERIMENT (0.18 sec)

  1. src/cmd/go/testdata/script/cover_build_simple.txt

    # This test checks basic "go build -cover" functionality.
    
    [short] skip
    
    # Hard-wire new coverage for this test.
    env GOEXPERIMENT=coverageredesign
    
    # Build for coverage.
    go build -gcflags=-m -o example.exe -cover example/main &
    [race] go build -o examplewithrace.exe -race -cover example/main &
    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. src/make.rc

    eval `{grep '^(CC|LD|O)=' /$objtype/mkfile}
    
    vflag=()
    if(~ $1 -v) {
    	vflag=(-v)
    	shift
    }
    
    fn bootstrapenv {
    	GOROOT=$GOROOT_BOOTSTRAP GO111MODULE=off GOENV=off GOOS=() GOARCH=() GOEXPERIMENT=() GOFLAGS=() $*
    }
    
    bootgo = 1.20.6
    GOROOT = `{cd .. && pwd}
    goroot_bootstrap_set = 'true'
    if(! ~ $#GOROOT_BOOTSTRAP 1){
    	goroot_bootstrap_set = 'false'
    	GOROOT_BOOTSTRAP = $home/go1.4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/emitdata_test.go

    	"fmt"
    	"internal/coverage"
    	"internal/goexperiment"
    	"internal/platform"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // Set to true for debugging (linux only).
    const fixedTestDir = false
    
    func TestCoverageApis(t *testing.T) {
    	if testing.Short() {
    		t.Skipf("skipping test: too long for short mode")
    	}
    	if !goexperiment.CoverageRedesign {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/link/doc.go

    	-installsuffix suffix
    		Look for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix
    		instead of $GOROOT/pkg/$GOOS_$GOARCH.
    	-k symbol
    		Set field tracking symbol. Use this flag when GOEXPERIMENT=fieldtrack is set.
    	-libgcc file
    		Set name of compiler support library.
    		This is only used in internal link mode.
    		If not set, default value comes from running the compiler,
    		which may be set by the -extld option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    					t.Fatalf("failed to parse $GO_TEST_TIMEOUT_SCALE = %q as integer: %v", s, err)
    				}
    				tim *= timeoutScale
    			}
    		case "-goexperiment": // set GOEXPERIMENT environment
    			args = args[1:]
    			if goexp != "" {
    				goexp += ","
    			}
    			goexp += args[0]
    			runenv = append(runenv, "GOEXPERIMENT="+goexp)
    
    		case "-godebug": // set GODEBUG environment
    			args = args[1:]
    			if godebug != "" {
    				godebug += ","
    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/internal/types/testdata/spec/range_int.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This is a subset of the tests in range.go for range over integers,
    // with extra tests, and without the need for -goexperiment=range.
    
    package p
    
    // test framework assumes 64-bit int/uint sizes by default
    const (
    	maxInt  = 1<<63 - 1
    	maxUint = 1<<64 - 1
    )
    
    type MyInt int32
    
    func _() {
    	for range -1 {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	  internal/cfg,
    	  internal/coverage,
    	  internal/coverage/rtcov,
    	  internal/coverage/uleb128,
    	  internal/coverage/calloc,
    	  internal/cpu,
    	  internal/goarch,
    	  internal/godebugs,
    	  internal/goexperiment,
    	  internal/goos,
    	  internal/goversion,
    	  internal/nettrace,
    	  internal/platform,
    	  internal/profilerecord,
    	  internal/trace/traceviewer/format,
    	  log/internal,
    	  math/bits,
    	  unicode,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/cmd/go/script_test.go

    		"TESTGO_GOHOSTARCH=" + goHostArch,
    		"GOCACHE=" + testGOCACHE,
    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    		"GOPRIVATE=",
    		"GOROOT=" + testGOROOT,
    		"GOTRACEBACK=system",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. test/range4.go

    // run -goexperiment rangefunc
    
    // Copyright 2023 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.
    
    // Test the 'for range' construct ranging over functions.
    
    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. test/abi/bad_select_crash.go

    // build -goexperiment regabi,regabiargs
    
    // Copyright 2021 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 main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    func main() {
    	// Only print if there is a problem
    	Caller2()
    	if FailCount != 0 {
    		fmt.Fprintf(os.Stderr, "FAILURES: %d\n", FailCount)
    		os.Exit(2)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 13:38:02 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top