- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 6,733 for Method2 (0.14 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy
def 'successive pickMethod invocations in the entry point scope return the intercepted method'() { when: def method1 = null def method2 = null withEntryPoint(INVOKE_METHOD, "test") { method1 = instance.metaClass.pickMethod("test", new Class[]{}) method2 = instance.metaClass.pickMethod("test", new Class[]{InterceptorTestReceiver}) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 24 13:33:59 UTC 2023 - 15K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/intercept/InterceptScopeTest.groovy
InterceptScope.readsOfPropertiesNamed("property1") | InterceptScope.readsOfPropertiesNamed("property2") InterceptScope.methodsNamed("method1") | InterceptScope.methodsNamed("method2") } def "method and property scopes with the same name are not equal"() { when: InterceptScope methodScope = InterceptScope.methodsNamed("name")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 03 11:20:13 UTC 2022 - 2.2K bytes - Viewed (0) -
src/html/template/exec_test.go
// Method calls. {".Method0", "-{{.Method0}}-", "-M0-", tVal, true}, {".Method1(1234)", "-{{.Method1 1234}}-", "-1234-", tVal, true}, {".Method1(.I)", "-{{.Method1 .I}}-", "-17-", tVal, true}, {".Method2(3, .X)", "-{{.Method2 3 .X}}-", "-Method2: 3 x-", tVal, true}, {".Method2(.U16, `str`)", "-{{.Method2 .U16 `str`}}-", "-Method2: 16 str-", tVal, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3") b1.methodInvocation(null, "method4") def b2 = builder.block("another block", "block2") b2.methodInvocation(null, "method1") b2.propertyAssignment(null, "foo", "bar", true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
MethodDoc method2 = methodDoc('methodName', id: 'method2Id', returnType: 'ReturnType2', description: 'overloaded description', comment: 'overloaded comment', paramTypes: ['ParamType']) _ * classDoc.classProperties >> [] _ * classDoc.classMethods >> [method1, method2] _ * classDoc.classBlocks >> [] _ * classDoc.classExtensions >> []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3") b1.methodInvocation(null, "method4") def b2 = builder.block("another block", "block2") b2.methodInvocation(null, "method1") b2.propertyAssignment(null, "foo", "bar", true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
src/runtime/defer_test.go
type foo struct { } //go:noinline func (f *foo) method1() { } //go:noinline func (f *foo) method2() { } func g2() { var a foo ap := &a // The loop forces this defer to be heap-allocated and the remaining two // to be stack-allocated. for i := 0; i < 1; i++ { defer ap.method1() } defer ap.method2() defer ap.method1() ff1(ap, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:57:24 UTC 2023 - 11.4K bytes - Viewed (0) -
src/text/template/doc.go
value (argument) or a function or method call, possibly with multiple arguments: Argument The result is the value of evaluating the argument. .Method [Argument...] The method can be alone or the last element of a chain but, unlike methods in the middle of a chain, it can take arguments. The result is the value of calling the method with the arguments: dot.Method(Argument1, etc.) functionName [Argument...]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 17.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
- Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private - Method thing() is not a valid rule method: The declared model element path ':)' is not a valid path: Model element name ':)' has illegal first character ':' (names must start with an ASCII letter or underscore).
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java
protected int doHash(Method method) { return new HashCodeBuilder() .append(method.getName()) .append(method.getParameterTypes()) .toHashCode(); } }; /** * Equivalence of methods based on method name, the number, type and order of parameters, and return types. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0)