Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for deduction (0.47 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. .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)
  6. 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)
  7. .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', 'javascript']
            # 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: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/FileNotifyInformation.java

         * The operating system detects a change in file size only when the file is written to the disk. For operating
         * systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s
         */
        int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
         * Detects the model version from a POM document.
         * Uses both the modelVersion element and namespace URI for detection.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @return the detected model version
         */
        public static String detectModelVersion(Document pomDocument) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/compression/CompressionService.java

         *
         * @param data the data to analyze
         * @param algorithm the compression algorithm
         * @return estimated compression ratio (0.0 to 1.0, where 0.5 means 50% size reduction)
         */
        double estimateCompressionRatio(byte[] data, int algorithm);
    
        /**
         * Gets the minimum data size threshold for compression.
         * Data smaller than this threshold should not be compressed.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top