Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 435 for goTo (0.03 sec)

  1. src/cmd/compile/internal/types2/expr.go

    			goto Error
    		}
    		if isTypeParam(x.typ) {
    			check.errorf(x, InvalidAssert, invalidOp+"cannot use type assertion on type parameter value %s", x)
    			goto Error
    		}
    		if _, ok := under(x.typ).(*Interface); !ok {
    			check.errorf(x, InvalidAssert, invalidOp+"%s is not an interface", x)
    			goto Error
    		}
    		T := check.varType(e.Type)
    		if !isValid(T) {
    			goto Error
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    				// know after seeing the 2nd operand whether we have
    				// an invalid comparison.
    				errOp = y
    				goto Error
    			}
    
    		case !Comparable(x.typ):
    			errOp = x
    			cause = check.incomparableCause(x.typ)
    			goto Error
    
    		case !Comparable(y.typ):
    			errOp = y
    			cause = check.incomparableCause(y.typ)
    			goto Error
    		}
    
    	case token.LSS, token.LEQ, token.GTR, token.GEQ:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("store3", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "store2"),
    			Valu("store4", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr3", "v", "store3"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("store3")))
    
    	CheckFunc(fun.f)
    	dse(fun.f)
    	CheckFunc(fun.f)
    
    	v1 := fun.values["store1"]
    	if v1.Op != OpCopy {
    		t.Errorf("dead store not removed")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/debug/dwarf/type.go

    		enc, ok := e.Val(AttrEncoding).(int64)
    		if !ok {
    			err = DecodeError{name, e.Offset, "missing encoding attribute for " + name}
    			goto Error
    		}
    		switch enc {
    		default:
    			err = DecodeError{name, e.Offset, "unrecognized encoding attribute value"}
    			goto Error
    
    		case encAddress:
    			typ = new(AddrType)
    		case encBoolean:
    			typ = new(BoolType)
    		case encComplexFloat:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/passbm_test.go

    				valn("v", i, 0), valn("store", i, 2)),
    			Valu(valn("store", i, 4), OpStore, types.TypeMem, 0, elemType, valn("addr", i, 3),
    				valn("v", i, 0), valn("store", i, 3)),
    			Goto(blockn(i+1))))
    	}
    
    	blocs = append(blocs,
    		Bloc(blockn(size+1), Goto("exit")),
    		Bloc("exit", Exit("store0-4")),
    	)
    
    	return blocs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("cmp", OpLess64, c.config.Types.Bool, 0, nil, "v1", "v2"),
    			If("cmp", "b2", "b3")),
    		Bloc("b2",
    			Valu("v3", OpConst64, c.config.Types.Int64, 3, nil),
    			Goto("b4")),
    		Bloc("b3",
    			Valu("v4", OpConst64, c.config.Types.Int64, 4, nil),
    			Goto("b4")),
    		Bloc("b4",
    			Valu("merge", OpPhi, c.config.Types.Int64, 0, nil, "v3", "v4"),
    			Exit("mem")))
    	sccp(fun.f)
    	CheckFunc(fun.f)
    	for _, b := range fun.blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/net/sockopt_posix.go

    		return err
    	}
    	for _, ifa := range ifat {
    		switch v := ifa.(type) {
    		case *IPAddr:
    			if a := v.IP.To4(); a != nil {
    				copy(mreq.Interface[:], a)
    				goto done
    			}
    		case *IPNet:
    			if a := v.IP.To4(); a != nil {
    				copy(mreq.Interface[:], a)
    				goto done
    			}
    		}
    	}
    done:
    	if bytealg.Equal(mreq.Multiaddr[:], IPv4zero.To4()) {
    		return errNoSuchMulticastInterface
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/go/types/resolver_test.go

    		}
    		`,
    		`
    		package p
    		type S struct{}
    		func (T) _() {}
    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver_test.go

    		}
    		`,
    		`
    		package p
    		type S struct{}
    		func (T) _() {}
    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	var files []*syntax.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top