Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 212 for TLambda (0.1 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java

    public class DeferredUtil {
    
        /**
         * Successively unpacks a deferred value until it is resolved to null or something other than Callable (including Groovy Closure) or Kotlin lambda
         * then unpacks the remaining Provider or Factory.
         *
         * Fails when the Provider is not present.
         */
        @Nullable
        public static Object unpack(@Nullable Object deferred) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                }
    
                tasks.register("lambda", LambdaTask) {
                    myActions = new ManyLambdas().createLotsOfLambdas()
    
                    doFirst {
                        println("generated method count = \${getDeserializeMethodsCount(ManyLambdas)}")
                    }
                }
            """)
    
            when:
            succeeds("lambda")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

                val lambda = when (lambdas.size) {
                    0 -> null
                    1 -> lambdas.single()
                    else -> {
                        errors += UnsupportedSyntax(UnsupportedSyntaxCause.ElementMultipleLambdas)
                        null
                    }
                }
                val content = lambda?.block?.content.orEmpty().map { blockElementToNode(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference_test.cc

      TF_EXPECT_OK(ShapeAnnotationsMatch(*graph, shape_info, expected));
    }
    
    TEST(ShapeInferenceTest, WhileLoop) {
      // Graph:
      // x = array_ops.placeholder(dtypes.int32)
      // y = control_flow_ops.while_loop(lambda i: i < 10, lambda i: i + 1, [x])
      Graph graph(OpRegistry::Global());
      {
        Scope scope = Scope::NewRootScope().ExitOnError();
    
        auto dummy = ops::Placeholder(scope.WithOpName("Dummy"), DT_INT32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableInlineFunctionExpressionParameter.ir.txt

              a: CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in p2.A' type=p2.A origin=null
              content: FUN_EXPR type=@[ExtensionFunctionType] kotlin.Function1<p3.RowScope, kotlin.Unit> origin=LAMBDA
                FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:p3.RowScope) returnType:kotlin.Unit
                  annotations:
                    MyComposable
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 20:08:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/tests/make_test_graphs.py

    
    def tfcond(_):
      p = array_ops.placeholder(dtypes.bool, name='p_hold')
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
      y = array_ops.placeholder(dtypes.int32, name='y_hold')
      z = cond.cond(p, lambda: x, lambda: y)
      array_ops.identity(z, name='result')
    
    
    def tfgather(_):
      params = array_ops.placeholder(dtypes.float32, name='params')
      indices = array_ops.placeholder(dtypes.int32, name='indices')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.ir.txt

              CALL 'public final fun setContent (content: @[MyComposable] kotlin.Function0<kotlin.Unit>): kotlin.Int declared in p3' type=kotlin.Int origin=null
                content: 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
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Any object which can accept registrations of {@link TearDown} instances.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java

            // After validation, the current implementations and previous implementations can't be unknown.
            // Moreover, they need to come from an actual Class, not a lambda, since there isn't a way for a unit of work implementation to be a lambda.
            ClassImplementationSnapshot currentImplementation = Cast.uncheckedNonnullCast(thisExecution.getImplementation());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top