Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 182 for ltrim (0.01 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        /**
         * Sets the maximum content size.
         * @param maxContentSize The maximum content size to set.
         */
        public void setMaxContentSize(final long maxContentSize) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                    throw new ExtractException("Could not extract a content.", e);
                }
            } finally {
                CloseableUtil.closeQuietly(ais);
            }
    
            return buf.toString().trim();
        }
    
        /**
         * Sets the maximum content size.
         * @param maxContentSize The maximum content size to set.
         */
        public void setMaxContentSize(final long maxContentSize) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         */
        public FesenClient() {
            address = System.getProperty(HTTP_ADDRESS, "localhost:9200").trim();
            final String targets = System.getProperty(TARGET_INDICES);
            if (StringUtil.isNotBlank(targets)) {
                targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]);
            }
        }
    
        /**
         * Sets the address of the OpenSearch instance.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TopKSelector.java

          buffer[bufferSize++] = elem;
          if (bufferSize == 2 * k) {
            trim();
          }
        }
      }
    
      /**
       * Quickselects the top k elements from the 2k elements in the buffer. O(k) expected time, O(k log
       * k) worst case.
       */
      private void trim() {
        int left = 0;
        int right = 2 * k - 1;
    
        int minThresholdPosition = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            public List<AnalyzeToken> analyze(String text, String field, String lang) {
                if (text == null || text.trim().isEmpty()) {
                    return Collections.emptyList();
                }
    
                List<AnalyzeToken> tokens = new ArrayList<>();
                String[] words = text.trim().split("[\\s@#$.,!?;:()\\[\\]{}\"']+");
    
                int position = 0;
                int offset = 0;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/Handler.java

                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        final String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) {
                            continue;
                        }
                        final String className = provider + "." + protocol + ".Handler";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    repo = repo.trim();
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                        // ignore
                    }
                }
                FileUtil.deleteInBackground(tempFile);
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        /**
         * Sets the maximum content size for extraction.
         *
         * @param maxContentSize the maximum content size to set (-1 for no limit)
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/WinErrorTest.java

            // Ensure no unexpected empty messages (edge: empty strings)
            msgCap.getAllValues().forEach(m -> assertNotNull(m));
            msgCap.getAllValues().forEach(m -> assertFalse(m.trim().isEmpty(), "Message should not be empty"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

              }
            }
          }
    
          ImportResults(sortedRules, sortedExceptionRules, totalRuleBytes, totalExceptionRuleBytes)
        }
    
      private fun String.toRule(): ByteString? {
        if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null
        if (contains(WILDCARD_CHAR)) {
          assertWildcardRule(this)
        }
        return encodeUtf8()
      }
    
      data class ImportResults(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top