Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 118 for detector (0.08 seconds)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                    return l;
                }
            }
            return null;
        }
    
        /**
         * Sets the language detector.
         *
         * @param detector The language detector.
         */
        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        /**
         * Creates a script for updating a document with language information.
         *
    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)
  2. .github/workflows/detect-conflicts.yml

    name: "Conflict detector"
    on:
      push:
      pull_request_target:
        types: [synchronize]
    
    jobs:
      main:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - name: Check if PRs have merge conflicts
            uses: eps1lon/actions-label-merge-conflict@v3
            with:
              dirtyLabel: "conflicts"
              repoToken: "${{ secrets.GITHUB_TOKEN }}"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 05 08:33:44 GMT 2025
    - 499 bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * CI detector helper: it uses service discovery to discover {@link CIDetector}s. If resulting list has more than
     * one element, it will remove the {@link GenericCIDetector} result, assuming a more specific one is also present.
     */
    public final class CIDetectorHelper {
        private CIDetectorHelper() {}
    
        public static List<CIInfo> detectCI() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/GenericCIDetector.java

     * detector result IF there are also any other returned via discovered services.
     */
    public class GenericCIDetector implements CIDetector {
        public static final String NAME = "Generic";
    
        private static final String CI = "CI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CI);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. src/main/resources/fess.xml

    	<include path="fess_llm.xml"/>
    
    	<component name="curlHelper" class="org.codelibs.fess.helper.CurlHelper">
    	</component>
    	<component name="languageHelper" class="org.codelibs.fess.helper.LanguageHelper">
    		<property name="detector">
    			<component class="org.apache.tika.langdetect.optimaize.OptimaizeLangDetector">
    				<postConstruct name="loadModels"></postConstruct>
    			</component>
    		</property>
    	</component>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  6. src/bytes/reader_test.go

    		}
    		if fmt.Sprintf("%v", err) != fmt.Sprintf("%v", tt.wanterr) {
    			t.Errorf("%d. got error = %v; want %v", i, err, tt.wanterr)
    		}
    	}
    }
    
    func TestReaderAtConcurrent(t *testing.T) {
    	// Test for the race detector, to verify ReadAt doesn't mutate
    	// any state.
    	r := NewReader([]byte("0123456789"))
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    			var buf [1]byte
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Service interface to detect CI system process runs on, if any.
     *
     * @since 4.0.0
     */
    public interface CIDetector {
        /**
         * Returns non-empty optional with CI information, if CI is detected, empty otherwise.
         */
        Optional<CIInfo> detectCI();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.llm;
    
    /**
     * Represents the result of intent detection from user input.
     * Contains the detected intent type, Fess query, and other metadata.
     */
    public class IntentDetectionResult {
    
        private final ChatIntent intent;
        private final String query;
        private final String documentUrl;
    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)
  9. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
         * @return the detected user agent type, or OTHER if no specific type is detected
         */
        public UserAgentType getUserAgentType() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. misc/ios/detect.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
Back to Top