- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 187 for instantiation (0.79 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
then: def ex3 = thrown(GradleException) ex3.is(ex) 0 * _ } void "fails later creation upon realizing through register provider when task instantiation is unsuccessful"() { given: def action = Mock(Action) 1 * taskFactory.create(_ as TaskIdentity) >> { throw new RuntimeException("Failing constructor") } 0 * action.execute(_)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy
ProcessOperations processOperationsMock = Stub(ProcessOperations) LoggingManagerInternal loggingManagerMock = Stub(LoggingManagerInternal) Instantiator instantiatorMock = Stub(Instantiator) SoftwareComponentContainer softwareComponentsMock = Stub(SoftwareComponentContainer) InputNormalizationHandlerInternal inputNormalizationHandler = Stub(InputNormalizationHandlerInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 35.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
std::vector<std::string>* control_ret_node_names, bool* control_rets_updated) override { // Inject failure to function instantiation if finding a node that contains // the given node name (error_node_) and requested device (error_device_). for (const auto node : graph->get()->nodes()) { if (node->name().find(error_node_) != string::npos &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java
} @Override public <S extends Task> TaskCollection<S> withType(Class<S> type) { Instantiator instantiator = getInstantiator(); return Cast.uncheckedCast(instantiator.newInstance(DefaultRealizableTaskCollection.class, type, super.withType(type), modelNode, instantiator)); } @Deprecated @Override public boolean remove(Object o) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 09:54:40 UTC 2024 - 32.3K bytes - Viewed (0) -
src/go/types/predicates.go
func identicalOrigin(x, y *Named) bool { // TODO(gri) is this correct? return x.Origin().obj == y.Origin().obj } // identicalInstance reports if two type instantiations are identical. // Instantiations are identical if their origin and type arguments are // identical. func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool { if len(xargs) != len(yargs) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
func identicalOrigin(x, y *Named) bool { // TODO(gri) is this correct? return x.Origin().obj == y.Origin().obj } // identicalInstance reports if two type instantiations are identical. // Instantiations are identical if their origin and type arguments are // identical. func identicalInstance(xorig Type, xargs []Type, yorig Type, yargs []Type) bool { if len(xargs) != len(yargs) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/go/types/assignments.go
if sig, _ := under(x.typ).(*Signature); sig != nil && sig.TypeParams().Len() > 0 { check.errorf(x, WrongTypeArgCount, "cannot use generic function %s without instantiation in %s", x, context) x.mode = invalid return } // spec: "If a left-hand side is the blank identifier, any typed or // non-constant value except for the predeclared identifier nil may
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
return rt.typeAdapter.NativeToValue(val) } func (rt *DeclTypeProvider) NewValue(typeName string, fields map[string]ref.Val) ref.Val { // TODO: implement for OpenAPI types to enable CEL object instantiation, which is needed // for mutating admission. return rt.typeProvider.NewValue(typeName, fields) } // TypeNames returns the list of type names declared within the DeclTypeProvider object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
if sig, _ := under(x.typ).(*Signature); sig != nil && sig.TypeParams().Len() > 0 { check.errorf(x, WrongTypeArgCount, "cannot use generic function %s without instantiation in %s", x, context) x.mode = invalid return } // spec: "If a left-hand side is the blank identifier, any typed or // non-constant value except for the predeclared identifier nil may
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<field> <name>instantiationStrategy</name> <version>1.0.0/1.1.0</version> <type>String</type> <defaultValue>per-lookup</defaultValue> <description>Specify the instantiation strategy.</description> </field> <field> <name>executionStrategy</name> <version>1.0.0/1.1.0</version> <type>String</type> <description>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 24.9K bytes - Viewed (0)