Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for detector (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        /**
         * This class is a parser that detects the document type.
         */
        protected class TikaDetectParser extends CompositeParser {
            private static final long serialVersionUID = 1L;
    
            /**
             * The type detector used by this parser to auto-detect the type of a
             * document.
             */
            private final Detector detector; // always set in the constructor
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (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 }}"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:33:44 UTC 2025
    - 499 bytes
    - Viewed (0)
  3. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <root-XML localName="PremiereData"/>
        <sub-class-of type="application/xml"/>
      </mime-type>
    
      <mime-type type="image/vnd.cns.inf2"/>
    
      <!-- credit: peeveen's tika-dgn-detector https://github.com/peeveen/tika-dgn-detector/ -->
      <mime-type type="image/vnd.dgn">
        <glob pattern="*.dgn" />
        <glob pattern="*.dgnlib" />
        <glob pattern="*.cel" />
      </mime-type>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (1)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

     *   <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
     * </ul>
     *
     * <p>
     * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization.
     * </p>
     *
     * <p>
     * Usage:
     * </p>
     * <pre>
     * MimeTypeHelperImpl mimeTypeHelper = new MimeTypeHelperImpl();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ResourceManager.java

    /**
     * Centralized resource management for preventing resource leaks.
     * Tracks all AutoCloseable resources and ensures proper cleanup.
     *
     * Features:
     * - Automatic resource cleanup with weak references
     * - Resource leak detection
     * - Resource usage monitoring
     * - Periodic cleanup of abandoned resources
     * - Detailed resource tracking and reporting
     */
    public class ResourceManager {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                    }
                }
            }
    
        }
    
        /**
         * Detects the MIME type of the content.
         *
         * @param out the deferred file output stream
         * @return the detected MIME type
         * @throws IOException if an I/O error occurs
         */
        protected String getMimeType(final DeferredFileOutputStream out) throws IOException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

     * It allows content type detection based on the stream's content and/or filename.
     */
    public interface MimeTypeHelper {
        /**
         * Determines the content type of the given input stream and filename.
         * @param is the input stream to analyze
         * @param filename the filename to help determine the content type
         * @return the detected content type
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * Any file-size change in the watched directory or subtree causes a change notification wait operation to return.
         * 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;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the preload size for charset detection.
         * @return The preload size for charset detection.
         */
        public int getPreloadSizeForCharset() {
            return preloadSizeForCharset;
        }
    
        /**
         * Sets the preload size for charset detection.
         * @param preloadSizeForCharset The preload size for charset detection to set.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top