Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,426 for Curl (0.09 seconds)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

        val effectivePort =
          when {
            url!!.port != defaultPort(url.scheme) -> Integer.toString(url.port)
            else -> ""
          }
        val effectiveQuery =
          when {
            url.encodedQuery != null -> "?" + url.encodedQuery
            else -> ""
          }
        val effectiveFragment =
          when {
            url.encodedFragment != null -> "#" + url.encodedFragment
            else -> ""
          }
        val effectiveHost =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/HandlerTest.java

            // Arrange & Act: constructing this URL triggers Handler.parseURL("smb://")
            Handler handler = newHandler();
            URL url = new URL(null, "smb://", handler);
    
            // Assert
            assertEquals("smb", url.getProtocol());
            assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL");
            assertNull(url.getRef(), "Ref should remain null for root URL");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                // Parse only URL
                String[] args = { "smb://server/share/test.txt" };
                for (int ai = 0; ai < args.length; ai++) {
                    if (!args[ai].startsWith("-")) {
                        t.url = args[ai];
                    }
                }
    
                assertEquals("smb://server/share/test.txt", t.url, "URL should be parsed");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-expected.xml

        <developerConnection>scm:my-scm:https://domain.org/base/</developerConnection>
        <url>https://domain.org/base</url>
      </scm>
      <distributionManagement>
        <site child.site.url.inherit.append.path="false">
          <url>scp://scp.domain.org/base/</url>
        </site>
      </distributionManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls-parent.xml

      <url>http://www.apache.org/path/to/parent/</url>
      <scm child.scm.connection.inherit.append.path="false"
           child.scm.developerConnection.inherit.append.path="false"
           child.scm.url.inherit.append.path="false">
        <connection>scm:my-scm:http://domain.org/base</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/</developerConnection>
        <url>https://domain.org/base</url>
      </scm>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""cacheConditionalHit: Response\{protocol=h2, code=200, message=, url=$url\}"""))
          .assertLogMatch(Regex("""cacheHit: Response\{protocol=h2, code=200, message=, url=$url\}"""))
          .assertLogMatch(Regex("""cacheMiss"""))
          .assertLogMatch(Regex("""satisfactionFailure: Response\{protocol=h2, code=200, message=, url=$url\}"""))
          .assertNoMoreLogs()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/");
            url = new URL(url, "..");
            System.out.println(url.toExternalForm());
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/bad-repository-id.xml

        <repository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
        </pluginRepository>
      </pluginRepositories>
    
      <distributionManagement>
        <repository>
          <id>this/is\bad</id>
          <url>http://localhost</url>
        </repository>
        <snapshotRepository>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        server.enqueue(MockResponse())
        assert200Http2Response(execute(url), server.hostName)
        val sanUrl = url.newBuilder().host("san.com").build()
        assert200Http2Response(execute(sanUrl), "san.com")
        assertThat(client.connectionPool.connectionCount()).isEqualTo(2)
      }
    
      private fun execute(url: HttpUrl) = client.newCall(Request(url = url)).execute()
    
      private fun assert200Http2Response(
        response: Response,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
Back to Top