- Sort Score
- Num 10 results
- Language All
Results 201 - 208 of 208 for startswith (0.06 seconds)
-
android/guava/src/com/google/common/net/InetAddresses.java
checkNotNull(hostAddr); // Decide if this should be an IPv6 or IPv4 address. String ipString; int expectBytes; if (hostAddr.startsWith("[") && hostAddr.endsWith("]")) { ipString = hostAddr.substring(1, hostAddr.length() - 1); expectBytes = 16; } else { ipString = hostAddr; expectBytes = 4; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
fastapi/routing.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
String prop1 = pom.getValue("properties/prop1").toString(); assertEquals(pom.getBasedir().toPath().toUri().toASCIIString(), prop1); assertTrue(prop1.startsWith("file:///"), "Expected " + prop1 + " to start with " + "file:///"); } /* MNG-3811*/ @Test void testReportingPluginConfig() throws Exception {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 94.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(call).contains("protocol=http") assertThat(call.lowercase(Locale.US)).contains("scheme=basic") } private fun authCallsForHeader(authHeader: String): List<String> { val proxy = authHeader.startsWith("Proxy-") val responseCode = if (proxy) 407 else 401 val authenticator = RecordingAuthenticator(null) java.net.Authenticator.setDefault(authenticator) server.enqueue( MockResponse
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java
private int position; Xpp3DomNodeIterator(NodePointer parent, NodeTest test, boolean reverse, NodePointer startWith) { this.parent = parent; this.node = (XmlNode) parent.getNode(); this.children = this.node.children(); if (startWith != null) { Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode(); for (; filteredIndex < children.size(); filteredIndex++) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java
throw new UnsupportedOperationException(); } @Override public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith) { return new Xpp3DomNodeIterator(this, test, reverse, startWith); } @Override public NodeIterator attributeIterator(QName qname) { return new Xpp3DomAttributeIterator(this, qname); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
fail("Using seed " + seed + ". State " + Arrays.toString(q.toArray())); } } private static void assertIntactUsingStartedWith( Collection<?> startedWith, MinMaxPriorityQueue<?> q) { if (!q.isIntact()) { fail("Started with " + startedWith + ". State " + Arrays.toString(q.toArray())); } } private static void assertEqualsUsingSeed(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
sequences.add("lemon"); assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A)); } public void testIndexOf_genericPredicate2() { List<String> sequences = Lists.newArrayList("bob", "charlie", "henry", "apple", "lemon"); assertEquals(3, Iterables.indexOf(sequences, STARTSWITH_A)); } public void testMergeSorted_empty() { // Setup
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 45.6K bytes - Click Count (0)