Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 295 for trim (0.02 sec)

  1. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
        }
    
        public String normalizeConfigPath(final String path) {
    
            if (StringUtil.isBlank(path)) {
                return StringUtils.EMPTY;
            }
    
            final String p = path.trim();
            if (p.startsWith("#")) {
                return StringUtils.EMPTY;
            }
    
            if (p.startsWith(GsaConfigParser.CONTAINS)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        || c >= 0x10000 && c <= 0x10FFFF) {
                    buf.append(c);
                }
            }
            return buf.toString().trim();
        }
    
        public static Map<String, Object> getDataMap(final AccessResultData<?> accessResultData) {
            // create input source
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                buf.append(";v=");
                buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(",")));
            }
    
            final String urlId = buf.toString().trim();
            return generateId(urlId);
        }
    
        public List<Map<String, String>> getSessionIdList(final SearchEngineClient searchEngineClient) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) continue;
                        String className = provider + "." + protocol + ".Handler";
                        try {
                            Class handlerClass = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            } catch (final Throwable t) {
                logger.warn("Failed to set SessionTrackingMode.", t);
            }
    
            split(fessConfig.getQueryFacetQueries(), "\n").of(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).forEach(s -> {
                final String[] values = StringUtils.split(s, ":", 2);
                if (values.length != 2) {
                    return;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
            path = path.trim();
    
            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
            if (path.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to read data.", e);
                    }
                    return StringUtil.EMPTY;
                }
    
                return buf.toString().trim();
            }
    
            private boolean isSpaceChar(final int c) {
                for (final int spaceChar : spaceChars) {
                    if (c == spaceChar) {
                        return true;
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/Handler.java

                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while ( tokenizer.hasMoreTokens() ) {
                        String provider = tokenizer.nextToken().trim();
                        if ( provider.equals("jcifs") )
                            continue;
                        String className = provider + "." + protocol + ".Handler";
                        try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
Back to top