Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for WithPath (0.1 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        }
      }
    
      private fun testRequest(function: (MockServerClient) -> Unit) {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          val request =
            request().withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            )
            .respond(response().withBody("Peter the person!"))
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            final List<SourceFile> sources = resourceApp.sourceFiles - resources
            assert projectFile.headerFiles == resourceApp.headerFiles*.withPath("src/main").sort()
            assert projectFile.sourceFiles == ['build.gradle'] + sources*.withPath("src/main").sort()
            assert projectFile.resourceFiles == resources*.withPath("src/main").sort()
    
            projectFile.projectConfigurations.keySet() == projectConfigurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java

            if (scope.equals(this.scope)) {
                return this;
            }
            return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description));
        }
    
        public ModelReference<T> withPath(ModelPath path) {
            return Cast.uncheckedCast(new ModelReference<T>(path, type, scope, state, description));
        }
    
        public ModelReference<T> atState(ModelNode.State state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                for (int i = 0; i < inputs.size(); i++) {
                    ModelReference<?> input = inputs.get(i);
                    if (input.getPath() != null) {
                        inputs.set(i, input.withPath(targetPath.descendant(input.getPath())));
                    } else {
                        inputs.set(i, input.inScope(ModelPath.ROOT));
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

            buildScript '''
                class UnboundRuleSource extends RuleSource {
                    @Mutate
                    void unboundRule(String string, Integer integer, @Path("some.inner.path") String withPath) {
                    }
                }
    
                class MyPlugin extends RuleSource {
                    @Model
                    void strings(List<String> s) {}
    
                    @Rules
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    	if err != nil {
    		return nil, err
    	}
    	if operator == selection.Exists || operator == selection.DoesNotExist { // operator found lookahead set checked
    		return NewRequirement(key, operator, []string{}, field.WithPath(p.path))
    	}
    	operator, err = p.parseOperator()
    	if err != nil {
    		return nil, err
    	}
    	var values sets.String
    	switch operator {
    	case selection.In, selection.NotIn:
    		values, err = p.parseValues()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		if apiResource.Namespaced {
    			requestScope = "namespace"
    			namespaced = "Namespaced"
    		}
    		if strings.HasSuffix(action.Path, "/{path:*}") {
    			requestScope = "resource"
    			operationSuffix = operationSuffix + "WithPath"
    		}
    		if strings.Contains(action.Path, "/{name}") || action.Verb == "POST" {
    			requestScope = "resource"
    		}
    		if action.AllNamespaces {
    			requestScope = "cluster"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top