Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GetProtocol (0.26 sec)

  1. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/EffectiveClassPath.java

            List<URL> rawClasspath = ClasspathUtil.getClasspath(classLoader).getAsURLs();
            List<File> classpathFiles = new ArrayList<File>();
            for (URL url : rawClasspath) {
                if (url.getProtocol().equals("file")) {
                    try {
                        File classpathFile = new File(url.toURI());
                        addClasspathFile(classpathFile, classpathFiles);
                    } catch (URISyntaxException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/IoTestCase.java

        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

        }
    
        private Optional<Either<URL, Callable<URL>>> cachedURL(URL original, ClasspathFileTransformer transformer, Set<HashCode> seen, InstrumentationTypeRegistry typeRegistry) {
            if (original.getProtocol().equals("file")) {
                return cachedFile(Convert.urlToFile(original), transformer, seen, typeRegistry).map(
                    result -> result.fold(
                        file -> left(Convert.fileToURL(file)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

            CodeSource cs = protectionDomain.getCodeSource();
            URL originalUrl = cs != null ? cs.getLocation() : null;
            if (originalUrl == null || !"file".equals(originalUrl.getProtocol())) {
                // Cannot transform classes from anything but files
                return null;
            }
            try {
                return new File(originalUrl.toURI());
            } catch (URISyntaxException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

                if (getRequestorType() == RequestorType.PROXY) {
                    // Note: Do not use getRequestingProtocol() here, which is "http" even for HTTPS proxies.
                    String protocol = getRequestingURL().getProtocol();
                    String proxyUser = systemProperties.get(protocol + ".proxyUser");
                    if (proxyUser != null) {
                        String proxyPassword = systemProperties.get(protocol + ".proxyPassword");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/workloadapi/workload.pb.go

    func (*ApplicationTunnel) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{7}
    }
    
    func (x *ApplicationTunnel) GetProtocol() ApplicationTunnel_Protocol {
    	if x != nil {
    		return x.Protocol
    	}
    	return ApplicationTunnel_NONE
    }
    
    func (x *ApplicationTunnel) GetPort() uint32 {
    	if x != nil {
    		return x.Port
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    		return x.NodePort
    	}
    	return 0
    }
    
    func (x *PortsConfig) GetTargetPort() int32 {
    	if x != nil {
    		return x.TargetPort
    	}
    	return 0
    }
    
    func (x *PortsConfig) GetProtocol() string {
    	if x != nil {
    		return x.Protocol
    	}
    	return ""
    }
    
    // Configuration for Proxy.
    type ProxyConfig struct {
    	state         protoimpl.MessageState
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top