Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initList (0.1 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

         * @return {@code this}
         */
        public ArtifactResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public OverConstrainedVersionException getVersionRangeViolation(int i) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

         */
        public MetadataResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public OverConstrainedVersionException getVersionRangeViolation(int i) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      int64_t value;
      TF_OperationGetAttrInt(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(31415, value);
    }
    
    TEST_F(CApiAttributesTest, IntList) {
      const int64_t list[] = {1, 2, 3, 4};
      const size_t list_size = TF_ARRAYSIZE(list);
    
      auto desc = init("list(int)");
      TF_SetAttrIntList(desc, "v", list, list_size);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top