- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 505 for goTo (0.09 sec)
-
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) -
test/fixedbugs/issue7023.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 7023: corrupted export data when an inlined function // contains a goto.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 10 00:33:24 UTC 2014 - 274 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) -
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) -
test/fixedbugs/issue19699.dir/a.go
// Copyright 2017 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 F() { l1: if false { goto l1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 17:13:30 UTC 2017 - 213 bytes - Viewed (0) -
test/fixedbugs/issue15838.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test cases for issue #15838, and related failures. // Make sure the importer correctly sets up nodes for // label decls, goto, continue, break, and fallthrough // statements.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 26 00:32:03 UTC 2016 - 370 bytes - Viewed (0) -
test/fixedbugs/bug179.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 383 bytes - Viewed (0) -
test/fixedbugs/issue45948.go
// license that can be found in the LICENSE file. // Issue 45948: assert in debug generation for degenerate // function with infinite loop. package p func f(p int) { L: goto L
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 05 01:47:58 UTC 2021 - 307 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) -
test/fixedbugs/issue44465.go
// This code caused an internal consistency error due to a bad shortcircuit optimization. package p func f() { var b bool if b { b = true } l: for !b { b = true goto l }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 22 20:27:09 UTC 2021 - 375 bytes - Viewed (0)