Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for intconst (0.26 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

        }
    
        override val isLateInit: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.LATEINIT_KEYWORD) }
    
        override val isConst: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.CONST_KEYWORD) }
    
        override val hasGetter: Boolean
            get() = withValidityAssertion { true }
    
        override val hasSetter: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/go/types/operand.go

    	// )
    	if expr != "" {
    		buf.WriteByte(')')
    	}
    
    	return buf.String()
    }
    
    func (x *operand) String() string {
    	return operandString(x, nil)
    }
    
    // setConst sets x to the untyped constant for literal lit.
    func (x *operand) setConst(k token.Token, lit string) {
    	var kind BasicKind
    	switch k {
    	case token.INT:
    		kind = UntypedInt
    	case token.FLOAT:
    		kind = UntypedFloat
    	case token.IMAG:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ANDconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ANDconst [c] x)
    	// cond: !isARM64bitcon(uint64(c))
    	// result: (AND x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64bitcon(uint64(c))) {
    			break
    		}
    		v.reset(OpARM64AND)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    	if t.IsArray() {
    		n.SetBounded(bounded(r, t.NumElem()))
    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    	} else if ir.IsConst(n.X, constant.String) {
    		n.SetBounded(bounded(r, int64(len(ir.StringVal(n.X)))))
    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/func.go

    			n.SetType(nil)
    			return n
    		}
    		if !checkmake(t, "len", &l) || r != nil && !checkmake(t, "cap", &r) {
    			n.SetType(nil)
    			return n
    		}
    		if ir.IsConst(l, constant.Int) && r != nil && ir.IsConst(r, constant.Int) && constant.Compare(l.Val(), token.GTR, r.Val()) {
    			base.Errorf("len larger than cap in make(%v)", t)
    			n.SetType(nil)
    			return n
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/memcombine.go

    	ptr := a[0].store.Args[0]
    
    	// Check for constant stores
    	isConst := true
    	for i := int64(0); i < n; i++ {
    		switch a[i].store.Args[1].Op {
    		case OpConst32, OpConst16, OpConst8, OpConstBool:
    		default:
    			isConst = false
    			break
    		}
    	}
    	if isConst {
    		// Modify root to do all the stores.
    		var c int64
    		mask := int64(1)<<(8*size) - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		{name: "DIVD", argLength: 2, reg: fp21, asm: "DIVD"},                    // arg0 / arg1
    
    		{name: "AND", argLength: 2, reg: gp21, asm: "AND", commutative: true},                // arg0 & arg1
    		{name: "ANDconst", argLength: 1, reg: gp11, asm: "AND", aux: "Int64"},                // arg0 & auxInt
    		{name: "OR", argLength: 2, reg: gp21, asm: "OR", commutative: true},                  // arg0 | arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/builtin.go

    		// BUCKETSIZE runtime.makemap will allocate the buckets on the heap.
    		// Maximum key and elem size is 128 bytes, larger objects
    		// are stored with an indirection. So max bucket size is 2048+eps.
    		if !ir.IsConst(hint, constant.Int) ||
    			constant.Compare(hint.Val(), token.LEQ, constant.MakeInt64(abi.MapBucketCount)) {
    
    			// In case hint is larger than BUCKETSIZE runtime.makemap
    			// will allocate the buckets on the heap, see #20184
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

    public typealias KtPropertySymbol = KaPropertySymbol
    
    public abstract class KaKotlinPropertySymbol : KaPropertySymbol(), KaPossibleMultiplatformSymbol {
        public abstract val isLateInit: Boolean
    
        public abstract val isConst: Boolean
    
        abstract override fun createPointer(): KaSymbolPointer<KaKotlinPropertySymbol>
    }
    
    public typealias KtKotlinPropertySymbol = KaKotlinPropertySymbol
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    			} else if n.Define[0] == '\'' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "iconst"
    					n.Const = n.Define
    				}
    			} else if n.Define[0] == '"' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top