Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,149 for constInt8 (0.23 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompileTimeConstantProvider.kt

         */
        public fun KtExpression.evaluate(): KaConstantValue? =
            withValidityAssertion { analysisSession.compileTimeConstantProvider.evaluate(this) }
    
        /**
         * Returns a [KaConstantValue] if the expression evaluates to a value that can be used as an annotation parameter value,
         * e.g. an array of constants, otherwise returns null.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/fastlog2.go

    // used to load limits from a table of constants and the rest are used
    // to scale linearly between them.
    func fastlog2(x float64) float64 {
    	const fastlogScaleBits = 20
    	const fastlogScaleRatio = 1.0 / (1 << fastlogScaleBits)
    
    	xBits := float64bits(x)
    	// Extract the exponent from the IEEE float64, and index a constant
    	// table with the first 10 bits from the mantissa.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

    // TODO(b/329300758): add file check back after the cl is fixed | FileCheck %s
    // Check a few basic properties of the import-export,
    // including constants retaining their shape
    // and the module including the TFLite version.
    
    func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> {
    ^bb0(%arg0: tensor<3x2xi32>):
      // CHECK: module attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm/a.out.go

    	C_RCON   /* 0xff rotated */
    	C_NCON   /* ~RCON */
    	C_RCON2A /* OR of two disjoint C_RCON constants */
    	C_RCON2S /* subtraction of two disjoint C_RCON constants */
    	C_SCON   /* 0xffff */
    	C_LCON
    	C_LCONADDR
    	C_ZFCON
    	C_SFCON
    	C_LFCON
    
    	C_RACON /* <=0xff rotated constant offset from auto */
    	C_LACON /* Large Auto CONstant, i.e. large offset from SP */
    
    	C_SBRA
    	C_LBRA
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 05 16:22:12 UTC 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      }
    }
    
    // Duplicates small constants for each use.
    //
    // In the subsequent graph partitioning, constants for shape inference need to
    // be in the same subgraph. But graph partitioning stops at ops with multiple
    // uses. So here we duplicate small constants for each use so that if a
    // constant is useful for shape inference for multiple subgraphs, they can be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

          : scope_(s), control_deps_(control_deps) {}
    
      Output Get1DHostConstant(int64_t constant) {
        auto it = cache_.find(constant);
        if (it == cache_.end()) {
          Output new_const =
              ops::Const(scope_.WithOpName("const_", constant), {constant});
          it = cache_.insert({constant, new_const}).first;
          for (const Edge* e : control_deps_) {
            scope_.graph()->AddControlEdge(e->src(), new_const.node());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. test/index.go

    		// Pass: dynamic=0, static=1, 2.
    		// Which cases should be caught statically?
    		// Only constants, obviously.
    		// Beyond that, must be one of these:
    		//	indexing into array or pointer to array
    		//	negative constant
    		//	large constant
    		thisPass := 0
    		if c == "c" && (a == "a" || a == "pa" || n == "n" || i == "i64big" || i == "i64bigger" || i == "huge" || i == "fbad") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	if pass.TypesInfo.Types[x].Value != nil {
    		// Ignore shifts of constants.
    		// These are frequently used for bit-twiddling tricks
    		// like ^uint(0) >> 63 for 32/64 bit detection and compatibility.
    		return
    	}
    
    	v := pass.TypesInfo.Types[y].Value
    	if v == nil {
    		return
    	}
    	u := constant.ToInt(v) // either an Int or Unknown
    	amt, ok := constant.Int64Val(u)
    	if !ok {
    		return
    	}
    	t := pass.TypesInfo.Types[x].Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/decl.go

    	assert(obj.typ == nil)
    
    	// use the correct value of iota and errpos
    	defer func(iota constant.Value, errpos syntax.Pos) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nopos
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    	// determine type, if any
    	if typ != nil {
    		t := check.typ(typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api.go

    // language object (Object) it denotes.
    // Use Info.{Defs,Uses,Implicits} for the results of name resolution.
    //
    // Constant folding computes the exact constant value (constant.Value)
    // for every expression (syntax.Expr) that is a compile-time constant.
    // Use Info.Types[expr].Value for the results of constant folding.
    //
    // Type inference computes the type (Type) of every expression (syntax.Expr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top