Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for conf (0.34 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    		r.retVars = nil
    		r.defers = nil
    	}
    
    	r.rewritten[nfor] = block
    }
    
    func (r *rewriter) cond(op syntax.Operator, x, y syntax.Expr) *syntax.Operation {
    	cond := &syntax.Operation{Op: op, X: x, Y: y}
    	tv := syntax.TypeAndValue{Type: r.bool.Type()}
    	tv.SetIsValue()
    	cond.SetTypeInfo(tv)
    	return cond
    }
    
    func (r *rewriter) setState(val abi.RF_State, pos syntax.Pos) *syntax.AssignStmt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. finisher_api.go

    	if db.Error != nil {
    		return db.Error
    	}
    
    	tx := db.getInstance()
    	sqlDB, err := tx.DB()
    	if err != nil {
    		return
    	}
    
    	conn, err := sqlDB.Conn(tx.Statement.Context)
    	if err != nil {
    		return
    	}
    
    	defer conn.Close()
    	tx.Statement.ConnPool = conn
    	return fc(tx)
    }
    
    // Transaction start a transaction as a block, return error will rollback, otherwise to commit. Transaction executes an
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sccp.go

    	case BlockFirst:
    		fallthrough // always takes the first branch
    	case BlockPlain:
    		t.edges = append(t.edges, block.Succs[0])
    	case BlockIf, BlockJumpTable:
    		cond := block.ControlValues()[0]
    		condLattice := t.getLatticeCell(cond)
    		if condLattice.tag == bottom {
    			// we know nothing about control flow, add all branch destinations
    			t.edges = append(t.edges, block.Succs...)
    		} else if condLattice.tag == constant {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/load.go

    	// loadPkg have been populated.
    	pkgImportsLoaded
    )
    
    // has reports whether all of the flags in cond are set in f.
    func (f loadPkgFlags) has(cond loadPkgFlags) bool {
    	return f&cond == cond
    }
    
    // An atomicLoadPkgFlags stores a loadPkgFlags for which individual flags can be
    // added atomically.
    type atomicLoadPkgFlags struct {
    	bits atomic.Int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			conv.getTypeIDs[n.Go[:len(n.Go)-9]] = true
    		}
    	}
    	for i, n := range names {
    		if types[i] == nil {
    			continue
    		}
    		pos := f.NamePos[n]
    		f, fok := types[i].(*dwarf.FuncType)
    		if n.Kind != "type" && fok {
    			n.Kind = "func"
    			n.FuncType = conv.FuncType(f, pos)
    		} else {
    			n.Type = conv.Type(types[i], pos)
    			switch n.Kind {
    			case "iconst":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    		if x.val.Kind() == constant.Unknown {
    			// nothing to do (and don't cause an error below in the overflow check)
    			return
    		}
    		var prec uint
    		if isUnsigned(x.typ) {
    			prec = uint(check.conf.sizeof(x.typ) * 8)
    		}
    		x.val = constant.UnaryOp(op2tok[op], x.val, prec)
    		x.expr = e
    		check.overflow(x, opPos(x.expr))
    		return
    	}
    
    	x.mode = value
    	// x.typ remains unchanged
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    	}
    	// match: (CMPWconst (MOVBUreg _) [c])
    	// cond: 0xff < c
    	// result: (FlagConstant [subFlags64(0,1)])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpARM64MOVBUreg || !(0xff < c) {
    			break
    		}
    		v.reset(OpARM64FlagConstant)
    		v.AuxInt = flagConstantToAuxInt(subFlags64(0, 1))
    		return true
    	}
    	// match: (CMPWconst (MOVHUreg _) [c])
    	// cond: 0xffff < c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpPPC64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/order.go

    		n := n.(*ir.ForStmt)
    		t := o.markTemp()
    		n.Cond = o.exprInPlace(n.Cond)
    		orderBlock(&n.Body, o.free)
    		n.Post = orderStmtInPlace(n.Post, o.free)
    		o.out = append(o.out, n)
    		o.popTemp(t)
    
    	// Clean temporaries from condition at
    	// beginning of both branches.
    	case ir.OIF:
    		n := n.(*ir.IfStmt)
    		t := o.markTemp()
    		n.Cond = o.exprInPlace(n.Cond)
    		o.popTemp(t)
    		orderBlock(&n.Body, o.free)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ADDSconstflags(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ADDSconstflags [c] x)
    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top