Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 199 for goTo (0.3 sec)

  1. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    // some such cases, we can redirect the predecessor If block to the
    // corresponding successor block directly. For example:
    //
    //	p:
    //	  v11 = Less64 <bool> v10 v8
    //	  If v11 goto b else u
    //	b: <- p ...
    //	  v17 = Leq64 <bool> v10 v8
    //	  If v17 goto s else o
    //
    // We can redirect p to s directly.
    //
    // The implementation here borrows the framework of the prove pass.
    //
    //	1, Traverse all blocks of function f to find If blocks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. test/fixedbugs/bug274.go

    package main
    
    func main() {
    	switch 0 {
    	case 0:
    		L0:  // ERROR "statement"
    	case 1:
    		L1:  // ERROR "statement"
    	default:
    		     // correct since no semicolon is required before a '}'
    		goto L2
    		L2:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 888 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("r5", OpAdd64, c.config.Types.Int64, 0, nil, "r2", "r3"),
    			Valu("r10", OpAdd64, c.config.Types.Int64, 0, nil, "r6", "r9"),
    			Valu("rstore", OpStore, types.TypeMem, 0, c.config.Types.Int64, "raddr", "r10", "raddrdef"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("rstore")))
    
    	CheckFunc(fun.f)
    	cse(fun.f)
    	deadcode(fun.f)
    	CheckFunc(fun.f)
    
    	s1Cnt := 2
    	// r1 == r2 == r3, needs to remove two of this set
    	s2Cnt := 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue14006.go

    // Literals that happen to resolve to named constants
    // may be used as label names (see issue 13684). Make
    // sure that other literals don't crash the compiler.
    
    package main
    
    const labelname = 1
    
    func main() {
    	goto labelname
    labelname:
    }
    
    func f() {
    	var x int
    	switch x {
    	case 1:
    		2:	// ERROR "unexpected :|expected .*;.* or .*}.* or newline|value computed is not used"
    	case 2:
    	}
    
    	switch x {
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. cluster/images/etcd-version-monitor/README.md

      kubelet on the master machine.
    
    *Note*: This tool has to run on the same machine as etcd, as communication
    with etcd is over localhost.
    
    **VERIFYING THE TOOL**
    
    - Goto [http://localhost:9101/metrics](http://localhost:9101/metrics) in order to view the exported metrics.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 22 04:03:37 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  6. src/runtime/mcentral.go

    	// allocation if the budget runs low.
    	spanBudget := 100
    
    	var s *mspan
    	var sl sweepLocker
    
    	// Try partial swept spans first.
    	sg := mheap_.sweepgen
    	if s = c.partialSwept(sg).pop(); s != nil {
    		goto havespan
    	}
    
    	sl = sweep.active.begin()
    	if sl.valid {
    		// Now try partial unswept spans.
    		for ; spanBudget >= 0; spanBudget-- {
    			s = c.partialUnswept(sg).pop()
    			if s == nil {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_generic.go

    package bytealg
    
    import _ "unsafe" // for go:linkname
    
    func Compare(a, b []byte) int {
    	l := len(a)
    	if len(b) < l {
    		l = len(b)
    	}
    	if l == 0 || &a[0] == &b[0] {
    		goto samebytes
    	}
    	for i := 0; i < l; i++ {
    		c1, c2 := a[i], b[i]
    		if c1 < c2 {
    			return -1
    		}
    		if c1 > c2 {
    			return +1
    		}
    	}
    samebytes:
    	if len(a) < len(b) {
    		return -1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/math/gamma.go

    	}
    
    	// Reduce argument
    	z := 1.0
    	for x >= 3 {
    		x = x - 1
    		z = z * x
    	}
    	for x < 0 {
    		if x > -1e-09 {
    			goto small
    		}
    		z = z / x
    		x = x + 1
    	}
    	for x < 2 {
    		if x < 1e-09 {
    			goto small
    		}
    		z = z / x
    		x = x + 1
    	}
    
    	if x == 2 {
    		return z
    	}
    
    	x = x - 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/compress/flate/deflatefast.go

    		nextS := s
    		var candidate tableEntry
    		for {
    			s = nextS
    			bytesBetweenHashLookups := skip >> 5
    			nextS = s + bytesBetweenHashLookups
    			skip += bytesBetweenHashLookups
    			if nextS > sLimit {
    				goto emitRemainder
    			}
    			candidate = e.table[nextHash&tableMask]
    			now := load32(src, nextS)
    			e.table[nextHash&tableMask] = tableEntry{offset: s + e.cur, val: cv}
    			nextHash = hash(now)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/stylesheets/custom-highlight/groovy-hl.xml

            <keyword>enum</keyword>
            <keyword>extends</keyword>
            <keyword>false</keyword>
            <keyword>final</keyword>
            <keyword>finally</keyword>
            <keyword>for</keyword>
            <keyword>goto</keyword>
            <keyword>if</keyword>
            <keyword>implements</keyword>
            <keyword>import</keyword>
            <keyword>in</keyword>
            <keyword>instanceof</keyword>
            <keyword>interface</keyword>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top