- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for addParameter (0.12 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
final MethodMetaData method = new MethodMetaData('method', owner) def formatsSignature() { method.returnType = new TypeMetaData('ReturnType') method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect: method.signature == 'ReturnType method(ParamType param1, ParamType2 param2)'
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy
classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null).addParameter('param1', new TypeMetaData("java.lang.Integer")) def overloadedCalculateMethod = classMetaData.addMethod('calculate', TypeMetaData.VOID, null) overloadedCalculateMethod.addParameter('x', new TypeMetaData("java.lang.Integer")) overloadedCalculateMethod.addParameter('y', new TypeMetaData("java.lang.String"))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
MojoDescriptor mojoDescriptor = new MojoDescriptor(); Parameter param1 = new Parameter(); param1.setName("param1"); param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java
} return null; } public List<ParameterMetaData> getParameters() { return parameters; } public ParameterMetaData addParameter(String name, TypeMetaData type) { ParameterMetaData param = new ParameterMetaData(name); param.setType(type); parameters.add(param); return param; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
MethodMetaData methodMetaData = new MethodMetaData(id, extensionDoc.getTargetClass().getClassMetaData()); methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName())); MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para));
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
TypeMetaData typeMetaData = extractTypeName(parameter.getType()); if (parameter.isVarArgs()) { typeMetaData.setVarargs(); } method.addParameter(parameter.getNameAsString(), typeMetaData); } } @Override public void visit(FieldDeclaration fieldDeclaration, ClassMetaDataRepository<ClassMetaData> arg) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
this.parameters.clear(); for (Parameter parameter : parameters) { addParameter(parameter); } } /** * @param parameter add a new parameter * @throws DuplicateParameterException if any */ public void addParameter(Parameter parameter) throws DuplicateParameterException { if (parameters.contains(parameter)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
protected: explicit TracingContext(AbstractContextKind kind) : AbstractContext(kind) {} public: // Add a function parameter and return the corresponding tensor. virtual absl::Status AddParameter(DataType dtype, const PartialTensorShape& shape, TracingTensorHandle**) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
&partial_shape); if (!status.ok()) { tsl::Set_TF_Status_from_Status(s, status); return nullptr; } } tsl::Set_TF_Status_from_Status( s, tracing_ctx->AddParameter(static_cast<DataType>(dtype), partial_shape, &t)); return wrap(t); } void TF_DeleteExecutionContext(TF_ExecutionContext* c) { unwrap(c)->Release(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
name_(name) {} void Release() override { delete this; } TracingOperation* CreateOperation() override { return new GraphOperation(graph_.get()); } absl::Status AddParameter(DataType dtype, const PartialTensorShape& shape, TracingTensorHandle** output) override { TracingOperationPtr operation(CreateOperation());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0)