- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 187 for pems (0.02 seconds)
-
tests/association_generics_test.go
t.Fatalf("load u2: %v", err) } if len(got1.Pets) != 1 || got1.Pets[0].Name != "x" { t.Fatalf("u1 pet not updated: %+v", got1.Pets) } if len(got2.Pets) != 1 || got2.Pets[0].Name != "x" { t.Fatalf("u2 pet not updated: %+v", got2.Pets) } del := clause.Association{Association: "Pets", Type: clause.OpDelete}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
tests/associations_has_one_test.go
func TestPolymorphicHasOneAssociationForSlice(t *testing.T) { pets := []Pet{ {Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}}, {Name: "hasone-2", Toy: Toy{}}, {Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}}, } DB.Create(&pets) // Count AssertAssociationCount(t, pets, "Toy", 2, "") // Find var toys []Toy if DB.Model(&pets).Association("Toy").Find(&toys); len(toys) != 2 {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0) -
tests/update_has_many_test.go
t.Fatalf("errors happened when create: %v", err) } user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Pets").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) for _, pet := range user.Pets { pet.Name += "new" } if err := DB.Save(&user).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
assertEquals(0, result.processedPoms().size(), "Should have no processed POMs"); assertEquals(0, result.modifiedPoms().size(), "Should have no modified POMs"); assertEquals(0, result.errorPoms().size(), "Should have no error POMs"); } @Test @DisplayName("should handle overlapping POM modifications")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml
with the current POM. NOTE: This list will contain entries for repositories specified by ancestor POMs, including the default built-in super-POM, which is the parent of all POMs. ]]></description> </expression> <expression> <syntax>project.pluginArtifactRepositories</syntax> <configuration> <![CDATA[ <pluginRepositories>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.6K bytes - Click Count (0) -
tests/table_test.go
if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE .users.\\..deleted_at. IS NULL\\) as u, \\(SELECT .name. FROM .pets. WHERE .pets.\\..deleted_at. IS NULL\\) as p WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
@Measurement(time = 10) public class Xpp3DomPerfTest { @State(Scope.Benchmark) public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home")); poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom"))Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0) -
tests/associations_test.go
children, parent.Children) } } func TestAssociationError(t *testing.T) { user := *GetUser("TestAssociationError", Config{Pets: 2, Company: true, Account: true, Languages: 2}) DB.Create(&user) var user1 User DB.Preload("Company").Preload("Pets").Preload("Account").Preload("Languages").First(&user1) var emptyUser User var err error // belongs to
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/debugging/inspect/main.go
privateKeyBlock := &pem.Block{ Type: "RSA PRIVATE KEY", Bytes: privateKeyBytes, } privatePem, err := os.Create("support_private.pem") if err != nil { fmt.Printf("error when create private.pem: %s n", err) os.Exit(1) } err = pem.Encode(privatePem, privateKeyBlock) if err != nil { fmt.Printf("error when encode private pem: %s n", err) os.Exit(1) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* Subclasses only differ in whether they save modifications to disk. * * <h2>Supported Upgrades</h2> * * <h3>Model Version Upgrades</h3> * <ul> * <li><strong>4.0.0 → 4.1.0</strong>: Upgrades Maven 3.x POMs to Maven 4.1.0 format</li> * </ul> * * <h3>4.0.0 → 4.1.0 Upgrade Process</h3> * <ol> * <li><strong>Namespace Update</strong>: Changes namespace from Maven 4.0.0 to 4.1.0 for all elements</li>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0)