Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 359 for StringBuilder (0.07 sec)

  1. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            cache.invalidateAll();
        }
    
        protected String getCacheKey(final String seed, final String[] tags, final String[] roles, final String[] fields,
                final String[] excludes) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(seed).append(CACHE_KEY_SPLITTER);
            stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
            buf.append(CACHE_KEY_SPLITTER);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        public Script createScript(final Map<String, Object> doc, final String code) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(code);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String language = DocumentUtil.getValue(doc, fessConfig.getIndexFieldLang(), String.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

        //                                                                      ==============
        @Override
        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(createdBy);
            sb.append(dm).append(createdTime);
            sb.append(dm).append(processType);
            sb.append(dm).append(regex);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTester.java

        try (Stream<String> lines = source.lines()) {
          assertExpectedLines(lines.collect(toImmutableList()));
        }
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(expected.length(), source.copyTo(builder));
    
        assertExpectedString(builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        @CheckForNull
        public Type getOwnerType() {
          return ownerType;
        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder();
          if (ownerType != null && JavaVersion.CURRENT.jdkTypeDuplicatesOwnerName()) {
            builder.append(JavaVersion.CURRENT.typeName(ownerType)).append('.');
          }
          return builder
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                final String path = entry.getKey();
                if (servletPath.startsWith(path)) {
                    req.setCharacterEncoding(entry.getValue());
                    final StringBuilder locationBuf = new StringBuilder(1000);
                    final String contextPath = servletContext.getContextPath();
                    if (StringUtil.isNotBlank(contextPath) && !"/".equals(contextPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

            Reader reader = null;
            if (settings.getAsList("synonyms", null) != null) {
                final List<String> rules = Analysis.parseWordList(env, settings, "synonyms", s -> s);
                final StringBuilder sb = new StringBuilder();
                for (final String line : rules) {
                    sb.append(line).append(System.getProperty("line.separator"));
                }
                reader = new StringReader(sb.toString());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      boolean equalsIgnoreCaseCharSequence(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String upperString = testString.toUpperCase();
        CharSequence testSeq = new StringBuilder(testString);
        CharSequence upperSeq = new StringBuilder(upperString);
        CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq};
        CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        @Override
        public String getSinkContents() throws IOException {
          File file = getFile();
          Reader reader = new InputStreamReader(new FileInputStream(file), UTF_8);
          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top