Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 573 for Sall (0.26 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                    switch (value.getMaximumNumberOfParameters()) {
                        case 0:
                            return value.call();
                        case 1:
                            return value.call(convention);
                        default:
                            return value.call(convention, conventionAwareObject);
                    }
                }
            });
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacementTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object OriginReplacementTest {
        @Test
        fun `replaces configured object access and function call receiver`() {
            with(resolution("configuring { property = value() }")) {
                val assignment = assignments.single()
                val lhs = replaceInnerReceiverWithTopLevel(assignment.lhs.receiverObject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:31:36 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

                override fun invoke(receiver: Any): DependencyCollector = getterFunction.call(receiver) as DependencyCollector
            }
    
            data class Property(val property: KProperty<*>) : DependencyCollectorAccessor {
                override fun invoke(receiver: Any): DependencyCollector = property.call(receiver) as DependencyCollector
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ExclusiveCacheAccessCoordinator.java

         *
         * <p>This method is re-entrant, so that an action can call back into this method.</p>
         *
         * <p>Note: this method differs from {@link #withFileLock(Supplier)} in that this method also blocks other threads from this process and all threads from other processes from accessing the cache.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/GradlePropertiesController.java

         */
        void loadGradlePropertiesFrom(File settingsDir, boolean setSystemProperties);
    
        /**
         * Unloads the properties so the next call to {@link #loadGradlePropertiesFrom(File, boolean)} would reload them and
         * re-evaluate any property defining system properties and environment variables.
         */
        void unloadGradleProperties();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

                default:
                    throw new UnsupportedOperationException("Generating get call for type: " + upgradedPropertyType.asType() + " is not supported");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/AddSoftwareTypesAsExtensionsPluginTargetTest.groovy

            1 * target.getExtensions() >> extensions
            1 * softwareType.modelPublicType() >> Foo.class
            1 * softwareType.name() >> "foo"
            1 * propertyValue.call() >> foo
            1 * extensions.add(Foo.class, "foo", foo)
    
            and:
            1 * delegate.applyImperative(null, plugin)
        }
    
        def "does not add software types for plugins that are not registered"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            def failure1 = new RuntimeException()
            def action1 = new Callable<Void>() {
                Void call() {
                    instant.broken1
                    throw failure1
                }
            }
            def failure2 = new RuntimeException()
            def action2 = new Callable<Void>() {
                Void call() {
                    instant.broken2
                    throw failure2
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

        byte[] instrumentClass(@Nullable String className, @Nullable ProtectionDomain protectionDomain, byte[] classfileBuffer);
    
        /**
         * This is called by the agent if a throwable is thrown while instrumenting a class during the call of the {@link #instrumentClass(String, ProtectionDomain, byte[])} method,
         * or anywhere else in the agent. Throwing an exception from this method has no effect on the class loading.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            def result2 = recreate(original2).call()
    
            result2 == "123"
        }
    
        def "class can include only serializable lambda"() {
            given:
            def cl = transformAndLoad(ClassWithSerializableLambda, ClassWithSerializableLambda.SerializableThing)
    
            expect:
            def original = cl.thing(123)
            def result = recreate(original).call()
    
            result == "123"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top