Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for Lambda1 (0.11 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaClassChangeIncrementalCompilationIntegrationTest.groovy

                        }
                    }
                """
                source """
                    class Lambda1 {
                        SomeInterface getAnonymous() {
                            return () -> 4;
                        }
                    }
                """
                source """
                    class Lambda2 {
                        SomeInterface getAnonymous() {
                            return () -> 5;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    // GetObjectLamdbaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    // to the object.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. internal/http/lambda-headers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    // Object Lambda headers
    const (
    	AmzRequestRoute = "x-amz-request-route"
    	AmzRequestToken = "x-amz-request-token"
    
    	AmzFwdStatus                   = "x-amz-fwd-status"
    	AmzFwdErrorCode                = "x-amz-fwd-error-code"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/ImplementationSnapshotTest.groovy

            'unknown classloader for lambda'             | { -> ImplementationSnapshot.of('SomeClass$$Lambda/23501234324', null) }
            'unknown lambda'                             | { -> ImplementationSnapshot.of('SomeClass$$Lambda/23501234324', SHARED_CLASSLOADER_HASH) }
            'untrackable lambda'                         | { -> ImplementationSnapshot.of('SomeClass$$Lambda/23501234324', SHARED_UNTRACKABLE_LAMBDA, SHARED_CLASSLOADER_HASH) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:07 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/5510")
        @Ignore("All lambdas are becoming serializable")
        // TODO remove this test if the change making all lambdas serializable is not reverted
        def "task with nested property defined by non-serializable Java lambda fails the build"() {
            // With configuration cache, all lambdas are forced to be serializable, so there won't be anything to report.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                    public class LambdaTask extends DefaultTask {
    
                        // Test with serializable lambdas that should work as-is, as well as non-serializable lambdas which should
                        // be forced to become serializable by the instrumentation:
                        public interface NonSerializableSupplier<T> {
                            T get();
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

                        // In theory, it is possible to have a lambda so big, its handling won't fit in a single method, and such a lambda will cause an infinite loop here.
                        // However, the number of captured lambda variables is limited by the max number of method arguments allowed by the JVM.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

                    errors += UnsupportedSyntax(UnsupportedSyntaxCause.ElementArgumentFormat)
                }
                val lambdas = blockElement.args.filterIsInstance<FunctionArgument.Lambda>()
    
                val lambda = when (lambdas.size) {
                    0 -> null
                    1 -> lambdas.single()
                    else -> {
                        errors += UnsupportedSyntax(UnsupportedSyntaxCause.ElementMultipleLambdas)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/schemaFromConfiguringFunctions.kt

        private val memberFilter: MemberFilter,
        private val configureLambdas: ConfigureLambdaHandler,
    ) : TypeDiscovery {
        /**
         * Collect everything that potentially looks like types configured by the lambdas.
         * TODO: this may be excessive
         */
        override fun getClassesToVisitFrom(kClass: KClass<*>): Iterable<KClass<*>> =
            kClass.memberFunctions
                .filter { memberFilter.shouldIncludeMember(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

            }
    
            val lambda = call.args.filterIsInstance<FunctionArgument.Lambda>().singleOrNull()
            val (expectsConfigureLambda, requiresConfigureLambda) = semantics.configureBlockRequirement.run { allows to requires }
            if (expectsConfigureLambda) {
                if (lambda != null) {
                    withScope(AnalysisScope(currentScopes.last(), configureReceiver, lambda)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top