Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for addParameter (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. .teamcity/src/test/kotlin/common.kt

        parentProjectId = AbsoluteId("Gradle")
        projectId = AbsoluteId("Gradle_Master")
        settingsRootId = AbsoluteId("GradleMaster")
        settingsRoot.name = "GradleMaster"
        addParameters("Branch" to "master")
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 662 bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            // Set the project id here, so we can use methods on the DslContext
            DslContext.projectId = AbsoluteId("Gradle_${branchName.toCapitalized()}")
            DslContext.addParameters("Branch" to branchName)
            return PromotionProject(VersionedSettingsBranch(branchName))
        }
    
        private fun gradleStep(steps: List<BuildStep>, index: Int): GradleBuildStep {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top