Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,170 for METHOD (0.14 sec)

  1. src/cmd/doc/main.go

    			return
    		case method == "":
    			if pkg.symbolDoc(symbol) {
    				return
    			}
    		case pkg.printMethodDoc(symbol, method):
    			return
    		case pkg.printFieldDoc(symbol, method):
    			return
    		}
    	}
    }
    
    // failMessage creates a nicely formatted error message when there is no result to show.
    func failMessage(paths []string, symbol, method string) error {
    	var b bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeset.go

    			if check != nil {
    				err := check.newError(DuplicateDecl)
    				err.addf(atPos(pos), "duplicate method %s", m.name)
    				err.addf(atPos(mpos[other.(*Func)]), "other declaration of method %s", m.name)
    				err.report()
    			}
    		default:
    			// We have a duplicate method name in an embedded (not explicitly declared) method.
    			// Check method signatures after all types are computed (go.dev/issue/33656).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectModelAccessTrackingParentDynamicObject.kt

    ) : DynamicObject {
        override fun hasMethod(name: String, vararg arguments: Any?): Boolean {
            onAccess(MemberKind.METHOD, name)
            return delegate.hasMethod(name, *arguments)
        }
    
        override fun tryInvokeMethod(name: String, vararg arguments: Any?): DynamicInvokeResult {
            onAccess(MemberKind.METHOD, name)
            return delegate.tryInvokeMethod(name, *arguments)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicMethodLookupIntegrationTest.groovy

        @Requires(
            value = IntegTestPreconditions.NotIsolatedProjects,
            reason = "Exercises IP incompatible behavior: Groovy method inheritance"
        )
        def "inherited convention method is preferred over property with closure value"() {
            given:
            createDirs("child")
            settingsFile << "include 'child'"
            buildFile """
    class ContactConvention {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        def "logs replaced method message"() {
            when:
            DeprecationLogger.deprecateMethod(DeprecationLogger, "method()").replaceWith("replacementMethod()").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "The DeprecationLogger.method() method has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Please use the replacementMethod() method instead."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy

        }
    
        def "succeeds when registering a service via #method in the correct scope in strict mode"() {
            given:
            def registry = strictScopedRegistry(Scope.BuildTree)
    
            when:
            registration(registry)
            registry.get(BuildTreeScopedServiceInterface) != null
    
            then:
            noExceptionThrown()
    
            where:
            method     | registration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

        /**
         * Requests that a running build be canceled.  Note that this method does NOT block until the operation has been cancelled.
         */
        void requestCancel();
    
        /**
         * Communicates a request for build cancellation. Note that this method blocks until the operation has been cancelled.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            // Bind inner providers
            for (Method method : key.getRawType().getDeclaredMethods()) {
                if (method.isAnnotationPresent(Provides.class)) {
                    if (method.getTypeParameters().length != 0) {
                        throw new DIException("Parameterized method are not supported " + method);
                    }
                    Object qualifier = ReflectionUtils.qualifierOf(method);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/go/types/example_test.go

    	fmt.Printf("Method set of %s:\n", styp)
    	fmt.Println(types.NewMethodSet(styp))
    
    	// Output:
    	// Method set of temperature.Celsius:
    	// method (temperature.Celsius) String() string
    	//
    	// Method set of *temperature.Celsius:
    	// method (*temperature.Celsius) SetF(f float64)
    	// method (*temperature.Celsius) String() string
    	//
    	// Method set of temperature.S:
    	// MethodSet {}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top