Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for genLine (0.06 sec)

  1. src/bufio/scan_test.go

    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    }
    
    // genLine writes to buf a predictable but non-trivial line of text of length
    // n, including the terminal newline and an occasional carriage return.
    // If addNewline is false, the \r and \n are not emitted.
    func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) {
    	buf.Reset()
    	doCR := lineNum%5 == 0
    	if doCR {
    		n--
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        public void test_add_validParameters() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("testEngine", engine);
    
            // Verify engine is accessible by name
            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("testengine");
            assertNotNull(retrieved);
            assertEquals(engine, retrieved);
    
            // Verify engine is accessible by class simple name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Helper class for indexing operations in the Fess search engine.
     * This class provides functionality for sending documents to the search engine,
     * managing document lifecycle operations (create, update, delete), and handling
     * thumbnail processing during indexing.
     *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            scriptEngineFactory.add("type2", engine2);
    
            // Execute with first engine
            Object result1 = scriptExecutor.execute("type1", "script for engine1");
            assertEquals("engine1:processed: script for engine1", result1);
    
            // Execute with second engine
            Object result2 = scriptExecutor.execute("type2", "script for engine2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

    import jakarta.servlet.ServletOutputStream;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * API manager for search engine administrative operations.
     * Provides secure access to search engine APIs through authentication and token-based authorization.
     */
    public class SearchEngineApiManager extends BaseApiManager {
        private static final String ADMIN_SERVER = "/admin/server_";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    ### Create an Engine { #create-an-engine }
    
    A SQLModel `engine` (underneath it's actually a SQLAlchemy `engine`) is what **holds the connections** to the database.
    
    You would have **one single `engine` object** for all your code to connect to the same database.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/sql-databases.md

    ### Criar um Engine
    Um `engine` SQLModel (por baixo dos panos, ele é na verdade um `engine` do SQLAlchemy) é o que **mantém as conexões** com o banco de dados.
    
    Você teria **um único objeto `engine`** para todo o seu código se conectar ao mesmo banco de dados.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/Constants.java

        // Search Engine Type Constants
        // ============================================================
    
        /** Cloud-based search engine type. */
        public static final String FESEN_TYPE_CLOUD = "cloud";
    
        /** AWS-based search engine type. */
        public static final String FESEN_TYPE_AWS = "aws";
    
        /** Search engine username configuration key. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        /** Flag indicating whether the results are partial due to timeout or other issues. */
        protected boolean partialResults;
    
        /** The actual search query executed against the search engine. */
        protected String searchQuery;
    
        /** Time taken to execute the search query in milliseconds. */
        protected long queryTime;
    
        /** Timestamp when the search request was made. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top