Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,971 for Method1 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskIncrementalJavaCompilationIntegrationTest.groovy

            source api: ["class A { int method() { return 1; } }"],
                impl: ["class X { private int foo() { return new A().method(); }}", "class Y { private int foo() { return new A().method(); }}"]
            impl.snapshot { run language.compileTaskName }
    
            when:
            source api: ["class A { int method1() { return 1; } }"]
            fails "impl:${language.compileTaskName}"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/cgo/internal/testplugin/plugin_test.go

    func TestMethod(t *testing.T) {
    	// Exported symbol's method must be live.
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "plugin.so", "./method/plugin.go")
    	goCmd(t, "build", "-o", "method.exe", "./method/main.go")
    	run(t, "./method.exe")
    }
    
    func TestMethod2(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "method2.so", "./method2/plugin.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top