Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for DoCall (0.13 sec)

  1. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoCheck.java

                antBuilder.invokeMethod("check", new Object[] {checkArgs, new Closure<Object>(this, this) {
                    @SuppressWarnings("UnusedDeclaration")
                    public Object doCall(Object ignore) {
                        for (final JacocoViolationRule rule : filter(violationRules.getRules(), RULE_ENABLED_PREDICATE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileTreeBuilder.java

            final DynamicObject dynamicObject = new BeanDynamicObject(node);
            dynamicObject.invokeMethod(childNodeName == null ? "resources" : childNodeName, new Closure(this) {
                public Object doCall(Object ignore) {
                    for (Map.Entry<String, File> entry : files.entrySet()) {
                        String name = entry.getKey();
                        File file = entry.getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/util/internal/AlwaysTrue.java

        }
    
        @Override
        public Boolean call(Object... args) {
            return true;
        }
    
        @Override
        public Boolean call(Object arguments) {
            return true;
        }
    
        public Boolean doCall() {
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileSetBuilder.java

                dynamicObject.invokeMethod(nodeName == null ? "fileset" : nodeName, Collections.singletonMap("dir", AntUtil.maskFilename(tree.getDir().getAbsolutePath())), new Closure<Void>(this) {
                    public Object doCall(Object ignore) {
                        return tree.getPatterns().addToAntBuilder(node, null);
                    }
                });
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/runtime/sys_windows_386.s

    	MOVL	$0, 0x34(FS)
    
    	MOVL	libcall_n(BX), CX
    
    	// Fast version, do not store args on the stack.
    	CMPL	CX, $0
    	JE	docall
    
    	// Copy args to the stack.
    	MOVL	CX, AX
    	SALL	$2, AX
    	SUBL	AX, SP			// room for args
    	MOVL	SP, DI
    	MOVL	libcall_args(BX), SI
    	CLD
    	REP; MOVSL
    
    docall:
    	// Call stdcall or cdecl function.
    	// DI SI BP BX are preserved, SP is not
    	CALL	libcall_fn(BX)
    	MOVL	BP, SP
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/internal/PatternSetAntBuilderDelegate.java

        private static Object logical(Object node, String op, final Action<Object> withNode) {
            GroovyObject groovyObject = (GroovyObject) node;
            groovyObject.invokeMethod(op, new Closure(null, null) {
                void doCall() {
                    withNode.execute(getDelegate());
                }
            });
            return node;
        }
    
        public static Object and(Object node, Action<Object> withNode) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:48 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectModelAccessTrackingClosure.kt

    ) : Closure<T>(
        trackingProjectAccess(crossProjectModelAccess, referrerProject, delegate.owner),
        trackingProjectAccess(crossProjectModelAccess, referrerProject, delegate.thisObject)
    ) {
        @Suppress("unused")
        fun doCall(vararg args: Any) {
            val numClosureArgs = delegate.maximumNumberOfParameters
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/MixInClosurePropertiesAsMethodsDynamicObject.java

                    closure.setResolveStrategy(Closure.DELEGATE_FIRST);
                    BeanDynamicObject dynamicObject = new BeanDynamicObject(closure);
                    result = dynamicObject.tryInvokeMethod("doCall", arguments);
                    if (!result.isFound() && !(closure instanceof GeneratedClosure)) {
                        return DynamicInvokeResult.found(closure.call(arguments));
                    }
                    return result;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 10:19:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ClosureBackedAction.java

                        copy.call(delegate);
                    }
                }
            } catch (groovy.lang.MissingMethodException e) {
                if (Objects.equal(e.getType(), closure.getClass()) && Objects.equal(e.getMethod(), "doCall")) {
                    throw new InvalidActionClosureException(closure, delegate);
                }
                // https://github.com/apache/groovy/commit/75c068207ba24648ea2d698c520601c6fcf0a45b
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/MixInClosurePropertiesAsMethodsDynamicObjectTest.groovy

            when:
            obj.invokeMethod("m", ["not-a-number"] as Object[])
    
            then:
            MissingMethodException e = thrown()
            e.method == "doCall"
        }
    
        def "invokes configure method on property whose value is a NamedDomainObjectContainer"() {
            def container = Mock(NamedDomainObjectContainer)
            def cl = {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top