Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for replaceAll (0.39 sec)

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

        @Mock
        CIFSContext cifsContext;
    
        @Mock
        Configuration configuration;
    
        // Helper: decode hex string to bytes
        private static byte[] hex(String s) {
            String clean = s.replaceAll("[^0-9A-Fa-f]", "");
            int len = clean.length();
            byte[] out = new byte[len / 2];
            for (int i = 0; i < len; i += 2) {
                out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

                    if (builder instanceof RangeQueryBuilder) {
                        RangeQueryBuilder rangeQueryBuilder = (RangeQueryBuilder) builder;
                        if (rangeQueryBuilder.toString().replaceAll("\\s", "").startsWith("{\"range\":{\"" + name + "\"")) {
                            addRangeC(rangeQueryBuilder, ck, value);
                            return rangeQueryBuilder;
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
        public ExecJob logSuffix(final String logSuffix) {
            this.logSuffix = logSuffix.trim().replaceAll("\\s", "_");
            return this;
        }
    
        /**
         * Sets the timeout for this job execution.
         *
         * @param timeout the timeout in seconds (-1 for no timeout)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    
        /**
         * Gets an XPathAPI instance from the cache for the current thread.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
                    final String[] queries = q.replace(" ", " ").replaceAll(" +", " ").trim().split(" ");
                    for (int i = 0; i < queries.length; i++) {
                        final String fieldName = FieldNames.READING_PREFIX + i;
    
                        final String query;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
            return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath);
        }
    
        /**
         * Default keys for suggest settings.
         */
        public static class DefaultKeys {
            /** Index key. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashMap.java

            throw new ConcurrentModificationException();
          }
        }
      }
    
      @Override
      public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
        checkNotNull(function);
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          delegate.replaceAll(function);
        } else {
          for (int i = 0; i < size; i++) {
            setValue(i, function.apply(key(i), value(i)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        @Override
        protected FormatType detectFormatType(final HttpServletRequest request) {
            final String servletPath = request.getServletPath();
            final String[] values = servletPath.replaceAll("/+", "/").split("/");
            final String value = values.length > 3 ? values[3] : null;
            if (value == null) {
                return FormatType.SEARCH;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (1)
Back to top