Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,790 for Function1 (0.53 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

                )
    
            val function0 = mock<() -> Unit>()
            val function1 = mock<(String) -> Unit>()
            val function2 = mock<(Int, Double) -> Boolean>()
            val extensions = mock<ExtensionContainerInternal> {
                on { getByName("function0") } doReturn function0
                on { getByName("function1") } doReturn function1
                on { getByName("function2") } doReturn function2
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.getBazool()"),
                    added("Method", "SourceKt.getBool()"),
                    added("Method", "SourceKt.invoke(java.lang.String,java.lang.String,kotlin.jvm.functions.Function1)"),
                    added("Method", "SourceKt.isBool()"),
                    added("Method", "SourceKt.isFool()"),
                    added("Method", "SourceKt.setBazar(java.lang.String)"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/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. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Boolean> h = Functions.constant(Boolean.TRUE);
        Function<? super String, Integer> g = new HashCodeFunction();
        Function<Float, String> f = Functions.forMap(m, "F");
    
        Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f);
        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Hashing.java

        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      private static final class ConcatenatedHashFunction extends AbstractCompositeHashFunction {
    
        private ConcatenatedHashFunction(HashFunction... functions) {
          super(functions);
          for (HashFunction function : functions) {
            checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/func.go

    	// within a package.
    	ABIRefs obj.ABISet
    
    	NumDefers  int32 // number of defer calls in the function
    	NumReturns int32 // number of explicit returns in the function
    
    	// NWBRCalls records the LSyms of functions called by this
    	// function for go:nowritebarrierrec analysis. Only filled in
    	// if nowritebarrierrecCheck != nil.
    	NWBRCalls *[]SymAndPos
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    !!! note
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_context.h

      // Same as `AddFunctionDef`, but additionally saves the `stack_traces` under
      // the key of the function definition name (to be retrieved during function
      // instantiation).
      virtual Status AddFunctionDefWithStackTraces(
          const FunctionDef& fdef, const StackTracesMap& stack_traces) = 0;
    
      // Find and return a added function by its name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top