Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 315 for Toto (0.1 sec)

  1. src/go/types/resolver_test.go

    		}
    		`,
    		`
    		package p
    		type S struct{}
    		func (T) _() {}
    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue7023.dir/a.go

    // Copyright 2014 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 a
    
    func Foo() {
    	goto bar
    bar:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 10 00:33:24 UTC 2014
    - 201 bytes
    - Viewed (0)
  3. src/go/types/labels.go

    	// If there are any forward jumps left, no label was found for
    	// the corresponding goto statements. Either those labels were
    	// never defined, or they are inside blocks and not reachable
    	// for the respective gotos.
    	for _, jmp := range fwdJumps {
    		var msg string
    		var code Code
    		name := jmp.Label.Name
    		if alt := all.Lookup(name); alt != nil {
    			msg = "goto %s jumps into block"
    			code = JumpIntoBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/resolver_test.go

    		}
    		`,
    		`
    		package p
    		type S struct{}
    		func (T) _() {}
    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	var files []*syntax.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. test/fixedbugs/issue8076.go

    // Issue 8076. nilwalkfwd walked forward forever
    // on the instruction loop following the dereference.
    
    package main
    
    func main() {
    	_ = *(*int)(nil)
    L:
    	_ = 0
    	goto L
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 342 bytes
    - Viewed (0)
  6. test/fixedbugs/issue13684.go

    // license that can be found in the LICENSE file.
    
    // Verify that a label name matching a constant name
    // is permitted.
    
    package main
    
    const labelname = 1
    
    func main() {
    	goto labelname
    labelname:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 317 bytes
    - Viewed (0)
  7. test/fixedbugs/issue7538a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 7538: blank (_) labels handled incorrectly
    
    package p
    
    func f() {
    _:
    _:
    	goto _ // ERROR "not defined|undefined label"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 305 bytes
    - Viewed (0)
  8. test/fixedbugs/bug091.go

    // Copyright 2009 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 f1() {
    exit:
    	print("hi\n")
    	goto exit
    }
    
    func f2() {
    	const c = 1234
    }
    
    func f3() {
    	i := c // ERROR "undef"
    	_ = i
    }
    
    func main() {
    	f3()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 18:13:13 UTC 2023
    - 336 bytes
    - Viewed (0)
  9. test/fixedbugs/issue28616.go

    // license that can be found in the LICENSE file.
    
    // Make sure we don't dead code eliminate a label.
    
    package p
    
    var i int
    
    func f() {
    
    	if true {
    
    		if i == 1 {
    			goto label
    		}
    
    		return
    	}
    
    label:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 18:50:16 UTC 2018
    - 325 bytes
    - Viewed (0)
  10. test/fixedbugs/bug077.go

    // 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 exit int
    exit:
    	_ = exit
    	goto exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 243 bytes
    - Viewed (0)
Back to top