Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 212 for TLambda (0.13 sec)

  1. platforms/documentation/docs/src/snippets/tasks/configureUsingBlock/kotlin/build.gradle.kts

    // tag::declare-task[]
    tasks.register<Copy>("myCopy")
    // end::declare-task[]
    
    // tag::configure[]
    // Configure task using Kotlin delegated properties and a lambda
    val myCopy by tasks.existing(Copy::class) {
        from("resources")
        into("target")
    }
    myCopy {
        include("**/*.txt", "**/*.xml", "**/*.properties")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 336 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule2.ir.txt

          VALUE_PARAMETER name:bottomBarContent index:1 type:@[MyComposable] kotlin.Function0<kotlin.Unit>
            EXPRESSION_BODY
              FUN_EXPR type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
                FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit
                  annotations:
                    MyComposable
                  BLOCK_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * <pre>{@code
     * // won't work
     * TreeTraverser<NodeType> traverser = node -> node.getChildNodes();
     * }</pre>
     *
     * Instead, you can pass a lambda expression to the {@code using} factory method:
     *
     * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules.ir.txt

          BLOCK_BODY
            CALL 'public final fun Foo (text: @[MyComposable] kotlin.Function0<kotlin.Unit>): kotlin.Unit declared in p3' type=kotlin.Unit origin=null
              text: FUN_EXPR type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
                FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit
                  annotations:
                    MyComposable
                  BLOCK_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 886 bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/internal/testdata/gen_saved_models.py

        @def_function.function(
            input_signature=[tensor_spec.TensorSpec((), dtypes.float32)])
        def compute(self, value):
          acc, _ = while_loop.while_loop(
              cond=lambda acc, i: i > 0,
              body=lambda acc, i: (acc + i, i - 1),
              loop_vars=(constant_op.constant(0.0), value))
          return acc
    
      to_save = Module()
      saved_model.save(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 06 21:32:57 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/FunctionBinding.kt

                            val newCaptor = configureLambdaHandler.produceValueCaptor(param.type)
                            check(captor == null) { "multiple lambda argument captors are not supported" }
                            captor = newCaptor
                            put(param, newCaptor.lambda)
                        }
                        paramName != null && paramName in namedArguments -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. fastapi/encoders.py

    
    ENCODERS_BY_TYPE: Dict[Type[Any], Callable[[Any], Any]] = {
        bytes: lambda o: o.decode(),
        Color: str,
        datetime.date: isoformat,
        datetime.datetime: isoformat,
        datetime.time: isoformat,
        datetime.timedelta: lambda td: td.total_seconds(),
        Decimal: decimal_encoder,
        Enum: lambda o: o.value,
        frozenset: list,
        deque: list,
        GeneratorType: list,
        IPv4Address: str,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. internal/config/lambda/parse.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lambda
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/config/lambda/target"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            val maybeConfigureTypeRef = when (semanticsFromSignature) { // there is not necessarily a lambda parameter of this type: it might be an adding function with no lambda
                is FunctionSemantics.ConfigureSemantics -> semanticsFromSignature.configuredType
                else -> null
            }
    
            val params = fnParams
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

                    hashCodeSerializer.write(encoder, implementationSnapshot.getClassLoaderHash());
                }
            },
            LAMBDA {
                @Override
                protected ImplementationSnapshot readAdditionalData(String classIdentifier, Decoder decoder) throws Exception {
                    HashCode classLoaderHash = hashCodeSerializer.read(decoder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top