- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 609 for sets (0.01 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* resource, best in try-with-resource block. * * @since 4.0.0 */ @Experimental @Consumer public interface Transport extends Closeable { /** * GETs the source URI content into target (does not have to exist, or will be overwritten if exist). The * source MUST BE relative from the {@link RemoteRepository#getUrl()} root. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K 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 Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0) -
tests/create_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
ForkedProjectFailed, } /** * Gets the type of the event. * * @return The type of the event, never {@code null}. */ Type getType(); /** * Gets the session from which this event originates. * * @return The current session, never {@code null}. */ MavenSession getSession(); /** * Gets the current project (if any). *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.5K 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 Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2K bytes - Click Count (0) -
tests/generics_test.go
} } else if len(result.Pets) != 5 { t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets) } for i := 1; i < len(result.Pets); i++ { if result.Pets[i-1].Name < result.Pets[i].Name { t.Fatalf("Preload user %v pets not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i]) } } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java
*/ String getProjectId(); /** * Gets the POM file from which the project was built. * * @return The POM file or {@code null} if unknown. */ File getPomFile(); /** * Gets the project that was built. * * @return The project that was built or {@code null} if an error occurred and this result accompanies aCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 2.5K bytes - Click Count (0) -
tests/helper_test.go
} } }) t.Run("Pets", func(t *testing.T) { if len(user.Pets) != len(expect.Pets) { t.Fatalf("pets should equal, expect: %v, got %v", len(expect.Pets), len(user.Pets)) } sort.Slice(user.Pets, func(i, j int) bool { return user.Pets[i].ID > user.Pets[j].ID }) sort.Slice(expect.Pets, func(i, j int) bool { return expect.Pets[i].ID > expect.Pets[j].ID })
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 8K bytes - Click Count (0) -
src/archive/tar/strconv.go
} // If seconds is negative, then perform correction. sign := "" if secs < 0 { sign = "-" // Remember sign secs = -(secs + 1) // Add a second to secs nsecs = -(nsecs - 1e9) // Take that second away from nsecs } return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0") } // parsePAXRecord parses the input PAX record string into a key-value pair.Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Sep 08 17:08:20 GMT 2025 - 9.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
public interface VersionRangeResolverResult extends Result<VersionRangeResolverRequest> { /** * Gets the exceptions that occurred while resolving the version range. * * @return The list of exceptions that occurred during resolution, never {@code null} */ @Nonnull List<Exception> getExceptions(); /** * Gets the versions (in ascending order) that matched the requested range. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 3.4K bytes - Click Count (0)