- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,579 for indexOf (0.03 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
throw IllegalArgumentException(e) } } else { this.handshake = null } if (requestLine.isNotEmpty()) { val methodEnd = requestLine.indexOf(' ') val pathEnd = requestLine.indexOf(' ', methodEnd + 1) this.method = requestLine.substring(0, methodEnd) var path = requestLine.substring(methodEnd + 1, pathEnd) if (!path.startsWith("/")) { path = "/"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
} /** * @throws Exception */ @Test public void testIndexOf() throws Exception { assertThat(map.indexOf("test"), is(1)); assertThat(map.indexOf(null), is(0)); assertThat(map.indexOf("test3"), is(-1)); } /** * @throws Exception */ @Test public void testGet() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt
val uriStripped = uriStrippedCodePoints.indexOf(codePointString) != -1 if (uriStripped) { if (uri.toString() != component.urlString("")) { fail("Encoding $component $codePoint using $encoding") } return } // If the URI has more escaping than the HttpURL, check that the decoded values still match. val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1 if (uriEscaped) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
*/ public static int indexOf(double[] array, double target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(double[] array, double target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } } return -1; } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
val hash: ByteString init { require( (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) || (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) || pattern.indexOf("*") == -1, ) { "Unexpected pattern: $pattern" } this.pattern =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
guava/src/com/google/common/collect/CompactHashMap.java
} @Override public @Nullable V get(@Nullable Object key) { Map<K, V> delegate = delegateOrNull(); if (delegate != null) { return delegate.get(key); } int index = indexOf(key); if (index == -1) { return null; } accessEntry(index); return value(index); } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* new String[] { "SRV" } * ); * return name; * } catch (NameNotFoundException nnfe) { * uhe = new UnknownHostException(nnfe.getMessage()); * } * int dot = name.indexOf('.'); * if (dot == -1) * break; * name = name.substring(dot + 1); * } * } catch (NamingException ne) { * if (log.level > 1) * ne.printStackTrace(log); * }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(0, actual.indexOf(list(1, 3))); assertEquals(1, actual.indexOf(list(1, 4))); assertEquals(2, actual.indexOf(list(2, 3))); assertEquals(3, actual.indexOf(list(2, 4))); assertEquals(-1, actual.indexOf(list(3, 1))); assertEquals(-1, actual.indexOf(list(1))); assertEquals(-1, actual.indexOf(list(1, 1, 1))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0)