- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 435 for goTo (0.05 sec)
-
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) -
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) -
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) -
src/cmd/cover/testdata/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4.9K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build_read.go
} continue } if c == '"' { c = r.readByteNoBuf() goto Reswitch } } goto Reswitch case '`': startLine = false for r.err == nil { if r.eof { r.syntaxError() } c = r.readByteNoBuf() if c == '`' { c = r.readByteNoBuf() goto Reswitch } } case '\'': startLine = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
// bb.Succs[p.i] == Edge{h, i} // h.Preds[i] == p == Edge{bb,p.i} // // new block(s): // test: // if sp < g.limit { goto sched } // goto join // sched: // mem1 := call resched (mem0) // goto join // join: // mem2 := phi(mem0, mem1) // goto h // // and correct arg i of headerMemPhi and headerCtrPhi // // EXCEPT: join block containing only phi functions is bad
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0) -
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) -
scripts/playwright/separate_openapi_schemas/image01.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_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() page.screenshot(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 819 bytes - Viewed (0)