Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for replaceAll (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                    byte[] bytes = is.readAllBytes();
                    String content = new String(bytes);
                    for (Map.Entry<String, String> rule : transformationRules.entrySet()) {
                        content = content.replaceAll(rule.getKey(), rule.getValue());
                    }
                    resultData.setData(content.getBytes());
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final String path = uri.getPath();
                if (path == null) {
                    parent = "/";
                    name = null;
                } else {
                    final String[] values = path.replaceAll("/+", "/").replaceFirst("/$", "").split("/");
                    if (values.length == 1) {
                        parent = "/";
                        name = null;
                    } else if (values.length == 2) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. logger/sql_test.go

    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    func TestExplainSQL(t *testing.T) {
    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         *
         * @param resourceName the resource name
         * @return the file name
         */
        private String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
            if (pos >= 0) {
                return name.substring(pos + 1);
            }
            return name;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. 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 (1)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Truncate long strings
            if (str.length() > 100) {
                str = str.substring(0, 100) + "...";
            }
    
            // Remove control characters
            return str.replaceAll("[\\x00-\\x1F\\x7F]", "?");
        }
    
        /**
         * Validation statistics
         */
        public static class ValidationStats {
            private final long totalValidations;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top