- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 131 for endswith (0.21 sec)
-
src/main/java/org/codelibs/fess/FessBoot.java
} @Override protected void setupWebappContext() { super.setupWebappContext(); String contextPath = getContextPath(); if (contextPath.length() > 0 && contextPath.endsWith("/")) { contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY); } final Context context = (Context) server.getHost().findChild(contextPath); if (context != null) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
options.links(javadocs.getJavaApi().get().toString(), javadocs.getGroovyApi().get().toString()); task.source(extension.getDocumentedSource().filter(f -> f.getName().endsWith(".java"))); task.setClasspath(extension.getClasspath()); // TODO: This should be in Javadoc task DirectoryProperty generatedJavadocDirectory = objects.directoryProperty();
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Oct 16 13:03:20 GMT 2023 - 6.9K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:50:51 GMT 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
p--; } return a.subSequence(0, p).toString(); } /** * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) && * b.toString().endsWith(suffix)}, taking care not to split surrogate pairs. If {@code a} and * {@code b} have no common suffix, returns the empty string. * * @since 11.0 */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} if (lineNum == 0 || list.isEmpty()) { return "<pre class=\"" + style + "\">" + input + "</pre>"; } int lastIndex = list.size(); if (list.get(list.size() - 1).endsWith("...")) { lastIndex--; } if (lastIndex <= 0) { lastIndex = 1; } final String content = list.subList(0, lastIndex).stream().collect(Collectors.joining("\n"));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
{@link String} ends with the specified * {@link String}. * <p/> * For example: * <pre>assertThat("myStringOfNote", endsWith("Note"))</pre> * * @param suffix * the substring that the returned matcher will expect at the end of any examined string */ public static org.hamcrest.Matcher<java.lang.String> endsWith(java.lang.String suffix) { return org.hamcrest.core.StringEndsWith.endsWith(suffix); } } org/hamcrest/CustomMatcher.java org/hamcrest/CustomMatcher.java package org.hamcrest; /** * Utility class...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 31.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); assertThat(list.size(), is(1)); assertThat(list.get(0).endsWith("DummyTest.class"), is(true)); } /** * @throws Exception */ @Test public void testFromDir_JarFile() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
urlHost: String, domain: String, ): Boolean { if (urlHost == domain) { return true // As in 'example.com' matching 'example.com'. } return urlHost.endsWith(domain) && urlHost[urlHost.length - domain.length - 1] == '.' && !urlHost.canParseAsIpAddress() } private fun pathMatch( url: HttpUrl, path: String, ): Boolean {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) { final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar")); if (jarFiles != null) { for (final File file : jarFiles) { buf.append(cpSeparator); buf.append(basePath); buf.append(file.getName());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.2K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
name: str description: Optional[str] = None foo: ModelB @field_validator("name") def lower_username(cls, name: str, info: ValidationInfo): if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.3K bytes - Viewed (0)