Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for FieldTrack (0.14 sec)

  1. src/internal/goexperiment/exp_fieldtrack_on.go

    // Code generated by mkconsts.go. DO NOT EDIT.
    
    //go:build goexperiment.fieldtrack
    
    package goexperiment
    
    const FieldTrack = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 154 bytes
    - Viewed (0)
  2. src/internal/goexperiment/exp_fieldtrack_off.go

    // Code generated by mkconsts.go. DO NOT EDIT.
    
    //go:build !goexperiment.fieldtrack
    
    package goexperiment
    
    const FieldTrack = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 156 bytes
    - Viewed (0)
  3. test/fixedbugs/issue63333.go

    // errorcheck -goexperiment fieldtrack
    
    // 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.
    
    package p
    
    func f(interface{ m() }) {}
    func g()                 { f(new(T)) } // ERROR "m method is marked 'nointerface'"
    
    type T struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:44:52 UTC 2023
    - 374 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/pgen.go

    	// turn them into weak relocs.
    	if fn.IsPackageInit() && base.Debug.WrapGlobalMapCtl != 1 {
    		weakenGlobalMapInitRelocs(fn)
    	}
    
    	// fieldtrack must be called after pp.Flush. See issue 20014.
    	fieldtrack(pp.Text.From.Sym, fn.FieldTrack)
    }
    
    // globalMapInitLsyms records the LSym of each map.init.NNN outlined
    // map initializer function created by the compiler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/check_goexperiment.txt

    # Test that [GOEXPERIMENT:x] is accepted.
    # Here fieldtrack is picked arbitrarily.
    
    [GOEXPERIMENT:nofieldtrack] env
    
    [GOEXPERIMENT:fieldtrack] env
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:49:00 UTC 2022
    - 178 bytes
    - Viewed (0)
  6. test/fixedbugs/issue47928.go

    // run -goexperiment fieldtrack
    
    // 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
    
    func main() {
    	var i interface{} = new(T)
    	if _, ok := i.(interface{ Bad() }); ok {
    		panic("FAIL")
    	}
    }
    
    type T struct{ U }
    
    type U struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 24 18:02:21 UTC 2021
    - 386 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_concurrent_backend.txt

    # Tests golang.org/issue/48490
    # cmd/go should enable concurrent compilation by default
    
    # Reset all experiments, since one of them can disable
    # concurrent compilation, e.g: fieldtrack.
    env GOEXPERIMENT=none
    
    env GOMAXPROCS=4
    go build -n -x -a fmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 05 01:30:56 UTC 2021
    - 265 bytes
    - Viewed (0)
  8. test/typeparam/mdempsky/15.go

    // run -goexperiment fieldtrack
    
    // 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.
    
    // Test that generics, promoted methods, and //go:nointerface
    // interoperate as expected.
    
    package main
    
    import (
    	"reflect"
    )
    
    func TypeString[T any]() string {
    	return reflect.TypeOf(new(T)).Elem().String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/main.go

    	bench.Start("deadcode")
    	deadcode(ctxt)
    
    	bench.Start("linksetup")
    	ctxt.linksetup()
    
    	bench.Start("dostrdata")
    	ctxt.dostrdata()
    	if buildcfg.Experiment.FieldTrack {
    		bench.Start("fieldtrack")
    		fieldtrack(ctxt.Arch, ctxt.loader)
    	}
    
    	bench.Start("dwarfGenerateDebugInfo")
    	dwarfGenerateDebugInfo(ctxt)
    
    	bench.Start("callgraph")
    	ctxt.callgraph()
    
    	bench.Start("doStackCheck")
    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/cmd/internal/bootstrap_test/experiment_toolid_test.go

    	}
    
    	// Build a package in a mode not handled by the make script.
    	runCmd(t, gorootSrc, env, goCmdPath, "build", "-race", "archive/tar")
    
    	// Rebuild the toolchain with GOEXPERIMENT.
    	env = append(env, "GOEXPERIMENT=fieldtrack")
    	runCmd(t, gorootSrc, env, makeScriptPath)
    
    	// Verify compiler version string.
    	gotVersion = bytes.TrimSpace(runCmd(t, gorootSrc, env, goCmdPath, "tool", "compile", "-V=full"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 18:47:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top