Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,380 for result1 (0.12 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
            assertEquals("07.20.3-20120809.112920-97", resultB.getVersion());
    
            VersionRequest requestA = new VersionRequest();
            requestA.addRepository(newTestRepository());
    
            Artifact artifactA =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/update_test.go

    	sort.Slice(result.Pets, func(i, j int) bool {
    		return result.Pets[i].ID < result.Pets[j].ID
    	})
    	sort.Slice(result.Team, func(i, j int) bool {
    		return result.Team[i].ID < result.Team[j].ID
    	})
    	sort.Slice(result.Friends, func(i, j int) bool {
    		return result.Friends[i].ID < result.Friends[j].ID
    	})
    	sort.Slice(result2.Pets, func(i, j int) bool {
    		return result2.Pets[i].ID < result2.Pets[j].ID
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. tests/delete_test.go

    	DB.Table("deleted_users").Create(&user)
    
    	var result UserWithDelete
    	if err := DB.Table("deleted_users").First(&result).Error; err != nil {
    		t.Errorf("failed to find deleted user, got error %v", err)
    	}
    
    	AssertEqual(t, result, user)
    
    	if err := DB.Table("deleted_users").Delete(&result).Error; err != nil {
    		t.Errorf("failed to delete user, got error %v", err)
    	}
    
    	var result2 UserWithDelete
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. tests/customize_field_test.go

    		t.Fatalf("invalid create/update unix nano time: %#v", result)
    	}
    
    	result.FieldAllowUpdate = "field_allow_update_updated"
    	result.FieldReadonly = "field_readonly_updated"
    	result.FieldIgnore = "field_ignore_updated"
    	DB.Save(&result)
    
    	var result2 CustomizeFieldStruct
    	DB.Find(&result2, "name = ?", "create")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  5. tests/joins_test.go

    		return results[i].PetID > results[j].PetID
    	})
    
    	sort.Slice(results, func(i, j int) bool {
    		return user.Pets[i].ID > user.Pets[j].ID
    	})
    
    	if len(results) != 2 || results[0].Name != user.Pets[0].Name || results[1].Name != user.Pets[1].Name {
    		t.Errorf("Should find all two pets with Join select, got %+v", results)
    	}
    }
    
    func TestJoinWithOmit(t *testing.T) {
    	user := *GetUser("joins_with_omit", Config{Pets: 2})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_test.cc

        results[idx] = *static_cast<float*>(TF_TensorData(f_t));
        TF_DeleteTensor(f_t);
      }
      ASSERT_EQ(results[0], 5.0);
      ASSERT_EQ(results[1], 6.0);
    
      for (int idx = 0; idx < 2; ++idx) {
        TF_AbstractTensor* result = TF_OutputListGet(func_outputs, idx);
        TF_DeleteAbstractTensor(result);
      }
      TF_DeleteOutputList(func_outputs);
      TF_DeleteExecutionContext(eager_execution_ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. tests/upsert_test.go

    	}
    
    	for _, lang := range langs {
    		var results []Language
    		if err := DB.Find(&results, "code = ?", lang.Code).Error; err != nil {
    			t.Errorf("no error should happen when find languages with code, but got %v", err)
    		} else if len(results) != 1 {
    			t.Errorf("should only find only 1 languages, but got %+v", langs)
    		} else if results[0].Name != lang.Name {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  8. cmd/global-heal.go

    			}
    		}
    
    		send := func(result healEntryResult) bool {
    			select {
    			case <-ctx.Done():
    				if !contextCanceled(ctx) {
    					healingLogIf(ctx, ctx.Err())
    				}
    				return false
    			case results <- result:
    				bgSeq.countScanned(madmin.HealItemObject)
    				return true
    			}
    		}
    
    		// Note: updates from healEntry to tracker must be sent on results channel.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. tests/scan_test.go

    		t.Errorf("No error should happen, got %v", err)
    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    			t.Errorf("should get no error, but got %v", err)
    		}
    		results = append(results, result)
    	}
    
    	sort.Slice(results, func(i, j int) bool {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	user3 := User{Name: "ExecRawSqlUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	type result struct {
    		Name  string
    		Email string
    	}
    
    	var results []result
    	DB.Raw("SELECT name, age FROM users WHERE name = ? or name = ?", user2.Name, user3.Name).Scan(&results)
    	if len(results) != 2 || results[0].Name != user2.Name || results[1].Name != user3.Name {
    		t.Errorf("Raw with scan")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top