Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 122 for deduction (0.14 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

        private enum Language { KOTLIN, GROOVY, UNKNOWN }
    
        private static final class Snippet {
            final int line;       // line of the [.multi-language-sample] header
            final Language lang;  // best-effort deduction (UNKNOWN allowed)
    
            Snippet(int line, Language lang) {
                this.line = line;
                this.lang = lang;
            }
        }
    
        private static final class Error {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

         *
         * @param reasoning the detection reasoning
         * @return the unclear intent result
         */
        public static IntentDetectionResult unclear(final String reasoning) {
            return new IntentDetectionResult(ChatIntent.UNCLEAR, null, null, reasoning);
        }
    
        /**
         * Creates a fallback search intent when intent detection fails.
         *
         * @param originalMessage the original user message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            }
            return getSupportedLanguage(result.getLanguage());
        }
    
        /**
         * Returns the text to be used for language detection.
         *
         * @param text The original text.
         * @return The text for language detection.
         */
        protected String getDetectText(final String text) {
            final String result;
            if (text.length() <= maxTextLength) {
    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)
  4. cmd/leak-detect_test.go

    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return "";
                }
            });
    
            mimeTypeHelper.init();
    
            // With empty config, no override is applied; content-based detection runs
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                final String contentType = mimeTypeHelper.getContentType(is, "test.sql");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. ADDING_NEW_LANGUAGE.md

    | `LanguageHelper` | `org.codelibs.fess.helper` | Language detection and validation |
    | `SystemHelper` | `org.codelibs.fess.helper` | UI language dropdown builder |
    | `FessUserLocaleProcessProvider` | `org.codelibs.fess.mylasta.direction.sponsor` | User locale detection |
    
    ## Language Detection and Selection
    
    ### User Interface Language
    
    Fess determines the UI language in this order:
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * FessMimeTypeHelper extends MimeTypeHelperImpl to provide Fess-specific
     * MIME type detection configuration. It reads extension-to-MIME-type override
     * mappings from FessConfig to handle cases where content-based detection
     * produces incorrect results (e.g., SQL files starting with REM comments
     * being misdetected as batch files).
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                throw new LlmException("systemPrompt is not configured for " + getName());
            }
            return systemPrompt;
        }
    
        /**
         * Gets the intent detection prompt template.
         *
         * @return the intent detection prompt
         */
        protected String getIntentDetectionPrompt() {
            if (intentDetectionPrompt == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
Back to Top