Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 132 for codec (0.12 seconds)

  1. src/main/java/org/codelibs/fess/llm/LlmException.java

        /** Error code for request timeout. */
        public static final String ERROR_TIMEOUT = "timeout";
    
        /** Error code for context length exceeded. */
        public static final String ERROR_CONTEXT_LENGTH_EXCEEDED = "context_length_exceeded";
    
        /** Error code for model not found. */
        public static final String ERROR_MODEL_NOT_FOUND = "model_not_found";
    
        /** Error code for invalid response from the LLM provider. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

            String result = markdownRenderer.render("Use `code` here");
            assertTrue(result.contains("<code>code</code>"));
        }
    
        @Test
        public void test_render_codeBlock() {
            String markdown = "```\ncode block\n```";
            String result = markdownRenderer.render(markdown);
            assertTrue(result.contains("<pre>"));
            assertTrue(result.contains("<code>"));
            assertTrue(result.contains("code block"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        session.removeAttribute(OIC_STATE);
                        final String code = request.getParameter("code");
                        final String reqState = request.getParameter("state");
                        if (logger.isDebugEnabled()) {
                            logger.debug("code: {}, state(request): {}, state(session): {}", code, reqState, sesState);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            PrunedTag tag2 = new PrunedTag("div");
            tag2.setId("test");
            tag2.setCss("highlight");
    
            // Equal objects must have equal hash codes
            assertEquals(tag1.hashCode(), tag2.hashCode());
    
            // Hash code should be consistent
            int hash1 = tag1.hashCode();
            int hash2 = tag1.hashCode();
            assertEquals(hash1, hash2);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/WebApiUtil.java

            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
        }
    
        /**
         * Sets an error in the current request with the specified status code and message.
         *
         * @param statusCode The HTTP status code
         * @param message The error message
         */
        public static void setError(final int statusCode, final String message) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

            // Storage may not be enabled, so accept various responses
            int statusCode = response.getStatusCode();
            assertTrue(statusCode == 200 || statusCode == 400 || statusCode == 500,
                    "Status code should be 200, 400 or 500, but was " + statusCode);
        }
    
        @Test
        void testDownload_notFound() {
            // Try to download a non-existent file
            Response response =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

         *
         * @param doc The document.
         * @param code The script code.
         * @return The script.
         */
        public Script createScript(final Map<String, Object> doc, final String code) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(code);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                    .allowElements("strong", "em", "b", "i", "u", "s", "del")
                    // Lists
                    .allowElements("ul", "ol", "li")
                    // Code
                    .allowElements("code", "pre")
                    // Blockquote
                    .allowElements("blockquote")
                    // Tables
                    .allowElements("table", "thead", "tbody", "tr", "th", "td")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        protected FessConfig fessConfig;
    
        /**
         * Adds a URL to a user's favorite list.
         * This method looks up the user by their code and creates a new favorite log entry
         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
         * @param favoriteLogLambda a lambda function that accepts UserInfo and FavoriteLog to populate the favorite log data
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         * Starts a scheduled job by ID.
         * When job logging is enabled, a pre-generated job log ID is returned in the response
         * as {@code jobLogId}. When job logging is disabled, {@code jobLogId} is {@code null}.
         *
         * @param id the ID of the scheduled job to start
         * @return JSON response with {@code jobLogId} (nullable) and status
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top