Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Evaluate (0.1 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
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            assertNull(ReflectionValueExtractor.evaluate("h.value[", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[a]", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[0", value));
            assertNull(ReflectionValueExtractor.evaluate("h.value[0)", value));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            final Map<String, Object> params = new HashMap<>();
            assertNull(groovyEngine.evaluate("", params));
            assertEquals("", groovyEngine.evaluate("return ''", params));
            assertEquals(1, groovyEngine.evaluate("return 1", params));
    
            params.put("test", "123");
            assertEquals("123", groovyEngine.evaluate("return test", params));
        }
    
        public void test_getName() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    if (evaluator instanceof TypeAwareExpressionEvaluator) {
                        result = ((TypeAwareExpressionEvaluator) evaluator).evaluate(value, type);
                    } else {
                        result = evaluator.evaluate(value);
                    }
                }
                if (null == result && configuration.getChildCount() == 0) {
                    value = configuration.getAttribute("default-value");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            final Map<String, Object> bindingMap = new HashMap<>(paramMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
            final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
            try {
                return groovyShell.evaluate(template);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    }
                }
                return expression;
            }
    
            public Object evaluate(String expression) throws ExpressionEvaluationException {
                return evaluate(expression, null);
            }
    
            public File alignToBaseDirectory(File file) {
                if (translator != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            new AbstractScriptEngine() {
    
                @Override
                public Object evaluate(String template, Map<String, Object> paramMap) {
                    final Map<String, Object> bindingMap = new HashMap<>(paramMap);
                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
            final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map);
            if (value instanceof Boolean) {
                return (Boolean) value;
            }
    
            return false;
        }
    
        public float getValue(final Map<String, Object> map) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top