Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 567 for goio (0.11 sec)

  1. test/fixedbugs/issue19783.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func Spin() {
    l1:
    	for true {
    		goto l1
    	l2:
    		if true {
    			goto l2
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 17:06:08 UTC 2017
    - 260 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/shortcircuit_test.go

    			Valu("arg2", OpArg, c.config.Types.Int64, 0, nil),
    			Valu("arg3", OpArg, c.config.Types.Int64, 0, nil),
    			Goto("b1")),
    		Bloc("b1",
    			Valu("cmp1", OpLess64, c.config.Types.Bool, 0, nil, "arg1", "arg2"),
    			If("cmp1", "b2", "b3")),
    		Bloc("b2",
    			Valu("cmp2", OpLess64, c.config.Types.Bool, 0, nil, "arg2", "arg3"),
    			Goto("b3")),
    		Bloc("b3",
    			Valu("phi2", OpPhi, c.config.Types.Bool, 0, nil, "cmp1", "cmp2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/regalloc_test.go

    			Eq("v11", "b2", "b4"),
    		),
    		Bloc("b4",
    			Goto("b3"),
    		),
    		Bloc("b3",
    			Valu("v14", OpPhi, types.TypeMem, 0, nil, "v1", "v12"),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Valu("v16", OpARM64MOVDstore, types.TypeMem, 0, nil, "v8", "sb", "v14"),
    			Exit("v16"),
    		),
    		Bloc("b2",
    			Valu("v12", OpARM64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "v1"),
    			Goto("b3"),
    		),
    	)
    	regalloc(f.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. src/cmd/trace/threadgen.go

    			g.threads[ev.Thread()] = struct{}{}
    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ThreadID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. test/fixedbugs/bug137.go

    package main
    
    func main() {
    L1:
    L2:
    	for i := 0; i < 10; i++ {
    		print(i)
    		break L2
    	}
    
    L3:
    	;
    L4:
    	for i := 0; i < 10; i++ {
    		print(i)
    		break L4
    	}
    	goto L1
    	goto L3
    }
    
    /*
    bug137.go:9: break label is not defined: L2
    bug137.go:15: break label is not defined: L4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 440 bytes
    - Viewed (0)
  6. test/fixedbugs/issue63955.go

    	if v := try(); v == 42 || v == 1337 { // the two || are to trick findIndVar
    		if n < 30 { // this aims to be the matched block
    			if shouldInc() {
    				n++
    				goto loop
    			}
    			n = N(n) // try to prevent some block joining
    			goto loop
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 578 bytes
    - Viewed (0)
  7. test/fixedbugs/bug005.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	Foo: {
    		return;
    	}
    	goto Foo;
    }
    /*
    bug5.go:4: Foo undefined
    bug5.go:4: fatal error: walktype: switch 1 unknown op GOTO l(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 325 bytes
    - Viewed (0)
  8. src/net/error_test.go

    			return err
    		}
    		nestedErr = err.Err
    		goto second
    	}
    	return fmt.Errorf("unexpected type on 1st nested level: %T", nestedErr)
    
    second:
    	if isPlatformError(nestedErr) {
    		return nil
    	}
    	switch err := nestedErr.(type) {
    	case *os.SyscallError:
    		nestedErr = err.Err
    		goto third
    	case *fs.PathError: // for Plan 9
    		nestedErr = err.Err
    		goto third
    	}
    	switch nestedErr {
    	case ErrClosed:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. test/fixedbugs/bug344.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "fmt"
    
    func main() {
    	// invalid use of goto.
    	// do whatever you like, just don't crash.
    	i := 42
    	a := []*int{&i, &i, &i, &i}
    	x := a[0]
    	goto start  // ERROR "jumps into block"
    	z := 1
    	_ = z
    	for _, x = range a {	// GCCGO_ERROR "block"
    	start:
    		fmt.Sprint(*x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 466 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/version_test.go

    			var err error
    			if len(tc.flag) > 0 {
    				if err = cmd.Flags().Set(flagNameOutput, tc.flag); err != nil {
    					goto error
    				}
    			}
    			buf.Reset()
    			if err = RunVersion(&buf, cmd); err != nil {
    				goto error
    			}
    			if buf.String() == "" {
    				err = errors.New("empty output")
    				goto error
    			}
    			if tc.shouldBeValidYAML {
    				err = yaml.Unmarshal(buf.Bytes(), &iface)
    			} else if tc.shouldBeValidJSON {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top