- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 139 for SUBSTRING (0.14 seconds)
-
src/main/java/org/codelibs/core/lang/StringUtil.java
return !isEmpty(text); } /** * Replaces all occurrences of a substring within a string with another string. * * @param text * The original string. * @param fromText * The substring to be replaced. * @param toText * The replacement substring. * @return The resulting string after replacements. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 21.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
// pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-'))) .isEqualTo(thread.getName().substring(0, thread.getName().lastIndexOf('-'))); // Building again should give us a different pool ID. ThreadFactory threadFactory2 = builder.build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
// pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-'))) .isEqualTo(thread.getName().substring(0, thread.getName().lastIndexOf('-'))); // Building again should give us a different pool ID. ThreadFactory threadFactory2 = builder.build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
return host.substring(1, host.length - 5).lowercase() } override fun canonicalize(s: String): String = s.lowercase() }, PATH { override fun urlString(value: String): String = "http://example.com/a${value}z/" override fun encodedValue(url: HttpUrl): String { val path = url.encodedPath return path.substring(2, path.length - 2) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/FacetResponse.java
} else if (aggregation.getName().startsWith(Constants.FACET_QUERY_PREFIX)) { final Filter queryFacet = (Filter) aggregation; final String encodedQuery = queryFacet.getName().substring(Constants.FACET_QUERY_PREFIX.length()); queryCountMap.put(new String(BaseEncoding.base64().decode(encodedQuery), StandardCharsets.UTF_8), queryFacet.getDocCount()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 11:39:05 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/LoadControlFilter.java
} final HttpServletRequest httpRequest = (HttpServletRequest) request; final HttpServletResponse httpResponse = (HttpServletResponse) response; final String path = httpRequest.getRequestURI().substring(httpRequest.getContextPath().length()); if (isExcludedPath(path)) { chain.doFilter(request, response); return; } final boolean isApiPath = path.startsWith("/api/");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Feb 10 04:24:02 GMT 2026 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n + * 1}. So if the separator does not occur anywhere in the input, a single substring is returned * containing the entire input. Consequently, all splitters split the empty string to {@code [""]} * (note: even fixed-length splitters). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n + * 1}. So if the separator does not occur anywhere in the input, a single substring is returned * containing the entire input. Consequently, all splitters split the empty string to {@code [""]} * (note: even fixed-length splitters). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
* @return the theme name * @throws ThemeException if theme name cannot be determined */ protected String getThemeName(final Artifact artifact) { final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1); if (StringUtil.isBlank(themeName)) { throw new ThemeException("Theme name is empty: " + artifact); } return themeName; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.1K bytes - Click Count (0)