Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for evaluate (0.05 sec)

  1. src/main/java/org/codelibs/fess/script/ScriptEngine.java

         * with parameters from the paramMap substituted into the template.
         *
         * @param template the template string to evaluate
         * @param paramMap the map of parameters to substitute into the template
         * @return the result of evaluating the template, or null if evaluation fails
         */
        Object evaluate(final String template, final Map<String, Object> paramMap);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

            super();
        }
    
        /**
         * Evaluates a Groovy script template with the provided parameters.
         *
         * <p>This method creates a new GroovyShell instance for each evaluation to ensure
         * thread safety. The DI container is automatically injected into the binding map
         * as "container" for script access.</p>
         *
         * @param template the Groovy script to evaluate (null-safe, returns null if empty)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/evaluator.go

    	return &Evaluator{
    		policy: policy,
    	}
    }
    
    // WithLockRetention - sets the lock retention configuration for the evaluator
    func (e *Evaluator) WithLockRetention(lr *objlock.Retention) *Evaluator {
    	e.lockRetention = lr
    	return e
    }
    
    // WithReplicationConfig - sets the replication configuration for the evaluator
    func (e *Evaluator) WithReplicationConfig(rcfg *replication.Config) *Evaluator {
    	e.replCfg = rcfg
    	return e
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

          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("/")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (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.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * The template is evaluated using the specified script engine with the value and context.
         *
         * @param dataMap the data map to modify
         * @param key the key to store the processed value under
         * @param value the original value to process
         * @param template the template script to evaluate
         * @param scriptType the type of script engine to use
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

      }
    
      override fun apply(
        base: Statement,
        description: Description,
      ): Statement =
        object : Statement() {
          override fun evaluate() {
            beforeEach(null)
            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.w3c.dom.Node;
    
    /**
     * The XPathAPI class provides methods to evaluate XPath expressions and select nodes or node lists from an XML document.
     * It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions.
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * XPathAPI xPathAPI = new XPathAPI();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. 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}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/score/QueryRescorer.java

    /**
     * Interface for query rescoring implementations.
     */
    public interface QueryRescorer {
        /**
         * Evaluates the rescorer with the given parameters.
         *
         * @param params the parameters for rescoring
         * @return the rescorer builder
         */
        RescorerBuilder<?> evaluate(final Map<String, Object> params);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top