Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cmpZero (0.29 sec)

  1. src/go/constant/value.go

    			return x <= y
    		case token.GTR:
    			return x > y
    		case token.GEQ:
    			return x >= y
    		}
    
    	case intVal:
    		return cmpZero(x.val.Cmp(y.(intVal).val), op)
    
    	case ratVal:
    		return cmpZero(x.val.Cmp(y.(ratVal).val), op)
    
    	case floatVal:
    		return cmpZero(x.val.Cmp(y.(floatVal).val), op)
    
    	case complexVal:
    		y := y.(complexVal)
    		re := Compare(x.re, token.EQL, y.re)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  2. test/codegen/comparisons.go

    func CmpZero1(a int32, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero2(a int64, ptr *int) {
    	if a < 0 { // arm64:"TBZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero3(a int32, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    }
    
    func CmpZero4(a int64, ptr *int) {
    	if a >= 0 { // arm64:"TBNZ"
    		*ptr = 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			// check for divide-by-zero/overflow and panic with appropriate message
    			cmpZero := s.newValue2(s.ssaOp(ir.ONE, types.Types[types.TUINT64]), types.Types[types.TBOOL], args[2], s.zeroVal(types.Types[types.TUINT64]))
    			s.check(cmpZero, ir.Syms.Panicdivide)
    			cmpOverflow := s.newValue2(s.ssaOp(ir.OLT, types.Types[types.TUINT64]), types.Types[types.TBOOL], args[0], args[2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. operator/pkg/util/progress/progress.go

    		cmp := p.components[component]
    		// The component has completed
    		cmp.mu.Lock()
    		finished := cmp.finished
    		cmpErr := cmp.err
    		cmp.mu.Unlock()
    		successIcon := "✅"
    		if icon, found := name.IstioComponentSuccessIcons[cmpName]; found {
    			successIcon = icon
    		}
    		if finished || cmpErr != "" {
    			if finished {
    				p.SetMessage(fmt.Sprintf(`%s %s installed`, successIcon, cliName), true)
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    		return opVal, opErr
    	}
    
    	// Need to evaluate the ConditionRHS
    	switch {
    	case e.ConditionRHS.Compare != nil:
    		cmpRight, cmpRErr := e.ConditionRHS.Compare.Operand.evalNode(r, tableAlias)
    		if cmpRErr != nil {
    			return nil, cmpRErr
    		}
    
    		b, err := opVal.compareOp(strings.ToUpper(e.ConditionRHS.Compare.Operator), cmpRight)
    		return FromBool(b), err
    
    	case e.ConditionRHS.Between != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. internal/s3select/sql/funceval.go

    	if atleastOneNumeric || !bothNumeric {
    		return v1, nil
    	}
    
    	if v1.SameTypeAs(*v2) {
    		return v1, nil
    	}
    
    	cmpResult, cmpErr := v1.compareOp(opEq, v2)
    	if cmpErr != nil {
    		return nil, cmpErr
    	}
    
    	if cmpResult {
    		return FromNull(), nil
    	}
    
    	return v1, nil
    }
    
    func charlen(v *Value) (*Value, error) {
    	inferTypeAsString(v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  7. src/encoding/json/testdata/code.json.gz

    "cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"sslmutex.h","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"cmpcert.c","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"sslerr.c","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
Back to top