Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for func (0.02 sec)

  1. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param func the callback function to build XContent
         * @param mediaType the media type for the content builder
         * @return an OutputStream containing the built content, or an empty ByteArrayOutputStream if an error occurs
         */
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

         *
         * @param <T> The return type of the function
         * @param func The function to apply to the virtual host key
         * @param defaultValue The default value to return if no virtual host matches
         * @return The result of applying the function, or the default value
         */
        protected <T> T processVirtualHost(final Function<String, T> func, final T defaultValue) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

             *
             * @param runtime the action runtime
             * @param func the function to execute
             * @return the action response
             */
            public ActionResponse godHandPrologue(final ActionRuntime runtime, final Function<ActionRuntime, ActionResponse> func) {
                return func.apply(runtime);
            }
    
            /**
             * Monologue hook for action processing.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         *
         * @param <T> The response type.
         * @param func The function to execute.
         * @return The response from the operation.
         */
        public <T> T get(final Function<FesenClient, ActionFuture<T>> func) {
            int retryCount = 0;
            while (true) {
                try {
                    return func.apply(this).actionGet(connTimeout, TimeUnit.MILLISECONDS);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                log.debug("UNC is '" + oldUncPath + "'");
                log.debug("Consumed '" + oldUncPath.substring(0, pathConsumed) + "'");
            }
            String dunc = oldUncPath.substring(pathConsumed);
            if (log.isDebugEnabled()) {
                log.debug("Remaining '" + dunc + "'");
            }
    
            if (dunc.equals("") || dunc.equals("\\")) {
                dunc = "\\";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                } else if (dr.pathConsumed > unc.length()) {
                    dr.pathConsumed = unc.length();
                }
                String dunc = unc.substring(dr.pathConsumed);
                if (dunc.equals("")) {
                    dunc = "\\";
                }
                if (!dr.path.equals("")) {
                    dunc = "\\" + dr.path + dunc;
                }
    
                unc = dunc;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(dr.getShare()).thenReturn("dfs-share");
            when(dr.getPath()).thenReturn("dfs/path");
            when(dr.getPathConsumed()).thenReturn(2); // consume leading \\ from UNC
    
            String newUnc = l.handleDFSReferral(dr, "\\req\\");
            // dunc is "\\" + path + remaining  - note: path may not have leading backslashes
            assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/RequestWithPath.java

         */
        String getDomain();
    
        /**
         * Gets the full UNC path.
         *
         * @return the full UNC path
         */
        String getFullUNCPath();
    
        /**
         * Sets the path to the resource.
         *
         * @param path the path to set
         */
        void setPath(String path);
    
        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            final String unc = loc.getUNCPath();
            final String p = loc.getURL().getPath();
            if (p.lastIndexOf('/') != p.length() - 1) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/DfsReferralData.java

         *
         * @return the share this referral points to
         */
        String getShare();
    
        /**
         * Get the number of characters from the UNC path that were consumed by this referral
         *
         * @return the number of characters from the unc path that were consumed by this referral
         */
        int getPathConsumed();
    
        /**
         * Get the replacement path for this referral
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top