Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 662 for Case (0.33 sec)

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

    			switch opcodeTable[v.Op].auxType {
    			case auxNone:
    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    				if v.AuxInt != int64(int8(v.AuxInt)) {
    					f.Fatalf("bad int8 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt16:
    				if v.AuxInt != int64(int16(v.AuxInt)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/macho.go

    	text, err = sect.Data()
    	return
    }
    
    func (f *machoFile) goarch() string {
    	switch f.macho.Cpu {
    	case macho.Cpu386:
    		return "386"
    	case macho.CpuAmd64:
    		return "amd64"
    	case macho.CpuArm:
    		return "arm"
    	case macho.CpuArm64:
    		return "arm64"
    	case macho.CpuPpc64:
    		return "ppc64"
    	}
    	return ""
    }
    
    type uint64s []uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    	// No initialization for order; runtime.selectgo is responsible for that.
    	order := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINT16], 2*int64(ncas)))
    
    	var pc0, pcs ir.Node
    	if base.Flag.Race {
    		pcs = typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINTPTR], int64(ncas)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    }
    
    func (p *Parser) pseudo(word string, operands [][]lex.Token) bool {
    	switch word {
    	case "DATA":
    		p.asmData(operands)
    	case "FUNCDATA":
    		p.asmFuncData(operands)
    	case "GLOBL":
    		p.asmGlobl(operands)
    	case "PCDATA":
    		p.asmPCData(operands)
    	case "PCALIGN":
    		p.asmPCAlign(operands)
    	case "TEXT":
    		p.asmText(operands)
    	default:
    		return false
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/mkbuiltin.go

    }
    
    func (i *typeInterner) mktype(t ast.Expr) string {
    	switch t := t.(type) {
    	case *ast.Ident:
    		switch t.Name {
    		case "byte":
    			return "types.ByteType"
    		case "rune":
    			return "types.RuneType"
    		}
    		return fmt.Sprintf("types.Types[types.T%s]", strings.ToUpper(t.Name))
    	case *ast.SelectorExpr:
    		if t.X.(*ast.Ident).Name != "unsafe" || t.Sel.Name != "Pointer" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/switch.go

    		// i.e. for switch x {case 0: case 1000: case 2000:} we don't want to use a jump table.
    		return false
    	}
    	jt := ir.NewJumpTableStmt(base.Pos, s.exprname)
    	for _, c := range cc {
    		jmp := c.jmp.(*ir.BranchStmt)
    		if jmp.Op() != ir.OGOTO || jmp.Label == nil {
    			panic("bad switch case body")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/loong64.go

    	switch op {
    	case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED:
    		return true
    	}
    	return false
    }
    
    func IsLoong64AMO(op obj.As) bool {
    	return loong64.IsAtomicInst(op)
    }
    
    func loong64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_F0 + n, true
    		}
    	case "FCSR":
    		if 0 <= n && n <= 31 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	case OpClosureCall:
    		v.Op = OpMIPSCALLclosure
    		return true
    	case OpCom16:
    		return rewriteValueMIPS_OpCom16(v)
    	case OpCom32:
    		return rewriteValueMIPS_OpCom32(v)
    	case OpCom8:
    		return rewriteValueMIPS_OpCom8(v)
    	case OpConst16:
    		return rewriteValueMIPS_OpConst16(v)
    	case OpConst32:
    		return rewriteValueMIPS_OpConst32(v)
    	case OpConst32F:
    		v.Op = OpMIPSMOVFconst
    		return true
    	case OpConst64F:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loadelf/ldelf.go

    	attr := elfAttribute{tag: a.uleb128()}
    	switch {
    	case attr.tag == TagCompatibility:
    		attr.ival = a.uleb128()
    		attr.sval = a.string()
    
    	case attr.tag == TagNoDefaults: // Tag_nodefaults has no argument
    
    	case attr.tag == TagAlsoCompatibleWith:
    		// Not really, but we don't actually care about this tag.
    		attr.sval = a.string()
    
    	// Tag with string argument
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/identity.go

    		switch t1.kind {
    		case TUINT8:
    			return (t1 == Types[TUINT8] || t1 == ByteType) && (t2 == Types[TUINT8] || t2 == ByteType)
    		case TINT32:
    			return (t1 == Types[TINT32] || t1 == RuneType) && (t2 == Types[TINT32] || t2 == RuneType)
    		case TINTER:
    			// Make sure named any type matches any unnamed empty interface
    			// (but not a shape type, if identStrict).
    			isUnnamedEface := func(t *Type) bool { return t.IsEmptyInterface() && t.Sym() == nil }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top