- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 340 for indexFor (0.18 seconds)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 10.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
} private String insertRepositoryKey(String filename, String repositoryKey) { String result; int idx = filename.indexOf('.'); if (idx < 0) { result = filename + '-' + repositoryKey; } else { result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} if (address instanceof Inet6Address) { final String hostAddress = address.getHostAddress(); // Remove zone ID if present (e.g., %eth0) final int percentIndex = hostAddress.indexOf('%'); final String cleanAddress = percentIndex >= 0 ? hostAddress.substring(0, percentIndex) : hostAddress; // Compress the IPv6 address final String compressed = compressIPv6(cleanAddress);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
return new RegularImmutableSortedSet<>( elements.subList(newFromIndex, newToIndex), comparator); } else { return emptySet(comparator); } } @Override int indexOf(@Nullable Object target) { if (target == null) { return -1; } int position; try { position = Collections.binarySearch(elements, target, unsafeComparator());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/ScrollOperationHelper.java
import org.opensearch.search.SearchHit; /** * Helper class for scroll-based search operations in OpenSearch. * Centralizes scroll logic to reduce code duplication across settings and indexer classes. * * <p>This class provides methods to perform scroll-based searches with different processing patterns: * <ul>
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
System.clearProperty(Constants.FESS_CONF_PATH); } List<String> cmdList = mockProcessHelper.getLastCommandList(); if (cmdList != null) { int cpIndex = cmdList.indexOf("-cp"); if (cpIndex >= 0 && cpIndex + 1 < cmdList.size()) { String classpath = cmdList.get(cpIndex + 1); assertTrue(classpath.contains(confPath)); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
List<E> expected = copyToList(getSampleElements()); expected.addAll(index, elements); expectContents(expected); } /* * TODO: if we're testing a list, we could check indexOf(). (Doing it in * AbstractListTester isn't enough because many tests that run on lists don't * extends AbstractListTester.) We could also iterate over all elements to * verify absence */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
return false } for (a in this) { for (b in other) { if (comparator.compare(a, b) == 0) { return true } } } return false } internal fun Array<String>.indexOf( value: String, comparator: Comparator<String>, ): Int = indexOfFirst { comparator.compare(it, value) == 0 } @Suppress("UNCHECKED_CAST") internal fun Array<String>.concat(value: String): Array<String> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
/* * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch ( * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) < * e.getMessage().indexOf( "[1.0,)" ) ); } */ } @Test @Disabled("that one does not work") @SuppressWarnings("checkstyle:UnusedLocalVariable")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 43K bytes - Click Count (0)