Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,132 for constInt8 (0.24 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskConstantChangesIncrementalCompilationIntegrationTest.groovy

        @NotYetImplemented
        // Currently not implemented, since it's expensive to track constants and their values
        def "ignores irrelevant changes to constant values"() {
            source api: ["class A {}", "class B { final static int x = 3; final static int y = -2; }"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            val bindingContext = analysisContext.analyze(expression)
    
            val constant = ConstantExpressionEvaluator.getPossiblyErrorConstant(expression, bindingContext)
    
            // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access
            if (constant?.usesNonConstValAsConstant == true) return null
    
            return constant?.toConstantValue(TypeUtils.NO_EXPECTED_TYPE)?.toKtConstantValue()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/base/KtConstantValue.kt

    
    /**
     * A Kotlin constant value. This value amy be used as `const val` initializer or annotation argument.
     * Also, may represent evaluated constant value. So, `1 + 2` will be represented as `KaIntConstantValue(3)`
     *
     * For more info about constant values please see [official Kotlin documentation](https://kotlinlang.org/docs/properties.html#compile-time-constants])
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. test/const7.go

    	defer os.RemoveAll(dir)
    
    	const bitLimit = 512
    	const charLimit = 10000 // compiler-internal constant length limit
    	testProg(dir, "x1", bitLimit, "")
    	testProg(dir, "x2", bitLimit+1, "constant overflow")
    	testProg(dir, "x3", charLimit-2, "constant overflow") // -2 because literal contains 0b prefix
    	testProg(dir, "x4", charLimit-1, "excessively long constant")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/fold_constant_transpose.mlir

    // RUN:   -split-input-file | FileCheck %s
    
    // CHECK-LABEL: transpose_simple_1d
    func.func @transpose_simple_1d() -> tensor<2xf32> {
      %0 = stablehlo.constant dense<[0.000000e+0, 1.000000e+0]> : tensor<2xf32>
      %1 = stablehlo.transpose %0, dims = [0] : (tensor<2xf32>) -> tensor<2xf32>
      return %1 : tensor<2xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 08:06:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtInitializerValue.kt

    }
    
    /**
     * Initializer value which can be evaluated to constant. E.g, string value, number, null literal.
     *
     * For more info about constant values please see [official Kotlin documentation](https://kotlinlang.org/docs/properties.html#compile-time-constants]).
     */
    public class KaConstantInitializerValue(
        public val constant: KaConstantValue,
        override val initializerPsi: KtExpression?
    ) : KaInitializerValue()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.h

    namespace mlir {
    namespace quant {
    
    // Applies constant folding recursively if the operation and all of its operands
    // are foldable. Returns the constants generated by constant-folding or the
    // original operation's outputs if not folded.
    SmallVector<Value> ConstantFoldOpIfPossible(Operation* op);
    
    // This pattern tries to constant-fold the quantizable operands of supported
    // TF operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 04 14:27:31 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

    // -----
    
    // CHECK-LABEL: @mhlo_while
    func.func private @mhlo_while() {
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      // CHECK-NEXT: mhlo.constant
      %0 = mhlo.constant dense<-1> : tensor<i32>
      %1 = mhlo.constant dense<0> : tensor<i32>
      %2 = mhlo.constant dense<20> : tensor<i32>
      // CHECK-NEXT: mhlo.while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.td

    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Converts tf.Const to arith.constant for statically shaped, non-opaque constants.
    // Needed for QuantizationDriver to recognize constants.
    def ConvertTfConstToArithConst : Pat<
      (TF_ConstOp:$res DenseElementsAttr:$value),
      (Arith_ConstantOp $value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue7648.go

    // compiledir
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 7648: spurious "bad negated constant" for complex constants.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 01 06:55:38 UTC 2014
    - 262 bytes
    - Viewed (0)
Back to top