- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for Evaluate (0.09 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.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.6K bytes - Viewed (0) -
README.fips.md
publish corresponding container images to our official image repositories. We are not making any statements or representations about the suitability of this code or build in relation to the FIPS 140-2 standard. Interested users will have to evaluate for themselves whether this is useful for their own purposes....
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 869 bytes - Viewed (0)