Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 180 for METHOD (0.11 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        }
    
        def "can finalize value when no value defined"() {
            def property = propertyWithNoValue()
    
            when:
            property."$method"()
    
            then:
            !property.present
            property.getOrNull() == null
    
            where:
            method << ["finalizeValue", "implicitFinalizeValue"]
        }
    
        def "can finalize value when value set"() {
            def property = propertyWithNoValue()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers.go

    	// be processed in FIFO order by a goroutine per pod UID. The state of the
    	// pod will be passed to the syncPod method until either the pod is marked
    	// as deleted, it reaches a terminal phase (Succeeded/Failed), or the pod
    	// is evicted by the kubelet. Once that occurs the syncTerminatingPod method
    	// will be called until it exits successfully, and after that all further
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            String methodUnderTest = mutatingMethods.key
            Closure method = bind(mutatingMethods.value)
    
            when:
            container.configureEach(method)
            then:
            def ex = thrown(Throwable)
            assertDoesNotAllowMethod(ex, methodUnderTest)
    
            when:
            container.withType(container.type).configureEach(method)
            then:
            ex = thrown(Throwable)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeToken.java

      /**
       * Returns the {@link Invokable} for {@code method}, which must be a member of {@code T}.
       *
       * @since 14.0
       */
      public final Invokable<T, Object> method(Method method) {
        checkArgument(
            this.someRawTypeIsSubclassOf(method.getDeclaringClass()),
            "%s not declared by %s",
            method,
            this);
        return new Invokable.MethodInvokable<T>(method) {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    	// For now, test the historical behavior.
    	for _, method := range []string{
    		MethodGet,
    		MethodPost,
    		MethodPut,
    		MethodPatch,
    		MethodDelete,
    		MethodOptions,
    		MethodTrace,
    	} {
    		req.Method = method
    		_, body := getBody(t, method, req, c)
    		if !bytes.Equal(body, file) {
    			t.Fatalf("body mismatch for %v request: got %q, want %q", method, body, file)
    		}
    	}
    
    	// HEAD request.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeToken.java

      /**
       * Returns the {@link Invokable} for {@code method}, which must be a member of {@code T}.
       *
       * @since 14.0
       */
      public final Invokable<T, Object> method(Method method) {
        checkArgument(
            this.someRawTypeIsSubclassOf(method.getDeclaringClass()),
            "%s not declared by %s",
            method,
            this);
        return new Invokable.MethodInvokable<T>(method) {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    	{".Method3(nil value)", "-{{.Method3 .MXI.unset}}-", "-Method3: &lt;nil&gt;-", tVal, true},
    	{"method on var", "{{if $x := .}}-{{$x.Method2 .U16 $x.X}}{{end}}-", "-Method2: 16 x-", tVal, true},
    	{"method on chained var",
    		"{{range .MSIone}}{{if $.U.TrueFalse $.True}}{{$.U.TrueFalse $.True}}{{else}}WRONG{{end}}{{end}}",
    		"true", tVal, true},
    	{"chained method",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/text/template/exec_test.go

    	{".Method3(nil value)", "-{{.Method3 .MXI.unset}}-", "-Method3: <nil>-", tVal, true},
    	{"method on var", "{{if $x := .}}-{{$x.Method2 .U16 $x.X}}{{end}}-", "-Method2: 16 x-", tVal, true},
    	{"method on chained var",
    		"{{range .MSIone}}{{if $.U.TrueFalse $.True}}{{$.U.TrueFalse $.True}}{{else}}WRONG{{end}}{{end}}",
    		"true", tVal, true},
    	{"chained method",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server_test.go

    	tests := map[string]struct {
    		method string
    		bucket string
    	}{
    		"normal GET":     {method: "GET", bucket: "GET"},
    		"normal POST":    {method: "POST", bucket: "POST"},
    		"invalid method": {method: "WEIRD", bucket: "other"},
    	}
    
    	fw := newServerTest()
    	defer fw.testHTTPServer.Close()
    
    	for _, test := range tests {
    		method := test.method
    		bucket := test.bucket
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    include::{snippetsPath}/tasks/incrementalBuild-customTaskClass/tests/incrementalAdHocTaskNoSource.out[]
    ----
    ====
    
    The `TaskInputs.files()` method returns a builder that has a `skipWhenEmpty()` method. Invoking this method is equivalent to annotating to the property with <<#skip-when-empty,`@SkipWhenEmpty`>>.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top