Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for gourl (0.07 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package driver
    
    import (
    	"bytes"
    	"fmt"
    	"html/template"
    	"io"
    	"net"
    	"net/http"
    	gourl "net/url"
    	"os"
    	"os/exec"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/pprof/internal/graph"
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/internal/plugin"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/MultiParentClassLoaderTest.groovy

        }
    
        public void containsUnionOfResourcesFromAllParents() {
            URL resource1 = new File('res1').toURI().toURL()
            URL resource2 = new File('res2').toURI().toURL()
            URL resource3 = new File('res3').toURI().toURL()
    
            given:
            _ * parent1.getResources('resource') >> { return Collections.enumeration([resource1, resource2]) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        )
        server.enqueue(MockResponse()) // The jdk's HttpUrlConnection is a bastard.
        server.enqueue(MockResponse())
        try {
          server.url("/a").toUrl().openConnection().getInputStream()
          fail<Any>()
        } catch (expected: IOException) {
        }
        server.url("/b").toUrl().openConnection().getInputStream() // Should succeed.
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        server.enqueue(MockResponse())
        try {
          server.url("/a").toUrl().openConnection().getInputStream()
          fail<Unit>()
        } catch (expected: IOException) {
          // Expected.
        }
        server.url("/b").toUrl().openConnection().getInputStream() // Should succeed.
      }
    
      @Test
      fun clearDispatcherQueue() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals("ftp://123.123.123.123/ccc.txt", ftpInfo.toUrl("/aaa/../ccc.txt"));
    
            value = "ftp://123.123.123.123/test test.txt";
            ftpInfo = new FtpClient.FtpInfo(value);
            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/UrlExternalResourceTest.groovy

            def resource = UrlExternalResource.open(file.toURI().toURL())
            resource.withContentIfPresent({} as ExternalResource.ContentAndMetadataAction) == null
        }
    
        def "can get metadata of file"() {
            def file = tmpDir.createFile("file")
            file.text = "1234"
    
            expect:
            def resource = UrlExternalResource.open(file.toURI().toURL())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final URL url = new File("/Program File").toURI().toURL();
            assertEquals("file:" + getRoot() + "Program File", ResourceUtil.toExternalForm(url));
        }
    
        /**
         * @throws Exception
         */
        public void testGetFileName() throws Exception {
            URL url = new File("/Program File").toURI().toURL();
            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/util/TestClassLoader.groovy

                    def classFile = new File(file, name)
                    if (classFile.exists()) {
                        return classFile.toURI().toURL()
                    }
                } else if (file.isFile()) {
                    def url = new URL("jar:${file.toURI().toURL()}!/${name}")
                    try {
                        url.openStream().close()
                        return url
                    } catch (FileNotFoundException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
    
            public String toUrl() {
                return toUrl(uri.getPath());
            }
    
            public String toChildUrl(final String child) {
                final String url = toUrl();
                if (url.endsWith("/")) {
                    return normalize(toUrl() + child);
                }
                return normalize(toUrl() + "/" + child);
            }
    
            public String getParent() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top