- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,627 for indexOf (0.1 sec)
-
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
} /** * Returns the index of the first appearance of the value {@code target} in {@code array}. * * @param array an array of {@code char} values, possibly empty * @param target a primitive {@code char} value * @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no * such index exists. */ public static int indexOf(char[] array, char target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiRequest.java
super(request); this.servletPath = servletPath; } @Override public String getServletPath() { if (getQueryString() != null && getQueryString().indexOf("SAStruts.method") != -1) { return super.getServletPath(); } return servletPath; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.2K 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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
} @Override public Double get(int index) { return parent.get(index); } @Override public boolean contains(@CheckForNull Object target) { return indexOf(target) >= 0; } @Override public int indexOf(@CheckForNull Object target) { return target instanceof Double ? parent.indexOf((Double) target) : -1; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 23K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
} } else { this.handshake = null this.handshakeServerNames = listOf() } 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
*/ public static int indexOf(float[] array, float target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(float[] array, float target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } } return -1; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 27.9K bytes - Viewed (0)