Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,583 for constructors (0.17 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/multipleFiles.ir.txt

        CLASS OBJECT name:Main modality:FINAL visibility:public superTypes:[kotlin.Any]
          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:main.Main
          CONSTRUCTOR visibility:private <> () returnType:main.Main [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Aug 30 06:38:44 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/CompiledKotlinPluginsBlock.kt

        }
    }
    
    
    /**
     * Base class for the evaluation of a `pluginManagement` block followed by a
     * `buildscript` block followed by a `plugins` block.
     *
     * @constructor Must match the constructor of the [CompiledKotlinBuildscriptAndPluginsBlock] the object!
     */
    @ImplicitReceiver(Settings::class)
    open class CompiledKotlinSettingsPluginManagementBlock(
        host: KotlinScriptHost<Settings>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/AsmClassGeneratorUtils.java

        /**
         * Generates the signature for the given constructor, optionally adding a `name` parameter before all other parameters.
         */
        public static String signature(Constructor<?> constructor, boolean addNameParameter) {
            StringBuilder builder = new StringBuilder();
            visitFormalTypeParameters(constructor.getTypeParameters(), builder);
            visitConstructorParameters(constructor.getGenericParameterTypes(), addNameParameter, builder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:25 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfLitePass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessorFactory.java

                Constructor<?> constructor = clazz.getConstructor(JUnitPlatformSpec.class, IdGenerator.class, ActorFactory.class, Clock.class);
                return (TestClassProcessor) constructor.newInstance(spec, idGenerator, actorFactory, clock);
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top