Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 279 for Lambda1 (0.38 sec)

  1. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/trailingAnnotatedLambdaAnnotatedExpr.kt

    fun foo(lambda: (String) -> Int): Int = lambda("jello!")
    
    fun test() {
        foo <expr>@Deprecated("") {
            it.length
        }</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/trailingAnnotatedLambdaBlockInner.kt

    fun foo(lambda: (String) -> Int): Int = lambda("jello!")
    
    fun test() {
        foo @Deprecated("") {<expr>
            it.length
        </expr>}
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/trailingAnnotatedLambda.kt

    fun foo(lambda: (String) -> Int): Int = lambda("jello!")
    
    fun test() {
        <expr>foo @Deprecated("") {
            it.length
        }</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir

      // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]],
      // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80",
      %5 = "tf.ParallelMapDataset"(%4, %3) {device = "",
               f = @"__inference_Dataset_map_<lambda>_80",
               output_shapes = [#tf_type.shape<>], output_types = [i32],
               preserve_cardinality = false, sloppy = false,
               use_inter_op_parallelism = true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/ConfigureLambdaHandler.kt

        override fun produceValueCaptor(lambdaType: KType): ConfigureLambdaHandler.ValueCaptor {
            lateinit var value: Any
            val lambda: Function1<Any, Unit> = { value = it }
            return ConfigureLambdaHandler.ValueCaptor(lambda, lazy { value })
        }
    
        private
        fun isConfigureLambdaType(maybeLambdaType: KType) = maybeLambdaType.isSubtypeOf(typeOf<Function1<*, Unit>>())
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. internal/config/lambda/event/arn.go

    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. internal/config/lambda/help.go

    package lambda
    
    import (
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // Help template inputs for all lambda targets
    var (
    	HelpWebhook = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.WebhookEndpoint,
    			Description: "webhook server endpoint e.g. http://localhost:8080/minio/lambda",
    			Type:        "url",
    			Sensitive:   true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/FunctionExtractorTest.kt

        fun `adding function may have a configuring lambda if it returns the added value`() {
            val schema = schemaFromTypes(ReceiverOne::class, listOf(ReceiverOne::class))
            val function = schema.dataClassesByFqName.values.single().memberFunctions.single()
            assertIs<FunctionSemantics.AddAndConfigure>(function.semantics)
        }
    
        @Test
        fun `adding function may not have a configuring lambda if it returns Unit`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/trailingAnnotatedLambdaFun.kt

    fun foo(lambda: (String) -> Int): Int = lambda("jello!")
    
    fun test() {
        <expr>foo</expr> @Deprecated("") {
            it.length
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDevelocityPluginIntegrationTest.groovy

            buildFile '''
                plugins { id("java") }
            '''
        }
    
        @NotYetImplemented
        @Issue("https://github.com/gradle/gradle/issues/19047")
        def "problem is reported for Kotlin lambda expression with develocity plugin"() {
            given:
            createDir('dv-conventions') {
                file('src/main/kotlin/my/DvConventionsPlugin.kt') << """
                    package my
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top