Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for base (0.16 sec)

  1. src/cmd/compile/internal/walk/assign.go

    	nifnz := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.ONE, l2, ir.NewInt(base.Pos, 0)), nil, nil)
    	nifnz.Likely = true
    	nodes = append(nodes, nifnz)
    
    	elemtype := s.Type().Elem()
    
    	// n := s.len + l2
    	nn := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/abi.go

    		t := p.Type
    		switch t.Kind() {
    		case types.TINT32, types.TUINT32:
    			wfs[i].Type = obj.WasmI32
    		case types.TINT64, types.TUINT64:
    			wfs[i].Type = obj.WasmI64
    		case types.TFLOAT32:
    			wfs[i].Type = obj.WasmF32
    		case types.TFLOAT64:
    			wfs[i].Type = obj.WasmF64
    		case types.TUNSAFEPTR:
    			wfs[i].Type = obj.WasmPtr
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/expr.go

    func tcCompLit(n *ir.CompLitExpr) (res ir.Node) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcCompLit", n)(&res)
    	}
    
    	lno := base.Pos
    	defer func() {
    		base.Pos = lno
    	}()
    
    	ir.SetPos(n)
    
    	t := n.Type()
    	base.AssertfAt(t != nil, n.Pos(), "missing type in composite literal")
    
    	switch t.Kind() {
    	default:
    		base.Errorf("invalid composite literal type %v", t)
    		n.SetType(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/memcombine.go

    	case 4:
    		return b.NewValue2(pos, OpRsh32Ux64, v.Type, v, s)
    	case 2:
    		return b.NewValue2(pos, OpRsh16Ux64, v.Type, v, s)
    	default:
    		base.Fatalf("bad size %d\n", size)
    		return nil
    	}
    }
    func byteSwap(b *Block, pos src.XPos, v *Value) *Value {
    	switch v.Type.Size() {
    	case 8:
    		return b.NewValue1(pos, OpBswap64, v.Type, v)
    	case 4:
    		return b.NewValue1(pos, OpBswap32, v.Type, v)
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modcmd/vendor.go

    	cmdVendor.Flag.BoolVar(&vendorE, "e", false, "")
    	cmdVendor.Flag.StringVar(&vendorO, "o", "", "")
    	base.AddChdirFlag(&cmdVendor.Flag)
    	base.AddModCommonFlags(&cmdVendor.Flag)
    }
    
    func runVendor(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    	if modload.WorkFilePath() != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/gccgo.go

    				if !ok {
    					continue
    				}
    				toPath := absPath
    				// gccgo only applies the last matching rule, so also handle the case where
    				// BuildTrimpath is true and the path is relative to base.Cwd().
    				if cfg.BuildTrimpath && str.HasFilePathPrefix(toPath, base.Cwd()) {
    					toPath = "." + toPath[len(base.Cwd()):]
    				}
    				args = append(args, "-ffile-prefix-map="+overlayPath+"="+toPath)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/cmd/go/main.go

    			help.PrintUsage(os.Stderr, cmd)
    			base.SetExitStatus(2)
    			base.Exit()
    		}
    		if args[used] == "help" {
    			// Accept 'go mod help' and 'go mod help foo' for 'go help mod' and 'go help mod foo'.
    			telemetry.Inc("go/subcommand:" + strings.ReplaceAll(cfg.CmdName, " ", "-") + "-" + strings.Join(args[used:], "-"))
    			help.Help(os.Stdout, append(slices.Clip(args[:used]), args[used+1:]...))
    			base.Exit()
    		}
    		helpArg := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/staticinit/sched.go

    			dst = ir.NewNameOffsetExpr(base.Pos, l, loff, typ)
    		}
    		s.append(ir.NewAssignStmt(base.Pos, dst, typecheck.Conv(r, typ)))
    		return true
    
    	case ir.ONIL:
    		return true
    
    	case ir.OLITERAL:
    		if ir.IsZero(r) {
    			return true
    		}
    		staticdata.InitConst(l, loff, r, int(typ.Size()))
    		return true
    
    	case ir.OADDR:
    		r := r.(*ir.AddrExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/size.go

    		t.intRegs = 1
    
    	case TINT32, TUINT32:
    		w = 4
    		t.intRegs = 1
    
    	case TINT64, TUINT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.intRegs = uint8(8 / RegSize)
    
    	case TFLOAT32:
    		w = 4
    		t.floatRegs = 1
    		t.setAlg(AFLOAT32)
    
    	case TFLOAT64:
    		w = 8
    		t.align = uint8(RegSize)
    		t.floatRegs = 1
    		t.setAlg(AFLOAT64)
    
    	case TCOMPLEX64:
    		w = 8
    		t.align = 4
    		t.floatRegs = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/cmd/go/internal/clean/clean.go

    }
    
    func runClean(ctx context.Context, cmd *base.Command, args []string) {
    	if len(args) > 0 {
    		cacheFlag := ""
    		switch {
    		case cleanCache:
    			cacheFlag = "-cache"
    		case cleanTestcache:
    			cacheFlag = "-testcache"
    		case cleanFuzzcache:
    			cacheFlag = "-fuzzcache"
    		case cleanModcache:
    			cacheFlag = "-modcache"
    		}
    		if cacheFlag != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top