Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 270 for substring (0.12 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    
        /**
         * Extracts the URL from the target object using reflection.
         *
         * @param target The target object.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = username.substring(0, maxLength);
            } else {
                value = username;
            }
            return String.format(getSystemProperty(Constants.LDAP_SECURITY_PRINCIPAL, StringUtil.EMPTY), value);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          this.valuePrefix = valuePrefix;
        }
    
        @Override
        public Integer load(String key) {
          wasCalled = true;
          return valuePrefix + Integer.parseInt(key.substring(keyPrefix.length()));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
      public void testPublicSuffixExclusion() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                if (path == null) {
                    return tempDir.getAbsolutePath();
                }
                // Remove leading slash if present
                if (path.startsWith("/")) {
                    path = path.substring(1);
                }
                return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        /**
         * Parses the given query string and returns an array of keywords.
         *
         * @param q the query string to be parsed
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            if (start == -1) {
                return null;
            }
            start += 3;
    
            final int end = entryDn.indexOf(',', start);
            final String value = end == -1 ? entryDn.substring(start) : entryDn.substring(start, end);
            if (fessConfig.isLdapGroupNameWithUnderscores()) {
                return replaceWithUnderscores(value);
            }
            return value;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          if (path == null || !path.startsWith("/")) {
            val encodedPath = url.encodedPath
            val lastSlash = encodedPath.lastIndexOf('/')
            path = if (lastSlash != 0) encodedPath.substring(0, lastSlash) else "/"
          }
    
          return Cookie(
            cookieName,
            cookieValue,
            expiresAt,
            domain,
            path,
            secureOnly,
            httpOnly,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testFlatteningToImmutableSetMultimap() {
        Collector<String, ?, ImmutableSetMultimap<Character, Character>> collector =
            flatteningToImmutableSetMultimap(
                str -> str.charAt(0), str -> asList(str.substring(1).toCharArray()).stream());
        BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence =
            Equivalence.equals()
                .onResultOf((Multimap<?, ?> mm) -> ImmutableList.copyOf(mm.asMap().entrySet()))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                // wrong state
                return;
            }
    
            final int idx = url.indexOf('/', url.indexOf("://") + 3);
            String hostUrl;
            if (idx >= 0) {
                hostUrl = url.substring(0, idx);
            } else {
                hostUrl = url;
            }
            final String robotTxtUrl = hostUrl + "/robots.txt";
    
            // check url
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top