Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,166 for Function1 (0.15 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt

            && api.type.arguments[0].type!!.isTypeArgumentCompatibleWith(type.arguments[0].type!!)
    
    
    private
    fun KParameter.isSamWithReceiverReturningUnit() =
        type.jvmErasure == Function1::class
            && type.arguments[1] == KTypeProjection(KVariance.INVARIANT, Unit::class.createType())
    
    
    private
    fun KParameter.isVarargCompatibleWith(api: KParameter) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/OkHttpClient$Builder {
    	public final fun -addInterceptor (Lkotlin/jvm/functions/Function1;)Lokhttp3/OkHttpClient$Builder;
    	public final fun -addNetworkInterceptor (Lkotlin/jvm/functions/Function1;)Lokhttp3/OkHttpClient$Builder;
    	public fun <init> ()V
    	public final fun addInterceptor (Lokhttp3/Interceptor;)Lokhttp3/OkHttpClient$Builder;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.kotlin.dsl.GroovyInteroperabilityKt.closureOf(java.lang.Object, kotlin.jvm.functions.Function1)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    [[using_NamedDomainObjectContainer_invoke_kotlin_Function1]]
    ==== Using method `NamedDomainObjectContainer<T>.invoke(kotlin.Function1)`
    
    Gradle Kotlin DSL extensions have been changed to favor Gradle's `Action<T>` type over Kotlin function types.
    
    While the change should be transparent to Kotlin clients, Java clients calling Kotlin DSL extensions need to be updated to use the `Action<T>` APIs.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Functions.java

       *
       * @param g the second function to apply
       * @param f the first function to apply
       * @return the composition of {@code f} and {@code g}
       * @see <a href="//en.wikipedia.org/wiki/Function_composition">function composition</a>
       */
      public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object>
          Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/examples/functions.go

    // (that would indicate a slice type). Thus, generic functions cannot
    // have empty type parameter lists, either. This is a syntax error.
    
    func h[] /* ERROR "empty type parameter list" */ () {}
    
    func _() {
    	h /* ERROR "cannot index" */ [] /* ERROR "operand" */ ()
    }
    
    // Generic functions must have a function body.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 20:19:38 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Function.java

    /**
     * Legacy version of {@link java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be
     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Mar 20 18:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/function.cc

        absl::Span<tensorflow::AbstractTensorHandle* const> inputs,
        absl::Span<tensorflow::AbstractTensorHandle*> outputs) {
      // TODO(srbs): Provide a function execution API on ctx so that we do not
      // expose the internals of how functions are to be executed here.
      std::string fname;
      {
        const tensorflow::FunctionDef* fdef = nullptr;
        TF_RETURN_IF_ERROR(trace->GetFunctionDef(&fdef));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/graph-as-function.mlir

    // CHECK-NEXT:       input_arg {
    // CHECK-NEXT:         name: "function0"
    // CHECK:            input_arg {
    // CHECK-NEXT:         name: "function01"
    // CHECK:            output_arg {
    // CHECK-NEXT:         name: "function02"
    // CHECK:          node_def {
    // CHECK-NEXT:       name: "[[NAME:[^"]*]]"
    // CHECK-NEXT:       op: "Identity"
    // CHECK-NEXT:       input: "function0"
    // CHECK:          ret {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/function/function.h

      // to proactively transfer the result to host since the consumer op (or
      // function) of the result may still be on TPU.
      // TODO(b/194081364): remove this option once we unify servo TPU serving
      // result transfer behavior.
      bool tpu_transfer_result_to_host = false;
    };
    
    // Compile MLIR generated by tf.function in TF dialect into BEF.
    Status CompileTFMLIRToBEF(const TfrtFunctionCompileOptions& options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 04:50:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top