- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 116 for instantiation (0.24 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy
def classGenerator = new IdentityClassGenerator() def instantiator = new DependencyInjectingInstantiator(new Jsr330ConstructorSelector(classGenerator, new TestCrossBuildInMemoryCacheFactory.TestCache()), services) def "creates instance that has default constructor"() { when: def result = instantiator.newInstance(HasDefaultConstructor) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 04:41:06 UTC 2024 - 13.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonServer.java
} @Provides protected Instantiator createInstantiator(InstantiatorFactory instantiatorFactory) { return instantiatorFactory.decorateLenient(this); } @Provides protected ExecFactory createExecFactory(ExecFactory execFactory, FileResolver fileResolver, FileCollectionFactory fileCollectionFactory, Instantiator instantiator, ObjectFactory objectFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 12.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/BuildScopeServices.java
@Provides protected ProcessOutputProviderFactory createProcessOutputProviderFactory(Instantiator instantiator, ExecSpecFactory execSpecFactory) { return new ProcessOutputProviderFactory(instantiator, execSpecFactory); } @Provides protected ProviderFactory createProviderFactory( Instantiator instantiator, ValueSourceProviderFactory valueSourceProviderFactory,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 35.8K bytes - Viewed (0) -
src/go/types/infer.go
// Available with go1.21. const enableReverseTypeInference = true // disable for debugging // infer attempts to infer the complete set of type arguments for generic function instantiation/call // based on the given type parameters tparams, type arguments targs, function parameters params, and // function arguments args, if any. There must be at least one type parameter, no more type arguments
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java
InstanceGenerator instantiator ) { Class<? extends BuildCacheServiceFactory<C>> castFactoryType = Cast.uncheckedNonnullCast( buildCacheConfiguration.getBuildCacheServiceFactoryType(configuration.getClass()) ); BuildCacheServiceFactory<C> factory = instantiator.newInstance(castFactoryType); Describer describer = new Describer();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 17:08:26 UTC 2024 - 13.2K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump
// can instantiate it more then once) the first argument to the // INSTANTIATE_TEST_CASE_P macro is a prefix that will be added to the // actual test case name. Remember to pick unique prefixes for different // instantiations. The tests from the instantiation above will have // these names: // // * InstantiationName/FooTest.DoesBlah/0 for "meeny" // * InstantiationName/FooTest.DoesBlah/1 for "miny"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.4K bytes - Viewed (0) -
src/go/types/typexpr.go
func (check *Checker) definedType(e ast.Expr, def *TypeName) Type { typ := check.typInternal(e, def) assert(isTyped(typ)) if isGeneric(typ) { check.errorf(e, WrongTypeArgCount, "cannot use generic type %s without instantiation", typ) typ = Typ[Invalid] } check.recordTypeAndValue(e, typexpr, typ, nil) return typ } // genericType is like typ but the type must be an (uninstantiated) generic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy
def scriptResolution = Stub(ProjectScopedScriptResolution) { resolveScriptsForProject(_, _) >> { p, a -> a.get() } } def instantiator = TestUtil.instantiatorFactory().decorateLenient(serviceRegistry) def factory = new ProjectFactory(instantiator, new DefaultTextFileResourceLoader(null), scriptResolution)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
func (check *Checker) definedType(e syntax.Expr, def *TypeName) Type { typ := check.typInternal(e, def) assert(isTyped(typ)) if isGeneric(typ) { check.errorf(e, WrongTypeArgCount, "cannot use generic type %s without instantiation", typ) typ = Typ[Invalid] } check.recordTypeAndValue(e, typexpr, typ, nil) return typ } // genericType is like typ but the type must be an (uninstantiated) generic
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
} } private fun MethodVisitor.compiledScriptClassInstantiation(compiledScriptClass: InternalName, instantiation: MethodVisitor.() -> Unit) { TRY_CATCH<Throwable>( tryBlock = { instantiation() }, catchBlock = { emitOnScriptException(compiledScriptClass) } ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0)