- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 128 for goTo (0.19 sec)
-
src/cmd/cover/cover.go
end = f.statementBoundary(stmt) if f.endsBasicSourceBlock(stmt) { // If it is a labeled statement, we need to place a counter between // the label and its statement because it may be the target of a goto // and thus start a basic block. That is, given // foo: stmt // we need to create // foo: ; stmt // and mark the label as a block-terminating statement. // The result will then be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
doc/go1.17_spec.html
} } </pre> <h3 id="Goto_statements">Goto statements</h3> <p> A "goto" statement transfers control to the statement with the corresponding label within the same function. </p> <pre class="ebnf"> GotoStmt = "goto" Label . </pre> <pre> goto Error </pre> <p> Executing the "goto" statement must not cause any variables to come into
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/runtime/mgcmark.go
// do one of these before letting the mutator allocate // more to prevent over-allocation. // // If this is because we were preempted, reschedule // and try some more. if gp.preempt { Gosched() goto retry } // Add this G to an assist queue and park. When the GC // has more background credit, it will satisfy queued // assists before flushing to the global credit pool. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/database/sql/convert.go
nvargs = nvargs[:len(nvargs)-1] continue case driver.ErrSkip: if nextCC { nextCC = false checker = cc.CheckNamedValue } else { checker = defaultCheckNamedValue } goto nextCheck default: return nil, fmt.Errorf("sql: converting argument %s type: %w", describeNamedValue(nv), err) } } // Check the length of arguments after conversion to allow for omitted // arguments.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
// JumpTable [integer Value] [succ1,succ2,..] var genericBlocks = []blockData{ {name: "Plain"}, // a single successor {name: "If", controls: 1}, // if Controls[0] goto Succs[0] else goto Succs[1] {name: "Defer", controls: 1}, // Succs[0]=defer queued, Succs[1]=defer recovered. Controls[0] is call op (of memory type) {name: "Ret", controls: 1}, // no successors, Controls[0] value is memory result
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
src/runtime/sema.go
func (root *semaRoot) dequeue(addr *uint32) (found *sudog, now, tailtime int64) { ps := &root.treap s := *ps for ; s != nil; s = *ps { if s.elem == unsafe.Pointer(addr) { goto Found } if uintptr(unsafe.Pointer(addr)) < uintptr(s.elem) { ps = &s.prev } else { ps = &s.next } } return nil, 0, 0 Found: now = int64(0) if s.acquiretime != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 19K bytes - Viewed (0) -
doc/go_spec.html
} } </pre> <h3 id="Goto_statements">Goto statements</h3> <p> A "goto" statement transfers control to the statement with the corresponding label within the same function. </p> <pre class="ebnf"> GotoStmt = "goto" Label . </pre> <pre> goto Error </pre> <p> Executing the "goto" statement must not cause any variables to come into
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/inline.go
// To enable this optimization, following cmark-gfm, we declare by fiat // that more than maxBackticks backquotes is too many. if n > len(b.last) || b.scanned && b.last[n-1] < i+n { goto NoMatch } for end := i + n; end < len(s); { if s[end] != '`' { end++ continue } estart := end for end < len(s) && s[end] == '`' { end++ } m := end - estart
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0) -
src/internal/trace/gc.go
// worse. for i, ui := range acc.wHeap { if time+int64(window) > ui.Time && ui.Time+int64(window) > time { if ui.MutatorUtil <= mu { // Keep the first window. goto keep } else { // Replace it with this window. heap.Remove(&acc.wHeap, i) break } } } heap.Push(&acc.wHeap, UtilWindow{time, mu}) if len(acc.wHeap) > acc.nWorst {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
aux *Elfaux file string } func addelflib(list **Elflib, file string, vers string) *Elfaux { var lib *Elflib for lib = *list; lib != nil; lib = lib.next { if lib.file == file { goto havelib } } lib = new(Elflib) lib.next = *list lib.file = file *list = lib havelib: for aux := lib.aux; aux != nil; aux = aux.next { if aux.vers == vers { return aux }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0)