Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 48 for Evaluate (0.07 seconds)

  1. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            params.put("test", "value");
    
            assertNull(queryRescorer.evaluate(params)); // First call - odd
            assertNotNull(queryRescorer.evaluate(params)); // Second call - even
            assertNull(queryRescorer.evaluate(params)); // Third call - odd
            assertNotNull(queryRescorer.evaluate(params)); // Fourth call - even
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            assertEquals(testScriptEngine, retrieved);
        }
    
        // Test evaluate with null parameters
        @Test
        public void test_evaluate_nullParams() {
            Object result = testScriptEngine.evaluate("template", null);
            assertEquals("processed: template with params", result);
        }
    
        // Test evaluate with empty parameters
        @Test
        public void test_evaluate_emptyParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNull(groovyEngine.evaluate("\n", params));
            assertNull(groovyEngine.evaluate("  \t\n  ", params));
        }
    
        /**
         * Test that evaluate handles null paramMap safely
         */
        @Test
        public void test_evaluate_nullParamMap() {
            assertEquals("test", groovyEngine.evaluate("return 'test'", null));
            assertEquals(123, groovyEngine.evaluate("return 123", null));
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     *
     * <p>Thread Safety: This class is thread-safe. Each cached entry holds its own
     * GroovyClassLoader. The cache uses Guava Cache with segment-based locking for
     * lock-free concurrent reads. Each evaluate() call creates a new Script instance
     * to ensure thread isolation of bindings.</p>
     *
     * <p>Note on class-level isolation: Compiled Script classes are cached and reused.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Boolean) {
                return (Boolean) value;
            }
    
            return false;
        }
    
        /**
         * Calculates the boost value for the given document data using the boost expression.
         * The method evaluates the boost expression and converts the result to a float value.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
    
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                return "TestEngine[" + identifier + "]: " + template;
            }
        }
    
        private static class CustomScriptEngine implements ScriptEngine {
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                return "CustomEngine: " + template;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if any one of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a true predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code false}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if any one of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a true predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code false}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/graphql.md

    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓
    
    ///
    
    ## GraphQL Libraries { #graphql-libraries }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    									<span class="step-label"><la:message key="labels.chat_step_search" /></span>
    								</div>
    								<div class="progress-step" data-phase="evaluate">
    									<div class="step-icon"><i class="fa fa-check-circle-o" aria-hidden="true"></i></div>
    									<span class="step-label"><la:message key="labels.chat_step_evaluate" /></span>
    								</div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top