Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,216 for ninit (0.08 sec)

  1. test/fixedbugs/issue17449.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 17449: race instrumentation copies over previous instrumented nodes from parents block into child's Ninit block.
    // This code surfaces the duplication at compile time because of generated inline labels.
    
    package master
    
    type PriorityList struct {
        elems []interface{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue15091.go

    // or (now, with the error caught earlier)
    //    Treating auto as if it were arg, func (*Html).xyzzy, node ...
    // caused by racewalker inserting instrumentation before an OAS where the Ninit
    // of the OAS defines part of its right-hand-side. (I.e., the race instrumentation
    // references a variable before it is defined.)
    func (options *Html) xyzzy(id string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 989 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    					if colas {
    						if len(init) > 0 && init[0].Op() == ir.ODCL && init[0].(*ir.Decl).X == n {
    							init = init[1:]
    
    							// iimport may have added a default initialization assignment,
    							// due to how it handles ODCL statements.
    							if len(init) > 0 && init[0].Op() == ir.OAS && init[0].(*ir.AssignStmt).X == n {
    								init = init[1:]
    							}
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    //
    //	n.Left = walkExpr(n.Left, init)
    func walkExpr(n ir.Node, init *ir.Nodes) ir.Node {
    	if n == nil {
    		return n
    	}
    
    	if n, ok := n.(ir.InitNode); ok && init == n.PtrInit() {
    		// not okay to use n->ninit when walking n,
    		// because we might replace n with some other node
    		// and would lose the init list.
    		base.Fatalf("walkExpr init == &n->ninit")
    	}
    
    	if len(n.Init()) != 0 {
    		walkStmtList(n.Init())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/fmt.go

    	const exportFormat = false
    
    	// some statements allow for an init, but at most one,
    	// but we may have an arbitrary number added, eg by typecheck
    	// and inlining. If it doesn't fit the syntax, emit an enclosing
    	// block starting with the init statements.
    
    	// if we can just say "for" n->ninit; ... then do so
    	simpleinit := len(n.Init()) == 1 && len(n.Init()[0].Init()) == 0 && StmtWithInit(n.Op())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/init.go

    must not already exist.
    
    Init accepts one optional argument, the module path for the new module. If the
    module path argument is omitted, init will attempt to infer the module path
    using import comments in .go files, vendoring tool configuration files (like
    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. test/noinit.go

    func gopherize(s string) string { return "gopher gopher gopher " + s }
    
    var animals = gopherize("badger")
    
    // These init funcs should optimize away.
    
    func init() {
    }
    
    func init() {
    	if false {
    	}
    }
    
    func init() {
    	for false {
    	}
    }
    
    // Actual test: check for init funcs in runtime data structures.
    
    type initTask struct {
    	state uint32
    	nfns  uint32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. internal/init/init.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import "os"
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 04 23:44:38 UTC 2022
    - 874 bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    // calling Init and Enabled, the main package can call this function.
    func WillBeEnabled() bool {
    	if modRoots != nil || cfg.ModulesEnabled {
    		// Already enabled.
    		return true
    	}
    	if initialized {
    		// Initialized, not enabled.
    		return false
    	}
    
    	// Keep in sync with Init. Init does extra validation and prints warnings or
    	// exits, so it can't call this function directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/workcmd/init.go

    // go work init
    
    package workcmd
    
    import (
    	"context"
    	"path/filepath"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modload"
    
    	"golang.org/x/mod/modfile"
    )
    
    var cmdInit = &base.Command{
    	UsageLine: "go work init [moddirs]",
    	Short:     "initialize workspace file",
    	Long: `Init initializes and writes a new go.work file in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top