Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for forall (0.13 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val firCall = ktCallElement.getOrBuildFir(firResolveSession)?.unwrapSafeCall() as? FirCall ?: return null
    
            val callee = (firCall.toReference(firResolveSession.useSiteFirSession) as? FirResolvedNamedReference)?.resolvedSymbol
            if (callee?.fir?.origin == FirDeclarationOrigin.SamConstructor) {
                val substitutor = (firCall as? FirQualifiedAccessExpression)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

     *
     * @see [KotlinClosure1]
     */
    fun <T> Any.delegateClosureOf(action: T.() -> Unit) =
        object : Closure<Unit>(this, this) {
            @Suppress("unused") // to be called dynamically by Groovy
            fun doCall() = uncheckedCast<T>(delegate).action()
        }
    
    
    /**
     * Adapts a parameterless Kotlin function to a parameterless Groovy [Closure].
     *
     * @param V the return type.
     * @param function the function to be adapted.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/ClosureInstrumentationIntegrationTest.groovy

                            }
    
                            @Override
                            public abstract void setDelegate(Object delegate);
    
                            public abstract String doCall(String argument);
                        }
                    """
    
                    file("ReverseClosure.java") << """
                        public class ReverseClosure extends MyBaseClosure {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileCollectionMatchingTaskBuilder.java

            }
    
            dynamicObject.invokeMethod("or", new Closure<Void>(this) {
                public Object doCall(Object ignore) {
                    for (final DirectoryTree fileTree : existing) {
                        dynamicObject.invokeMethod("and", new Closure<Void>(this) {
                            public Object doCall(Object ignore) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/AntGroovydoc.java

            }
    
            ant.withClasspath(combinedClasspath).execute(new Closure<Object>(this, this) {
                @SuppressWarnings("UnusedDeclaration")
                public Object doCall(Object it) {
                    final GroovyObjectSupport antBuilder = (GroovyObjectSupport) it;
    
                    antBuilder.invokeMethod("taskdef", ImmutableMap.of(
                        "name", "groovy",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt

            val c0 =
                object : Closure<Boolean>(null, null) {
                    @Suppress("unused")
                    fun doCall() = invocations.add("c0")
                }
    
            val c1 =
                object : Closure<Boolean>(null, null) {
                    @Suppress("unused")
                    fun doCall(x: Any) = invocations.add("c1($x)")
                }
    
            val c2 =
                object : Closure<Boolean>(null, null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

                    Pattern.MULTILINE + Pattern.DOTALL);
            Matcher matcher = pattern.matcher(source);
    
            if (matcher.matches()) {
                String uid = matcher.group(1) == null ? null : matcher.group(1).substring("uid=".length());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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)
Back to top