Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,971 for MethodB (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
            LinkedList<Method> list = new LinkedList<>();
    
            for (Method method : methods) {
                if (isApplicable(method, classes)) {
                    list.add(method);
                }
            }
            return list;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top