Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,202 for return (0.03 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            the substring to find
         * @return true if the string contains the substring, false otherwise
         */
        public static boolean contains(final String s1, final String s2) {
            if (isEmpty(s1)) {
                return false;
            }
            return s1.indexOf(s2) >= 0;
        }
    
        /**
         * Returns whether two strings are equal. If both are null, returns <code>true</code>.
         *
         * @param target1
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @return the threshold
         */
        public int threshold() {
            return threshold;
        }
    
        /**
         * Returns the HTTP method for the request.
         *
         * @return the method
         */
        public Method method() {
            return method;
        }
    
        /**
         * Returns the body content of the request.
         *
         * @return the body
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    // as a string. If the [Buffer] is a nil pointer, it returns "<nil>".
    //
    // To build strings more efficiently, see the [strings.Builder] type.
    func (b *Buffer) String() string {
    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    // Peek returns the next n bytes without advancing the buffer.
    // If Peek returns fewer than n bytes, it also returns [io.EOF].
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                return true;
            }
            if (requestLocale == null || !requestLocale.getLanguage().equals(targetLocale.getLanguage())
                    || targetLocale.getCountry().length() > 0 && !requestLocale.getCountry().equals(targetLocale.getCountry())) {
                return false;
            }
            return true;
        }
    
        /**
         * Returns a set of matched label values.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

         *
         * @return HTML response for the list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Displays the file authentication list with pagination.
         *
         * @param pageNumber the page number
         * @param form the search form
         * @return HTML response for the list page
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            String value = joiner.toString();
            if (value.isEmpty()) {
                return new String[0];
            }
            return new String[] {option, value};
        }
    
        /**
         * {@return a string representation of this path type for debugging purposes}.
         */
        @Override
        public String toString() {
            return "PathType[" + id() + ']';
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

                return effectiveModel;
            }
    
            @Override
            public Model getRawModel() {
                return rawModel;
            }
    
            @Override
            public Model getFileModel() {
                return fileModel;
            }
    
            @Override
            public ModelBuilderRequest getRequest() {
                return null;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    return true;
                });
            }
            return Collections.emptyList();
        }
    
        /**
         * Converts a string to lowercase.
         *
         * @param term The string to convert.
         * @return The lowercase string.
         */
        private String toLowerCase(final String term) {
            return term != null ? term.toLowerCase(Locale.ROOT) : term;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                return ConfigType.WEB;
            }
            if (ConfigType.FILE.getTypePrefix().equals(configType)) {
                return ConfigType.FILE;
            }
            if (ConfigType.DATA.getTypePrefix().equals(configType)) {
                return ConfigType.DATA;
            }
            return null;
        }
    
        /**
         * Extracts the actual ID from a config ID by removing the type prefix.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return pathL;
            }
    
            final String path = getLocalizedPagePath(page, null, null);
            final String p = pageCacheMap.get(path);
            if (p != null) {
                return p;
            }
            if (existsPage(path)) {
                pageCacheMap.put(pathLC, path);
                return path;
            }
    
            return "index.jsp";
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top