Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for evaluate (0.17 sec)

  1. internal/s3select/sql/evaluate.go

    func (e *ConditionOperand) evalNode(r Record, tableAlias string) (*Value, error) {
    	opVal, opErr := e.Operand.evalNode(r, tableAlias)
    	if opErr != nil || e.ConditionRHS == nil {
    		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
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            val opr1 = evaluate(functionCall.explicitReceiver, mode) ?: return null
            opr1.evaluate(function)?.let {
                return it.adjustType(functionCall.resolvedType)
            }
    
            val argument = functionCall.arguments.firstOrNull() ?: return null
            val opr2 = evaluate(argument, mode) ?: return null
            opr1.evaluate(function, opr2)?.let {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("string_plusOnce.kt")
      public void testString_plusOnce() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
      }
    
      @Test
      @TestMetadata("string_plusTwice.kt")
      public void testString_plusTwice() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            }
    
            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
        @Override
        @SuppressWarnings("checkstyle:methodlength")
        public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException {
            Object value = null;
    
            if (expr == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                        } else {
                            result = evaluator.evaluate(value);
                        }
                    }
                }
                failIfNotTypeCompatible(result, type, configuration);
                return result;
            } catch (final ExpressionEvaluationException e) {
                final String reason = String.format(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertNull(ee.evaluate("${rootDirectory}"));
        }
    
        @Test
        void testRootDirectoryWithNull() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), new Properties());
            Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
        void testBasedirExtractionWithMissingProject() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties());
    
            Object value = ee.evaluate("${basedir}");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/TestLogHandler.kt

      }
    
      override fun apply(
        base: Statement,
        description: Description,
      ): Statement {
        return object : Statement() {
          override fun evaluate() {
            beforeEach(null)
            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
      }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                rule.server.url("/").toUrl().openConnection().connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
          rule.server.url("/").toUrl().openConnection().connect()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (1)
Back to top