Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for goTo (0.08 sec)

  1. src/net/sockopt_posix.go

    		return err
    	}
    	for _, ifa := range ifat {
    		switch v := ifa.(type) {
    		case *IPAddr:
    			if a := v.IP.To4(); a != nil {
    				copy(mreq.Interface[:], a)
    				goto done
    			}
    		case *IPNet:
    			if a := v.IP.To4(); a != nil {
    				copy(mreq.Interface[:], a)
    				goto done
    			}
    		}
    	}
    done:
    	if bytealg.Equal(mreq.Multiaddr[:], IPv4zero.To4()) {
    		return errNoSuchMulticastInterface
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/tokens.go

    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  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/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)
  6. 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)
  7. src/cmd/compile/internal/types2/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.Value
    		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)
  8. src/go/token/token.go

    	CONTINUE: "continue",
    
    	DEFAULT:     "default",
    	DEFER:       "defer",
    	ELSE:        "else",
    	FALLTHROUGH: "fallthrough",
    	FOR:         "for",
    
    	FUNC:   "func",
    	GO:     "go",
    	GOTO:   "goto",
    	IF:     "if",
    	IMPORT: "import",
    
    	INTERFACE: "interface",
    	MAP:       "map",
    	PACKAGE:   "package",
    	RANGE:     "range",
    	RETURN:    "return",
    
    	SELECT: "select",
    	STRUCT: "struct",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/noder/stmt.go

    // TODO(mdempsky): Investigate replacing with switch statements or dense arrays.
    
    var branchOps = [...]ir.Op{
    	syntax.Break:       ir.OBREAK,
    	syntax.Continue:    ir.OCONTINUE,
    	syntax.Fallthrough: ir.OFALL,
    	syntax.Goto:        ir.OGOTO,
    }
    
    var callOps = [...]ir.Op{
    	syntax.Defer: ir.ODEFER,
    	syntax.Go:    ir.OGO,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:39:32 UTC 2023
    - 564 bytes
    - Viewed (0)
  10. scripts/playwright/separate_openapi_schemas/image05.py

    
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="Item", exact=True).click()
        page.set_viewport_size({"width": 960, "height": 700})
        page.screenshot(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 829 bytes
    - Viewed (0)
Back to top