- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 45 for getSchemes (0.37 sec)
-
platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java
return parentPath + childPath; } else { return parentPath + "/" + childPath; } } private static boolean isFileOnHost(URI uri) { return "file".equals(uri.getScheme()) && uri.getPath().startsWith("//"); } private static String extractPath(URI parent) { if (isFileOnHost(parent)) { return URI.create(parent.getPath()).getPath(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
this.resolver = resolver; } public UriTextResource(String description, @Nonnull URI sourceUri, RelativeFilePathResolver resolver) { this.description = description; this.sourceFile = sourceUri.getScheme().equals("file") ? FileUtils.normalize(new File(sourceUri.getPath())) : null; this.sourceUri = sourceUri; this.resolver = resolver; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
// https://github.com/envoyproxy/envoy/blob/v1.29.2/api/envoy/type/matcher/string.proto#L38 errs = appendErrors(errs, validateStringMatchRegexp(match.GetUri(), "uri")) errs = appendErrors(errs, validateStringMatch(match.GetScheme(), "scheme")) errs = appendErrors(errs, validateStringMatch(match.GetMethod(), "method")) errs = appendErrors(errs, validateStringMatch(match.GetAuthority(), "authority")) for _, qp := range match.GetQueryParams() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy
output.contains('PKIX path building failed: ') } private URI getUrlWithCredentials(String user, String password) { def uri = httpBuildCacheServer.uri return new URI(uri.getScheme(), "${user}:${password}", uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment()) } def "build does not leak credentials in cache URL"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenArtifactRepository.java
URI rootUrl = validateUrl(); return createResolver(rootUrl); } private MavenResolver createResolver(URI rootUri) { RepositoryTransport transport = getTransport(rootUri.getScheme()); MavenMetadataLoader mavenMetadataLoader = new MavenMetadataLoader(transport.getResourceAccessor(), resourcesFileStore); ImmutableMetadataSources metadataSources = createMetadataSources(mavenMetadataLoader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 18 21:30:55 UTC 2023 - 21.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java
* server, they can use http://127.0.0.1 */ if ("127.0.0.1".equals(url.getHost())) { return true; } final String scheme = url.getScheme(); return !"http".equalsIgnoreCase(scheme); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
* server, they can use http://127.0.0.1 */ if ("127.0.0.1".equals(url.getHost())) { return true; } final String scheme = url.getScheme(); return !"http".equalsIgnoreCase(scheme); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0) -
src/net/url/url.go
} return s } // Maybe rawURL is of the form scheme:path. // (Scheme must be [a-zA-Z][a-zA-Z0-9+.-]*) // If so, return scheme, path; else return "", rawURL. func getScheme(rawURL string) (scheme, path string, err error) { for i := 0; i < len(rawURL); i++ { c := rawURL[i] switch { case 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z': // do nothing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 36.1K bytes - Viewed (0) -
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
if err != nil { return fmt.Errorf("create Kubernetes client: %v", err) } return add(mgr, &ReconcileIstioOperator{client: mgr.GetClient(), scheme: mgr.GetScheme(), kubeClient: kubeClient, options: options}, options) } // add adds a new Controller to mgr with r as the reconcile.Reconciler along with options for additional configuration.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
} func TestURLsCost(t *testing.T) { cases := []struct { ops []string expectEsimatedCost checker.CostEstimate expectRuntimeCost uint64 }{ { ops: []string{".getScheme()", ".getHostname()", ".getHost()", ".getPort()", ".getEscapedPath()", ".getQuery()"}, expectEsimatedCost: checker.CostEstimate{Min: 4, Max: 4}, expectRuntimeCost: 4, }, } for _, tc := range cases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0)