Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 539 for CONSTRUCTOR (2.3 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                try {
                    Constructor<Throwable> constructor;
                    if (message == null && cause == null) {
                        constructor = (Constructor<Throwable>) typeToken.getRawType().getDeclaredConstructor();
                        return constructor.newInstance();
                    } else if (message == null) {
                        constructor = (Constructor<Throwable>) typeToken.getRawType()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/compilerPluginUsage.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Unit
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

            myProperty.set("Hello, Gradle!")
            println(myProperty.get())
        }
    }
    // end::object-factory[]
    
    // tag::object-factory-inject[]
    abstract class MyObjectFactoryTask
    @Inject constructor(private var objectFactory: ObjectFactory) : DefaultTask() {
    
        @TaskAction
        fun doTaskAction() {
            val outputDirectory = objectFactory.directoryProperty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    abstract class GreetingTask extends DefaultTask {
        // tag::convention-callsites-from-constructor[]
        // setting convention from constructor
        @Input
        abstract Property<String> getGuest()
    
        GreetingTask() {
            guest.convention("person2")
        }
        // end::convention-callsites-from-constructor[]
    
        // tag::convention-callsites-from-declaration[]
        // setting convention from declaration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

        Option<"prefer_tf2xla_", "prefer-tf2xla", "bool",
            /*default=*/"false",
            "Prioritize tf2xla fallback legalization over MLIR legalization "
            "patterns">,
      ];
    
      let constructor = "mlir::mhlo::createLegalizeTFPass()";
      let dependentDialects = [
        "arith::ArithDialect",
        "chlo::ChloDialect",
        "func::FuncDialect",
        "mhlo::MhloDialect",
        "quant::QuantizationDialect",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/commonContext.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:test.Foo) returnType:kotlin.Unit
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jan 05 16:04:14 UTC 2024
    - 874 bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

            require(this is SimpleType)
            val declaration = constructor.declarationDescriptor
            return declaration is FunctionClassDescriptor && declaration.functionTypeKind.isSuspendOrKSuspendFunction
        }
    
        override fun SimpleTypeMarker.isKClass(): Boolean {
            require(this is SimpleType)
            return constructor.declarationDescriptor == builtIns.kClass
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeInfoProvider.kt

            val elementType = unwrappedType.constructor.builtIns.getArrayElementType(unwrappedType)
            return KotlinBuiltIns.isArrayOrPrimitiveArray(elementType)
        }
    
        /** Expanded by default */
        override fun fullyExpandedType(type: KaType): KaType = type
    
        private fun KotlinType.isDenotable(): Boolean {
            if (this is DefinitelyNotNullType) return false
            return constructor.isDenotable &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

            failure.assertHasCause("Could not create task of type 'CustomTask'.")
            failure.assertHasCause("Unable to determine constructor argument #2: missing parameter of type int, or no service of type int")
        }
    
        def "fails to create custom task if all constructor arguments missing"() {
            given:
            buildFile << CUSTOM_TASK_WITH_CONSTRUCTOR_ARGS
            buildFile << "tasks.register('myTask', CustomTask)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top